epb_view_models 2.7.1 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/api/schemas/data/orchestrate.json +19 -2
- data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
- data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
- data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
- data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
- data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
- data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
- data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
- data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
- data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
- data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/BaseDataTypes.xsd +302 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/CEPC-Reports.xsd +69 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Input-Data.xsd +39 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Performance-Summary.xsd +130 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Property.xsd +72 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Report-Header.xsd +182 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Reported-Data.xsd +411 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/UserManagement.xsd +175 -0
- data/api/schemas/xml/CS63-S-8.0.0/ActionPlan.xsd +822 -0
- data/api/schemas/xml/DECAR-S-8.0.0/DEC-Summary.xsd +399 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/BaseDataTypes.xsd +187 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/CEPC-Reports.xsd +78 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Input-Data.xsd +313 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Performance-Summary.xsd +111 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Report-Header.xsd +455 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Reported-Data.xsd +408 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xml +1832 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xsd +267 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/AssessorManagement.xsd +212 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-Certificate.xsd +399 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-CollectedData.xsd +1453 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/Property.xsd +67 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/RdSAP-Report.xsd +179 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/EPC-Domains.xsd +943 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/SAP-Domains.xsd +3557 -0
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.txt +236 -236
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/EPC-Certificate.xsd +433 -433
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/Property.xsd +69 -69
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-CollectedData.xsd +1326 -1326
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-Report.xsd +196 -196
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/UserManagement.xsd +217 -217
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/BaseDataTypes.xsd +175 -175
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/EPC-Domains.xsd +813 -813
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SAP09-Domains.xsd +3457 -3457
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SharedDomains.xsd +317 -317
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/AssessorManagement.xsd +216 -216
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/EPC-Certificate.xsd +457 -457
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/Property.xsd +62 -62
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-CollectedData.xsd +1444 -1444
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-Report.xsd +193 -193
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/EPC-Domains.xsd +558 -558
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/SAP-Domains.xsd +2975 -2975
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xml +1352 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xsd +242 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/AssessorManagement.xsd +210 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/EPC-Certificate.xsd +495 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ExceptionList.xsd +23 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/Property.xsd +77 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ReportList.xsd +30 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-CollectedData.xsd +1800 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Compliance-Report.xsd +40 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Report.xsd +206 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/EPC-Domains.xsd +564 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/SAP-Domains.xsd +3140 -0
- data/lib/epb_view_models/version.rb +1 -1
- data/lib/view_model/cepc800/common_schema.rb +7 -7
- data/lib/view_model/cepc_s_800/cepc.rb +184 -0
- data/lib/view_model/cepc_wrapper.rb +2 -0
- data/lib/view_model/{cs63 → cs63_70}/common_schema.rb +1 -1
- data/lib/view_model/cs63_800/common_schema.rb +211 -0
- data/lib/view_model/cs63_wrapper.rb +15 -3
- data/lib/view_model/dec_rr_wrapper.rb +2 -0
- data/lib/view_model/dec_summary_wrapper.rb +2 -0
- data/lib/view_model/dec_wrapper.rb +2 -0
- data/lib/view_model/decar_s_800/common_schema.rb +109 -0
- data/lib/view_model/decar_s_800/dec.rb +235 -0
- data/lib/view_model/decar_s_800/dec_rr.rb +102 -0
- data/lib/view_model/factory.rb +6 -1
- data/lib/view_model/rd_sap_schema_s_2200/common_schema.rb +685 -0
- data/lib/view_model/rd_sap_wrapper.rb +4 -2
- data/lib/view_model/sap_schema_s_2000/common_schema.rb +619 -0
- data/lib/view_model/sap_wrapper.rb +2 -0
- metadata +46 -2
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
|
|
3
|
-
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
|
|
4
|
-
<xs:element name="Property" type="Property"/>
|
|
5
|
-
<xs:complexType name="Property">
|
|
6
|
-
<xs:annotation>
|
|
7
|
-
<xs:documentation>A discrete identifiable possession, such as a piece of real-estate, to which its owner has legal title. For the Home Information Pack legislation the types of property are restricted to residential properties.
|
|
8
|
-
|
|
9
|
-
It should be observed that "a property is a property is a property" and all real-estate properties, whether residential or commercial or whether being sold for the first or the nth time will have a very similar conceptual structure and similar rules and constraints.
|
|
10
|
-
|
|
11
|
-
As such the broad description of a Property can be regarded as a framework, containing a set of extension points, that can be expanded as necessary to cover additional detail.
|
|
12
|
-
</xs:documentation>
|
|
13
|
-
</xs:annotation>
|
|
14
|
-
<xs:all>
|
|
15
|
-
<xs:element name="Address" type="AddressType">
|
|
16
|
-
<xs:annotation>
|
|
17
|
-
<xs:documentation>Address for the property.</xs:documentation>
|
|
18
|
-
</xs:annotation>
|
|
19
|
-
</xs:element>
|
|
20
|
-
<xs:element name="UPRN" type="UPRNType">
|
|
21
|
-
<xs:annotation>
|
|
22
|
-
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
23
|
-
</xs:annotation>
|
|
24
|
-
</xs:element>
|
|
25
|
-
</xs:all>
|
|
26
|
-
</xs:complexType>
|
|
27
|
-
<xs:element name="AddressType" type="AddressType"/>
|
|
28
|
-
<xs:complexType name="AddressType">
|
|
29
|
-
<xs:annotation>
|
|
30
|
-
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
|
31
|
-
|
|
32
|
-
</xs:documentation>
|
|
33
|
-
</xs:annotation>
|
|
34
|
-
<xs:sequence>
|
|
35
|
-
<xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
|
|
36
|
-
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
|
|
37
|
-
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
|
38
|
-
<xs:element name="Post-Town" type="xs:string"/>
|
|
39
|
-
<xs:element name="Postcode" type="PostcodeType" minOccurs="0">
|
|
40
|
-
<xs:annotation>
|
|
41
|
-
<xs:documentation>The Postcode for the Address
|
|
42
|
-
</xs:documentation>
|
|
43
|
-
</xs:annotation>
|
|
44
|
-
</xs:element>
|
|
45
|
-
</xs:sequence>
|
|
46
|
-
</xs:complexType>
|
|
47
|
-
<xs:simpleType name="UPRNType">
|
|
48
|
-
<xs:annotation>
|
|
49
|
-
<xs:documentation>Unique Property Reference Number - a 10-digit numeric string unmiquely identifuying each Property that may have a HCR registered against it.</xs:documentation>
|
|
50
|
-
</xs:annotation>
|
|
51
|
-
<xs:restriction base="xs:string">
|
|
52
|
-
<xs:pattern value="[0-9]{10}"/>
|
|
53
|
-
</xs:restriction>
|
|
54
|
-
</xs:simpleType>
|
|
55
|
-
<xs:simpleType name="PostcodeType">
|
|
56
|
-
<xs:restriction base="xs:string">
|
|
57
|
-
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
|
58
|
-
</xs:restriction>
|
|
59
|
-
</xs:simpleType>
|
|
60
|
-
<xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
|
|
61
|
-
<xs:complexType name="PropertyKeyFields">
|
|
62
|
-
<xs:annotation>
|
|
63
|
-
<xs:documentation>This is the primary key definition for the Property class - used when a message requires a reference to a Property to be passed rather than the details.</xs:documentation>
|
|
64
|
-
</xs:annotation>
|
|
65
|
-
<xs:sequence>
|
|
66
|
-
<xs:element name="UPRN" type="UPRNType"/>
|
|
67
|
-
</xs:sequence>
|
|
68
|
-
</xs:complexType>
|
|
69
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
|
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
|
|
4
|
+
<xs:element name="Property" type="Property"/>
|
|
5
|
+
<xs:complexType name="Property">
|
|
6
|
+
<xs:annotation>
|
|
7
|
+
<xs:documentation>A discrete identifiable possession, such as a piece of real-estate, to which its owner has legal title. For the Home Information Pack legislation the types of property are restricted to residential properties.
|
|
8
|
+
|
|
9
|
+
It should be observed that "a property is a property is a property" and all real-estate properties, whether residential or commercial or whether being sold for the first or the nth time will have a very similar conceptual structure and similar rules and constraints.
|
|
10
|
+
|
|
11
|
+
As such the broad description of a Property can be regarded as a framework, containing a set of extension points, that can be expanded as necessary to cover additional detail.
|
|
12
|
+
</xs:documentation>
|
|
13
|
+
</xs:annotation>
|
|
14
|
+
<xs:all>
|
|
15
|
+
<xs:element name="Address" type="AddressType">
|
|
16
|
+
<xs:annotation>
|
|
17
|
+
<xs:documentation>Address for the property.</xs:documentation>
|
|
18
|
+
</xs:annotation>
|
|
19
|
+
</xs:element>
|
|
20
|
+
<xs:element name="UPRN" type="UPRNType">
|
|
21
|
+
<xs:annotation>
|
|
22
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
23
|
+
</xs:annotation>
|
|
24
|
+
</xs:element>
|
|
25
|
+
</xs:all>
|
|
26
|
+
</xs:complexType>
|
|
27
|
+
<xs:element name="AddressType" type="AddressType"/>
|
|
28
|
+
<xs:complexType name="AddressType">
|
|
29
|
+
<xs:annotation>
|
|
30
|
+
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
|
31
|
+
|
|
32
|
+
</xs:documentation>
|
|
33
|
+
</xs:annotation>
|
|
34
|
+
<xs:sequence>
|
|
35
|
+
<xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
|
|
36
|
+
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
|
|
37
|
+
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
|
38
|
+
<xs:element name="Post-Town" type="xs:string"/>
|
|
39
|
+
<xs:element name="Postcode" type="PostcodeType" minOccurs="0">
|
|
40
|
+
<xs:annotation>
|
|
41
|
+
<xs:documentation>The Postcode for the Address
|
|
42
|
+
</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
</xs:element>
|
|
45
|
+
</xs:sequence>
|
|
46
|
+
</xs:complexType>
|
|
47
|
+
<xs:simpleType name="UPRNType">
|
|
48
|
+
<xs:annotation>
|
|
49
|
+
<xs:documentation>Unique Property Reference Number - a 10-digit numeric string unmiquely identifuying each Property that may have a HCR registered against it.</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
<xs:restriction base="xs:string">
|
|
52
|
+
<xs:pattern value="[0-9]{10}"/>
|
|
53
|
+
</xs:restriction>
|
|
54
|
+
</xs:simpleType>
|
|
55
|
+
<xs:simpleType name="PostcodeType">
|
|
56
|
+
<xs:restriction base="xs:string">
|
|
57
|
+
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
|
58
|
+
</xs:restriction>
|
|
59
|
+
</xs:simpleType>
|
|
60
|
+
<xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
|
|
61
|
+
<xs:complexType name="PropertyKeyFields">
|
|
62
|
+
<xs:annotation>
|
|
63
|
+
<xs:documentation>This is the primary key definition for the Property class - used when a message requires a reference to a Property to be passed rather than the details.</xs:documentation>
|
|
64
|
+
</xs:annotation>
|
|
65
|
+
<xs:sequence>
|
|
66
|
+
<xs:element name="UPRN" type="UPRNType"/>
|
|
67
|
+
</xs:sequence>
|
|
68
|
+
</xs:complexType>
|
|
69
|
+
</xs:schema>
|