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,660 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" elementFormDefault="qualified" 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.
5
+
6
+ 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.
7
+
8
+ 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".
9
+ </xs:documentation>
10
+ </xs:annotation>
11
+ <xs:simpleType name="RoofTypeCode">
12
+ <xs:annotation>
13
+ <xs:documentation>Types of roof that a Property may have.</xs:documentation>
14
+ </xs:annotation>
15
+ <xs:restriction base="xs:string">
16
+ <xs:enumeration value="0">
17
+ <xs:annotation>
18
+ <xs:documentation>None</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:enumeration>
21
+ <xs:enumeration value="1">
22
+ <xs:annotation>
23
+ <xs:documentation>Flat</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:enumeration>
26
+ <xs:enumeration value="2">
27
+ <xs:annotation>
28
+ <xs:documentation>Pitched. This is retained for backwards compatibility only and should not be used. A pitched roof should be 4, 5 or 6.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:enumeration>
31
+ <xs:enumeration value="3">
32
+ <xs:annotation>
33
+ <xs:documentation>Another dwelling above</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ <xs:enumeration value="4">
37
+ <xs:annotation>
38
+ <xs:documentation>Pitched (slates or tiles), access to loft</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:enumeration>
41
+ <xs:enumeration value="5">
42
+ <xs:annotation>
43
+ <xs:documentation>Pitched (slates or tiles), no access to loft</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:enumeration>
46
+ <xs:enumeration value="6">
47
+ <xs:annotation>
48
+ <xs:documentation>Pitched (thatch)</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:enumeration>
51
+ </xs:restriction>
52
+ </xs:simpleType>
53
+ <xs:simpleType name="BlockStoreyCode">
54
+ <xs:restriction base="xs:string">
55
+ <xs:enumeration value="-1">
56
+ <xs:annotation>
57
+ <xs:documentation>Basement</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:enumeration>
60
+ <xs:enumeration value="00">
61
+ <xs:annotation>
62
+ <xs:documentation>Ground</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:enumeration>
65
+ <xs:enumeration value="01">
66
+ <xs:annotation>
67
+ <xs:documentation>1st</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:enumeration>
70
+ <xs:enumeration value="02">
71
+ <xs:annotation>
72
+ <xs:documentation>2nd</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:enumeration>
75
+ <xs:enumeration value="03">
76
+ <xs:annotation>
77
+ <xs:documentation>3rd</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:enumeration>
80
+ <xs:enumeration value="04">
81
+ <xs:annotation>
82
+ <xs:documentation>4th</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:enumeration>
85
+ <xs:enumeration value="05">
86
+ <xs:annotation>
87
+ <xs:documentation>5th</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:enumeration>
90
+ <xs:enumeration value="06">
91
+ <xs:annotation>
92
+ <xs:documentation>6th</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:enumeration>
95
+ <xs:enumeration value="07">
96
+ <xs:annotation>
97
+ <xs:documentation>7th</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:enumeration>
100
+ <xs:enumeration value="08">
101
+ <xs:annotation>
102
+ <xs:documentation>8th</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:enumeration>
105
+ <xs:enumeration value="09">
106
+ <xs:annotation>
107
+ <xs:documentation>9th</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:enumeration>
110
+ <xs:enumeration value="10">
111
+ <xs:annotation>
112
+ <xs:documentation>10th</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:enumeration>
115
+ <xs:enumeration value="11">
116
+ <xs:annotation>
117
+ <xs:documentation>11th</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:enumeration>
120
+ <xs:enumeration value="12">
121
+ <xs:annotation>
122
+ <xs:documentation>12th</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:enumeration>
125
+ <xs:enumeration value="13">
126
+ <xs:annotation>
127
+ <xs:documentation>13th</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:enumeration>
130
+ <xs:enumeration value="14">
131
+ <xs:annotation>
132
+ <xs:documentation>14th</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:enumeration>
135
+ <xs:enumeration value="15">
136
+ <xs:annotation>
137
+ <xs:documentation>15th</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:enumeration>
140
+ <xs:enumeration value="16">
141
+ <xs:annotation>
142
+ <xs:documentation>16th</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:enumeration>
145
+ <xs:enumeration value="17">
146
+ <xs:annotation>
147
+ <xs:documentation>17th</xs:documentation>
148
+ </xs:annotation>
149
+ </xs:enumeration>
150
+ <xs:enumeration value="18">
151
+ <xs:annotation>
152
+ <xs:documentation>18th</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:enumeration>
155
+ <xs:enumeration value="19">
156
+ <xs:annotation>
157
+ <xs:documentation>19th</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:enumeration>
160
+ <xs:enumeration value="20">
161
+ <xs:annotation>
162
+ <xs:documentation>20th</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:enumeration>
165
+ <xs:enumeration value="20+">
166
+ <xs:annotation>
167
+ <xs:documentation>21st or above</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:enumeration>
170
+ </xs:restriction>
171
+ </xs:simpleType>
172
+ <xs:simpleType name="WallConstructionCode">
173
+ <xs:restriction base="xs:string">
174
+ <xs:enumeration value="1">
175
+ <xs:annotation>
176
+ <xs:documentation>granite or whinstone</xs:documentation>
177
+ </xs:annotation>
178
+ </xs:enumeration>
179
+ <xs:enumeration value="2">
180
+ <xs:annotation>
181
+ <xs:documentation>sandstone</xs:documentation>
182
+ </xs:annotation>
183
+ </xs:enumeration>
184
+ <xs:enumeration value="3">
185
+ <xs:annotation>
186
+ <xs:documentation>solid brick</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:enumeration>
189
+ <xs:enumeration value="4">
190
+ <xs:annotation>
191
+ <xs:documentation>cavity</xs:documentation>
192
+ </xs:annotation>
193
+ </xs:enumeration>
194
+ <xs:enumeration value="5">
195
+ <xs:annotation>
196
+ <xs:documentation>timber frame</xs:documentation>
197
+ </xs:annotation>
198
+ </xs:enumeration>
199
+ <xs:enumeration value="8">
200
+ <xs:annotation>
201
+ <xs:documentation>system built</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:enumeration>
204
+ <xs:enumeration value="9">
205
+ <xs:annotation>
206
+ <xs:documentation>cob wall</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:enumeration>
209
+ </xs:restriction>
210
+ </xs:simpleType>
211
+ <xs:simpleType name="MeasurementTypeCode">
212
+ <xs:restriction base="xs:string">
213
+ <xs:enumeration value="1">
214
+ <xs:annotation>
215
+ <xs:documentation>Internal</xs:documentation>
216
+ </xs:annotation>
217
+ </xs:enumeration>
218
+ <xs:enumeration value="2">
219
+ <xs:annotation>
220
+ <xs:documentation>External</xs:documentation>
221
+ </xs:annotation>
222
+ </xs:enumeration>
223
+ </xs:restriction>
224
+ </xs:simpleType>
225
+ <xs:simpleType name="PropertyTypeCode">
226
+ <xs:restriction base="xs:string">
227
+ <xs:enumeration value="0">
228
+ <xs:annotation>
229
+ <xs:documentation>House</xs:documentation>
230
+ </xs:annotation>
231
+ </xs:enumeration>
232
+ <xs:enumeration value="1">
233
+ <xs:annotation>
234
+ <xs:documentation>Bungalow</xs:documentation>
235
+ </xs:annotation>
236
+ </xs:enumeration>
237
+ <xs:enumeration value="2">
238
+ <xs:annotation>
239
+ <xs:documentation>Flat</xs:documentation>
240
+ </xs:annotation>
241
+ </xs:enumeration>
242
+ <xs:enumeration value="3">
243
+ <xs:annotation>
244
+ <xs:documentation>Maisonette</xs:documentation>
245
+ </xs:annotation>
246
+ </xs:enumeration>
247
+ </xs:restriction>
248
+ </xs:simpleType>
249
+ <xs:simpleType name="HeatingFuelTypeCode">
250
+ <xs:annotation>
251
+ <xs:documentation>Code which indicates the type of heating fuel, as defined in SAP table 12.</xs:documentation>
252
+ </xs:annotation>
253
+ <xs:restriction base="xs:string">
254
+ <xs:enumeration value="0">
255
+ <xs:annotation>
256
+ <xs:documentation>To be used only when there is no heating/hot-water system</xs:documentation>
257
+ </xs:annotation>
258
+ </xs:enumeration>
259
+ <xs:enumeration value="1">
260
+ <xs:annotation>
261
+ <xs:documentation>mains gas</xs:documentation>
262
+ </xs:annotation>
263
+ </xs:enumeration>
264
+ <xs:enumeration value="2">
265
+ <xs:annotation>
266
+ <xs:documentation>LPG</xs:documentation>
267
+ </xs:annotation>
268
+ </xs:enumeration>
269
+ <xs:enumeration value="3">
270
+ <xs:annotation>
271
+ <xs:documentation>bottled LPG</xs:documentation>
272
+ </xs:annotation>
273
+ </xs:enumeration>
274
+ <xs:enumeration value="4">
275
+ <xs:annotation>
276
+ <xs:documentation>oil</xs:documentation>
277
+ </xs:annotation>
278
+ </xs:enumeration>
279
+ <xs:enumeration value="5">
280
+ <xs:annotation>
281
+ <xs:documentation>anthracite</xs:documentation>
282
+ </xs:annotation>
283
+ </xs:enumeration>
284
+ <xs:enumeration value="6">
285
+ <xs:annotation>
286
+ <xs:documentation>wood logs</xs:documentation>
287
+ </xs:annotation>
288
+ </xs:enumeration>
289
+ <xs:enumeration value="7">
290
+ <xs:annotation>
291
+ <xs:documentation>bulk wood pellets</xs:documentation>
292
+ </xs:annotation>
293
+ </xs:enumeration>
294
+ <xs:enumeration value="8">
295
+ <xs:annotation>
296
+ <xs:documentation>wood chips</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:enumeration>
299
+ <xs:enumeration value="9">
300
+ <xs:annotation>
301
+ <xs:documentation>dual fuel - mineral + wood</xs:documentation>
302
+ </xs:annotation>
303
+ </xs:enumeration>
304
+ <xs:enumeration value="10">
305
+ <xs:annotation>
306
+ <xs:documentation>electricity</xs:documentation>
307
+ </xs:annotation>
308
+ </xs:enumeration>
309
+ <xs:enumeration value="11">
310
+ <xs:annotation>
311
+ <xs:documentation>waste combustion</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:enumeration>
314
+ <xs:enumeration value="12">
315
+ <xs:annotation>
316
+ <xs:documentation>biomass</xs:documentation>
317
+ </xs:annotation>
318
+ </xs:enumeration>
319
+ <xs:enumeration value="13">
320
+ <xs:annotation>
321
+ <xs:documentation>biogas - landfill</xs:documentation>
322
+ </xs:annotation>
323
+ </xs:enumeration>
324
+ <xs:enumeration value="14">
325
+ <xs:annotation>
326
+ <xs:documentation>house coal</xs:documentation>
327
+ </xs:annotation>
328
+ </xs:enumeration>
329
+ <xs:enumeration value="15">
330
+ <xs:annotation>
331
+ <xs:documentation>smokeless coal</xs:documentation>
332
+ </xs:annotation>
333
+ </xs:enumeration>
334
+ <xs:enumeration value="16">
335
+ <xs:annotation>
336
+ <xs:documentation>wood pellets in bags for secondary heating</xs:documentation>
337
+ </xs:annotation>
338
+ </xs:enumeration>
339
+ </xs:restriction>
340
+ </xs:simpleType>
341
+ <xs:simpleType name="HeatingScopeCode">
342
+ <xs:restriction base="xs:string">
343
+ <xs:enumeration value="0">
344
+ <xs:annotation>
345
+ <xs:documentation>None</xs:documentation>
346
+ </xs:annotation>
347
+ </xs:enumeration>
348
+ <xs:enumeration value="1">
349
+ <xs:annotation>
350
+ <xs:documentation>full</xs:documentation>
351
+ </xs:annotation>
352
+ </xs:enumeration>
353
+ <xs:enumeration value="2">
354
+ <xs:annotation>
355
+ <xs:documentation>partial</xs:documentation>
356
+ </xs:annotation>
357
+ </xs:enumeration>
358
+ </xs:restriction>
359
+ </xs:simpleType>
360
+ <xs:simpleType name="HeatingTypeCode">
361
+ <xs:restriction base="xs:string">
362
+ <xs:enumeration value="1">
363
+ <xs:annotation>
364
+ <xs:documentation>boiler</xs:documentation>
365
+ </xs:annotation>
366
+ </xs:enumeration>
367
+ <xs:enumeration value="2">
368
+ <xs:annotation>
369
+ <xs:documentation>community heating</xs:documentation>
370
+ </xs:annotation>
371
+ </xs:enumeration>
372
+ <xs:enumeration value="3">
373
+ <xs:annotation>
374
+ <xs:documentation>storage heaters</xs:documentation>
375
+ </xs:annotation>
376
+ </xs:enumeration>
377
+ <xs:enumeration value="4">
378
+ <xs:annotation>
379
+ <xs:documentation>warm air</xs:documentation>
380
+ </xs:annotation>
381
+ </xs:enumeration>
382
+ <xs:enumeration value="5">
383
+ <xs:annotation>
384
+ <xs:documentation>heat pump - wet system</xs:documentation>
385
+ </xs:annotation>
386
+ </xs:enumeration>
387
+ <xs:enumeration value="6">
388
+ <xs:annotation>
389
+ <xs:documentation>heat pump - dry system</xs:documentation>
390
+ </xs:annotation>
391
+ </xs:enumeration>
392
+ <xs:enumeration value="7">
393
+ <xs:annotation>
394
+ <xs:documentation>electric ceiling heating</xs:documentation>
395
+ </xs:annotation>
396
+ </xs:enumeration>
397
+ <xs:enumeration value="8">
398
+ <xs:annotation>
399
+ <xs:documentation>electric underfloor heating</xs:documentation>
400
+ </xs:annotation>
401
+ </xs:enumeration>
402
+ <xs:enumeration value="9">
403
+ <xs:annotation>
404
+ <xs:documentation>room heater</xs:documentation>
405
+ </xs:annotation>
406
+ </xs:enumeration>
407
+ </xs:restriction>
408
+ </xs:simpleType>
409
+ <xs:simpleType name="UtilityServiceProviderCode">
410
+ <xs:restriction base="xs:string">
411
+ <xs:enumeration value="1">
412
+ <xs:annotation>
413
+ <xs:documentation>none</xs:documentation>
414
+ </xs:annotation>
415
+ </xs:enumeration>
416
+ <xs:enumeration value="2">
417
+ <xs:annotation>
418
+ <xs:documentation>private</xs:documentation>
419
+ </xs:annotation>
420
+ </xs:enumeration>
421
+ <xs:enumeration value="3">
422
+ <xs:annotation>
423
+ <xs:documentation>mains</xs:documentation>
424
+ </xs:annotation>
425
+ </xs:enumeration>
426
+ </xs:restriction>
427
+ </xs:simpleType>
428
+ <xs:simpleType name="UKCountryCode">
429
+ <xs:annotation>
430
+ <xs:documentation>Code which indicates the country within the UK, taken from BS 6879.</xs:documentation>
431
+ </xs:annotation>
432
+ <xs:restriction base="xs:string">
433
+ <xs:enumeration value="EAW">
434
+ <xs:annotation>
435
+ <xs:documentation>England and Wales</xs:documentation>
436
+ </xs:annotation>
437
+ </xs:enumeration>
438
+ <xs:enumeration value="SCT">
439
+ <xs:annotation>
440
+ <xs:documentation>Scotland</xs:documentation>
441
+ </xs:annotation>
442
+ </xs:enumeration>
443
+ <xs:enumeration value="NIR">
444
+ <xs:annotation>
445
+ <xs:documentation>Northern Ireland</xs:documentation>
446
+ </xs:annotation>
447
+ </xs:enumeration>
448
+ </xs:restriction>
449
+ </xs:simpleType>
450
+ <xs:simpleType name="UKRegionCode">
451
+ <xs:annotation>
452
+ <xs:documentation>Code which indicates the region within the UK.</xs:documentation>
453
+ </xs:annotation>
454
+ <xs:restriction base="xs:string">
455
+ <xs:enumeration value="1">
456
+ <xs:annotation>
457
+ <xs:documentation>Borders</xs:documentation>
458
+ </xs:annotation>
459
+ </xs:enumeration>
460
+ <xs:enumeration value="2">
461
+ <xs:annotation>
462
+ <xs:documentation>East Anglia</xs:documentation>
463
+ </xs:annotation>
464
+ </xs:enumeration>
465
+ <xs:enumeration value="3">
466
+ <xs:annotation>
467
+ <xs:documentation>East Pennines</xs:documentation>
468
+ </xs:annotation>
469
+ </xs:enumeration>
470
+ <xs:enumeration value="4">
471
+ <xs:annotation>
472
+ <xs:documentation>East Scotland</xs:documentation>
473
+ </xs:annotation>
474
+ </xs:enumeration>
475
+ <xs:enumeration value="5">
476
+ <xs:annotation>
477
+ <xs:documentation>Highland</xs:documentation>
478
+ </xs:annotation>
479
+ </xs:enumeration>
480
+ <xs:enumeration value="6">
481
+ <xs:annotation>
482
+ <xs:documentation>Midlands</xs:documentation>
483
+ </xs:annotation>
484
+ </xs:enumeration>
485
+ <xs:enumeration value="7">
486
+ <xs:annotation>
487
+ <xs:documentation>North East England</xs:documentation>
488
+ </xs:annotation>
489
+ </xs:enumeration>
490
+ <xs:enumeration value="8">
491
+ <xs:annotation>
492
+ <xs:documentation>North East Scotland</xs:documentation>
493
+ </xs:annotation>
494
+ </xs:enumeration>
495
+ <xs:enumeration value="9">
496
+ <xs:annotation>
497
+ <xs:documentation>North West England / South West Scotland</xs:documentation>
498
+ </xs:annotation>
499
+ </xs:enumeration>
500
+ <xs:enumeration value="10">
501
+ <xs:annotation>
502
+ <xs:documentation>Northern Ireland</xs:documentation>
503
+ </xs:annotation>
504
+ </xs:enumeration>
505
+ <xs:enumeration value="11">
506
+ <xs:annotation>
507
+ <xs:documentation>Orkney</xs:documentation>
508
+ </xs:annotation>
509
+ </xs:enumeration>
510
+ <xs:enumeration value="12">
511
+ <xs:annotation>
512
+ <xs:documentation>Severn Valley</xs:documentation>
513
+ </xs:annotation>
514
+ </xs:enumeration>
515
+ <xs:enumeration value="13">
516
+ <xs:annotation>
517
+ <xs:documentation>Shetland</xs:documentation>
518
+ </xs:annotation>
519
+ </xs:enumeration>
520
+ <xs:enumeration value="14">
521
+ <xs:annotation>
522
+ <xs:documentation>South East England</xs:documentation>
523
+ </xs:annotation>
524
+ </xs:enumeration>
525
+ <xs:enumeration value="15">
526
+ <xs:annotation>
527
+ <xs:documentation>South West England</xs:documentation>
528
+ </xs:annotation>
529
+ </xs:enumeration>
530
+ <xs:enumeration value="16">
531
+ <xs:annotation>
532
+ <xs:documentation>Southern England</xs:documentation>
533
+ </xs:annotation>
534
+ </xs:enumeration>
535
+ <xs:enumeration value="17">
536
+ <xs:annotation>
537
+ <xs:documentation>Thames Valley</xs:documentation>
538
+ </xs:annotation>
539
+ </xs:enumeration>
540
+ <xs:enumeration value="18">
541
+ <xs:annotation>
542
+ <xs:documentation>Wales</xs:documentation>
543
+ </xs:annotation>
544
+ </xs:enumeration>
545
+ <xs:enumeration value="19">
546
+ <xs:annotation>
547
+ <xs:documentation>West Pennines</xs:documentation>
548
+ </xs:annotation>
549
+ </xs:enumeration>
550
+ <xs:enumeration value="20">
551
+ <xs:annotation>
552
+ <xs:documentation>West Scotland</xs:documentation>
553
+ </xs:annotation>
554
+ </xs:enumeration>
555
+ <xs:enumeration value="21">
556
+ <xs:annotation>
557
+ <xs:documentation>Western Isles</xs:documentation>
558
+ </xs:annotation>
559
+ </xs:enumeration>
560
+ <xs:enumeration value="22">
561
+ <xs:annotation>
562
+ <xs:documentation>Jersey</xs:documentation>
563
+ </xs:annotation>
564
+ </xs:enumeration>
565
+ <xs:enumeration value="23">
566
+ <xs:annotation>
567
+ <xs:documentation>Guernsey</xs:documentation>
568
+ </xs:annotation>
569
+ </xs:enumeration>
570
+ <xs:enumeration value="24">
571
+ <xs:annotation>
572
+ <xs:documentation>Isle of Man</xs:documentation>
573
+ </xs:annotation>
574
+ </xs:enumeration>
575
+ </xs:restriction>
576
+ </xs:simpleType>
577
+ <xs:simpleType name="TransactionType">
578
+ <xs:restriction base="xs:string">
579
+ <xs:enumeration value="1">
580
+ <xs:annotation>
581
+ <xs:documentation>marketed sale</xs:documentation>
582
+ </xs:annotation>
583
+ </xs:enumeration>
584
+ <xs:enumeration value="2">
585
+ <xs:annotation>
586
+ <xs:documentation>non marketed sale</xs:documentation>
587
+ </xs:annotation>
588
+ </xs:enumeration>
589
+ <xs:enumeration value="3">
590
+ <xs:annotation>
591
+ <xs:documentation>rental (social)</xs:documentation>
592
+ </xs:annotation>
593
+ </xs:enumeration>
594
+ <xs:enumeration value="4">
595
+ <xs:annotation>
596
+ <xs:documentation>rental (private)</xs:documentation>
597
+ </xs:annotation>
598
+ </xs:enumeration>
599
+ <xs:enumeration value="5">
600
+ <xs:annotation>
601
+ <xs:documentation>not sale or rental</xs:documentation>
602
+ </xs:annotation>
603
+ </xs:enumeration>
604
+ <xs:enumeration value="6">
605
+ <xs:annotation>
606
+ <xs:documentation>new dwelling</xs:documentation>
607
+ </xs:annotation>
608
+ </xs:enumeration>
609
+ <xs:enumeration value="7">
610
+ <xs:annotation>
611
+ <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
612
+ </xs:annotation>
613
+ </xs:enumeration>
614
+ </xs:restriction>
615
+ </xs:simpleType>
616
+ <!-- Replaced by a positive integer as requested by Andrew Amato
617
+ <xs:simpleType name="DisclosureCode">
618
+ <xs:annotation>
619
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
620
+ </xs:annotation>
621
+ <xs:restriction base="xs:string">
622
+ <xs:enumeration value="1">
623
+ <xs:annotation>
624
+ <xs:documentation>No related party</xs:documentation>
625
+ </xs:annotation>
626
+ </xs:enumeration>
627
+ <xs:enumeration value="2">
628
+ <xs:annotation>
629
+ <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
630
+ </xs:annotation>
631
+ </xs:enumeration>
632
+ <xs:enumeration value="3">
633
+ <xs:annotation>
634
+ <xs:documentation>Residing at the property</xs:documentation>
635
+ </xs:annotation>
636
+ </xs:enumeration>
637
+ <xs:enumeration value="4">
638
+ <xs:annotation>
639
+ <xs:documentation>Financial interest in the property</xs:documentation>
640
+ </xs:annotation>
641
+ </xs:enumeration>
642
+ <xs:enumeration value="5">
643
+ <xs:annotation>
644
+ <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
645
+ </xs:annotation>
646
+ </xs:enumeration>
647
+ <xs:enumeration value="6">
648
+ <xs:annotation>
649
+ <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
650
+ </xs:annotation>
651
+ </xs:enumeration>
652
+ <xs:enumeration value="7">
653
+ <xs:annotation>
654
+ <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
655
+ </xs:annotation>
656
+ </xs:enumeration>
657
+ </xs:restriction>
658
+ </xs:simpleType>
659
+ -->
660
+ </xs:schema>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" elementFormDefault="qualified" 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.
5
+
6
+ Type Definitions (TypeDefinitions.xsd) are constrained variants of a primitive datatype whose allowed values must meet some predefined rules
7
+
8
+ Exactly what is a type definition is a bit subjective because it is generally up to the data modeller to make the decision between what is a Value-Type and what is an Entity-Type.
9
+
10
+ For example in some contexts an Address (House Number, Street, Town, Postcode) may be declared as a composite datatype where the value of each Address is recorded against the Addressable Entity but in another context the Address (where there are details to be gathered about the Address itself) it could be a defined referenced Business Entity instead.
11
+
12
+ However, even allowing for some fuzziness at the boundary, a general rule of thumb is that a Type Definition is a data-item that is generally defined outside of the domain and it is not within the domains authority to extend or redefine. There is also only ever one definition in force at any time.
13
+ </xs:documentation>
14
+ </xs:annotation>
15
+ <xs:element name="UValue" type="UValue"/>
16
+ <xs:complexType name="UValue">
17
+ <xs:sequence/>
18
+ </xs:complexType>
19
+ </xs:schema>