Skip to main content

Local land charges search service interface specification


Local land charges search service

1. Background

This document provides the interface requirements for the Local Land Charges Search V2_0 Business Gateway service. V2_0 has added functionality to provide a response in alternative formats. It is anticipated the customers will then present this data to their end users in a format appropriate to their requirements. Should users require both a PDF and alternative response then it will be necessary to complete a Refresh search using the ‘Search Reference’ from the initial search. The Refresh search does not incur a further charge.

2. Purpose

The purpose of this document is to specify the interface between HM Land Registry and a Business Gateway Customer, indicating the message layouts and XML schemas that must be adhered to in order to communicate with HMLR, so that data may be exchanged between the organisations to effect Business Gateway. The XML schemas associated with this interface represent the authoritative definition of the interface and takes precedence over any information in this document. The schemas will be issued with this document, along with sample requests and responses. See Annex for samples.

3. Scope

The scope of this document encompasses the Local Land Charges Search V2_0 interface and XML message format.

4. Definitions, Acronyms and Abbreviations

Any specific terms and abbreviations are further explained in the Glossary.

5. Interface Specification

This section covers general information about the configuration and use of the interface.

6. XML Requirements

The XML schema attached as part of this document is compliant with ‘XML Schema W3C Recommendation’, 04 Feb 2004 and e-GIF standards. The XML version is 2.0 and encoding is UTF-8. In an XML message, use of the characters &, <, “ and ‘ is constrained. The characters & and < are permitted to represent themselves only in Comments, Processing Instructions and CDATA sections. The characters “ and ‘ cannot appear in an attribute if they are being used to demarcate the value.

Escape sequences are used to represent these characters when required. These escape sequences are:

Character Escape sequence
& “&amp;”
< “&lt;”
> “&gt;”
”&quot;“
”&apos;“

Within CDATA blocks the above characters are permitted and escape sequences must not be used. CDATA blocks are used for attachments to messages.

7. Business Gateway

Business Gateway Process Diagram

Business Gateway processs diagram

Both the LLCSearchRequestV2_0 and the Poll Request messages are acknowledged with a LLCSearchResponseV2_0 message.

8. LLC Search V2_0 Specific Messages

  • Schema:
    • LLCSearchRequestV2_0
    • LLCSearchResponseV2_0
  • Description:
    • Local Land Charges Search request identifies any Local Land Charges within the search area identified by Title number or by GeoJson data. If a refresh search of an exiting Local Land Charges search is made within 6 months of the original request, then this is made using the stored search criteria from the original request.
      • The response indicates either:
        • A success response includes a PDF or alternative requested format representing the LLC1 search.
        • A system error.
        • A rejection response with details of why the search was rejected.

9. Xml Schemas

Current list of XML Schemas

Name Version
LLCSearchRequestV2_0 2.0
LLCSearchResponseV2_0 2.0
PollRequest 1.0

See Annex for details of the individual Schemas relating to the Online Owner Verification service.

10. Local Land Charges search request (V2_0)

The LLCSearchRequestV2_0 message uses the namespace http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0 and must be valid with respect to the XML Schema published by HM Land Registry for that namespace.

Message Description
LLCSearchRequestV2_0
This message allows Customers to submit Local Land Charges Search Requests to HMLR.

10.1 Request message structure

The request message comprises generic header information which is common with requests for other services, plus information specific to the LLCSearchRequestV2_0. This is illustrated below:

Structure of a request for the Local land Charges Search service

The options are for the refresh of an existing search within 6 months of the original request or a new search. A new search can be either using a Land Registry Title number or GeoJson, both would include a Property description.

Note: The Property description is used as additional information included on the result, but it is not verified or used for the actual search, only the Title number or GeoJson are used for the area of the search.

10.2 Request specific elements

Specific elements of a Local Land Charges Search request

The request message breakdown is illustrated below:

Element Value Rules for Use
Message Id A unique reference associated with the application in the Case Management System Mandatory
Reference Customer reference often associated with a case in Case Management System Mandatory
FeeInPence Expected fee in pence Optional
RefreshSearchReference The RefreshSearchReference contains the SearchReference given in the response to the original search request. It is used to retrieve the original search criteria and provide a new search if within 6 months of the original search date. Mandatory
TitleNumber Land Registry Title number will be used to identify the area of search required Mandatory
GeoJson GeoJson is used to identify coordinates of the search area required. It is included within a CDATA section to prevent this Character Data being parsed as markup. Mandatory
PropertyDescription Text describing property being searched. This is included in the search result document, but the data is not verified or used to identify the search area. Mandatory (with TitleNumber search or GeoJson search)
ResponseFormat Provides the format user requires the response in. options are PDF, XML, JSON or CSV Mandatory
Indicators Search Indicators to enable/disable specific checks. See IndicatorType for more details. Mandatory

A request comprises one of the following three options:

  1. 1. RefreshSearchReference (to refresh an existing search)
  2. 2. Title number search, plus PropertyDescription
  3. 3. GeoJson, plus PropertyDescription

10.2.2 IndicatorType (Request)

The ‘Indicators’ element may contain 0 or many IndicatorType elements. The value of these elements must be set to true or false in lowercase. If any of the IndicatorTypes are excluded from the Request message they will be set to the default values shown below.

Indictor Type Element Value Description Default
ContinueIfOutOfHours true Request will be lodged and processed when back in hours x
ContinueIfOutOfHours false Reject request if out of hours
ContinueIfFeeExceedExpected true Continue if fee exceeds the fee given in the request
ContinueIfFeeExceedsExpected false Reject if fee exceeds x

11. Local Land Charges Search Response (V2_0)

LLCSearchResponseV2_0 message uses the namespace http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0 and must be valid with respect to the XML Schema published by HM Land Registry for that namespace.

Message Description
LLCSearchResponseV2_0 This message allows HM Land Registry to send the Local Land Charges Search Response to the Customer.

11.1 Response message structure

The response message comprises generic information common with responses to other services, plus information specific to the LLCSearchResponseV2_0 response. This is illustrated below

Specific elements of a Local Land Charges Search response


Generic elements of a Local Land Charges Search response that are common with responses to other Business Gateway Services

11.2 Response specific elements

Element Description Rules for Use
TypeCode Used to identify the type of response that has been issued.
  • Acknowledgement: '30’
  • Rejection: ‘20’
  • Result: ‘30’
Mandatory
Acknowledgement This is the Business Gateway confirmation of receipt response Optional
Rejection This is the Business Gateway rejection response Optional
Result This is the Business Gateway success response Optional
Note: Either an acknowledgement, rejection or result message will be issued.

The Acknowledgement message will be returned if the service is out of hours and the original request message had the indictor ContinueIfOutOfHours set to true.

If for any reason a valid acknowledgement, rejection or response is not received by the originator (i.e. through network error, corruption or incorrectly prepared XML) there is no way for the server to know if it was successfully received or not. If this occurs the request can be sent again with the same MessageId and the original result will be returned. If HMLR did not receive the original request the system will process the request as a new one.

Note: Any requests submitted with a duplicate MessageId will receive the last response for that MessageId regardless of the other criteria in the request.

The acknowledgement response structure is illustrated below:

Structure of an acknowledgement response for the Local land Charges Search service

11.3 Acknowledgement specific elements

Element Description Rules for Use
UniqueID A unique identifier used by the end user to get the status update of their request. This would be the same value as the MessageId from the request. Mandatory
ExpectedResponseDateTime This element will hold the expected date and time when Business Gateway will try to process the queued request. This element will contain date and time data in a GMT format. Mandatory
MessageDescription This will be a String type element and will be used to return a message to the end user. See Annex for acknowledgement message text. Mandatory

11.4 Rejection response structure

The purpose of the Rejection message is to inform the originator of the Request message that it has been rejected due to known circumstances.

Structure of a rejection response from the Local Land Charges Search service


Specific elements of the RejectionResponse field from a Local Land Charges Search rejection response

11.5 Rejection specific elements

Element Description Rules for Use
Reason A description of the reason for rejection. See Annex for full list of rejection reasons. Mandatory
Code A code signifying the reason for rejection. See Annex for full list of rejection codes. Mandatory
OtherDescription A free format text field to convey any further information about the rejection. Optional
ValidationErrors Validation errors. Optional
ExternalReference Customer reference often associated with a case in Case Management System and as provided in Reference element of request Mandatory

11.6 Result response structure

Structure of a result response from the Local Land Charges Search service

11.7 Result key elements

Element Description Rules for Use
ExternalReference Customer reference often associated with a case in Case Management System and as provided in Reference element of request. Mandatory
ActualPrice Fee charged in pence, which will be charged under the direct debit for the Business Unit associated to the user submitting the search. Mandatory
SearchArea Extent used to make search, will be displayed for alternate formats of JSON, CSV or XML. Optional
Attachment This will hold the search results in a PDF document (If not included then either Charges or ChargesAlternateFormat must be included). Optional
SearchDateTime Date and time the search result was generated. Optional *
SearchDescription Description as provided in request, not used to verify or create the response, but acts as a customer reference. Optional *
NumberOfSearchesFound Integer value of number of Local Land Searches identified in search response. Optional *
Charges Multiple LocalLandChargeType elements each representing a separate Local Land Charge. These are only included if response requested as XML. Optional 0-unbounded
ChargesAlternateFormat This contains alternative formats of either JSON or CSV within CDATA tags. Has attribute ‘format’ providing the format response is returned as. Optional
SearchReference The HM Land Registry reference for this search response. This is then used for a refresh search in element RefreshSearchReference. Mandatory
*Always present if alternative response format requested i.e. not a PDF response.

11.8 Local Land Charges data

Multiple elements (LocalLandCharge) will each contain information for an individual Local Land Charge

Specific elements of the LocalLandCharge field from a Local Land Charges Search result response

11.9 Local Land Charge Content - common charge elements

See separate sections for Land compensation charges, Financial charges and Light Obstruction Notices. These detail the specific elements relating to those specific charge types.

Element Description Rules for Use
HMLRReference HMLR unique reference to identify a specific charge. Mandatory
OriginatingAuthority The name of the Minister of the Crown, government department local authority or other person by whom the charge is brought into existence. Optional
AuthorityReference Local Authorities reference. Optional
CreationDate Date charge created. Optional
RegistrationDate Date charge registered with HMLR. Mandatory
Category Type of charge i.e. Planning Mandatory
ChargeSubCategory Type of charge sub category i.e. Planning notice. Optional
Law Statutory Provision in Law defining this charge. Optional
LegalDocument Legal Document Optional
Location Q1AddressType. For Light Obstruction Notice, see LocationDominantBuilding. Mandatory
Description Supplementary information relating to the charge. Optional
SourceOfInformation The location - physical or virtual - where relevant documents may be inspected Optional
Adjoining Boolean value if charge is adjoining searched area Optional
OtherData Included to enable additional data types to be added in the future as name/value pairs. Comprising elements DataLabel and Data. Used for additional LON applicant/address information whilst not restricted solely to this use. See Light obstruction notice (LON). Optional 0..*
ChargeExtent Extent of charge defined as GeoJson. Contained in CData. Optional

11.9.1 Land Compensation Charge

Element Description Rules for Use
LandSold Description of the land adjoining the retained land that was compulsorily acquired. (Section 8 charge) Optional
WorksDone Description of the reason why the land adjoining the retained land was compulsorily acquired. (Section 8 charge). Optional
AdvancePayment Amount already paid to the landowner from which the land was acquired. (Section 52 charge). Optional
TotalCompensation The total amount of compensation payable to the landowner from which the land was acquired. (Section 52 charge). Optional
AgreedOrEstimated Description of the amount paid to the landowner, values either ‘Agreed amount’ or ‘Estimated amount’. (Section 52 charge). Optional

11.9.2 Financial Charge

Element Description Rules for Use
Amount Amount originally secured by the Financial charge Optional
InterestRate Rate of interest applicable to the amount the charge. Optional

11.9.3 Light Obstruction Notice

Element Description Rules for Use
LocationDominantBuilding Charge address a Q1AddressType Mandatory
AvailableDocument See DocumentType below Optional
InterestInLand The capacity in which the applicant holds the land over which the acquisition of the right to light is prevented (The Servient Land). Optional
ApplicantName The name of the individual or organisation applying for the light obstruction notice. There can be multiple applicants and further applicants will be identified in the OtherData element with DataLabel ‘LON Applicant *’ where * will be the number of applicant i.e. LON Applicant 2. Data element will contain the applicant name value Optional
ApplicantAddress The address of the first applicant Q1AddressType. For multiple ApplicantName, subsequent applicant addresses will be shown in OtherData. The DataLabel will be ‘LON Applicant Address *’ where * will be the number of applicant i.e. LON Applicant Address 2. Data element will contain the applicant address value as a string, not a formatted address. Optional
ServientLandDevelopment ServientLandDevelopmentType - details servient land. Optional

DocumentType

Element Description Rules for Use
Document Documents will include ‘Form A and colour plan’ and either a ‘Temporary certificate’ or ‘Definitive certificate’. Other documents maybe ‘Form B’ and ‘Court order’. Mandatory
StarDate Start date of wither Temporary certificate or Definitive certificate. Optional
EndDate End date of either Temporary certificate or Definitive certificate. Optional

ServientLandDevelopmentType

Element Description Rules for Use
Height The height of the notional structure i.e. 20 metres, or ‘Unlimited height’. Mandatory
CoversAllOrPartOfExtent Will be "All of the extent” or where available explanatory text of part effected. Optional

11.9.4 Q1AddressType

Element Description Rules for Use
PostcadeZone Contains Postcode element with postcode text value. Optional
AddressLine Contains multiple Line elements with text values representing lines of address. Optional

11.9.5 CData

Element Description Rules for Use
CData Will contain data that should not be escaped. Has attribute of ‘format’ to describe type of data i.e. JSON, CSV. Mandatory

12. Glossary Or Terms and Abbreviations

Acronym Description
LLC Local Land Charges.
HTTP HyperText Transfer Protocol.
XML eXtensible Markup Language.
Registered on date The date HM Land Registry received the application.

13. Annex

13.1.1 Acknowledgement Message

Message
Service is not currently available. System has queued your request. please poll at specified time.

13.1.2 Rejection Codes

Code Reason
bg.auth.fails Login details are invalid.
bg.user.account.status.locked.password Your account is locked. Please reset your password using Portal.
bg.outofhours.stop Service is not currently available and your request will not be processed.
bg.title.invalid Title number is invalid.
bg.title.closed This title number is closed.
bg.llc.title.closedAndContinued Title Number * has been closed and registration continued under Title Number *. Please request a search using the new Title Number.
bg.title.no.geojson Unable to obtain GeoJSON from title number please try again with GeoJSON data.
bg.geojson.invalid The supplied GeoJSON is not valid.
bg.nonmigrated.extent You are searching a non-migrated authority, edit your search area or contact the local authority.
bg.fee.feeMismatch Fee Amount provided does not match with the fee calculated by Land Registry.
bg.llc.access.denied Access denied, this service has limited availability - please contact HM Land Registry.
bg.llc.search.ref.not.found Search reference not found, refresh searches are valid for 6 months after the initial search.
bg.document.maxFileSizeLimitExceeds Generated PDF exceeds maximum size of 20MB.
bg.geojson.size.exceeded GeoJSON exceeds maximum length of 32000 characters.
bg.too.many.results Your search area has too many charged. Email HM Land Registry to search this area: locallandchargesregister@landregistry.gov.uk

13.1.3 Sample Messages


<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:llc=”http://llcsearchv2_0.ws.bg.lr.gov/”
  xmlns:llc1="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0">
  <soapenv:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
      <wsse:UsernameToken>
        <wsse:Username>ABCD3000</wsse:Username>
        <wsse:Password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password99</wsse:Password>
      </wsse:UsernameToken>
    </wsse:Security>
    <i18n:international xmlns:i18n="http://www.w3.org/2005/09/ws-i18n">
      <i18n:locale>en</i18n:locale>
    </i18n:international>
  </soapenv:Header>
  <soapenv:Body>
    <llc:performSearch>
      <in>
        <llc1:MessageId>LLC30052018-1515</llc1:MessageId>
        <llc1:Reference>XYZ</llc1:Reference>
        <llc1:FeeInPence>1500</llc1:FeeInPence>
        <!--You have a CHOICE of the next 2 items at this level-->
        <llc1:TitleNumber>GR987</llc1:TitleNumber>
        <llc1:PropertyDescription>The House</llc1:PropertyDescription>
        <!—ResponseFormat can contain PDF, XML, JSON or CSV -->
        <llc1:ResponseFormat>JSON</llc1:ResponseFormat>
        <llc1:Indicators>
          <!--Zero or more repetitions:-->
          <llc1:Indicator>
            <llc1:IndicatorType>continueIfOutOfHours</llc1:IndicatorType>
            <llc1:IndicatorValue>true</llc1:IndicatorValue>
          </llc1:Indicator>
        </llc1:Indicators>
      </in>
    </llc:performSearch>
  </soapenv:Body>
</soapenv:Envelope>

Sample response message with PDF attached


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns5:performSearchResponse xmlns:ns2="http://www.oscre.org/ns/eReg/MR01-20090605/PollRequest" xmlns:ns3="http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0" xmlns:ns4="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0" xmlns:ns5="http://llcsearchv2_0.ws.bg.lr.gov/">
      <return>
        <ns3:GatewayResponse>
          <ns3:TypeCode>30</ns3:TypeCode>
          <ns3:Results>
            <ns3:ExternalReference>MyLLC1search</ns3:ExternalReference>
            <ns3:ActualPrice>
              <ns3:GrossPriceAmount>1500</ns3:GrossPriceAmount>
            </ns3:ActualPrice>
            <ns3:Attachment>
              <ns3:EmbeddedFileBinaryObject ns3:format="PDF">Byte data removed for ease of reading</ns3:EmbeddedFileBinaryObject>
            </ns3:Attachment>
            <ns3:SearchReference>000001904</ns3:SearchReference>
          </ns3:Results>
        </ns3:GatewayResponse>
      </return>
    </ns5:performSearchResponse>
  </soap:Body>
</soap:Envelope>

Or JSON or CSV data included


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns5:performSearchResponse xmlns:ns5="http://llcsearchv2_0.ws.bg.lr.gov/" xmlns:ns2="http://www.oscre.org/ns/eReg/MR01-20090605/PollRequest" xmlns:ns3="http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0" xmlns:ns4="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0">
      <return>
        <ns3:GatewayResponse>
          <ns3:TypeCode>30</ns3:TypeCode>
          <ns3:Results>
            <ns3:ExternalReference>qwery123</ns3:ExternalReference>
            <ns3:ActualPrice>
              <ns3:GrossPriceAmount>1500</ns3:GrossPriceAmount>
            </ns3:ActualPrice>
            <ns3:SearchArea ns3:format="JSON"><![CDATA[{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[292403.1591430201,92980.43954658421],[292407.18414302013,92984.2895465842],[292424.1591430201,92967.31454658421],[292419.9591430201,92963.9895465842],[292403.1591430201,92980.43954658421] ] ]},"properties":{"id":1.573722712692E12}}]}]]></ns3:SearchArea>
            <ns3:SearchDateTime>2019-11-27T09:24:29.000Z</ns3:SearchDateTime>
            <ns3:SearchDescription>Sidwell St. Exeter</ns3:SearchDescription>
            <ns3:NumberSearchesFound>9</ns3:NumberSearchesFound>
            <ns3:ChargesAlternateFormat ns3:format="JSON"><![CDATA[ JSON or CSV data here ]]></ns3:ChargesAlternateFormat>
            <ns3:SearchReference>000005041</ns3:SearchReference>
          </ns3:Results>
        </ns3:GatewayResponse>
      </return>
    </ns5:performSearchResponse>
  </soap:Body>
</soap:Envelope>

Or XML response


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ns5:performSearchResponse xmlns:ns5="http://llcsearchv2_0.ws.bg.lr.gov/" xmlns:ns2="http://www.oscre.org/ns/eReg/MR01-20090605/PollRequest" xmlns:ns3="http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0" xmlns:ns4="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0">
      <return>
        <ns3:GatewayResponse>
          <ns3:TypeCode>30</ns3:TypeCode>
          <ns3:Results>
            <ns3:ExternalReference>qwery123</ns3:ExternalReference>
            <ns3:ActualPrice>
              <ns3:GrossPriceAmount>1500</ns3:GrossPriceAmount>
            </ns3:ActualPrice>
            <ns3:SearchArea ns3:format="JSON"><![CDATA[{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[292403.1591430201,92980.43954658421],[292407.18414302013,92984.2895465842],[292424.1591430201,92967.31454658421],[292419.9591430201,92963.9895465842],[292403.1591430201,92980.43954658421] ] ]},"properties":{"id":1.573722712692E12}}]}]]></ns3:SearchArea>
            <ns3:SearchDateTime>2019-11-27T14:16:32.000Z</ns3:SearchDateTime>
            <ns3:SearchDescription>Sidewell Road Exeter</ns3:SearchDescription>
            <ns3:NumberSearchesFound>3</ns3:NumberSearchesFound>
            <ns3:Charges>
              <ns3:LocalLandCharge>
                <ns3:HMLRReference>LLC-10TW</ns3:HMLRReference>
                <ns3:OriginatingAuthority>HM Land Registry</ns3:OriginatingAuthority>
                <ns3:AuthorityReference>AuthRef-13579</ns3:AuthorityReference>
                <ns3:CreationDate>2019-02-20</ns3:CreationDate>
                <ns3:RegistrationDate>2019-11-14</ns3:RegistrationDate>
                <ns3:Category>Planning</ns3:Category>
                <ns3:ChargeSubCategory>Planning agreement</ns3:ChargeSubCategory>
                <ns3:Law>Town and Country Planning Act 1990 section 106</ns3:Law>
                <ns3:LegalDocument>Agreement</ns3:LegalDocument>
                <ns3:Location>
                  <ns3:PostcodeZone>
                    <ns3:Postcode>EX4 6NN</ns3:Postcode>
                  </ns3:PostcodeZone>
                  <ns3:AddressLine>
                    <ns3:Line>24 Sidwell Street</ns3:Line>
                    <ns3:Line>Exeter</ns3:Line>
                  </ns3:AddressLine>
                </ns3:Location>
                <ns3:Description>Additional text for charge description</ns3:Description>
                <ns3:SourceOfInformation>Further information is available in planning department.</ns3:SourceOfInformation>
                <ns3:Adjoining>false</ns3:Adjoining>
                <ns3:ChargeExtent ns3:format="JSON"><![CDATA[{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[292403.28359375,92980.3875],[292407.13359374995,92984.15],[292424.02109374997,92967.0875],[292419.99609375,92963.5875],[292403.28359375,92980.3875] ] ]},"properties":{"id":1573721596859}}]}]]></ns3:ChargeExtent>
              </ns3:LocalLandCharge>
              <ns3:LocalLandCharge>
                <ns3:HMLRReference>LLC-10TX</ns3:HMLRReference>
                <ns3:OriginatingAuthority>HM Land Registry</ns3:OriginatingAuthority>
                <ns3:AuthorityReference>AuthRef-finance1</ns3:AuthorityReference>
                <ns3:CreationDate>2019-10-14</ns3:CreationDate>
                <ns3:RegistrationDate>2019-11-14</ns3:RegistrationDate>
                <ns3:Category>Financial</ns3:Category>
                <ns3:Law>Local Land Charges Act 1975 section 6(2)</ns3:Law>
                <ns3:LegalDocument>Deed</ns3:LegalDocument>
                <ns3:Location>
                  <ns3:PostcodeZone>
                    <ns3:Postcode>EX4 6NN</ns3:Postcode>
                  </ns3:PostcodeZone>
                  <ns3:AddressLine>
                    <ns3:Line>24 Sidwell Street</ns3:Line>
                    <ns3:Line>Exeter</ns3:Line>
                  </ns3:AddressLine>
                </ns3:Location>
                <ns3:SourceOfInformation>Further information about this financial charge</ns3:SourceOfInformation>
                <ns3:Amount>5000.00</ns3:Amount>
                <ns3:InterestRate>4%</ns3:InterestRate>
                <ns3:Adjoining>false</ns3:Adjoining>
                <ns3:ChargeExtent ns3:format="JSON"><![CDATA[{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[292403.19609374995,92980.56249999999],[292419.99609375,92963.93749999999],[292424.10859375,92967.34999999999],[292406.95859374997,92984.23749999999],[292403.19609374995,92980.56249999999] ] ]},"properties":{"id":1573721894086}}]}]]></ns3:ChargeExtent>
              </ns3:LocalLandCharge>
              <ns3:LocalLandCharge>
                <ns3:HMLRReference>LLC-10TY</ns3:HMLRReference>
                <ns3:OriginatingAuthority>HM Land Registry</ns3:OriginatingAuthority>
                <ns3:AuthorityReference>LandCompRef-123</ns3:AuthorityReference>
                <ns3:RegistrationDate>2019-11-14</ns3:RegistrationDate>
                <ns3:Category>Land compensation</ns3:Category>
                <ns3:Law>Land Compensation Act 1973 section 52(8)</ns3:Law>
                <ns3:LegalDocument>Order</ns3:LegalDocument>
                <ns3:Location>
                  <ns3:PostcodeZone>
                    <ns3:Postcode>EX4 6NN</ns3:Postcode>
                  </ns3:PostcodeZone>
                  <ns3:AddressLine>
                    <ns3:Line>24 Sidwell Street</ns3:Line>
                    <ns3:Line>Exeter</ns3:Line>
                  </ns3:AddressLine>
                </ns3:Location>
                <ns3:Description>Land Compensation Charge description - optional</ns3:Description>
                <ns3:SourceOfInformation>Further information about this Land Compensation charge</ns3:SourceOfInformation>
                <ns3:InterestInLand>Freehold</ns3:InterestInLand>
                <ns3:AdvancePayment>3500.00</ns3:AdvancePayment>
                <ns3:TotalCompensation>4500.00</ns3:TotalCompensation>
                <ns3:AgreedOrEstimated>Agreed amount</ns3:AgreedOrEstimated>
                <ns3:Adjoining>false</ns3:Adjoining>
                <ns3:ChargeExtent ns3:format="JSON"><![CDATA[{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[292403.19609374995,92980.47499999999],[292420.08359374997,92964.025],[292424.19609374995,92967.61249999999],[292406.87109375,92984.15],[292403.19609374995,92980.47499999999] ] ]},"properties":{"id":1573722067420}}]}]]></ns3:ChargeExtent>
              </ns3:LocalLandCharge>
            </ns3:Charges>
            <ns3:SearchReference>000005043</ns3:SearchReference>
          </ns3:Results>
        </ns3:GatewayResponse>
      </return>
    </ns5:performSearchResponse>
  </soap:Body>
</soap:Envelope>

13.1.4 Schemas

XML Schemas are compliant with e-GIF (Electronic Government Interoperability Framework) standards. Schema files are named according to the standard -vm-n.xsd where v is the letter ‘v’, m is the major version number and n is the minor version number.

13.1.5 LLCSearchRequestV2_0.xsd


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0"
  xmlns="http://www.landregistry.gov.uk/LLC/LLCSearchRequestV2_0"
  elementFormDefault="qualified">
  <xs:element name="LLCSearch" type="LLCSearchRequestV2_0Type"></xs:element> <!-- fill out all input parameters very basic below -->
  <xs:complexType name="LLCSearchRequestV2_0Type">
    <xs:sequence>
      <xs:element name="MessageId" type="MessageIdType" minOccurs="1" maxOccurs="1" />
      <xs:element name="Reference" type="ReferenceTextContentType" minOccurs="1" maxOccurs="1" />
      <xs:element name="FeeInPence" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1" />
      <xs:choice>
        <xs:element name="RefreshSearchReference" type="SearchReferenceTextType" minOccurs="1" maxOccurs="1" />
        <xs:sequence>
          <xs:choice>
            <xs:element name="TitleNumber" type="TitleType" minOccurs="1" maxOccurs="1" />
            <xs:element name="GeoJson" type="CDATA" minOccurs="1" maxOccurs="1" />
          </xs:choice>
          <xs:element name="PropertyDescription" type="PropertyDescriptionType" />
        </xs:sequence>
      </xs:choice>
      <xs:element name="ResponseFormat" type="ResponseFormatContent" minOccurs="1" maxOccurs="1"/>
      <xs:element name="Indicators" type="IndicatorsType" minOccurs="1" maxOccurs="1"></xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="PropertyDescriptionType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="400" />
      <xs:pattern value="[A-Za-z0-9\s~!"@#$%'\(\)\*\+,\-\./:;=>\?\[\\\]_\{\}\^£&]*" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="MessageIdType">
    <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>
  <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~!"@#$%'\(\)\*\+,\-\./:;=>\?\[\\\]_\{\}\^£&]*" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="SearchReferenceTextType">
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="9"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="TitleType">
    <xs:annotation>
      <xs:documentation>This type defines the validation pattern for title numbers</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="1" />
      <xs:maxLength value="9" />
      <xs:pattern value="[A-Z]{0,3}[0-9]{1,6}[ZT]?" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="CDATA">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:simpleType name="ResponseFormatContent">
    <xs:restriction base="xs:string">
      <xs:enumeration value="PDF"/>
      <xs:enumeration value="XML"/>
      <xs:enumeration value="JSON"/>
      <xs:enumeration value="CSV"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="IndicatorsType">
    <xs:sequence>
      <xs:element name="Indicator" type="IndicatorType" minOccurs="0" maxOccurs="unbounded"></xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="IndicatorType">
    <xs:sequence>
      <xs:annotation>
        <xs:documentation> The indicators are generic so that new options can be added in the future without schema changes. Expected indicators are: ContinueIfOutOfHours ContinueIfFeeExceedsExpected</xs:documentation>
      </xs:annotation>
      <xs:element name="IndicatorType" minOccurs="1" maxOccurs="1">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"></xs:minLength>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="IndicatorValue" type="xs:boolean" minOccurs="1" maxOccurs="1"></xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

13.1.6 LLCSearchResponseV2_0.xsd


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  targetNamespace="http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0"
  xmlns="http://www.landregistry.gov.uk/LLC/LLCSearchResponseV2_0"
  elementFormDefault="qualified" attributeFormDefault="qualified">
  <xs:element name="LLCSearchResponse" type="LLCSearchResponseV2_0Type" />
  <xs:complexType name="LLCSearchResponseV2_0Type">
    <xs:sequence>
      <xs:element name="GatewayResponse" type="Q1GatewayResponseType" minOccurs="1" maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1GatewayResponseType">
    <xs:sequence>
      <xs:element name="TypeCode" type="ProductResponseCodeType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>A character string (letters, figures or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an Attribute together with relevant supplementary information.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Acknowledgement" type="Q1AcknowledgementType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>This is the the Business Gateway confirmation response to the External System.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Rejection" type="Q1RejectionType" minOccurs="0" maxOccurs="1" />
      <xs:element name="Results" type="Q1ResultsType" minOccurs="0" maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProductResponseCodeType">
    <xs:annotation>
      <xs:documentation>A character string (letters, figures or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an Attribute together with relevant supplementary information.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="ProductResponseCodeContentType" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="ProductResponseCodeContentType">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="0">
        <xs:annotation>
          <xs:documentation>Other</xs:documentation>
          <xs:documentation>-</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10">
        <xs:annotation>
          <xs:documentation>Acknowledgement</xs:documentation>
          <xs:documentation>-</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="20">
        <xs:annotation>
          <xs:documentation>Rejection</xs:documentation>
          <xs:documentation>-</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="30">
        <xs:annotation>
          <xs:documentation>Result</xs:documentation>
          <xs:documentation>-</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="Q1AcknowledgementType">
    <xs:annotation>
      <xs:documentation>This is the the Business Gateway confirmation response to the External System.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="AcknowledgementDetails" type="Q1AcknowledgementDetailsType" minOccurs="1" maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1AcknowledgementDetailsType">
    <xs:sequence>
      <xs:element name="UniqueID" type="IdentifierType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Unique identifier used by end user to get the status update of their request.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ExpectedResponseDateTime" type="DateTimeType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>This element will hold expected time when
          Business Gateway will try to process the queued request. This
          element will contain date and time data as GMT format. This
          element should be marked as mandatory</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MessageDescription" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>This will be a String type element and will be
          use to display a message to end user. This element should be
          marked as mandatory</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1ActualPriceType">
    <xs:annotation>
      <xs:documentation>Information about price</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="GrossPriceAmount" type="AmountType" minOccurs="1" 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>
        </xs:annotation>
      </xs:element>
      <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:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="VATAmount" type="AmountType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>This is the amount of the VAT</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1AttachmentType">
    <xs:annotation>
      <xs:documentation>An electronic copy of a document that may be attached to a message.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EmbeddedFileBinaryObject" type="BinaryObjectType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>The binary representation of the image or document</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Title" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Title or Caption for the attached file or document</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Description" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>A description of the contents of the attached file or document</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Date" type="DateType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>The date of the document within the contained
          attachment. In the example of a an attached photo, this would be
          the date the photograph was taken.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CopyrightNotices" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Text description of any Legal or copyright notices that may apply to the file in question.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1RejectionType">
    <xs:sequence>
      <xs:element name="ExternalReference" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <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:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ActualPrice" type="Q1ActualPriceType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>This is the price for a Search/Product</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RejectionResponse" type="Q1RejectionResponseType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Provides details of the reasons for the rejection of the Search Order Send message.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1RejectionResponseType">
    <xs:annotation>
      <xs:documentation>Provides details of the reasons for the rejection.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Reason" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>A description of the reason for rejection.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Code" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>A code signifying the reason for rejection</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OtherDescription" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Freeform text field to convey any further information about the rejection.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ValidationErrors" type="Q1ValidationErrorsType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1ResultsType">
    <xs:sequence>
      <xs:element name="ExternalReference" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation> Reference associated with a case in Case Management System </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ActualPrice" type="Q1ActualPriceType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation> This is the price for a Search/Product</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SearchArea" type="CData" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>CDATA will contain the geoJSON identifying the area of the search. Will not be included with a PDF attachment which already includes an image displayed Search Area.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:choice>
        <xs:element name="Attachment" type="Q1AttachmentType" minOccurs="0" maxOccurs="1">
          <xs:annotation>
            <xs:documentation> An electronic copy of a document that may be attached to a message. </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:sequence>
          <xs:element name="SearchDateTime" type="DateTimeType" minOccurs="1" maxOccurs="1" >
            <xs:annotation>
              <xs:documentation>Date and time of Local Land Charges search</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="SearchDescription" type="xs:string" minOccurs="1" maxOccurs="1" >
            <xs:annotation>
              <xs:documentation>Description as provided in the request data</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="NumberSearchesFound" type="xs:integer" minOccurs="1" maxOccurs="1">
            <xs:annotation>
              <xs:documentation>Returns the number of charges found for the given search area</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:choice>
            <xs:element name="Charges" type="LocalLandChargeType" minOccurs="0" maxOccurs="1"/>
            <xs:element name="ChargesAlternateFormat" type="CData"></xs:element>
          </xs:choice>
        </xs:sequence>
      </xs:choice>
      <xs:element name="SearchReference" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation> Land Registry Search Reference may be used to request a refreshed search within 6 months of original request. </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LocalLandChargeType">
    <xs:sequence>
      <xs:element name="LocalLandCharge" type="LocalLandChargeContent" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>If NumberSearchesFound greater than 0, then this element is repeated for each charge identified</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="Q1ValidationErrorsType">
    <xs:sequence>
      <xs:element name="Code" type="TextType" 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:element name="Description" type="TextType" 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:sequence>
  </xs:complexType>
  <xs:complexType name="DateTimeType">
    <xs:annotation>
      <xs:documentation>A particular point in the progression of time together with the relevant supplementary information.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:dateTime" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="IdentifierType">
    <xs:annotation>
      <xs:documentation>A character string to identify and distinguish
      uniquely, one instance of an object in an identification scheme from
      all other objects in the same scheme together with relevant
      supplementary information.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:normalizedString">
        <xs:attribute name="schemeAgencyName" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>The identification of the agency that maintains
            the identification scheme.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="schemeName" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>The name of the identification scheme.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="TextType">
    <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="xs:string" />
    </xs:simpleContent>
  </xs:complexType> <!--Datatypes -->
  <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:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:decimal">
        <xs:attribute name="currencyID" type="xs:normalizedString" use="optional">
          <xs:annotation>
            <xs:documentation>The currency of the amount</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="BinaryObjectType">
    <xs:annotation>
      <xs:documentation>A set of finite-length sequences of binary octets.</xs:documentation>
    </xs:annotation>
    <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) </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="format" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>The format of the binary content.Note: A file
            format is a particular way to encode information for storage in a
            computer file. May be identified by the section of its name following the final period, e.g., gif, pdf, jpg.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="mimeCode" type="xs:normalizedString" use="optional">
          <xs:annotation>
            <xs:documentation>The mime type of the binary object.(Reference
            IETF RFC 2045, 2046, 2047)Note: consist of a standardised system
            of identifiers (managed by IANA) consisting of a type and a
            sub-type, separated by a slash - for instance, text/html or
            image/gif. </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="characterSetCode" type="xs:normalizedString" use="optional">
          <xs:annotation>
            <xs:documentation>The character set of the binary object if the
            mime type is text.(Reference IETF RFC 2045, 2046, 2047).
            Examples: ISO-8859-1, UTF-8, UTF-16. See also
            http://www.iana.org/assignments/character-sets.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="DateType">
    <xs:annotation>
      <xs:documentation>A particular point in the progression of time
      together with the relevant supplementary information. OSCRE dates
      follow the ISO 8601 Standard. The international standard date
      notation is YYYY-MM-DD where YYYY is the year in the usual Gregorian
      calendar, MM is the month of the year between 01 (January) and 12
      (December), and DD is the day of the month between 01 and 31.For
      example, the fourth day of February in the year 1995 is written in
      the standard notation as 1995-02-04 </xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:date" />
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="LocalLandChargeContent">
    <xs:sequence>
      <xs:element name="HMLRReference" type="TextType" minOccurs="1" maxOccurs="1" />
      <xs:element name="OriginatingAuthority" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Should always be present except for Light obstruction notice (LON)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AuthorityReference" type="TextType" minOccurs="0" maxOccurs="1" />
      <xs:element name="CreationDate" type="DateType" minOccurs="0" maxOccurs="1" />
      <xs:element name="RegistrationDate" type="DateType" minOccurs="1" maxOccurs="1" />
      <xs:element name="Category" type="TextType" minOccurs="1" maxOccurs="1" />
      <xs:element name="ChargeSubCategory" type="TextType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="Law" type="TextType" minOccurs="1" maxOccurs="1" />
      <xs:element name="LegalDocument" type="TextType" minOccurs="1" maxOccurs="1" />
      <xs:choice>
        <xs:annotation>
          <xs:documentation>LocationDominantBuilding for Light obstruction notice only (LON)</xs:documentation>
        </xs:annotation>
        <xs:element name="Location" type="Q1AddressType" minOccurs="1" maxOccurs="1" />
        <xs:element name="LocationDominantBuilding" type="Q1AddressType" minOccurs="1" maxOccurs="1" />
      </xs:choice>
      <xs:element name="Description" type="TextType" minOccurs="0" maxOccurs="1" />
      <xs:element name="SourceOfInformation" type="TextType" minOccurs="0" maxOccurs="1" />
      <xs:element name="AvailableDocument" type="DocumentType" minOccurs="0" maxOccurs="unbounded" />
      <xs:element name="InterestInLand" type="TextType" minOccurs="0" maxOccurs="1">
      <xs:annotation>
        <xs:documentation>Generally used for LONS and Financial Charges</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="ApplicantName" type="TextType" minOccurs="0" maxOccurs="1"/>
    <xs:element name="ApplicantAddress" type="Q1AddressType" minOccurs="0" maxOccurs="1"/>
    <xs:element name="ServientLandDevelopment" type="ServientLandDevelopmentType" minOccurs="0" maxOccurs="1">
    <xs:annotation>
      <xs:documentation>LONS servient land development height and extent covered</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="Amount" type="TextType" minOccurs="0" maxOccurs="1">
    <xs:annotation>
      <xs:documentation>Amount of financial charge</xs:documentation>
    </xs:annotation>
    </xs:element>
      <xs:element name="InterestRate" type="TextType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Rate of interest financial charge incurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LandSold" type="TextType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="WorksDone" type="TextType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="AdvancePayment" type="TextType" minOccurs="0" maxOccurs="1"></xs:element>
      <xs:element name="TotalCompensation" type="TextType" minOccurs="0" maxOccurs="1"/>
      <xs:element name="AgreedOrEstimated" type="TextType" minOccurs="0"/>
      <xs:element name="Adjoining" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
      <xs:element name="OtherData" type="OtherDataType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>To allow for inclusion of further data items that may be identified in the future</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ChargeExtent" type="CData" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>For some charges an extent may not be available due to sensitivity of the area</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DocumentType">
    <xs:sequence>
      <xs:element name="Document" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Generally used for LONS i.e. Definitive certificate, Temporary certificate, Form A and colour plan</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="StartDate" type="xs:date" minOccurs="0" maxOccurs="1" />
      <xs:element name="EndDate" type="xs:date" minOccurs="0" maxOccurs="1" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ServientLandDevelopmentType">
    <xs:sequence>
      <xs:element name="Height" type="TextType" minOccurs="1" maxOccurs="1"/>
      <xs:element name="CoversAllOrPartOfExtent" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>"All of the extent" or where available explanatory text of part effected</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OtherDataType">
    <xs:sequence>
      <xs:element name="DataLabel" type="TextType" minOccurs="1" maxOccurs="1"/>
      <xs:element name="Data" type="TextType" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CData">
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:annotation>
          <xs:documentation>CDATA holds plain text data which should not be escaped. Format of data is usually either JSON or CSV</xs:documentation>
        </xs:annotation>
        <xs:attribute name="format" type="xs:string" use="optional"></xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="Q1AddressType">
    <xs:annotation>
      <xs:documentation>A specific Address that can be used for the delivery of physical mail.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PostcodeZone" type="Q1PostcodeZoneType" minOccurs="0" maxOccurs="1">
        <xs:annotation>
          <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:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AddressLine" type="AddressLineType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>
            Free form line of an address, expressed as text.
            The recommendation for using this component is as follows:
            Line 1
            Building Name
            NOTE: This line may also include the Flat Number
            followed by the
            Building Name or could be separated out
            Line 2
            Building Number
            Line 3 Street Name
            Line 4 City Sub-Division-1
            Line 5
            City Name
            Line 6 Country Subentity
            Line 7 Postcode_Zone
            NOTE: ONLY
            the Post Code should exist in this array element
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AddressLineType">
    <xs:annotation>
      <xs:documentation>
        Free form line of an address, expressed as text.
        The recommendation for using this component is as follows:
        Line 1
        Building Name
        NOTE: This line may also include the Flat Number
        followed by the Building
        Name or could be separated out
        Line 2
        Building Number
        Line 3 Street Name
        Line 4 City Sub-Division-1
        Line 5
        City Name
        Line 6 Country Subentity
        Line 7 Postcode_Zone
        NOTE: ONLY the
        Post Code should exist in this array element
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="IndexNumeric" type="NumericType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>The ordinal position of the Address Line, in
          relation to other Address Lines as part of an Address.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Line" type="TextType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>An address line of unstructured text intended
          for use only by systems incapable of providing structured or fully
          structured addresses</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NumericType">
    <xs:annotation>
      <xs:documentation>Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="xs:decimal"/>
    </xs:simpleContent>
  </xs:complexType>
  <xs:complexType name="Q1PostcodeZoneType">
    <xs:annotation>
      <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:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Postcode" type="TextType" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>A full or partial UK Postcode</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>