epb_view_models 2.5.1 → 2.7.1

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -0
  3. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.txt +236 -0
  4. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.xml +1456 -0
  5. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/EPC-Certificate.xsd +433 -0
  6. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/Property.xsd +69 -0
  7. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-CollectedData.xsd +1326 -0
  8. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-Report.xsd +196 -0
  9. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/UserManagement.xsd +217 -0
  10. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/BaseDataTypes.xsd +175 -0
  11. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/EPC-Domains.xsd +813 -0
  12. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SAP09-Domains.xsd +3457 -0
  13. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SharedDomains.xsd +317 -0
  14. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xml +1456 -0
  15. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xsd +236 -0
  16. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/AssessorManagement.xsd +216 -0
  17. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/EPC-Certificate.xsd +457 -0
  18. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ExceptionList.xsd +18 -0
  19. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/Property.xsd +62 -0
  20. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ReportList.xsd +26 -0
  21. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-CollectedData.xsd +1444 -0
  22. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-Report.xsd +193 -0
  23. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/EPC-Domains.xsd +558 -0
  24. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/SAP-Domains.xsd +2975 -0
  25. data/lib/epb_view_models/version.rb +1 -1
  26. data/lib/view_model/factory.rb +2 -0
  27. data/lib/view_model/rd_sap_schema_s_161/common_schema.rb +9 -9
  28. data/lib/view_model/sap_schema_s_161/common_schema.rb +503 -0
  29. data/lib/view_model/sap_schema_s_170/common_schema.rb +503 -0
  30. data/lib/view_model/sap_wrapper.rb +4 -0
  31. metadata +25 -1
@@ -0,0 +1,317 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
4
+ <xs:annotation>
5
+ <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.
6
+
7
+ 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".
8
+ </xs:documentation>
9
+ </xs:annotation>
10
+ <xs:simpleType name="ReportStatusCode">
11
+ <xs:restriction base="xs:string">
12
+ <xs:enumeration value="cancelled">
13
+ <xs:annotation>
14
+ <xs:documentation>Cancelled</xs:documentation>
15
+ </xs:annotation>
16
+ </xs:enumeration>
17
+ <xs:enumeration value="entered">
18
+ <xs:annotation>
19
+ <xs:documentation>entered on the register</xs:documentation>
20
+ </xs:annotation>
21
+ </xs:enumeration>
22
+ <xs:enumeration value="appeal">
23
+ <xs:annotation>
24
+ <xs:documentation>under appeal</xs:documentation>
25
+ </xs:annotation>
26
+ </xs:enumeration>
27
+ <xs:enumeration value="removed">
28
+ <xs:annotation>
29
+ <xs:documentation>removed</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:enumeration>
32
+ <xs:enumeration value="rejected">
33
+ <xs:annotation>
34
+ <xs:documentation>rejected</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:enumeration>
37
+ </xs:restriction>
38
+ </xs:simpleType>
39
+ <xs:simpleType name="RestrictedAccessCode">
40
+ <xs:annotation>
41
+ <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
42
+ </xs:annotation>
43
+ <xs:restriction base="xs:string">
44
+ <xs:enumeration value="0">
45
+ <xs:annotation>
46
+ <xs:documentation>No restriction</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:enumeration>
49
+ <xs:enumeration value="1">
50
+ <xs:annotation>
51
+ <xs:documentation>Exclude mortgage lenders</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:enumeration>
54
+ <xs:enumeration value="2">
55
+ <xs:annotation>
56
+ <xs:documentation>Mortgage lenders only</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:enumeration>
59
+ <xs:enumeration value="4">
60
+ <xs:annotation>
61
+ <xs:documentation>No access allowed</xs:documentation>
62
+ </xs:annotation>
63
+ </xs:enumeration>
64
+ </xs:restriction>
65
+ </xs:simpleType>
66
+ <xs:simpleType name="ReportTypeCode">
67
+ <xs:restriction base="xs:string">
68
+ <xs:enumeration value="1">
69
+ <xs:annotation>
70
+ <xs:documentation>Home Condition Report</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:enumeration>
73
+ <xs:enumeration value="2">
74
+ <xs:annotation>
75
+ <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:enumeration>
78
+ <xs:enumeration value="3">
79
+ <xs:annotation>
80
+ <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:enumeration>
83
+ <xs:enumeration value="4">
84
+ <xs:annotation>
85
+ <xs:documentation>Interim RdSAP Energy Performance Certificate (to be superseded by SAP EPC)</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:enumeration>
88
+ </xs:restriction>
89
+ </xs:simpleType>
90
+ <xs:simpleType name="BlockStoreyCode">
91
+ <xs:restriction base="xs:string">
92
+ <xs:enumeration value="-1">
93
+ <xs:annotation>
94
+ <xs:documentation>Basement</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:enumeration>
97
+ <xs:enumeration value="00">
98
+ <xs:annotation>
99
+ <xs:documentation>Ground</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:enumeration>
102
+ <xs:enumeration value="01">
103
+ <xs:annotation>
104
+ <xs:documentation>1st</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:enumeration>
107
+ <xs:enumeration value="02">
108
+ <xs:annotation>
109
+ <xs:documentation>2nd</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:enumeration>
112
+ <xs:enumeration value="03">
113
+ <xs:annotation>
114
+ <xs:documentation>3rd</xs:documentation>
115
+ </xs:annotation>
116
+ </xs:enumeration>
117
+ <xs:enumeration value="04">
118
+ <xs:annotation>
119
+ <xs:documentation>4th</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:enumeration>
122
+ <xs:enumeration value="05">
123
+ <xs:annotation>
124
+ <xs:documentation>5th</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:enumeration>
127
+ <xs:enumeration value="06">
128
+ <xs:annotation>
129
+ <xs:documentation>6th</xs:documentation>
130
+ </xs:annotation>
131
+ </xs:enumeration>
132
+ <xs:enumeration value="07">
133
+ <xs:annotation>
134
+ <xs:documentation>7th</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:enumeration>
137
+ <xs:enumeration value="08">
138
+ <xs:annotation>
139
+ <xs:documentation>8th</xs:documentation>
140
+ </xs:annotation>
141
+ </xs:enumeration>
142
+ <xs:enumeration value="09">
143
+ <xs:annotation>
144
+ <xs:documentation>9th</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:enumeration>
147
+ <xs:enumeration value="10">
148
+ <xs:annotation>
149
+ <xs:documentation>10th</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:enumeration>
152
+ <xs:enumeration value="11">
153
+ <xs:annotation>
154
+ <xs:documentation>11th</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:enumeration>
157
+ <xs:enumeration value="12">
158
+ <xs:annotation>
159
+ <xs:documentation>12th</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:enumeration>
162
+ <xs:enumeration value="13">
163
+ <xs:annotation>
164
+ <xs:documentation>13th</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:enumeration>
167
+ <xs:enumeration value="14">
168
+ <xs:annotation>
169
+ <xs:documentation>14th</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:enumeration>
172
+ <xs:enumeration value="15">
173
+ <xs:annotation>
174
+ <xs:documentation>15th</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:enumeration>
177
+ <xs:enumeration value="16">
178
+ <xs:annotation>
179
+ <xs:documentation>16th</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:enumeration>
182
+ <xs:enumeration value="17">
183
+ <xs:annotation>
184
+ <xs:documentation>17th</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:enumeration>
187
+ <xs:enumeration value="18">
188
+ <xs:annotation>
189
+ <xs:documentation>18th</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:enumeration>
192
+ <xs:enumeration value="19">
193
+ <xs:annotation>
194
+ <xs:documentation>19th</xs:documentation>
195
+ </xs:annotation>
196
+ </xs:enumeration>
197
+ <xs:enumeration value="20">
198
+ <xs:annotation>
199
+ <xs:documentation>20th</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:enumeration>
202
+ <xs:enumeration value="20+">
203
+ <xs:annotation>
204
+ <xs:documentation>21st or above</xs:documentation>
205
+ </xs:annotation>
206
+ </xs:enumeration>
207
+ </xs:restriction>
208
+ </xs:simpleType>
209
+ <xs:simpleType name="PropertyTypeCode">
210
+ <xs:annotation>
211
+ <xs:documentation>Code which indicates the type of property.</xs:documentation>
212
+ </xs:annotation>
213
+ <xs:restriction base="xs:string">
214
+ <xs:enumeration value="0">
215
+ <xs:annotation>
216
+ <xs:documentation>House</xs:documentation>
217
+ </xs:annotation>
218
+ </xs:enumeration>
219
+ <xs:enumeration value="1">
220
+ <xs:annotation>
221
+ <xs:documentation>Bungalow</xs:documentation>
222
+ </xs:annotation>
223
+ </xs:enumeration>
224
+ <xs:enumeration value="2">
225
+ <xs:annotation>
226
+ <xs:documentation>Flat</xs:documentation>
227
+ </xs:annotation>
228
+ </xs:enumeration>
229
+ <xs:enumeration value="3">
230
+ <xs:annotation>
231
+ <xs:documentation>Maisonette</xs:documentation>
232
+ </xs:annotation>
233
+ </xs:enumeration>
234
+ </xs:restriction>
235
+ </xs:simpleType>
236
+ <xs:simpleType name="TransactionType">
237
+ <xs:restriction base="xs:string">
238
+ <xs:enumeration value="1">
239
+ <xs:annotation>
240
+ <xs:documentation>marketed sale</xs:documentation>
241
+ </xs:annotation>
242
+ </xs:enumeration>
243
+ <xs:enumeration value="2">
244
+ <xs:annotation>
245
+ <xs:documentation>non marketed sale</xs:documentation>
246
+ </xs:annotation>
247
+ </xs:enumeration>
248
+ <xs:enumeration value="3">
249
+ <xs:annotation>
250
+ <xs:documentation>rental (social)</xs:documentation>
251
+ </xs:annotation>
252
+ </xs:enumeration>
253
+ <xs:enumeration value="4">
254
+ <xs:annotation>
255
+ <xs:documentation>rental (private)</xs:documentation>
256
+ </xs:annotation>
257
+ </xs:enumeration>
258
+ <xs:enumeration value="5">
259
+ <xs:annotation>
260
+ <xs:documentation>not sale or rental</xs:documentation>
261
+ </xs:annotation>
262
+ </xs:enumeration>
263
+ <xs:enumeration value="6">
264
+ <xs:annotation>
265
+ <xs:documentation>new dwelling</xs:documentation>
266
+ </xs:annotation>
267
+ </xs:enumeration>
268
+ <xs:enumeration value="7">
269
+ <xs:annotation>
270
+ <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
271
+ </xs:annotation>
272
+ </xs:enumeration>
273
+ </xs:restriction>
274
+ </xs:simpleType>
275
+ <xs:simpleType name="DisclosureCode">
276
+ <xs:annotation>
277
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
278
+ </xs:annotation>
279
+ <xs:restriction base="xs:string">
280
+ <xs:enumeration value="1">
281
+ <xs:annotation>
282
+ <xs:documentation>No related party</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:enumeration>
285
+ <xs:enumeration value="2">
286
+ <xs:annotation>
287
+ <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
288
+ </xs:annotation>
289
+ </xs:enumeration>
290
+ <xs:enumeration value="3">
291
+ <xs:annotation>
292
+ <xs:documentation>Residing at the property</xs:documentation>
293
+ </xs:annotation>
294
+ </xs:enumeration>
295
+ <xs:enumeration value="4">
296
+ <xs:annotation>
297
+ <xs:documentation>Financial interest in the property</xs:documentation>
298
+ </xs:annotation>
299
+ </xs:enumeration>
300
+ <xs:enumeration value="5">
301
+ <xs:annotation>
302
+ <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
303
+ </xs:annotation>
304
+ </xs:enumeration>
305
+ <xs:enumeration value="6">
306
+ <xs:annotation>
307
+ <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
308
+ </xs:annotation>
309
+ </xs:enumeration>
310
+ <xs:enumeration value="7">
311
+ <xs:annotation>
312
+ <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
313
+ </xs:annotation>
314
+ </xs:enumeration>
315
+ </xs:restriction>
316
+ </xs:simpleType>
317
+ </xs:schema>