Skip to main content

Search of the Index Map Schema explain


Data input field (from Land Registry (LR) test harness) Description Mandatory Minimum value Maximum value Has a pattern constraint XML datatype
Request Search Of Index Map V2_1

Main element of the schema, creating a message ID and a product type to carry the necessary data for the Search of the Index Map (SIM).

Note: The address elements are only explained once.


<xs:complexType
    name="RequestSearchOfIndexMapV2_1Type">
    <xs:sequence>
        <xs:element name="ID"
            type="Q1IdentifierType"
            minOccurs="1" maxOccurs="1" />
        <xs:element name="Product"
            type="Q1ProductType"
            minOccurs="1" maxOccurs="1">

<xs:element name="SearchOfIndexMap"
    type="Q1SearchOfIndexMapType"
    minOccurs="1" maxOccurs="1">

<xs:element name="AlternativeDespatchDetails"
    type="Q1AlternativeDespatchDetailsType"
    minOccurs="0" maxOccurs="1" />

<xs:complexType name="Q1SearchOfIndexMapType">
    <xs:element name="WithoutAttachedPlan"
        type="Q1WithoutAttachedPlanType"
        minOccurs="1" maxOccurs="1" />
    <xs:element name="WithAttachedPlan"
        type="Q1WithAttachedPlanType"
        minOccurs="1" maxOccurs="1" />

<xs:complexType name="Q1WithAttachedPlanType">
    <xs:sequence>
        <xs:element name="Plan"
            type="Q1PlanType"
            minOccurs="1" maxOccurs="1" />
        <xs:element name="WithPlanAddressDetails"
            type="Q1WithPlanAddressDetailsType"
            minOccurs="1" maxOccurs="1" />

<xs:complexType name="Q1WithoutAttachedPlanType">
    <xs:sequence>
        <xs:element name="WithoutPlanAddressDetails"
            type="Q1WithoutPlanAddressDetailsType"
            minOccurs="1" maxOccurs="1" />

<xs:complexType name="Q1WithoutPlanAddressDetailsType">
    <xs:choice>
        <xs:element name="AddressWithPostcode"
            type="Q1AddressWithPostcodeType"
            minOccurs="0" maxOccurs="1" />
        <xs:element name="AddressWithoutPostcode"
            type="Q1WithoutPlanWithoutPostcodeType"
            minOccurs="0" maxOccurs="1" />

<xs:complexType name="Q1WithPlanAddressDetailsType">
    <xs:choice>
        <xs:element name="AddressWithPostcode"
            type="Q1AddressWithPostcodeType"
            minOccurs="1" maxOccurs="1" />
        <xs:element name="AddressWithoutPostcode"
            type="Q1WithPlanWithoutPostcodeType"
            minOccurs="1" maxOccurs="1" />
Message ID

Each application must have a message ID. There can only be one message ID for each application.

The message ID is a string with a minimum length of 5 characters as a maximum length of 50 characters.

The message ID has a constraint on its pattern value [a-zA-Z0-9][a-zA-Z0-9\-]*. This constrains the message ID to begin with a-z (lowercase), A-Z (uppercase) or 0-9 and can then be followed with a-z(lowercase), A-Z (uppercase), 0-9 or a hyphen (as long as the input meets the field’s length criteria).

All of the XML elements that are relevant for the message ID are shown, text in bold to help show the links within the XML.

Yes 5 50 Y xs:string

<xs:complexType name="Q1IdentifierType">
    <xs:sequence>
        <xs:element name="MessageId"
            type="Q1TextType"
            minOccurs="1" maxOccurs="1">
            <xs:annotation<
                <xs:documentation>A character string
                    (i.e. a finite set of characters)
                    generally in the form of words of
                    a language.

<xs:complexType name="Q1TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q1TextContentType" />

<xs:simpleType name="Q1TextContentType">
    <xs:restriction>
        <xs:minLength value="5" />
        <xs:maxLength value="50" />
        <xs:pattern value="[a-zA-Z0-9][a-zA-Z0-9\-]*" />
    </xs:restriction>
Gross price amount

Carries the customer’s expected fee value.

Net price amount and VAT amount are not currently used.

xs:decimal

<xs:element name="ExpectedPrice"
    type="Q1ExpectedPriceType"
    minOccurs="0" maxOccurs="1">

<xs:complexType name="Q1ExpectedPriceType">
    <xs:element name="GrossPriceAmount"
        type="AmountType"
        minOccurs="0" maxOccurs="1">
            <xs:annotation>
                <xs:documentation>The gross price
                    is the price including
                    the VAT. If the VAT is
                    zero then the Gross and
                    Net Price will be the same
                </xs:documentation>
    <span class="hmlr-mark-highlight" role="mark"><xs:element name="NetPriceAmount"
        type="AmountType"
        minOccurs="0" maxOccurs="1">
        <xs:annotation>
            <xs:documentation>The Net Price is the
                amount before the VAT is added on.
                If the VAT is zero then the Gross
                and Net Price will be the same
    <xs:element name="VATAmount"
        type="AmountType"
        minOccurs="0" maxOccurs="1">
        <xs:annotation>
            <xs:documentation>This is the amount of
                the VAT</span>

<xs:complexType name="AmountType">
    <xs:annotation>
        <xs:documentation>A number of monetary units
            specified in a currency where the unit
            of the currency is explicit or implied.
        </xs:documentation>
    <xs:simpleContent>
        <xs:extension base="xs:decimal">
Continue if actual fee exceeds expected fee indicator

The documentation text does not clearly explain its element.

If true, tells LR to continue with search even if the actual cost of the search is greater than the cost expected by the Case Management System (CMS).

If false and the actual fee is greater than the fee input by the customer an error message will be returned and the search will not be performed.

Yes xs:boolean

<xs:element name=
    "ContinueIfActualFeeExceedsExpectedFeeIndicator"
    type="IndicatorType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation><span class="hmlr-mark-highlight" role="mark">A list of two mutually exclusive
        Boolean values that express the only possible
        states of a Property.</span>

<xs:complexType name="IndicatorType">
    <xs:annotation>
        <xs:documentation>A list of two mutually
            exclusive Boolean values that express the
            only possible states of a Property.
    <xs:simpleContent>
        <xs:extension base="xs:boolean" />
    </xs:simpleContent>
External reference To carry the external reference to LR, external reference is created by the CMS. Yes 1 25 Yes xs:string

<xs:element name="ExternalReference"
    type="Q1ExternalReferenceType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>Reference associated with a
        case in Case Management System

<xs:complexType name="Q1ExternalReferenceType">
    <xs:documentation>A unique reference
        given to identify a particular request,
        order or instruction in the system of
        the organisation allocating it with the
        ability to associate the name of the
        Company that has allocated it.
    <xs:sequence>
        <xs:element name="Reference"
            type="ReferenceTextContentType"
            minOccurs="1" maxOccurs="1">
            <xs:documentation>A unique reference
                given to identify a particular
                request, order or instruction
                in the system of the organisation
                allocating it.

<xs:simpleType name="ReferenceTextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="25" />
        <xs:pattern value="[A-Za-z0-
            9\s~!&quot;@#$%&apos;\(\)\*\+,\-
            \./:;=>\?\[\\]_\{\}\^&#xa3;]*" />
    </xs:restriction>
</xs:simpleType>
Customer reference To carry the customer reference to LR, customer reference is created/provided by the CMS. Yes 1 25 Yes xs:string

<xs:element name="CustomerReference"
    type="Q1CustomerReferenceType"
    minOccurs="1" maxOccurs="1">
        <xs:documentation>Reference of the
            person for whom the remortgage
            is performed.

<xs:complexType name="Q1CustomerReferenceType">
    <xs:documentation>Provides a unique
        reference to identify a particular
        request, order or instruction or
        object in the system of the
        organisation allocating it.
    <xs:sequence>
        <xs:element name="Reference"
            type="ReferenceTextContentType"
            minOccurs="1" maxOccurs="1">
            <xs:documentation>A unique reference
                given to identify a particular
                request, order or instruction
                in the system of the organisation
                allocating it with the ability to
                associate the name of the Company
                that has allocated it.

<xs:simpleType name="ReferenceTextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="25" />
        <xs:pattern value="[A-Za-z0-
            9\s~!&quot;@#$%&apos;\(\)\*\+,\-
            \./:;=>\?\[\\]_\{\}\^&#xa3;]*" />
    </xs:restriction>
</xs:simpleType>
Contact name Carries the contact name of the person sending the request for Official Search (OS). Yes Yes xs:string

<xs:element name="Contact"
    type="Q1ContactType" minOccurs="1"
    maxOccurs="unbounded">
        <xs:documentation>The information
            relevant to a person or organization
            that acts as a point of contact with
            another person or organization.
        </xs:documentation>

<xs:complexType name="Q1ContactType">
    <xs:documentation>The information
        relevant to a person or organization
        that acts as a point of contact with
        another person or organization.
    </xs:documentation>
    <xs:element name="Name"
        type="Q3TextType"
        minOccurs="1" maxOccurs="1">
        <xs:documentation>The name of this
            contact person or department.

<xs:complexType name="Q3TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
Telephone number Carries the telephone number of the person submitting the application. Yes Yes xs:string

<xs:element name="Communication"
    type="Q1CommunicationType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>The information
        relevant to methods of communication
        for this Contact.

<xs:complexType name="Q1CommunicationType">
    <xs:documentation>Provides details of
        any other form of communication
    <xs:element name="Telephone"
        type="Q3TextType"
        minOccurs="1" maxOccurs="1">

<xs:complexType name="Q3TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
SIM - No attachment; No postcode This type is the overall container for sending a request without a plan and without a postcode. xs:decimal

<xs:complexType name=
    "Q1WithoutPlanWithoutPostcodeType">
    <xs:sequence>
SIM with attachment; No postcode This type is the overall container for sending a request with a plan but without a postcode. xs:decimal

<xs:complexType name=
    "Q1WithPlanWithoutPostcodeType">
    <xs:sequence>
Attachment These elements carry the file upload. xs:base64Binary

<xs:complexType name="Q1PlanType">
    <xs:element name="PlanDetailsAttachment"
        type="Q1PlanDetailsAttachmentType"
        minOccurs="1" maxOccurs="1">

<xs:complexType
    name="Q1PlanDetailsAttachmentType">
    <xs:element name="EmbeddedFileBinaryObject"
        type="BinaryObjectType"
        minOccurs="1" maxOccurs="1">

<xs:complexType name="BinaryObjectType">
    <xs:documentation>A set of finitelength sequences
        of binary octets.

    <xs:simpleContent>
        <xs:extension base="xs:base64Binary">
            <xs:attribute name="filename"
                type="xs:string"
                use="optional">
                <xs:annotation>
                    <xs:documentation> Must be the full
                        filename including the extension
                        (Reference IETF RFC 2045, 2046, 2047)
Identifier Carries the title/description of the file uploaded. Yes xs:string

<xs:element name="Title"
    type="Q3TextType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation>Title or Caption for
        the attached file or document

<xs:complexType name="Q3TextType">
    <xs:documentation>A character string
        (i.e. a finite set of  characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Local authority This set of elements/attributes is used with either of the SIM with no postcode types above. xs:decimal
Property identifier House number or name carried by this element. Yes 1 50 Yes xs:string

<xs:element name="PropertyIdentifier"
    type="Q1Len50TextType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>This field could be a
        Land Identifier, House Number or House
        Name e.g. Land to the left of 15 The Mews

<xs:complexType name="Q1Len50TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
    <xs:simpleContent>
        <xs:extension
            base="Q1Len50TextContentType" />

<xs:simpleType name="Q1Len50TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="50" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
Sub building name To carry the sub building name. For example, Purple Brick Building. 1 100 Yes xs:string

<xs:element name="SubBuildingName"
    type="Q1Len100TextType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len100TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the for of words of
        a language.
    <xs:simpleContent>
        <xs:extension
        base="Q1Len100TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len100TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="100" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Street name To carry the street name. Yes 1 50 Yes xs:string

<xs:element name="StreetName"
    type="Q1Len50TextType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len50TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension
            base="Q1Len50TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len50TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="50" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Town name To carry the town name. Yes 1 35 Yes xs:string

<xs:element name="TownName"
    type="Q1Len35TextType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len35TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q1Len35TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len35TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="35" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Locality To carry the locality. 1 35 Yes xs:string

<xs:element name="Locality"
    type="Q1Len35TextType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len35TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q1Len35TextContentType"/>
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len35TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="35" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
County To carry the county name. 1 35 Yes xs:string

<xs:element name="CountyName"
    type="Q1Len35TextType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len35TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q1Len35TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len35TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="35" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Local authority To carry the local authority name. Yes 1 50 Yes xs:string

<xs:element name="LocalAuthority"
    type="Q1Len38TextType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len38TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q1Len38TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len38TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="38" />
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
OS map reference Carries the OS 1 8 Yes xs:string

<xs:element name="OSMapReference"
    type="Q1Len8TextType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
</xs:element>

<xs:complexType name="Q1Len8TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q1Len8TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q1Len8TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="8" />
        <xs:pattern value=".*\S.*" />
    </xs:restriction>
</xs:simpleType>
SIM - Address with postcode Contents of type as above with extra postcode amount.

<xs:complexType
    name="Q1AddressWithPostcodeType">
    <xs:sequence>
Postcode Carries the postcode. Yes Yes xs:string

<xs:element name="PostcodeZone"
    type="Q1PostcodeZoneType"
    minOccurs="1" maxOccurs="1">
    <xs:documentation>The identifier for
        one or more properties according
        to the UK postal service; a group of
        letters and numbers added to the postal
        address to assist in the sorting of mail,
        as defined by the Royal Mail.
</xs:element>

<xs:complexType name="Q1PostcodeZoneType">
    <xs:documentation>The identifier for
        one or more properties according
        to the UK postal service; a group of
        letters and numbers added to the postal
        address to assist in the sorting of mail,
        as defined by the Royal Mail.
    <xs:sequence>
        <xs:element name="Postcode"
            type="Q3TextType"
            minOccurs="1" maxOccurs="1">
            <xs:documentation>A full or partial
                UK Postcode
        </xs:element>
    </xs:sequence>
</xs:complexType>

<xs:complexType name="Q3TextType">
    <xs:documentation>A character string
        (i.e. a finite set of characters)
        generally in the form of words of
        a language.
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Alternative despatch address Main element enabling/enforcing a choice between postal or DX delivery address. xs:decimal

<xs:complexType
    name="Q1AlternativeDespatchDetailsType">
    <xs:sequence>
        <xs:element name="AlternativeDespatchAddress"
            type="Q1AlternativeDespatchAddressType"
            minOccurs="0" maxOccurs="1">
            <xs:documentation> The type of address
                to be used on results.
        </xs:element>

<xs:complexType
    name="Q1AlternativeDespatchAddressType">
    <xs:choice>
        <xs:element name="PostalAddress"
            type="Q1AlternativePostalAddressType"
            minOccurs="0" maxOccurs="1">
            <xs:documentation> A specific
                Address that can be used for
                the delivery of physical mail.
        </xs:element>
        <xs:element name="DXDetails"
            type="Q1DXDetailsType"
            minOccurs="0" maxOccurs="1" />
    </xs:choice>
</xs:complexType>
Despatch name Words say name of firm/company, however it is possible it could be a private individual. 1 70 Yes xs:string

<xs:element name ="AlternativeDespatchName"
    type="DespatchNameTextContentType"
    minOccurs="0" maxOccurs="1">
    <xs:documentation> Name of
        firm/company results
        will be addressed to.
</xs:element>

<xs:simpleType
    name="DespatchNameTextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="70" />
        <xs:pattern value="[A-Za-z0-
            9\s~!&quot;@#$%&apos;\(\)\*\+,\-
            \./:;=>\?\[\\]_\{\}\^&#xa3;]*" />
    </xs:restriction>
</xs:simpleType>
Despatch reference Carries a reference for the alternative despatch. 1 25 Yes xs:string

<xs:element name ="AlternativeDespatchReference"
    type="Q4TextContentType"
    minOccurs="0" maxOccurs="1">
    <xs:annotation>
        <xs:documentation>Text reference to be
            displayed on results.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:simpleType name="Q4TextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="1" />
        <xs:maxLength value="25" />
        <xs:pattern value="[A-Za-z0-
            9\s~!&quot;@#$%&apos;\(\)\*\+,\-
            \./:;=>\?\[\\]_\{\}\^&#xa3;]*" />
    </xs:restriction>
</xs:simpleType>
Line 1 Start of the alternative despatch address. Yes xs:string

<xs:element name="AddressLine"
    type="Q3TextType"
    minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A line of the
            address for the alternative
            despatch location.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Line 2 Yes xs:string

<xs:element name="AddressLine"
    type="Q3TextType"
    minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A line of the
            address for the alternative
            despatch location.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Line 3 Yes xs:string

<xs:element name="AddressLine"
    type="Q3TextType"
    minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A line of the
            address for the alternative
            despatch location.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Line 4 Yes xs:string

<xs:element name="AddressLine"
    type="Q3TextType"
    minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A line of the
            address for the alternative
            despatch location.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Line 5 Yes xs:string

<xs:element name="AddressLine"
    type="Q3TextType"
    minOccurs="0" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A line of the
            address for the alternative
            despatch location.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
Postcode Field to carry the postcode. Yes xs:string

<xs:element name="Postcode"
    type="Q3TextType"
    minOccurs="0" maxOccurs="1">
    <xs:annotation>
        <xs:documentation>A valid postcode
            for the alternative address.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
OR
DX number Field to carry the DX number. Yes xs:string

<xs:element name="DXNumber"
    type="Q3TextType"
    minOccurs="1" maxOccurs="1">
    <xs:annotation>
        <xs:documentation>A unique
            identifier for a delivery
            point for organisations using
            the Document Exchange service.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>
DX exchange Field to carry DX exchange. Yes xs:string

<xs:element name="ExchangeName"
    type="Q3TextType"
    minOccurs="1" maxOccurs="1">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
</xs:element>

<xs:complexType name="Q3TextType">
    <xs:annotation>
        <xs:documentation>A character string
            (i.e. a finite set of characters)
            generally in the form of words of
            a language.
        </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="Q3TextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="Q3TextContentType">
    <xs:restriction base="xs:string">
        <xs:pattern value=".*\S.*"/>
    </xs:restriction>
</xs:simpleType>