Skip to main content

Poll Request Service Schema Explain


Data input field (from Land Registry (LR) test harness) Description Mandatory Minimum value Maximum value Has a pattern constraint XML datatype
Poll Request The main element of the schema.

<xs:element name="<strong>PollRequest</strong>"
    type="<strong>PollRequestType</strong>" />
<xs:complexType name="<strong>PollRequestType</strong>">
    <xs:sequence name="<strong>ID</strong>"
        type="<strong>Q1IdentifierType</strong>"
        minOccurs="1" maxOccurs="1" />
    </xs:sequence>
</xs:complexType>
Q1 Identifier Type This element carries the original message ID that was used when submitting the request you are polling for. Yes 5 50 Yes xs:string

<xs:complexType name="<strong>Q1IdentifierType</strong>">
    <xs:sequence>
        <xs:element name="<strong>MessageID</strong>"
            type="<strong>MessageIDTextType</strong>"
            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:complexType name="MessageIDTextType">
    <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="MessageIDTextContentType" />
    </xs:simpleContent>
</xs:complexType>

<xs:simpleType name="MessageIDTextContentType">
    <xs:restriction base="xs:string">
        <xs:minLength value="5" />
        <xs:maxLength value="50" />
        <xs:pattern value="[a-zA-Z0-9][a-zA-Z0-9\-]*" />
    </xs:restriction>
</xs:simpleType>