epb_view_models 2.0.11 → 2.0.12

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.
@@ -0,0 +1,398 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns="https://epbr.digital.communities.gov.uk/xsd/rdsap"
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/rdsap"
6
+ elementFormDefault="qualified"
7
+ attributeFormDefault="unqualified"
8
+ version="NI-21.0.0"
9
+ >
10
+ <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
11
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
12
+ <xs:simpleType name="EnergyRatingType">
13
+ <xs:restriction base="xs:integer">
14
+ <xs:minInclusive value="0"/>
15
+ </xs:restriction>
16
+ </xs:simpleType>
17
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
18
+ <xs:complexType name="Energy-Assessment">
19
+ <xs:annotation>
20
+ <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.
21
+
22
+ 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>
23
+ </xs:annotation>
24
+ <xs:all>
25
+ <xs:element name="Property-Summary" type="Property-Summary"/>
26
+ <xs:element name="Energy-Use" type="Energy-Use"/>
27
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0"/>
28
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0"/>
29
+ <xs:element name="Addendum" type="Addendum" minOccurs="0"/>
30
+ <xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive"/>
31
+ <xs:element name="Green-Deal-Package" type="Green-Deal-Package" minOccurs="0">
32
+ <xs:annotation>
33
+ <xs:documentation>Improvements that can form a Green Deal package</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Alternative-Improvements" type="Suggested-Improvements" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>Alternative improvements to some of those given in Suggested-Improvements</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ </xs:all>
42
+ </xs:complexType>
43
+ <xs:element name="Property-Summary" type="Property-Summary"/>
44
+ <xs:complexType name="Property-Summary">
45
+ <xs:sequence>
46
+ <xs:element name="Wall" type="PropertySummaryType" maxOccurs="unbounded"/>
47
+ <xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
48
+ <xs:element name="Floor" type="PropertySummaryType" maxOccurs="unbounded"/>
49
+ <xs:element name="Window" type="PropertySummaryType"/>
50
+ <xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0"/>
51
+ <xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
52
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" maxOccurs="2"/>
53
+ <xs:element name="Hot-Water" type="PropertySummaryType"/>
54
+ <xs:element name="Lighting" type="PropertySummaryType"/>
55
+ <xs:element name="Secondary-Heating" type="PropertySummaryType"/>
56
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" default="false" minOccurs="0"/>
57
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" default="false" minOccurs="0"/>
58
+ <xs:element name="Dwelling-Type" type="Sentence">
59
+ <xs:annotation>
60
+ <xs:documentation>A string such as Detached house or Top-floor flat </xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ <xs:element name="Total-Floor-Area" type="xs:integer">
64
+ <xs:annotation>
65
+ <xs:documentation>A number such as 125</xs:documentation>
66
+ </xs:annotation>
67
+ </xs:element>
68
+ <xs:element name="Has-Fixed-Air-Conditioning" type="xs:boolean" default="false" minOccurs="0"/>
69
+ <xs:choice>
70
+ <xs:element name="Multiple-Glazed-Proportion" type="Percentage">
71
+ <xs:annotation>
72
+ <xs:documentation>If all windows measured, fraction of windows that are multiply glazed to nearest 1%.
73
+ If windows not measured, same as SAP-Data\Energy-Assessment\Property-Summary\Multiple-Glazed-Proportion.</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Multiple-Glazed-Proportion-NR" type="xs:string" fixed="NR">
77
+ <xs:annotation>
78
+ <xs:documentation>For backward compatibility only, do not use.</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ </xs:choice>
82
+ </xs:sequence>
83
+ </xs:complexType>
84
+ <xs:element name="Energy-Use" type="Energy-Use"/>
85
+ <xs:complexType name="Energy-Use">
86
+ <xs:annotation>
87
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
88
+ </xs:annotation>
89
+ <xs:all>
90
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType">
91
+ <xs:annotation>
92
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType">
96
+ <xs:annotation>
97
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ <xs:element name="Energy-Rating-Average" type="EnergyRatingType">
101
+ <xs:annotation>
102
+ <xs:documentation>Average SAP rating for the country concerned. 0 if unknown or not applicable</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType">
106
+ <xs:annotation>
107
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType">
111
+ <xs:annotation>
112
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="Energy-Consumption-Current" type="Measurement">
116
+ <xs:annotation>
117
+ <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>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Energy-Consumption-Potential" type="Measurement">
121
+ <xs:annotation>
122
+ <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>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ <xs:element name="CO2-Emissions-Current" type="Measurement">
126
+ <xs:annotation>
127
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:element>
130
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="Measurement">
131
+ <xs:annotation>
132
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ <xs:element name="CO2-Emissions-Potential" type="Measurement">
136
+ <xs:annotation>
137
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ <xs:element name="Lighting-Cost-Current" type="Money">
141
+ <xs:annotation>
142
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
145
+ <xs:element name="Lighting-Cost-Potential" type="Money">
146
+ <xs:annotation>
147
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
148
+ </xs:annotation>
149
+ </xs:element>
150
+ <xs:element name="Heating-Cost-Current" type="Money">
151
+ <xs:annotation>
152
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:element>
155
+ <xs:element name="Heating-Cost-Potential" type="Money">
156
+ <xs:annotation>
157
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:element>
160
+ <xs:element name="Hot-Water-Cost-Current" type="Money">
161
+ <xs:annotation>
162
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:element>
165
+ <xs:element name="Hot-Water-Cost-Potential" type="Money">
166
+ <xs:annotation>
167
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:element>
170
+ </xs:all>
171
+ </xs:complexType>
172
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
173
+ <xs:complexType name="Suggested-Improvements">
174
+ <xs:annotation>
175
+ <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>
176
+ </xs:annotation>
177
+ <xs:sequence>
178
+ <xs:element name="Improvement" type="Improvement" maxOccurs="unbounded"/>
179
+ </xs:sequence>
180
+ </xs:complexType>
181
+ <xs:element name="Improvement" type="Improvement"/>
182
+ <xs:complexType name="Improvement">
183
+ <xs:all>
184
+ <xs:element name="Sequence" type="xs:integer">
185
+ <xs:annotation>
186
+ <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.
187
+
188
+ 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>
189
+ </xs:annotation>
190
+ </xs:element>
191
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode">
192
+ <xs:annotation>
193
+ <xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:element>
196
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode">
197
+ <xs:annotation>
198
+ <xs:documentation>Suggested work to be carried out on the Property to improve its energy efficiency.</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="Typical-Saving" type="Money">
202
+ <xs:annotation>
203
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out. 0 if not assessed</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType">
207
+ <xs:annotation>
208
+ <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. 0 if not assessed</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType">
212
+ <xs:annotation>
213
+ <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. 0 if not assessed</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="Improvement-Details">
217
+ <xs:complexType>
218
+ <xs:choice>
219
+ <xs:element name="Improvement-Texts" type="ImprovementTexts">
220
+ <xs:annotation>
221
+ <xs:documentation>For backward compatibility only</xs:documentation>
222
+ </xs:annotation>
223
+ </xs:element>
224
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
225
+ </xs:choice>
226
+ </xs:complexType>
227
+ </xs:element>
228
+ <xs:element name="Indicative-Cost" type="xs:string" minOccurs="0"/>
229
+ </xs:all>
230
+ </xs:complexType>
231
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
232
+ <xs:complexType name="PropertySummaryType">
233
+ <xs:all>
234
+ <xs:element name="Description" type="Sentence">
235
+ <xs:annotation>
236
+ <xs:documentation>Overall description of the property feature</xs:documentation>
237
+ </xs:annotation>
238
+ </xs:element>
239
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
240
+ <xs:annotation>
241
+ <xs:documentation>Overall summary of the energy efficiency of the property feature.</xs:documentation>
242
+ </xs:annotation>
243
+ </xs:element>
244
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
245
+ <xs:annotation>
246
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
247
+ </xs:annotation>
248
+ </xs:element>
249
+ </xs:all>
250
+ </xs:complexType>
251
+ <xs:element name="Addendum" type="Addendum"/>
252
+ <xs:complexType name="Addendum">
253
+ <xs:sequence>
254
+ <xs:element name="Addendum-Number" type="AddendumCode" minOccurs="0" maxOccurs="unbounded"/>
255
+ <xs:element name="Cavity-Fill-Recommended" type="xs:boolean" minOccurs="0">
256
+ <xs:annotation>
257
+ <xs:documentation>Cavity fill is recommended</xs:documentation>
258
+ </xs:annotation>
259
+ </xs:element>
260
+ <xs:element name="Stone-Walls" type="xs:boolean" minOccurs="0">
261
+ <xs:annotation>
262
+ <xs:documentation>Stone walls present, not insulated</xs:documentation>
263
+ </xs:annotation>
264
+ </xs:element>
265
+ <xs:element name="System-Build" type="xs:boolean" minOccurs="0">
266
+ <xs:annotation>
267
+ <xs:documentation>System build present</xs:documentation>
268
+ </xs:annotation>
269
+ </xs:element>
270
+ <xs:element name="Access-Issues" type="xs:boolean" minOccurs="0">
271
+ <xs:annotation>
272
+ <xs:documentation>Dwelling has access issues for cavity wall insulation. Include only when at least one of Cavity-Fill-Recommended, Stone-Walls, System-Build is also present</xs:documentation>
273
+ </xs:annotation>
274
+ </xs:element>
275
+ <xs:element name="High-Exposure" type="xs:boolean" minOccurs="0">
276
+ <xs:annotation>
277
+ <xs:documentation>Dwelling may be exposed to wind-driven rain. Include only when at least one of Cavity-Fill-Recommended, Stone-Walls, System-Build is also present</xs:documentation>
278
+ </xs:annotation>
279
+ </xs:element>
280
+ <xs:element name="Narrow-Cavities" type="xs:boolean" minOccurs="0">
281
+ <xs:annotation>
282
+ <xs:documentation>Dwelling may have narrow cavities. Include only when Cavity-Fill-Recommended is also present</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:element>
285
+ </xs:sequence>
286
+ </xs:complexType>
287
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
288
+ <xs:complexType name="LZC-Energy-Sources">
289
+ <xs:sequence>
290
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" maxOccurs="unbounded">
291
+ <xs:annotation>
292
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
293
+ </xs:annotation>
294
+ </xs:element>
295
+ </xs:sequence>
296
+ </xs:complexType>
297
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
298
+ <xs:complexType name="ImprovementTexts">
299
+ <xs:sequence>
300
+ <xs:element name="Improvement-Summary" type="Sentence" minOccurs="0">
301
+ <xs:annotation>
302
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
303
+ </xs:annotation>
304
+ </xs:element>
305
+ <xs:element name="Improvement-Heading" type="Sentence" minOccurs="0">
306
+ <xs:annotation>
307
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
308
+ </xs:annotation>
309
+ </xs:element>
310
+ <xs:element name="Improvement-Description" type="Sentence">
311
+ <xs:annotation>
312
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
313
+ </xs:annotation>
314
+ </xs:element>
315
+ </xs:sequence>
316
+ </xs:complexType>
317
+ <xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive">
318
+ <xs:annotation>
319
+ <xs:documentation>Data for RHI.</xs:documentation>
320
+ </xs:annotation>
321
+ </xs:element>
322
+ <xs:complexType name="Renewable-Heat-Incentive">
323
+ <xs:all>
324
+ <xs:element name="Space-Heating-Existing-Dwelling" type="Measurement">
325
+ <xs:annotation>
326
+ <xs:documentation>Space heating requirement for existing dwelling.</xs:documentation>
327
+ </xs:annotation>
328
+ </xs:element>
329
+ <xs:element name="Space-Heating-With-Loft-Insulation" type="Measurement" minOccurs="0">
330
+ <xs:annotation>
331
+ <xs:documentation>Space heating requirement after implementation of loft insulation recommendation, omit if loft insulation not recommended. For backwards compatibility only, do not use</xs:documentation>
332
+ </xs:annotation>
333
+ </xs:element>
334
+ <xs:element name="Space-Heating-With-Cavity-Insulation" type="Measurement" minOccurs="0">
335
+ <xs:annotation>
336
+ <xs:documentation>Space heating requirement after implementation of cavity insulation recommendation, omit if cavity insulation not recommended. For backwards compatibility only, do not use</xs:documentation>
337
+ </xs:annotation>
338
+ </xs:element>
339
+ <xs:element name="Space-Heating-With-Loft-And-Cavity-Insulation" type="Measurement" minOccurs="0">
340
+ <xs:annotation>
341
+ <xs:documentation>Space heating requirement after implementation of loft and cavity insulation recommendations, same as existing dwelling if neither is recommended. For backwards compatibility only, do not use</xs:documentation>
342
+ </xs:annotation>
343
+ </xs:element>
344
+ <xs:element name="Water-Heating" type="Measurement">
345
+ <xs:annotation>
346
+ <xs:documentation>Water heating requirement.</xs:documentation>
347
+ </xs:annotation>
348
+ </xs:element>
349
+ <xs:element name="Impact-Of-Loft-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
350
+ <xs:annotation>
351
+ <xs:documentation>Reduction in space heating requirement with loft insulation (as negative value). Omit if not applicable</xs:documentation>
352
+ </xs:annotation>
353
+ </xs:element>
354
+ <xs:element name="Impact-Of-Cavity-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
355
+ <xs:annotation>
356
+ <xs:documentation>Reduction in space heating requirement with cavity insulation (as negative value). Omit if not applicable</xs:documentation>
357
+ </xs:annotation>
358
+ </xs:element>
359
+ <xs:element name="Impact-Of-Solid-Wall-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
360
+ <xs:annotation>
361
+ <xs:documentation>Reduction in space heating requirement with solid wall insulation (as negative value). Omit if not applicable</xs:documentation>
362
+ </xs:annotation>
363
+ </xs:element>
364
+ </xs:all>
365
+ </xs:complexType>
366
+ <xs:element name="Green-Deal-Package" type="Green-Deal-Package"/>
367
+ <xs:complexType name="Green-Deal-Package">
368
+ <xs:sequence>
369
+ <xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement" maxOccurs="unbounded">
370
+ <xs:annotation>
371
+ <xs:documentation>Improvements from Suggested-Improvements in the Green Deal package</xs:documentation>
372
+ </xs:annotation>
373
+ </xs:element>
374
+ <xs:element name="Electricity-Saving" type="Money">
375
+ <xs:annotation>
376
+ <xs:documentation>Total electricity saving for the package</xs:documentation>
377
+ </xs:annotation>
378
+ </xs:element>
379
+ <xs:element name="Gas-Saving" type="Money">
380
+ <xs:annotation>
381
+ <xs:documentation>Total gas saving for the package</xs:documentation>
382
+ </xs:annotation>
383
+ </xs:element>
384
+ <xs:element name="Other-Fuel-Saving" type="Money">
385
+ <xs:annotation>
386
+ <xs:documentation>Total other saving for the package</xs:documentation>
387
+ </xs:annotation>
388
+ </xs:element>
389
+ </xs:sequence>
390
+ </xs:complexType>
391
+ <xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement"/>
392
+ <xs:complexType name="Green-Deal-Improvement">
393
+ <xs:sequence>
394
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode"/>
395
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
396
+ </xs:sequence>
397
+ </xs:complexType>
398
+ </xs:schema>