epb_view_models 2.4.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.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +4 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xsd +147 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/Property.xsd +76 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd +1334 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd +209 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd +3397 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
  61. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
  62. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
  63. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -0
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  80. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  81. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  82. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  83. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  91. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  92. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  93. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  94. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  102. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  103. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  104. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  105. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  111. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  112. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  113. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  114. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  115. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  116. data/lib/epb_view_models/version.rb +1 -1
  117. data/lib/view_model/factory.rb +1 -0
  118. data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
  119. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  120. metadata +46 -1
@@ -1,63 +1,63 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
3
- <xs:include schemaLocation="./Reported-Data.xsd"/>
4
- <xs:include schemaLocation="./Performance-Summary.xsd"/>
5
- <xs:include schemaLocation="./Report-Header.xsd"/>
6
- <xs:include schemaLocation="./Input-Data.xsd"/>
7
- <xs:element name="LodgementReportRequest" type="LodgementReportRequest" />
8
- <xs:complexType name="LodgementReportRequest">
9
- <xs:sequence>
10
- <xs:element name="Report" type="Report" minOccurs="1" maxOccurs="1" />
11
- </xs:sequence>
12
- </xs:complexType>
13
- <xs:complexType name="Report">
14
- <xs:sequence>
15
- <xs:element name="Report-Header" type="Report-Header"/>
16
- <xs:element name="Summary-Of-Performance" type="Summary-Of-Performance" minOccurs="0"/>
17
- <xs:element name="Unstructured-Data" type="Unstructured-Data" minOccurs="0"/>
18
- <xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
19
- <xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
20
- <xs:element name="Recommendations-Report" type="Recommendations-Report"/>
21
- </xs:sequence>
22
- </xs:complexType>
23
- <xs:complexType name="Insurance-Details">
24
- <xs:annotation>
25
- <xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Report.
26
-
27
- A Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
28
- * The Energy Assessor has personal Professional Indemnity Insurance and the Report is covered by this.
29
- * The Report is covered by an umbrella Professional Indemnity Insurance policy held by the Report Supplier (the employer of the Energy Assessor) that assigned the inspection to the Energy Assessor.
30
- * An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Energy Assessors normal Professional Indemnity Insurance policy.
31
-
32
- A Energy Assessor may use any or all of these methods to providing Professional Indemnity Insurance for a Report on a case-by-case basis.
33
- </xs:documentation>
34
- </xs:annotation>
35
- <xs:all>
36
- <xs:element name="Insurer" type="xs:string">
37
- <xs:annotation>
38
- <xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
39
- </xs:annotation>
40
- </xs:element>
41
- <xs:element name="Policy-No" type="xs:string">
42
- <xs:annotation>
43
- <xs:documentation>The policy number of the insurance policy</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="Effective-Date" type="xs:date">
47
- <xs:annotation>
48
- <xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- <xs:element name="Expiry-Date" type="xs:date">
52
- <xs:annotation>
53
- <xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- <xs:element name="PI-Limit" type="xs:decimal">
57
- <xs:annotation>
58
- <xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
59
- </xs:annotation>
60
- </xs:element>
61
- </xs:all>
62
- </xs:complexType>
63
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
3
+ <xs:include schemaLocation="./Reported-Data.xsd"/>
4
+ <xs:include schemaLocation="./Performance-Summary.xsd"/>
5
+ <xs:include schemaLocation="./Report-Header.xsd"/>
6
+ <xs:include schemaLocation="./Input-Data.xsd"/>
7
+ <xs:element name="LodgementReportRequest" type="LodgementReportRequest" />
8
+ <xs:complexType name="LodgementReportRequest">
9
+ <xs:sequence>
10
+ <xs:element name="Report" type="Report" minOccurs="1" maxOccurs="1" />
11
+ </xs:sequence>
12
+ </xs:complexType>
13
+ <xs:complexType name="Report">
14
+ <xs:sequence>
15
+ <xs:element name="Report-Header" type="Report-Header"/>
16
+ <xs:element name="Summary-Of-Performance" type="Summary-Of-Performance" minOccurs="0"/>
17
+ <xs:element name="Unstructured-Data" type="Unstructured-Data" minOccurs="0"/>
18
+ <xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
19
+ <xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
20
+ <xs:element name="Recommendations-Report" type="Recommendations-Report"/>
21
+ </xs:sequence>
22
+ </xs:complexType>
23
+ <xs:complexType name="Insurance-Details">
24
+ <xs:annotation>
25
+ <xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Report.
26
+
27
+ A Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
28
+ * The Energy Assessor has personal Professional Indemnity Insurance and the Report is covered by this.
29
+ * The Report is covered by an umbrella Professional Indemnity Insurance policy held by the Report Supplier (the employer of the Energy Assessor) that assigned the inspection to the Energy Assessor.
30
+ * An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Energy Assessors normal Professional Indemnity Insurance policy.
31
+
32
+ A Energy Assessor may use any or all of these methods to providing Professional Indemnity Insurance for a Report on a case-by-case basis.
33
+ </xs:documentation>
34
+ </xs:annotation>
35
+ <xs:all>
36
+ <xs:element name="Insurer" type="xs:string">
37
+ <xs:annotation>
38
+ <xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Policy-No" type="xs:string">
42
+ <xs:annotation>
43
+ <xs:documentation>The policy number of the insurance policy</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="Effective-Date" type="xs:date">
47
+ <xs:annotation>
48
+ <xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="Expiry-Date" type="xs:date">
52
+ <xs:annotation>
53
+ <xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ <xs:element name="PI-Limit" type="xs:decimal">
57
+ <xs:annotation>
58
+ <xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:element>
61
+ </xs:all>
62
+ </xs:complexType>
63
+ </xs:schema>
@@ -1,34 +1,34 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
3
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
4
- <xs:element name="Input-Data" type="Input-Data"/>
5
- <xs:complexType name="Input-Data" abstract="true">
6
- <xs:sequence/>
7
- </xs:complexType>
8
- <xs:element name="Unstructured-Data" type="Unstructured-Data"/>
9
- <xs:complexType name="Unstructured-Data">
10
- <xs:annotation>
11
- <xs:documentation>These are the specific data-items collected by the HI / EA needed to perform the SAP calculation.</xs:documentation>
12
- </xs:annotation>
13
- <xs:sequence>
14
- <xs:element name="Data-Blob" type="Data-Blob" maxOccurs="unbounded"/>
15
- </xs:sequence>
16
- </xs:complexType>
17
- <xs:element name="Data-Blob" type="Data-Blob"/>
18
- <xs:complexType name="Data-Blob">
19
- <xs:sequence>
20
- <xs:element name="File-Location" type="xs:string" minOccurs="0"/>
21
- <xs:element name="File-Name" type="xs:string" minOccurs="0"/>
22
- <xs:element name="File-Type" type="xs:string" minOccurs="0"/>
23
- <xs:element name="Secure-Hash" type="xs:string" minOccurs="0"/>
24
- <xs:element name="Data" type="xs:base64Binary" minOccurs="0"/>
25
- </xs:sequence>
26
- </xs:complexType>
27
- <xs:element name="UsableFloorAreaDataType" type="UsableFloorAreaDataType"/>
28
- <xs:complexType name="UsableFloorAreaDataType">
29
- <xs:all>
30
- <xs:element name="Name" type="xs:string" minOccurs="0"/>
31
- <xs:element name="Floor-Area" type="xs:decimal" minOccurs="0"/>
32
- </xs:all>
33
- </xs:complexType>
34
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
3
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
4
+ <xs:element name="Input-Data" type="Input-Data"/>
5
+ <xs:complexType name="Input-Data" abstract="true">
6
+ <xs:sequence/>
7
+ </xs:complexType>
8
+ <xs:element name="Unstructured-Data" type="Unstructured-Data"/>
9
+ <xs:complexType name="Unstructured-Data">
10
+ <xs:annotation>
11
+ <xs:documentation>These are the specific data-items collected by the HI / EA needed to perform the SAP calculation.</xs:documentation>
12
+ </xs:annotation>
13
+ <xs:sequence>
14
+ <xs:element name="Data-Blob" type="Data-Blob" maxOccurs="unbounded"/>
15
+ </xs:sequence>
16
+ </xs:complexType>
17
+ <xs:element name="Data-Blob" type="Data-Blob"/>
18
+ <xs:complexType name="Data-Blob">
19
+ <xs:sequence>
20
+ <xs:element name="File-Location" type="xs:string" minOccurs="0"/>
21
+ <xs:element name="File-Name" type="xs:string" minOccurs="0"/>
22
+ <xs:element name="File-Type" type="xs:string" minOccurs="0"/>
23
+ <xs:element name="Secure-Hash" type="xs:string" minOccurs="0"/>
24
+ <xs:element name="Data" type="xs:base64Binary" minOccurs="0"/>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ <xs:element name="UsableFloorAreaDataType" type="UsableFloorAreaDataType"/>
28
+ <xs:complexType name="UsableFloorAreaDataType">
29
+ <xs:all>
30
+ <xs:element name="Name" type="xs:string" minOccurs="0"/>
31
+ <xs:element name="Floor-Area" type="xs:decimal" minOccurs="0"/>
32
+ </xs:all>
33
+ </xs:complexType>
34
+ </xs:schema>
@@ -1,120 +1,120 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
3
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
4
- <xs:element name="Summary-Of-Performance" type="Summary-Of-Performance"/>
5
- <xs:complexType name="Summary-Of-Performance">
6
- <xs:sequence>
7
- <xs:element name="Building-Data" type="Building-Data" minOccurs="1" maxOccurs="unbounded"/>
8
- </xs:sequence>
9
- </xs:complexType>
10
- <xs:element name="Building-Data" type="Building-Data"/>
11
- <xs:complexType name="Building-Data">
12
- <xs:annotation>
13
- <xs:documentation>
14
- For an EPC created using EPC-Gen Building-Data is fixed at four, which are:- Actual Building, Notional Building, Reference Building and Typical Buidling
15
-
16
- The type of Building Data is indicated by7 the Analysis-Type field.</xs:documentation>
17
- </xs:annotation>
18
- <xs:all>
19
- <xs:element name="Analysis-Type" type="AnalysisTypeCode"/>
20
- <xs:element name="Area" type="xs:float"/>
21
- <xs:element name="Area-Exterior" type="xs:float"/>
22
- <xs:element name="Q50-Infiltration" type="xs:float"/>
23
- <xs:element name="Weather" type="xs:string"/>
24
- <xs:element name="Building-W-K" type="xs:float"/>
25
- <xs:element name="Building-W-M2K" type="xs:float"/>
26
- <xs:element name="Building-Alpha" type="xs:float"/>
27
- <xs:element name="HVAC-Systems" type="HVAC-Systems"/>
28
- <xs:element name="Global-Performance" type="Global-Performance"/>
29
- <xs:element name="Activities" type="Activities"/>
30
- <xs:element name="Primary-Energry-Indicator">
31
- <xs:simpleType>
32
- <xs:restriction base="xs:integer">
33
- <xs:minInclusive value="1"/>
34
- </xs:restriction>
35
- </xs:simpleType>
36
- </xs:element>
37
- <xs:element name="Approximate-Energry-Use">
38
- <xs:simpleType>
39
- <xs:restriction base="xs:integer">
40
- <xs:minInclusive value="1"/>
41
- </xs:restriction>
42
- </xs:simpleType>
43
- </xs:element>
44
- </xs:all>
45
- </xs:complexType>
46
- <xs:element name="Activity" type="Activity"/>
47
- <xs:complexType name="Activity">
48
- <xs:all>
49
- <xs:element name="ID" type="xs:long"/>
50
- <xs:element name="Area" type="xs:float"/>
51
- </xs:all>
52
- </xs:complexType>
53
- <xs:element name="Activities" type="Activities"/>
54
- <xs:complexType name="Activities">
55
- <xs:sequence>
56
- <xs:element name="Activity" type="Activity" maxOccurs="unbounded"/>
57
- </xs:sequence>
58
- </xs:complexType>
59
- <xs:element name="HVAC-System-Data" type="HVAC-System-Data"/>
60
- <xs:complexType name="HVAC-System-Data">
61
- <xs:all>
62
- <xs:element name="Area" type="xs:float"/>
63
- <xs:element name="Heat-Source" type="xs:string"/>
64
- <xs:element name="Type" type="xs:string"/>
65
- <xs:element name="Fuel-Type" type="xs:string"/>
66
- <xs:element name="Cooling-Gen-SEER" type="xs:float"/>
67
- <xs:element name="Cooling-SSEER" type="xs:float"/>
68
- <xs:element name="Heating-Gen-SEFF" type="xs:float"/>
69
- <xs:element name="Heating-SSEFF" type="xs:float"/>
70
- <xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
71
- <xs:element name="KWH-M2-Cooling" type="xs:float"/>
72
- <xs:element name="KWH-M2-Heating" type="xs:float"/>
73
- <xs:element name="MJ-M2-Heating-Dem" type="xs:float"/>
74
- <xs:element name="MJ-M2-Cooling-Dem" type="xs:float"/>
75
- <xs:element name="Activities" type="Activities"/>
76
- </xs:all>
77
- </xs:complexType>
78
- <xs:element name="Global-Performance" type="Global-Performance"/>
79
- <xs:complexType name="Global-Performance">
80
- <xs:all>
81
- <xs:element name="KWH-M2-Cooling" type="xs:float"/>
82
- <xs:element name="KWH-M2-Heating" type="xs:float"/>
83
- <xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
84
- <xs:element name="KWH-M2-Lighting" type="xs:float"/>
85
- <xs:element name="KWH-M2-DHW" type="xs:float"/>
86
- <xs:element name="KWH-M2-Equipment" type="xs:float"/>
87
- <xs:element name="KWH-M2-Natural-Gas" type="xs:float"/>
88
- <xs:element name="KWH-M2-Biogas" type="xs:float"/>
89
- <xs:element name="KWH-M2-LPG" type="xs:float"/>
90
- <xs:element name="KWH-M2-Coal" type="xs:float"/>
91
- <xs:element name="KWH-M2-Oil" type="xs:float"/>
92
- <xs:element name="KWH-M2-Anthracite" type="xs:float"/>
93
- <xs:element name="KWH-M2-Smokeless" type="xs:float"/>
94
- <xs:element name="KWH-M2-Biomass" type="xs:float"/>
95
- <xs:element name="KWH-M2-Dual-Fuel" type="xs:float"/>
96
- <xs:element name="KWH-M2-Supplied" type="xs:float"/>
97
- <xs:element name="KWH-M2-Waste-Heat" type="xs:float"/>
98
- <xs:element name="KWH-M2-Displaced" type="xs:float"/>
99
- <xs:element name="KWH-M2-PVS" type="xs:float"/>
100
- <xs:element name="KWH-M2-CHP" type="xs:float"/>
101
- <xs:element name="KWH-M2-SES" type="xs:float"/>
102
- <xs:element name="KWH-M2-Wind" type="xs:float"/>
103
- <xs:element name="KWH-M2-District-Heating" type="xs:float"/>
104
- </xs:all>
105
- </xs:complexType>
106
- <xs:element name="HVAC-Systems" type="HVAC-Systems"/>
107
- <xs:complexType name="HVAC-Systems">
108
- <xs:sequence>
109
- <xs:element name="HVAC-System-Data" type="HVAC-System-Data" maxOccurs="unbounded"/>
110
- </xs:sequence>
111
- </xs:complexType>
112
- <xs:simpleType name="AnalysisTypeCode">
113
- <xs:restriction base="xs:string">
114
- <xs:enumeration value="ACTUAL"/>
115
- <xs:enumeration value="NOTIONAL"/>
116
- <xs:enumeration value="REFERENCE"/>
117
- <xs:enumeration value="TYPICAL"/>
118
- </xs:restriction>
119
- </xs:simpleType>
120
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
3
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
4
+ <xs:element name="Summary-Of-Performance" type="Summary-Of-Performance"/>
5
+ <xs:complexType name="Summary-Of-Performance">
6
+ <xs:sequence>
7
+ <xs:element name="Building-Data" type="Building-Data" minOccurs="1" maxOccurs="unbounded"/>
8
+ </xs:sequence>
9
+ </xs:complexType>
10
+ <xs:element name="Building-Data" type="Building-Data"/>
11
+ <xs:complexType name="Building-Data">
12
+ <xs:annotation>
13
+ <xs:documentation>
14
+ For an EPC created using EPC-Gen Building-Data is fixed at four, which are:- Actual Building, Notional Building, Reference Building and Typical Buidling
15
+
16
+ The type of Building Data is indicated by7 the Analysis-Type field.</xs:documentation>
17
+ </xs:annotation>
18
+ <xs:all>
19
+ <xs:element name="Analysis-Type" type="AnalysisTypeCode"/>
20
+ <xs:element name="Area" type="xs:float"/>
21
+ <xs:element name="Area-Exterior" type="xs:float"/>
22
+ <xs:element name="Q50-Infiltration" type="xs:float"/>
23
+ <xs:element name="Weather" type="xs:string"/>
24
+ <xs:element name="Building-W-K" type="xs:float"/>
25
+ <xs:element name="Building-W-M2K" type="xs:float"/>
26
+ <xs:element name="Building-Alpha" type="xs:float"/>
27
+ <xs:element name="HVAC-Systems" type="HVAC-Systems"/>
28
+ <xs:element name="Global-Performance" type="Global-Performance"/>
29
+ <xs:element name="Activities" type="Activities"/>
30
+ <xs:element name="Primary-Energry-Indicator">
31
+ <xs:simpleType>
32
+ <xs:restriction base="xs:integer">
33
+ <xs:minInclusive value="1"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:element>
37
+ <xs:element name="Approximate-Energry-Use">
38
+ <xs:simpleType>
39
+ <xs:restriction base="xs:integer">
40
+ <xs:minInclusive value="1"/>
41
+ </xs:restriction>
42
+ </xs:simpleType>
43
+ </xs:element>
44
+ </xs:all>
45
+ </xs:complexType>
46
+ <xs:element name="Activity" type="Activity"/>
47
+ <xs:complexType name="Activity">
48
+ <xs:all>
49
+ <xs:element name="ID" type="xs:long"/>
50
+ <xs:element name="Area" type="xs:float"/>
51
+ </xs:all>
52
+ </xs:complexType>
53
+ <xs:element name="Activities" type="Activities"/>
54
+ <xs:complexType name="Activities">
55
+ <xs:sequence>
56
+ <xs:element name="Activity" type="Activity" maxOccurs="unbounded"/>
57
+ </xs:sequence>
58
+ </xs:complexType>
59
+ <xs:element name="HVAC-System-Data" type="HVAC-System-Data"/>
60
+ <xs:complexType name="HVAC-System-Data">
61
+ <xs:all>
62
+ <xs:element name="Area" type="xs:float"/>
63
+ <xs:element name="Heat-Source" type="xs:string"/>
64
+ <xs:element name="Type" type="xs:string"/>
65
+ <xs:element name="Fuel-Type" type="xs:string"/>
66
+ <xs:element name="Cooling-Gen-SEER" type="xs:float"/>
67
+ <xs:element name="Cooling-SSEER" type="xs:float"/>
68
+ <xs:element name="Heating-Gen-SEFF" type="xs:float"/>
69
+ <xs:element name="Heating-SSEFF" type="xs:float"/>
70
+ <xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
71
+ <xs:element name="KWH-M2-Cooling" type="xs:float"/>
72
+ <xs:element name="KWH-M2-Heating" type="xs:float"/>
73
+ <xs:element name="MJ-M2-Heating-Dem" type="xs:float"/>
74
+ <xs:element name="MJ-M2-Cooling-Dem" type="xs:float"/>
75
+ <xs:element name="Activities" type="Activities"/>
76
+ </xs:all>
77
+ </xs:complexType>
78
+ <xs:element name="Global-Performance" type="Global-Performance"/>
79
+ <xs:complexType name="Global-Performance">
80
+ <xs:all>
81
+ <xs:element name="KWH-M2-Cooling" type="xs:float"/>
82
+ <xs:element name="KWH-M2-Heating" type="xs:float"/>
83
+ <xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
84
+ <xs:element name="KWH-M2-Lighting" type="xs:float"/>
85
+ <xs:element name="KWH-M2-DHW" type="xs:float"/>
86
+ <xs:element name="KWH-M2-Equipment" type="xs:float"/>
87
+ <xs:element name="KWH-M2-Natural-Gas" type="xs:float"/>
88
+ <xs:element name="KWH-M2-Biogas" type="xs:float"/>
89
+ <xs:element name="KWH-M2-LPG" type="xs:float"/>
90
+ <xs:element name="KWH-M2-Coal" type="xs:float"/>
91
+ <xs:element name="KWH-M2-Oil" type="xs:float"/>
92
+ <xs:element name="KWH-M2-Anthracite" type="xs:float"/>
93
+ <xs:element name="KWH-M2-Smokeless" type="xs:float"/>
94
+ <xs:element name="KWH-M2-Biomass" type="xs:float"/>
95
+ <xs:element name="KWH-M2-Dual-Fuel" type="xs:float"/>
96
+ <xs:element name="KWH-M2-Supplied" type="xs:float"/>
97
+ <xs:element name="KWH-M2-Waste-Heat" type="xs:float"/>
98
+ <xs:element name="KWH-M2-Displaced" type="xs:float"/>
99
+ <xs:element name="KWH-M2-PVS" type="xs:float"/>
100
+ <xs:element name="KWH-M2-CHP" type="xs:float"/>
101
+ <xs:element name="KWH-M2-SES" type="xs:float"/>
102
+ <xs:element name="KWH-M2-Wind" type="xs:float"/>
103
+ <xs:element name="KWH-M2-District-Heating" type="xs:float"/>
104
+ </xs:all>
105
+ </xs:complexType>
106
+ <xs:element name="HVAC-Systems" type="HVAC-Systems"/>
107
+ <xs:complexType name="HVAC-Systems">
108
+ <xs:sequence>
109
+ <xs:element name="HVAC-System-Data" type="HVAC-System-Data" maxOccurs="unbounded"/>
110
+ </xs:sequence>
111
+ </xs:complexType>
112
+ <xs:simpleType name="AnalysisTypeCode">
113
+ <xs:restriction base="xs:string">
114
+ <xs:enumeration value="ACTUAL"/>
115
+ <xs:enumeration value="NOTIONAL"/>
116
+ <xs:enumeration value="REFERENCE"/>
117
+ <xs:enumeration value="TYPICAL"/>
118
+ </xs:restriction>
119
+ </xs:simpleType>
120
+ </xs:schema>
@@ -1,67 +1,67 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-16.0">
3
- <xs:annotation>
4
- <xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
5
- </xs:annotation>
6
- <xs:element name="Property" type="Property"/>
7
- <xs:complexType name="Property">
8
- <xs:annotation>
9
- <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.
10
-
11
- 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.
12
-
13
- 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.
14
- </xs:documentation>
15
- </xs:annotation>
16
- <xs:all>
17
- <xs:element name="Address" type="AddressType"/>
18
-
19
- <xs:element name="UPRN" type="UPRNType">
20
- <xs:annotation>
21
- <xs:documentation>Unique Property Reference Number</xs:documentation>
22
- </xs:annotation>
23
- </xs:element>
24
- </xs:all>
25
- </xs:complexType>
26
- <xs:complexType name="AddressType">
27
- <xs:annotation>
28
- <xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
29
-
30
- </xs:documentation>
31
- </xs:annotation>
32
- <xs:sequence>
33
- <xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
34
- <xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
35
- <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
36
- <xs:element name="Post-Town" type="xs:string"/>
37
- <xs:element name="Postcode" type="PostcodeType" minOccurs="0">
38
- <xs:annotation>
39
- <xs:documentation>The Postcode for the Address
40
- </xs:documentation>
41
- </xs:annotation>
42
- </xs:element>
43
- </xs:sequence>
44
- </xs:complexType>
45
- <xs:simpleType name="UPRNType">
46
- <xs:annotation>
47
- <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>
48
- </xs:annotation>
49
- <xs:restriction base="xs:string">
50
- <xs:pattern value="[0-9]{10}"/>
51
- </xs:restriction>
52
- </xs:simpleType>
53
- <xs:simpleType name="PostcodeType">
54
- <xs:restriction base="xs:string">
55
- <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
56
- </xs:restriction>
57
- </xs:simpleType>
58
- <xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
59
- <xs:complexType name="PropertyKeyFields">
60
- <xs:annotation>
61
- <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>
62
- </xs:annotation>
63
- <xs:sequence>
64
- <xs:element name="UPRN" type="UPRNType"/>
65
- </xs:sequence>
66
- </xs:complexType>
67
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-16.0">
3
+ <xs:annotation>
4
+ <xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
5
+ </xs:annotation>
6
+ <xs:element name="Property" type="Property"/>
7
+ <xs:complexType name="Property">
8
+ <xs:annotation>
9
+ <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.
10
+
11
+ 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.
12
+
13
+ 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.
14
+ </xs:documentation>
15
+ </xs:annotation>
16
+ <xs:all>
17
+ <xs:element name="Address" type="AddressType"/>
18
+
19
+ <xs:element name="UPRN" type="UPRNType">
20
+ <xs:annotation>
21
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ </xs:all>
25
+ </xs:complexType>
26
+ <xs:complexType name="AddressType">
27
+ <xs:annotation>
28
+ <xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
29
+
30
+ </xs:documentation>
31
+ </xs:annotation>
32
+ <xs:sequence>
33
+ <xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
34
+ <xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
35
+ <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
36
+ <xs:element name="Post-Town" type="xs:string"/>
37
+ <xs:element name="Postcode" type="PostcodeType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The Postcode for the Address
40
+ </xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ </xs:sequence>
44
+ </xs:complexType>
45
+ <xs:simpleType name="UPRNType">
46
+ <xs:annotation>
47
+ <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>
48
+ </xs:annotation>
49
+ <xs:restriction base="xs:string">
50
+ <xs:pattern value="[0-9]{10}"/>
51
+ </xs:restriction>
52
+ </xs:simpleType>
53
+ <xs:simpleType name="PostcodeType">
54
+ <xs:restriction base="xs:string">
55
+ <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
56
+ </xs:restriction>
57
+ </xs:simpleType>
58
+ <xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
59
+ <xs:complexType name="PropertyKeyFields">
60
+ <xs:annotation>
61
+ <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>
62
+ </xs:annotation>
63
+ <xs:sequence>
64
+ <xs:element name="UPRN" type="UPRNType"/>
65
+ </xs:sequence>
66
+ </xs:complexType>
67
+ </xs:schema>