epb_view_models 2.0.16 → 2.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/api/schemas/data/orchestrate.json +3 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -0
- data/api/schemas/xml/examples/CEPC-S-7.1(EPC).xml +342 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/view_model/cepc71/common_schema.rb +7 -7
- data/lib/view_model/cepc_s_71/cepc.rb +101 -0
- data/lib/view_model/cepc_wrapper.rb +2 -0
- data/lib/view_model/factory.rb +1 -0
- metadata +13 -2
@@ -0,0 +1,406 @@
|
|
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" xmlns:UDT="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" 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:include schemaLocation="./Report-Header.xsd"/>
|
5
|
+
<xs:include schemaLocation="./BaseDataTypes.xsd"/>
|
6
|
+
<xs:element name="Report-Data" type="Report-Data"/>
|
7
|
+
<xs:complexType name="Report-Data" abstract="true">
|
8
|
+
<xs:all/>
|
9
|
+
</xs:complexType>
|
10
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
11
|
+
<xs:complexType name="Technical-Information">
|
12
|
+
<xs:all>
|
13
|
+
<xs:element name="Main-Heating-Fuel" type="HeatingFuelTypeCode" minOccurs="0">
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>Main Heating Fuel used in the building. This is onl;y required for a Display Energy Certificate or Energy Performance Certificate and doesn't appear on the Recommendations Report or Advisory Report.</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
</xs:element>
|
18
|
+
<xs:element name="Other-Fuel-Description" type="xs:string" minOccurs="0">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>Text description of unspecified fuel type if Other is selected for Main-Heating-Fuel.</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:element>
|
23
|
+
<xs:element name="Building-Environment" type="BuildingEnvironmentCode">
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>Services</xs:documentation>
|
26
|
+
</xs:annotation>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="Floor-Area" type="xs:decimal">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>Total Useful Floor Area (M^2)</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="Special-Energy-Uses" type="xs:string" minOccurs="0">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>Special energy uses discounted. This only appears on the advisory Report.</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="Renewable-Sources" type="xs:string" minOccurs="0">
|
39
|
+
<xs:annotation>
|
40
|
+
<xs:documentation>On-site renewable energy sources. This only appears on the Advisory Report.</xs:documentation>
|
41
|
+
</xs:annotation>
|
42
|
+
</xs:element>
|
43
|
+
<xs:element name="OR-Availability-Date" type="xs:date" minOccurs="0">
|
44
|
+
<xs:annotation>
|
45
|
+
<xs:documentation>The date that the Operational Rating will be available if its not already.</xs:documentation>
|
46
|
+
</xs:annotation>
|
47
|
+
</xs:element>
|
48
|
+
<xs:element name="Separately-Metered-Electric-Heating" type="xs:boolean" minOccurs="0"/>
|
49
|
+
</xs:all>
|
50
|
+
</xs:complexType>
|
51
|
+
<xs:simpleType name="BuildingEnvironmentCode">
|
52
|
+
<xs:restriction base="xs:string">
|
53
|
+
<xs:enumeration value="Air Conditioning">
|
54
|
+
<xs:annotation>
|
55
|
+
<xs:documentation>Air Conditioned</xs:documentation>
|
56
|
+
</xs:annotation>
|
57
|
+
</xs:enumeration>
|
58
|
+
<xs:enumeration value="Heating and Natural Ventilation"/>
|
59
|
+
<xs:enumeration value="Heating and Mechanical Ventilation"/>
|
60
|
+
<xs:enumeration value="Mixed-mode with Natural Ventilation"/>
|
61
|
+
<xs:enumeration value="Mixed-mode with Mechanical Ventilation"/>
|
62
|
+
<xs:enumeration value="Unconditioned"/>
|
63
|
+
<xs:enumeration value="Natural Ventilation Only"/>
|
64
|
+
<xs:enumeration value="Mechanical Ventilation Only"/>
|
65
|
+
</xs:restriction>
|
66
|
+
</xs:simpleType>
|
67
|
+
<xs:element name="EPC-Rating" type="EPC-Rating"/>
|
68
|
+
<xs:complexType name="EPC-Rating">
|
69
|
+
<xs:all>
|
70
|
+
<xs:element name="Asset-Rating" type="EnergyRatingType">
|
71
|
+
<xs:annotation>
|
72
|
+
<xs:documentation>Asset Rating</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
</xs:element>
|
75
|
+
<xs:element name="Potential-Rating" type="EnergyRatingType">
|
76
|
+
<xs:annotation>
|
77
|
+
<xs:documentation>The Potential Asset Rating</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:element>
|
80
|
+
<xs:element name="New-Build-Benchmark" type="EnergyRatingType">
|
81
|
+
<xs:annotation>
|
82
|
+
<xs:documentation>The Asset Rating if the Building was newly built.</xs:documentation>
|
83
|
+
</xs:annotation>
|
84
|
+
</xs:element>
|
85
|
+
<xs:element name="Energy-Band" type="EnergyBandType">
|
86
|
+
<xs:annotation>
|
87
|
+
<xs:documentation>Energy band corresponding to the Asset Rating</xs:documentation>
|
88
|
+
</xs:annotation>
|
89
|
+
</xs:element>
|
90
|
+
<xs:element name="Potential-Band" type="EnergyBandType">
|
91
|
+
<xs:annotation>
|
92
|
+
<xs:documentation>Energy band corresponding to the Potential Asset Rating</xs:documentation>
|
93
|
+
</xs:annotation>
|
94
|
+
</xs:element>
|
95
|
+
<xs:element name="New-Build-Benchmark-Band" type="EnergyBandType">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>The energy band corresponding to the Asset Rating if the Building were newly built.</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:element>
|
100
|
+
<xs:element name="BER" type="EmissionRateType">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation>Building Emissions</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:element>
|
105
|
+
<xs:element name="TER" type="EmissionRateType">
|
106
|
+
<xs:annotation>
|
107
|
+
<xs:documentation>Target Emissions</xs:documentation>
|
108
|
+
</xs:annotation>
|
109
|
+
</xs:element>
|
110
|
+
</xs:all>
|
111
|
+
</xs:complexType>
|
112
|
+
<xs:simpleType name="CO2ImpactCode">
|
113
|
+
<xs:restriction base="xs:string">
|
114
|
+
<xs:enumeration value="HIGH"/>
|
115
|
+
<xs:enumeration value="MEDIUM"/>
|
116
|
+
<xs:enumeration value="LOW"/>
|
117
|
+
</xs:restriction>
|
118
|
+
</xs:simpleType>
|
119
|
+
<xs:simpleType name="EnergyRatingType">
|
120
|
+
<xs:restriction base="xs:int"/>
|
121
|
+
</xs:simpleType>
|
122
|
+
<xs:simpleType name="EnergyBandType">
|
123
|
+
<xs:restriction base="xs:string">
|
124
|
+
<xs:enumeration value="Carbon Neutral"/>
|
125
|
+
<xs:enumeration value="A+"/>
|
126
|
+
<xs:enumeration value="A"/>
|
127
|
+
<xs:enumeration value="B+"/>
|
128
|
+
<xs:enumeration value="B"/>
|
129
|
+
<xs:enumeration value="C+"/>
|
130
|
+
<xs:enumeration value="C"/>
|
131
|
+
<xs:enumeration value="D+"/>
|
132
|
+
<xs:enumeration value="D"/>
|
133
|
+
<xs:enumeration value="E+"/>
|
134
|
+
<xs:enumeration value="E"/>
|
135
|
+
<xs:enumeration value="F+"/>
|
136
|
+
<xs:enumeration value="F"/>
|
137
|
+
<xs:enumeration value="G"/>
|
138
|
+
</xs:restriction>
|
139
|
+
</xs:simpleType>
|
140
|
+
<xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
|
141
|
+
<xs:complexType name="Energy-Performance-Certificate">
|
142
|
+
<xs:all>
|
143
|
+
<xs:element name="Transaction-Type" type="TransactionType"/>
|
144
|
+
<xs:element name="Renewable-Energy-Sources" minOccurs="0">
|
145
|
+
<xs:complexType>
|
146
|
+
<xs:sequence>
|
147
|
+
<xs:element name="Renewable-Energy-Source" type="xs:string" maxOccurs="unbounded"></xs:element>
|
148
|
+
</xs:sequence>
|
149
|
+
</xs:complexType>
|
150
|
+
</xs:element>
|
151
|
+
<xs:element name="Electricity-Sources">
|
152
|
+
<xs:complexType>
|
153
|
+
<xs:sequence>
|
154
|
+
<xs:element name="Electricity-Source" type="xs:string" maxOccurs="unbounded"></xs:element>
|
155
|
+
</xs:sequence>
|
156
|
+
</xs:complexType>
|
157
|
+
</xs:element>
|
158
|
+
<xs:element name="EPC-Rating-Scale" type="EPC-Rating-Scale"/>
|
159
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
160
|
+
<xs:element name="EPC-Rating" type="EPC-Rating"/>
|
161
|
+
<xs:element name="Comparative-Rating" type="Comparative-Rating"/>
|
162
|
+
<xs:element name="TER-2002" type="EmissionRateType" minOccurs="0" maxOccurs="1">
|
163
|
+
<xs:annotation>
|
164
|
+
<xs:documentation>Target Emission Rate defined by Section 6 of the 2002 building regulations, in kg of CO2 per m2 per year.</xs:documentation>
|
165
|
+
</xs:annotation>
|
166
|
+
</xs:element>
|
167
|
+
<xs:element name="Compliant-2002" type="Flag" minOccurs="1" maxOccurs="1">
|
168
|
+
<xs:annotation>
|
169
|
+
<xs:documentation>Indicates whether the actual building complies with the Target Emission Rate defined by Section 6 of the 2002 building regulations.</xs:documentation>
|
170
|
+
</xs:annotation>
|
171
|
+
</xs:element>
|
172
|
+
</xs:all>
|
173
|
+
</xs:complexType>
|
174
|
+
<xs:complexType name="Comparative-Rating">
|
175
|
+
<xs:all>
|
176
|
+
<xs:element name="Comparative-Asset-Rating" type="EnergyRatingType">
|
177
|
+
<xs:annotation>
|
178
|
+
<xs:documentation>Comparative Asset Rating if the building were assessed in England using Scottish weather data</xs:documentation>
|
179
|
+
</xs:annotation>
|
180
|
+
</xs:element>
|
181
|
+
<xs:element name="Comparative-Energy-Band" type="EnergyBandType">
|
182
|
+
<xs:annotation>
|
183
|
+
<xs:documentation>Energy band corresponding to the Comparative Asset Rating if the building were assessed in England using Scottish weather data</xs:documentation>
|
184
|
+
</xs:annotation>
|
185
|
+
</xs:element>
|
186
|
+
</xs:all>
|
187
|
+
</xs:complexType>
|
188
|
+
<xs:element name="EPC-Rating-Scale" type="EPC-Rating-Scale"/>
|
189
|
+
<xs:complexType name="EPC-Rating-Scale">
|
190
|
+
<xs:annotation>
|
191
|
+
<xs:documentation>Defines the banded values for the Energy rating scale on the EPC. </xs:documentation>
|
192
|
+
</xs:annotation>
|
193
|
+
<xs:all>
|
194
|
+
<xs:element name="Upper-Number-A-Scale" type="EnergyRatingType">
|
195
|
+
<xs:annotation>
|
196
|
+
<xs:documentation>Upper number on A scale</xs:documentation>
|
197
|
+
</xs:annotation>
|
198
|
+
</xs:element>
|
199
|
+
<xs:element name="Lower-Number-B-Scale" type="EnergyRatingType">
|
200
|
+
<xs:annotation>
|
201
|
+
<xs:documentation>Lower number on B scale</xs:documentation>
|
202
|
+
</xs:annotation>
|
203
|
+
</xs:element>
|
204
|
+
<xs:element name="Upper-Number-B-Scale" type="EnergyRatingType">
|
205
|
+
<xs:annotation>
|
206
|
+
<xs:documentation>Upper number on B scale</xs:documentation>
|
207
|
+
</xs:annotation>
|
208
|
+
</xs:element>
|
209
|
+
<xs:element name="Lower-Number-C-Scale" type="EnergyRatingType">
|
210
|
+
<xs:annotation>
|
211
|
+
<xs:documentation>Lower number on C scale</xs:documentation>
|
212
|
+
</xs:annotation>
|
213
|
+
</xs:element>
|
214
|
+
<xs:element name="Upper-Number-C-Scale" type="EnergyRatingType">
|
215
|
+
<xs:annotation>
|
216
|
+
<xs:documentation>Upper number on C scale</xs:documentation>
|
217
|
+
</xs:annotation>
|
218
|
+
</xs:element>
|
219
|
+
<xs:element name="Lower-Number-D-Scale" type="EnergyRatingType">
|
220
|
+
<xs:annotation>
|
221
|
+
<xs:documentation>Lower number on D scale</xs:documentation>
|
222
|
+
</xs:annotation>
|
223
|
+
</xs:element>
|
224
|
+
<xs:element name="Upper-Number-D-Scale" type="EnergyRatingType">
|
225
|
+
<xs:annotation>
|
226
|
+
<xs:documentation>Upper number on D scale</xs:documentation>
|
227
|
+
</xs:annotation>
|
228
|
+
</xs:element>
|
229
|
+
<xs:element name="Lower-Number-E-Scale" type="EnergyRatingType">
|
230
|
+
<xs:annotation>
|
231
|
+
<xs:documentation>Lower number on E scale</xs:documentation>
|
232
|
+
</xs:annotation>
|
233
|
+
</xs:element>
|
234
|
+
<xs:element name="Upper-Number-E-Scale" type="EnergyRatingType">
|
235
|
+
<xs:annotation>
|
236
|
+
<xs:documentation>Upper number on E scale</xs:documentation>
|
237
|
+
</xs:annotation>
|
238
|
+
</xs:element>
|
239
|
+
<xs:element name="Lower-Number-F-Scale" type="EnergyRatingType">
|
240
|
+
<xs:annotation>
|
241
|
+
<xs:documentation>Lower number on F scale</xs:documentation>
|
242
|
+
</xs:annotation>
|
243
|
+
</xs:element>
|
244
|
+
<xs:element name="Upper-Number-F-Scale" type="EnergyRatingType">
|
245
|
+
<xs:annotation>
|
246
|
+
<xs:documentation>Upper number on F scale</xs:documentation>
|
247
|
+
</xs:annotation>
|
248
|
+
</xs:element>
|
249
|
+
<xs:element name="Lowest-Number-G-Scale" type="EnergyRatingType">
|
250
|
+
<xs:annotation>
|
251
|
+
<xs:documentation>Lowest number on G scale</xs:documentation>
|
252
|
+
</xs:annotation>
|
253
|
+
</xs:element>
|
254
|
+
</xs:all>
|
255
|
+
</xs:complexType>
|
256
|
+
<xs:element name="RR-Recommendation" type="RR-Recommendation"/>
|
257
|
+
<xs:complexType name="RR-Recommendation">
|
258
|
+
<xs:all>
|
259
|
+
<xs:element name="Recommendation-Code" type="xs:string">
|
260
|
+
<xs:annotation>
|
261
|
+
<xs:documentation>The Recommendation Code that identifis this particular recommendation</xs:documentation>
|
262
|
+
</xs:annotation>
|
263
|
+
</xs:element>
|
264
|
+
<xs:element name="Recommendation" type="xs:string">
|
265
|
+
<xs:annotation>
|
266
|
+
<xs:documentation>Recommendation selected by the energy assessor</xs:documentation>
|
267
|
+
</xs:annotation>
|
268
|
+
</xs:element>
|
269
|
+
<xs:element name="CO2-Impact" type="CO2ImpactCode"/>
|
270
|
+
</xs:all>
|
271
|
+
</xs:complexType>
|
272
|
+
<xs:element name="RR-Recommendations" type="RR-Recommendations"/>
|
273
|
+
<xs:complexType name="RR-Recommendations">
|
274
|
+
<xs:sequence>
|
275
|
+
<xs:element name="Short-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="15">
|
276
|
+
<xs:annotation>
|
277
|
+
<xs:documentation>Short Payback Recommendations</xs:documentation>
|
278
|
+
</xs:annotation>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="Medium-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="10">
|
281
|
+
<xs:annotation>
|
282
|
+
<xs:documentation>Medium Payback Recommendations</xs:documentation>
|
283
|
+
</xs:annotation>
|
284
|
+
</xs:element>
|
285
|
+
<xs:element name="Long-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="5">
|
286
|
+
<xs:annotation>
|
287
|
+
<xs:documentation>Long Payback Recommendations</xs:documentation>
|
288
|
+
</xs:annotation>
|
289
|
+
</xs:element>
|
290
|
+
<xs:element name="Other-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="10">
|
291
|
+
<xs:annotation>
|
292
|
+
<xs:documentation>Other Payback Recommendations</xs:documentation>
|
293
|
+
</xs:annotation>
|
294
|
+
</xs:element>
|
295
|
+
</xs:sequence>
|
296
|
+
</xs:complexType>
|
297
|
+
<xs:element name="Recommendations-Report" type="Recommendations-Report"/>
|
298
|
+
<xs:complexType name="Recommendations-Report">
|
299
|
+
<xs:all>
|
300
|
+
<xs:element name="RR-Recommendations" type="RR-Recommendations" minOccurs="0"/>
|
301
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
302
|
+
</xs:all>
|
303
|
+
</xs:complexType>
|
304
|
+
<xs:simpleType name="HeatingFuelTypeCode">
|
305
|
+
<xs:restriction base="xs:string">
|
306
|
+
<xs:enumeration value="Natural Gas"/>
|
307
|
+
<xs:enumeration value="LPG">
|
308
|
+
<xs:annotation>
|
309
|
+
<xs:documentation>LPG</xs:documentation>
|
310
|
+
</xs:annotation>
|
311
|
+
</xs:enumeration>
|
312
|
+
<xs:enumeration value="Biogas">
|
313
|
+
<xs:annotation>
|
314
|
+
<xs:documentation>biogas - landfill</xs:documentation>
|
315
|
+
</xs:annotation>
|
316
|
+
</xs:enumeration>
|
317
|
+
<xs:enumeration value="Oil">
|
318
|
+
<xs:annotation>
|
319
|
+
<xs:documentation>oil</xs:documentation>
|
320
|
+
</xs:annotation>
|
321
|
+
</xs:enumeration>
|
322
|
+
<xs:enumeration value="Coal">
|
323
|
+
<xs:annotation>
|
324
|
+
<xs:documentation>house coal</xs:documentation>
|
325
|
+
</xs:annotation>
|
326
|
+
</xs:enumeration>
|
327
|
+
<xs:enumeration value="Anthracite">
|
328
|
+
<xs:annotation>
|
329
|
+
<xs:documentation>anthracite</xs:documentation>
|
330
|
+
</xs:annotation>
|
331
|
+
</xs:enumeration>
|
332
|
+
<xs:enumeration value="Smokeless Fuel (inc Coke)">
|
333
|
+
<xs:annotation>
|
334
|
+
<xs:documentation>Smokeless Fuel including Coke</xs:documentation>
|
335
|
+
</xs:annotation>
|
336
|
+
</xs:enumeration>
|
337
|
+
<xs:enumeration value="Dual Fuel Appliances (Mineral + Wood)">
|
338
|
+
<xs:annotation>
|
339
|
+
<xs:documentation>dual fuel - mineral + wood</xs:documentation>
|
340
|
+
</xs:annotation>
|
341
|
+
</xs:enumeration>
|
342
|
+
<xs:enumeration value="Biomass">
|
343
|
+
<xs:annotation>
|
344
|
+
<xs:documentation>biomass</xs:documentation>
|
345
|
+
</xs:annotation>
|
346
|
+
</xs:enumeration>
|
347
|
+
<xs:enumeration value="Grid Supplied Electricity">
|
348
|
+
<xs:annotation>
|
349
|
+
<xs:documentation>Mains Electricity</xs:documentation>
|
350
|
+
</xs:annotation>
|
351
|
+
</xs:enumeration>
|
352
|
+
<xs:enumeration value="Grid Displaced Electricity"/>
|
353
|
+
<xs:enumeration value="Waste Heat"/>
|
354
|
+
<xs:enumeration value="District Cooling"/>
|
355
|
+
<xs:enumeration value="District Heating"/>
|
356
|
+
<xs:enumeration value="Other"/>
|
357
|
+
</xs:restriction>
|
358
|
+
</xs:simpleType>
|
359
|
+
<xs:simpleType name="TransactionType">
|
360
|
+
<xs:restriction base="xs:string">
|
361
|
+
<xs:enumeration value="1">
|
362
|
+
<xs:annotation>
|
363
|
+
<xs:documentation>Mandatory issue (Marketed sale).</xs:documentation>
|
364
|
+
</xs:annotation>
|
365
|
+
</xs:enumeration>
|
366
|
+
<xs:enumeration value="2">
|
367
|
+
<xs:annotation>
|
368
|
+
<xs:documentation>Mandatory issue (Non-marketed sale).</xs:documentation>
|
369
|
+
</xs:annotation>
|
370
|
+
</xs:enumeration>
|
371
|
+
<xs:enumeration value="3">
|
372
|
+
<xs:annotation>
|
373
|
+
<xs:documentation>Mandatory issue (Property on construction).</xs:documentation>
|
374
|
+
</xs:annotation>
|
375
|
+
</xs:enumeration>
|
376
|
+
<xs:enumeration value="4">
|
377
|
+
<xs:annotation>
|
378
|
+
<xs:documentation>Mandatory issue (Property to let).</xs:documentation>
|
379
|
+
</xs:annotation>
|
380
|
+
</xs:enumeration>
|
381
|
+
<xs:enumeration value="5">
|
382
|
+
<xs:annotation>
|
383
|
+
<xs:documentation>Voluntary re-issue (A valid EPC is already lodged).</xs:documentation>
|
384
|
+
</xs:annotation>
|
385
|
+
</xs:enumeration>
|
386
|
+
<xs:enumeration value="6">
|
387
|
+
<xs:annotation>
|
388
|
+
<xs:documentation>Voluntary (No legal requirement for an EPC).</xs:documentation>
|
389
|
+
</xs:annotation>
|
390
|
+
</xs:enumeration>
|
391
|
+
<xs:enumeration value="7">
|
392
|
+
<xs:annotation>
|
393
|
+
<xs:documentation>Not recorded.</xs:documentation>
|
394
|
+
</xs:annotation>
|
395
|
+
</xs:enumeration>
|
396
|
+
<xs:enumeration value="8">
|
397
|
+
<xs:annotation>
|
398
|
+
<xs:documentation>Mandatory issue (Display in public building).</xs:documentation>
|
399
|
+
</xs:annotation>
|
400
|
+
</xs:enumeration>
|
401
|
+
</xs:restriction>
|
402
|
+
</xs:simpleType>
|
403
|
+
<xs:simpleType name="EmissionRateType">
|
404
|
+
<xs:list itemType="xs:double"/>
|
405
|
+
</xs:simpleType>
|
406
|
+
</xs:schema>
|
@@ -0,0 +1,174 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
4
|
+
targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
5
|
+
elementFormDefault="qualified" version="LIG-16.0">
|
6
|
+
<xs:annotation>
|
7
|
+
<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>
|
8
|
+
</xs:annotation>
|
9
|
+
<xs:include schemaLocation="./BaseDataTypes.xsd"/>
|
10
|
+
<!--xs:include schemaLocation="./HCR-Domains.xsd"/-->
|
11
|
+
<!--<xs:include schemaLocation="../Templates/Property.xsd"/>-->
|
12
|
+
<xs:include schemaLocation="./Property.xsd"/>
|
13
|
+
<xs:element name="Energy-Assessor" type="Energy-Assessor"/>
|
14
|
+
<xs:complexType name="Energy-Assessor">
|
15
|
+
<xs:annotation>
|
16
|
+
<xs:documentation>
|
17
|
+
A Energy-Assessor is a person certified by a Accrediation Scheme as being qualified to carry out an Energy Assessment and produce an Energy Performance Certificate.
|
18
|
+
</xs:documentation>
|
19
|
+
</xs:annotation>
|
20
|
+
<xs:sequence>
|
21
|
+
<xs:element name="Membership-Number" type="xs:string" minOccurs="1" maxOccurs="1">
|
22
|
+
<xs:annotation>
|
23
|
+
<xs:documentation>The unique identifier assigned to the Energy Assessor by the Approved Organisation by which they can be identified throughout their membership of the scheme.</xs:documentation>
|
24
|
+
</xs:annotation>
|
25
|
+
</xs:element>
|
26
|
+
<xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1">
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation>The name by which the Energy Assessor is registered. This is a structured name containing prefix, first name + surname.</xs:documentation>
|
29
|
+
</xs:annotation>
|
30
|
+
</xs:element>
|
31
|
+
<xs:element name="Approved-Organisation-Name" type="xs:string" minOccurs="1" maxOccurs="1">
|
32
|
+
<xs:annotation>
|
33
|
+
<xs:documentation>The name of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
|
34
|
+
</xs:annotation>
|
35
|
+
</xs:element>
|
36
|
+
<xs:element name="Approved-Organisation-Web-Address" type="xs:string" minOccurs="1" maxOccurs="1">
|
37
|
+
<xs:annotation>
|
38
|
+
<xs:documentation>The web address of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
|
39
|
+
</xs:annotation>
|
40
|
+
</xs:element>
|
41
|
+
<xs:element name="Trading-Address" type="xs:string" minOccurs="0" maxOccurs="1">
|
42
|
+
<xs:annotation>
|
43
|
+
<xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
|
44
|
+
</xs:annotation>
|
45
|
+
</xs:element>
|
46
|
+
<xs:element name="Company-Name" type="xs:string" minOccurs="0" maxOccurs="1">
|
47
|
+
<xs:annotation>
|
48
|
+
<xs:documentation>The Name of the Company that the Energy Assessor is empolyed by.</xs:documentation>
|
49
|
+
</xs:annotation>
|
50
|
+
</xs:element>
|
51
|
+
<xs:element name="Status" type="EAStatusCode" minOccurs="0" maxOccurs="1">
|
52
|
+
<xs:annotation>
|
53
|
+
<xs:documentation>The Status of the Energy Assessor - at the time of producing and lodging a report this shoudl be "Registered" but any of the values can be present on the EA Register itself.</xs:documentation>
|
54
|
+
</xs:annotation>
|
55
|
+
</xs:element>
|
56
|
+
<xs:element name="E-Mail" type="xs:string" minOccurs="0" maxOccurs="1">
|
57
|
+
<xs:annotation>
|
58
|
+
<xs:documentation>Optional e-mail address for the Energy Assessor</xs:documentation>
|
59
|
+
</xs:annotation>
|
60
|
+
</xs:element>
|
61
|
+
<xs:element name="Telephone-Number" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
62
|
+
<xs:element name="Base-Postcode-Location" type="PostcodeType" minOccurs="0" maxOccurs="1">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>The full postcode that the Energy Assessor works from.</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
</xs:sequence>
|
68
|
+
</xs:complexType>
|
69
|
+
<xs:simpleType name="EAStatusCode">
|
70
|
+
<xs:restriction base="xs:string">
|
71
|
+
<xs:enumeration value="Inactive">
|
72
|
+
<xs:annotation>
|
73
|
+
<xs:documentation>Inactive</xs:documentation>
|
74
|
+
</xs:annotation>
|
75
|
+
</xs:enumeration>
|
76
|
+
<xs:enumeration value="Registered">
|
77
|
+
<xs:annotation>
|
78
|
+
<xs:documentation>Registered</xs:documentation>
|
79
|
+
</xs:annotation>
|
80
|
+
</xs:enumeration>
|
81
|
+
<xs:enumeration value="Struck-Off">
|
82
|
+
<xs:annotation>
|
83
|
+
<xs:documentation>Struck Off</xs:documentation>
|
84
|
+
</xs:annotation>
|
85
|
+
</xs:enumeration>
|
86
|
+
<xs:enumeration value="Suspended">
|
87
|
+
<xs:annotation>
|
88
|
+
<xs:documentation>Suspended</xs:documentation>
|
89
|
+
</xs:annotation>
|
90
|
+
</xs:enumeration>
|
91
|
+
</xs:restriction>
|
92
|
+
</xs:simpleType>
|
93
|
+
<xs:simpleType name="InspectorTypeCode">
|
94
|
+
<xs:restriction base="xs:string">
|
95
|
+
<xs:enumeration value="1">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>Home Inspector</xs:documentation>
|
98
|
+
</xs:annotation>
|
99
|
+
</xs:enumeration>
|
100
|
+
<xs:enumeration value="2">
|
101
|
+
<xs:annotation>
|
102
|
+
<xs:documentation>Domestic Energy Assessor</xs:documentation>
|
103
|
+
</xs:annotation>
|
104
|
+
</xs:enumeration>
|
105
|
+
</xs:restriction>
|
106
|
+
</xs:simpleType>
|
107
|
+
<xs:element name="Mortgage-Lender" type="Mortgage-Lender"/>
|
108
|
+
<xs:complexType name="Mortgage-Lender">
|
109
|
+
<xs:annotation>
|
110
|
+
<xs:documentation>A Mortgage Lender is an organisation that may lend money to the Buyer for the purpose of purchasing the Property.
|
111
|
+
|
112
|
+
As part of this decision making the Mortgage Lender may use an Automated Valuation Model (AVM) to value the Property and requires access to the underlying data in the Home Condition Report or the content of the Energy Performance Certificate in order to complete this valuation.</xs:documentation>
|
113
|
+
</xs:annotation>
|
114
|
+
<xs:all/>
|
115
|
+
</xs:complexType>
|
116
|
+
<xs:simpleType name="Postcode-CoverageType">
|
117
|
+
<xs:restriction base="xs:string">
|
118
|
+
<xs:maxLength value="500"/>
|
119
|
+
<xs:pattern value="[A-Z]{1,2}[0-9]{0,2}(,[A-Z]{1,2}[0-9]{0,2})*"/>
|
120
|
+
</xs:restriction>
|
121
|
+
</xs:simpleType>
|
122
|
+
<xs:element name="Certification-Scheme" type="Certification-Scheme"/>
|
123
|
+
<xs:complexType name="Certification-Scheme">
|
124
|
+
<xs:annotation>
|
125
|
+
<xs:documentation>The Certification Scheme is the "regulatory" body responsible for regulating the activities of the Home Inspectors.
|
126
|
+
|
127
|
+
A Certification Scheme will carry out certain primary functions in accordance with the standards, focussed around certifying, managing and regulating Home Inspectors and registering Home Condition Reports.
|
128
|
+
|
129
|
+
Although covered by a different regulatory regime a Certification Scheme is synonymous with the role of an Accreditation Body in the production of an Energy Performance Certificate.</xs:documentation>
|
130
|
+
</xs:annotation>
|
131
|
+
<xs:all>
|
132
|
+
<xs:element name="Scheme-Name" type="xs:string"/>
|
133
|
+
<xs:element name="Complaints-Address" type="AddressType" minOccurs="0">
|
134
|
+
<xs:annotation>
|
135
|
+
<xs:documentation>The address to which any complaints should be sent.</xs:documentation>
|
136
|
+
</xs:annotation>
|
137
|
+
</xs:element>
|
138
|
+
<xs:element name="Contact-Address" type="AddressType" minOccurs="0">
|
139
|
+
<xs:annotation>
|
140
|
+
<xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
</xs:element>
|
143
|
+
<xs:element name="Web-Site" type="xs:string"/>
|
144
|
+
<xs:element name="E-Mail" type="xs:string">
|
145
|
+
<xs:annotation>
|
146
|
+
<xs:documentation>the E-Mail address that the Authorised User can be contacted at.</xs:documentation>
|
147
|
+
</xs:annotation>
|
148
|
+
</xs:element>
|
149
|
+
<xs:element name="Registered-Name" type="xs:string">
|
150
|
+
<xs:annotation>
|
151
|
+
<xs:documentation>The public name by which the Authorised User is known by - this is either a personal name (e.g. "Mr John Smith") built up from the components of the Person Name if the Authorised User is an individual such as a Home Inspector or a Company Name if the Authorised User is an organisation.
|
152
|
+
|
153
|
+
In the case of a individual the name may not be unique (e.g. there may be many thousands of people called "Mr John Smith") so this is information about the Authorised User rather than an identifier.</xs:documentation>
|
154
|
+
</xs:annotation>
|
155
|
+
</xs:element>
|
156
|
+
<xs:element name="Fax" type="PhoneNumberType"/>
|
157
|
+
<xs:element name="Telephone" type="PhoneNumberType"/>
|
158
|
+
</xs:all>
|
159
|
+
</xs:complexType>
|
160
|
+
<xs:element name="CertificationSchemeKeyFields" type="CertificationSchemeKeyFields"/>
|
161
|
+
<xs:complexType name="CertificationSchemeKeyFields">
|
162
|
+
<xs:annotation>
|
163
|
+
<xs:documentation>Key field definition for the Certification Scheme class.</xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
<xs:sequence>
|
166
|
+
<xs:element name="Registered-Name" type="xs:string"/>
|
167
|
+
</xs:sequence>
|
168
|
+
</xs:complexType>
|
169
|
+
<xs:simpleType name="PhoneNumberType">
|
170
|
+
<xs:restriction base="xs:string">
|
171
|
+
<xs:pattern value="[0-9\-\.\)\(\+ ]+"/>
|
172
|
+
</xs:restriction>
|
173
|
+
</xs:simpleType>
|
174
|
+
</xs:schema>
|