epb_view_models 2.3.0 → 2.5.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 +8 -0
- 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/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +2 -2
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -44
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -47
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -44
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -47
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -52
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -52
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -87
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
- data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP → RdSAP-Schema-S-15.0/RdSAP/Messages}/ExternalDefinitions.xsd +147 -147
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -44
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -28
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -30
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -52
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -44
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -46
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -270
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/Property.xsd +76 -68
- data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd} +1334 -1188
- data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd} +209 -195
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -215
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -175
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
- data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd} +3397 -3007
- data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -311
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
- data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -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/lib/epb_view_models/version.rb +5 -0
- data/lib/epb_view_models.rb +1 -3
- data/lib/helper/rrn_helper.rb +4 -4
- data/lib/view_model/cs63/common_schema.rb +18 -18
- data/lib/view_model/factory.rb +2 -0
- data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
- data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
- data/lib/view_model/rd_sap_wrapper.rb +4 -0
- metadata +71 -36
- data/.buildspec.yml +0 -13
- data/.gitignore +0 -19
- data/.rspec +0 -2
- data/.rubocop.yml +0 -8
- data/.ruby-version +0 -1
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -122
- data/Makefile +0 -17
- data/Rakefile +0 -12
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +0 -703
- data/epb_view_models.gemspec +0 -27
|
@@ -1,68 +1,76 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<xs:
|
|
14
|
-
<xs:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</xs:
|
|
32
|
-
</xs:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<xs:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</xs:
|
|
53
|
-
</xs:
|
|
54
|
-
<xs:simpleType name="
|
|
55
|
-
<xs:
|
|
56
|
-
<xs:
|
|
57
|
-
</xs:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Jim Bowery (Landmark Information Group Ltd.) -->
|
|
3
|
+
<xs:schema
|
|
4
|
+
xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
|
|
5
|
+
xmlns:SAP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
|
|
6
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
7
|
+
targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
|
|
8
|
+
elementFormDefault="qualified"
|
|
9
|
+
attributeFormDefault="unqualified"
|
|
10
|
+
version="LIG-15.0">
|
|
11
|
+
<xs:element name="Property" type="Property"/>
|
|
12
|
+
<xs:complexType name="Property">
|
|
13
|
+
<xs:annotation>
|
|
14
|
+
<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.
|
|
15
|
+
|
|
16
|
+
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.
|
|
17
|
+
|
|
18
|
+
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.
|
|
19
|
+
</xs:documentation>
|
|
20
|
+
</xs:annotation>
|
|
21
|
+
<xs:all>
|
|
22
|
+
<xs:element name="Address" type="AddressType">
|
|
23
|
+
<xs:annotation>
|
|
24
|
+
<xs:documentation>Address for the property.</xs:documentation>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
</xs:element>
|
|
27
|
+
<xs:element name="UPRN" type="UPRNType">
|
|
28
|
+
<xs:annotation>
|
|
29
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
30
|
+
</xs:annotation>
|
|
31
|
+
</xs:element>
|
|
32
|
+
</xs:all>
|
|
33
|
+
</xs:complexType>
|
|
34
|
+
<xs:element name="AddressType" type="AddressType"/>
|
|
35
|
+
<xs:complexType name="AddressType">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
|
38
|
+
|
|
39
|
+
</xs:documentation>
|
|
40
|
+
</xs:annotation>
|
|
41
|
+
<xs:sequence>
|
|
42
|
+
<xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
|
|
43
|
+
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
|
|
44
|
+
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
|
45
|
+
<xs:element name="Post-Town" type="xs:string"/>
|
|
46
|
+
<xs:element name="Postcode" type="PostcodeType">
|
|
47
|
+
<xs:annotation>
|
|
48
|
+
<xs:documentation>The Postcode for the Address
|
|
49
|
+
</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
</xs:element>
|
|
52
|
+
</xs:sequence>
|
|
53
|
+
</xs:complexType>
|
|
54
|
+
<xs:simpleType name="UPRNType">
|
|
55
|
+
<xs:annotation>
|
|
56
|
+
<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>
|
|
57
|
+
</xs:annotation>
|
|
58
|
+
<xs:restriction base="xs:string">
|
|
59
|
+
<xs:pattern value="[0-9]{10}"/>
|
|
60
|
+
</xs:restriction>
|
|
61
|
+
</xs:simpleType>
|
|
62
|
+
<xs:simpleType name="PostcodeType">
|
|
63
|
+
<xs:restriction base="xs:string">
|
|
64
|
+
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
|
65
|
+
</xs:restriction>
|
|
66
|
+
</xs:simpleType>
|
|
67
|
+
<xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
|
|
68
|
+
<xs:complexType name="PropertyKeyFields">
|
|
69
|
+
<xs:annotation>
|
|
70
|
+
<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>
|
|
71
|
+
</xs:annotation>
|
|
72
|
+
<xs:sequence>
|
|
73
|
+
<xs:element name="UPRN" type="UPRNType"/>
|
|
74
|
+
</xs:sequence>
|
|
75
|
+
</xs:complexType>
|
|
76
|
+
</xs:schema>
|