epb_view_models 2.2.21 → 2.3.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 (119) 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-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/ExternalDefinitions.xsd +147 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +44 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +47 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +44 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +47 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +52 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +52 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +87 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +44 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +28 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +30 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +52 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +44 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +46 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +270 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/Property.xsd +68 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd +1188 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd +195 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/UserManagement.xsd +215 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +175 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +703 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd +3007 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +311 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  61. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  62. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  63. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  80. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  81. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  82. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  83. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  91. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  92. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  93. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  94. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  102. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  103. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  104. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  105. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  111. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  112. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  113. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  114. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  115. data/lib/epb_view_models.rb +1 -1
  116. data/lib/view_model/factory.rb +1 -0
  117. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  118. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  119. metadata +45 -1
@@ -0,0 +1,311 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" elementFormDefault="qualified" version="LIG-14.0">
3
+ <xs:annotation>
4
+ <xs:documentation>Enumerated Domains (EnumeratedDomains.xsd) are explicit lists of pre-defined values that may be assigned to a data-item and any value assigned to an instance of that data-item must be a member of that defined list.
5
+
6
+ For example a Boolean could be considered an enumerated Domain, with "True" or "False" as the only allowed values, as are {Days of Week} and {Country Codes}. In fact Enumerated Domain is actually a bit of a misnomer because it covers all pre-defined lists of allowed values, classification schemes and taxonomies not just "numbered values".
7
+ </xs:documentation>
8
+ </xs:annotation>
9
+ <xs:simpleType name="ReportStatusCode">
10
+ <xs:restriction base="xs:string">
11
+ <xs:enumeration value="cancelled">
12
+ <xs:annotation>
13
+ <xs:documentation>Cancelled</xs:documentation>
14
+ </xs:annotation>
15
+ </xs:enumeration>
16
+ <xs:enumeration value="entered">
17
+ <xs:annotation>
18
+ <xs:documentation>entered on the register</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:enumeration>
21
+ <xs:enumeration value="appeal">
22
+ <xs:annotation>
23
+ <xs:documentation>under appeal</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:enumeration>
26
+ <xs:enumeration value="removed">
27
+ <xs:annotation>
28
+ <xs:documentation>removed</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:enumeration>
31
+ <xs:enumeration value="rejected">
32
+ <xs:annotation>
33
+ <xs:documentation>rejected</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ </xs:restriction>
37
+ </xs:simpleType>
38
+ <xs:simpleType name="RestrictedAccessCode">
39
+ <xs:annotation>
40
+ <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
41
+ </xs:annotation>
42
+ <xs:restriction base="xs:string">
43
+ <xs:enumeration value="0">
44
+ <xs:annotation>
45
+ <xs:documentation>No restriction</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:enumeration>
48
+ <xs:enumeration value="1">
49
+ <xs:annotation>
50
+ <xs:documentation>Exclude mortgage lenders</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:enumeration>
53
+ <xs:enumeration value="2">
54
+ <xs:annotation>
55
+ <xs:documentation>Mortgage lenders only</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:enumeration>
58
+ <xs:enumeration value="4">
59
+ <xs:annotation>
60
+ <xs:documentation>No access allowed</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:enumeration>
63
+ </xs:restriction>
64
+ </xs:simpleType>
65
+ <xs:simpleType name="ReportTypeCode">
66
+ <xs:restriction base="xs:string">
67
+ <xs:enumeration value="1">
68
+ <xs:annotation>
69
+ <xs:documentation>Home Condition Report</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:enumeration>
72
+ <xs:enumeration value="2">
73
+ <xs:annotation>
74
+ <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:enumeration>
77
+ <xs:enumeration value="3">
78
+ <xs:annotation>
79
+ <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:enumeration>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ <xs:simpleType name="BlockStoreyCode">
85
+ <xs:restriction base="xs:string">
86
+ <xs:enumeration value="-1">
87
+ <xs:annotation>
88
+ <xs:documentation>Basement</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:enumeration>
91
+ <xs:enumeration value="00">
92
+ <xs:annotation>
93
+ <xs:documentation>Ground</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:enumeration>
96
+ <xs:enumeration value="01">
97
+ <xs:annotation>
98
+ <xs:documentation>1st</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:enumeration>
101
+ <xs:enumeration value="02">
102
+ <xs:annotation>
103
+ <xs:documentation>2nd</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:enumeration>
106
+ <xs:enumeration value="03">
107
+ <xs:annotation>
108
+ <xs:documentation>3rd</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:enumeration>
111
+ <xs:enumeration value="04">
112
+ <xs:annotation>
113
+ <xs:documentation>4th</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:enumeration>
116
+ <xs:enumeration value="05">
117
+ <xs:annotation>
118
+ <xs:documentation>5th</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:enumeration>
121
+ <xs:enumeration value="06">
122
+ <xs:annotation>
123
+ <xs:documentation>6th</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:enumeration>
126
+ <xs:enumeration value="07">
127
+ <xs:annotation>
128
+ <xs:documentation>7th</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:enumeration>
131
+ <xs:enumeration value="08">
132
+ <xs:annotation>
133
+ <xs:documentation>8th</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:enumeration>
136
+ <xs:enumeration value="09">
137
+ <xs:annotation>
138
+ <xs:documentation>9th</xs:documentation>
139
+ </xs:annotation>
140
+ </xs:enumeration>
141
+ <xs:enumeration value="10">
142
+ <xs:annotation>
143
+ <xs:documentation>10th</xs:documentation>
144
+ </xs:annotation>
145
+ </xs:enumeration>
146
+ <xs:enumeration value="11">
147
+ <xs:annotation>
148
+ <xs:documentation>11th</xs:documentation>
149
+ </xs:annotation>
150
+ </xs:enumeration>
151
+ <xs:enumeration value="12">
152
+ <xs:annotation>
153
+ <xs:documentation>12th</xs:documentation>
154
+ </xs:annotation>
155
+ </xs:enumeration>
156
+ <xs:enumeration value="13">
157
+ <xs:annotation>
158
+ <xs:documentation>13th</xs:documentation>
159
+ </xs:annotation>
160
+ </xs:enumeration>
161
+ <xs:enumeration value="14">
162
+ <xs:annotation>
163
+ <xs:documentation>14th</xs:documentation>
164
+ </xs:annotation>
165
+ </xs:enumeration>
166
+ <xs:enumeration value="15">
167
+ <xs:annotation>
168
+ <xs:documentation>15th</xs:documentation>
169
+ </xs:annotation>
170
+ </xs:enumeration>
171
+ <xs:enumeration value="16">
172
+ <xs:annotation>
173
+ <xs:documentation>16th</xs:documentation>
174
+ </xs:annotation>
175
+ </xs:enumeration>
176
+ <xs:enumeration value="17">
177
+ <xs:annotation>
178
+ <xs:documentation>17th</xs:documentation>
179
+ </xs:annotation>
180
+ </xs:enumeration>
181
+ <xs:enumeration value="18">
182
+ <xs:annotation>
183
+ <xs:documentation>18th</xs:documentation>
184
+ </xs:annotation>
185
+ </xs:enumeration>
186
+ <xs:enumeration value="19">
187
+ <xs:annotation>
188
+ <xs:documentation>19th</xs:documentation>
189
+ </xs:annotation>
190
+ </xs:enumeration>
191
+ <xs:enumeration value="20">
192
+ <xs:annotation>
193
+ <xs:documentation>20th</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:enumeration>
196
+ <xs:enumeration value="20+">
197
+ <xs:annotation>
198
+ <xs:documentation>21st or above</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:enumeration>
201
+ </xs:restriction>
202
+ </xs:simpleType>
203
+ <xs:simpleType name="PropertyTypeCode">
204
+ <xs:annotation>
205
+ <xs:documentation>Code which indicates the type of property.</xs:documentation>
206
+ </xs:annotation>
207
+ <xs:restriction base="xs:string">
208
+ <xs:enumeration value="0">
209
+ <xs:annotation>
210
+ <xs:documentation>House</xs:documentation>
211
+ </xs:annotation>
212
+ </xs:enumeration>
213
+ <xs:enumeration value="1">
214
+ <xs:annotation>
215
+ <xs:documentation>Bungalow</xs:documentation>
216
+ </xs:annotation>
217
+ </xs:enumeration>
218
+ <xs:enumeration value="2">
219
+ <xs:annotation>
220
+ <xs:documentation>Flat</xs:documentation>
221
+ </xs:annotation>
222
+ </xs:enumeration>
223
+ <xs:enumeration value="3">
224
+ <xs:annotation>
225
+ <xs:documentation>Maisonette</xs:documentation>
226
+ </xs:annotation>
227
+ </xs:enumeration>
228
+ </xs:restriction>
229
+ </xs:simpleType>
230
+ <xs:simpleType name="TransactionType">
231
+ <xs:restriction base="xs:string">
232
+ <xs:enumeration value="1">
233
+ <xs:annotation>
234
+ <xs:documentation>marketed sale</xs:documentation>
235
+ </xs:annotation>
236
+ </xs:enumeration>
237
+ <xs:enumeration value="2">
238
+ <xs:annotation>
239
+ <xs:documentation>non marketed sale</xs:documentation>
240
+ </xs:annotation>
241
+ </xs:enumeration>
242
+ <xs:enumeration value="3">
243
+ <xs:annotation>
244
+ <xs:documentation>rental (social)</xs:documentation>
245
+ </xs:annotation>
246
+ </xs:enumeration>
247
+ <xs:enumeration value="4">
248
+ <xs:annotation>
249
+ <xs:documentation>rental (private)</xs:documentation>
250
+ </xs:annotation>
251
+ </xs:enumeration>
252
+ <xs:enumeration value="5">
253
+ <xs:annotation>
254
+ <xs:documentation>not sale or rental</xs:documentation>
255
+ </xs:annotation>
256
+ </xs:enumeration>
257
+ <xs:enumeration value="6">
258
+ <xs:annotation>
259
+ <xs:documentation>new dwelling</xs:documentation>
260
+ </xs:annotation>
261
+ </xs:enumeration>
262
+ <xs:enumeration value="7">
263
+ <xs:annotation>
264
+ <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
265
+ </xs:annotation>
266
+ </xs:enumeration>
267
+ </xs:restriction>
268
+ </xs:simpleType>
269
+ <xs:simpleType name="DisclosureCode">
270
+ <xs:annotation>
271
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
272
+ </xs:annotation>
273
+ <xs:restriction base="xs:string">
274
+ <xs:enumeration value="1">
275
+ <xs:annotation>
276
+ <xs:documentation>No related party</xs:documentation>
277
+ </xs:annotation>
278
+ </xs:enumeration>
279
+ <xs:enumeration value="2">
280
+ <xs:annotation>
281
+ <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
282
+ </xs:annotation>
283
+ </xs:enumeration>
284
+ <xs:enumeration value="3">
285
+ <xs:annotation>
286
+ <xs:documentation>Residing at the property</xs:documentation>
287
+ </xs:annotation>
288
+ </xs:enumeration>
289
+ <xs:enumeration value="4">
290
+ <xs:annotation>
291
+ <xs:documentation>Financial interest in the property</xs:documentation>
292
+ </xs:annotation>
293
+ </xs:enumeration>
294
+ <xs:enumeration value="5">
295
+ <xs:annotation>
296
+ <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:enumeration>
299
+ <xs:enumeration value="6">
300
+ <xs:annotation>
301
+ <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
302
+ </xs:annotation>
303
+ </xs:enumeration>
304
+ <xs:enumeration value="7">
305
+ <xs:annotation>
306
+ <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
307
+ </xs:annotation>
308
+ </xs:enumeration>
309
+ </xs:restriction>
310
+ </xs:simpleType>
311
+ </xs:schema>
@@ -0,0 +1,252 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" version="LIG-14.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:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
7
+ <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
8
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
9
+ <xs:simpleType name="EnergyRatingType">
10
+ <xs:restriction base="xs:integer">
11
+ <xs:minInclusive value="0"/>
12
+ </xs:restriction>
13
+ </xs:simpleType>
14
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
15
+ <xs:complexType name="Energy-Assessment">
16
+ <xs:annotation>
17
+ <xs:documentation>Energy Efficiency Assessment Report is an inspection report whose purpose is to assess the energy efficiency of the inspected property and provide energy ratings for the significant heat-loss features of the property.
18
+
19
+ The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.</xs:documentation>
20
+ </xs:annotation>
21
+ <xs:all>
22
+ <xs:element name="Property-Summary" type="Property-Summary" minOccurs="1" maxOccurs="1"/>
23
+ <xs:element name="Energy-Use" type="Energy-Use" minOccurs="1" maxOccurs="1"/>
24
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0" maxOccurs="1"/>
25
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0" maxOccurs="1"/>
26
+ <xs:element name="Addendum" type="Addendum" minOccurs="0" maxOccurs="1"/>
27
+ </xs:all>
28
+ </xs:complexType>
29
+ <xs:element name="Property-Summary" type="Property-Summary"/>
30
+ <xs:complexType name="Property-Summary">
31
+ <xs:sequence>
32
+ <xs:element name="Wall" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
33
+ <xs:element name="Roof" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
34
+ <xs:element name="Floor" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
35
+ <xs:element name="Window" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
36
+ <xs:element name="Main-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
37
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
38
+ <xs:element name="Hot-Water" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
39
+ <xs:element name="Lighting" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
40
+ <xs:element name="Secondary-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
41
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
42
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
43
+ <xs:element name="Dwelling-Type" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
44
+ <xs:annotation>
45
+ <xs:documentation>A string such as Detached house or Top-floor flat </xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Total-Floor-Area" type="xs:positiveInteger" minOccurs="0" maxOccurs="1">
49
+ <xs:annotation>
50
+ <xs:documentation>A number such as 125</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ </xs:sequence>
54
+ </xs:complexType>
55
+ <xs:element name="Energy-Use" type="Energy-Use"/>
56
+ <xs:complexType name="Energy-Use">
57
+ <xs:annotation>
58
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
59
+ </xs:annotation>
60
+ <xs:all>
61
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
62
+ <xs:annotation>
63
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
66
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
67
+ <xs:annotation>
68
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:element>
71
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
72
+ <xs:annotation>
73
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
77
+ <xs:annotation>
78
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ <xs:element name="Energy-Consumption-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
82
+ <xs:annotation>
83
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:element>
86
+ <xs:element name="Energy-Consumption-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
87
+ <xs:annotation>
88
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:element>
91
+ <xs:element name="CO2-Emissions-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
92
+ <xs:annotation>
93
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:element>
96
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
97
+ <xs:annotation>
98
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:element>
101
+ <xs:element name="CO2-Emissions-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
102
+ <xs:annotation>
103
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="Lighting-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
107
+ <xs:annotation>
108
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ <xs:element name="Lighting-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
112
+ <xs:annotation>
113
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:element>
116
+ <xs:element name="Heating-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
117
+ <xs:annotation>
118
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:element>
121
+ <xs:element name="Heating-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
122
+ <xs:annotation>
123
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:element>
126
+ <xs:element name="Hot-Water-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
127
+ <xs:annotation>
128
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ <xs:element name="Hot-Water-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
132
+ <xs:annotation>
133
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:element>
136
+ </xs:all>
137
+ </xs:complexType>
138
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
139
+ <xs:complexType name="Suggested-Improvements">
140
+ <xs:annotation>
141
+ <xs:documentation>Part of an Energy Report that describes the a set of improvements that the Home Inspector considers would contribute to the overall energy rating of the property.</xs:documentation>
142
+ </xs:annotation>
143
+ <xs:sequence>
144
+ <xs:element name="Improvement" type="Improvement" minOccurs="1" maxOccurs="unbounded"/>
145
+ </xs:sequence>
146
+ </xs:complexType>
147
+ <xs:element name="Improvement" type="Improvement"/>
148
+ <xs:complexType name="Improvement">
149
+ <xs:all>
150
+ <xs:element name="Sequence" type="xs:integer" minOccurs="1" maxOccurs="1">
151
+ <xs:annotation>
152
+ <xs:documentation>Sequence of the Suggested Improvements within the set of Suggested Improvements. This is used to order the Recommendations on the output HCR / EPC so that the cumulative Ratings make sense.
153
+
154
+ The Improved Energy Ratings that result from carrying out a Suggested Improvement are cumulative and assume that the improvements have been installed in the order they appear in the list. Hence they must be sequenced.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode" minOccurs="1" maxOccurs="1">
158
+ <xs:annotation>
159
+ <xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:element>
162
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode" minOccurs="0" maxOccurs="1">
163
+ <xs:annotation>
164
+ <xs:documentation>Suggested work to be carried out on the Property to improve its energy efficiency.</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:element>
167
+ <xs:element name="Typical-Saving" type="pfdt:Money" minOccurs="1" maxOccurs="1">
168
+ <xs:annotation>
169
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out.</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
173
+ <xs:annotation>
174
+ <xs:documentation>The estimated Energy performance rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:element>
177
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
178
+ <xs:annotation>
179
+ <xs:documentation>The estimated Environmental Impact rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:element>
182
+ <xs:element name="Improvement-Details">
183
+ <xs:complexType>
184
+ <xs:choice>
185
+ <xs:element name="Improvement-Texts" type="ImprovementTexts" minOccurs="1" maxOccurs="1">
186
+ <xs:annotation>
187
+ <xs:documentation>For backward compatibility only</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode" minOccurs="1" maxOccurs="1"/>
191
+ </xs:choice>
192
+ </xs:complexType>
193
+ </xs:element>
194
+ </xs:all>
195
+ </xs:complexType>
196
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
197
+ <xs:complexType name="PropertySummaryType">
198
+ <xs:all>
199
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
200
+ <xs:annotation>
201
+ <xs:documentation>Overall description of the property feature</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:element>
204
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
205
+ <xs:annotation>
206
+ <xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:element>
209
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
210
+ <xs:annotation>
211
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
212
+ </xs:annotation>
213
+ </xs:element>
214
+ </xs:all>
215
+ </xs:complexType>
216
+ <xs:element name="Addendum" type="Addendum"/>
217
+ <xs:complexType name="Addendum">
218
+ <xs:sequence>
219
+ <xs:element name="Addendum-Number" type="xs:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>
220
+ </xs:sequence>
221
+ </xs:complexType>
222
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
223
+ <xs:complexType name="LZC-Energy-Sources">
224
+ <xs:sequence>
225
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" minOccurs="1" maxOccurs="unbounded">
226
+ <xs:annotation>
227
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
228
+ </xs:annotation>
229
+ </xs:element>
230
+ </xs:sequence>
231
+ </xs:complexType>
232
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
233
+ <xs:complexType name="ImprovementTexts">
234
+ <xs:sequence>
235
+ <xs:element name="Improvement-Summary" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
236
+ <xs:annotation>
237
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:element>
240
+ <xs:element name="Improvement-Heading" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
241
+ <xs:annotation>
242
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
243
+ </xs:annotation>
244
+ </xs:element>
245
+ <xs:element name="Improvement-Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
246
+ <xs:annotation>
247
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
248
+ </xs:annotation>
249
+ </xs:element>
250
+ </xs:sequence>
251
+ </xs:complexType>
252
+ </xs:schema>