epb_view_models 2.0.13 → 2.0.14
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 +4 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/ExternalDefinitions.xml +1352 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/ExternalDefinitions.xsd +242 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/AssessorManagement.xsd +210 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/EPC-Certificate.xsd +493 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/ExceptionList.xsd +18 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/Property.xsd +73 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/ReportList.xsd +25 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/SAP-CollectedData.xsd +1800 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/SAP-Compliance-Report.xsd +40 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/SAP-Report.cs +12672 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/Templates/SAP-Report.xsd +205 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/UDT/EPC-Domains.xsd +564 -0
- data/api/schemas/xml/SAP-Schema-S-19.0.0/SAP/UDT/SAP-Domains.xsd +3139 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/view_model/factory.rb +1 -0
- data/lib/view_model/sap_schema_s_1900/common_schema.rb +600 -0
- data/lib/view_model/sap_wrapper.rb +2 -0
- metadata +16 -2
@@ -0,0 +1,493 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema
|
3
|
+
xmlns="https://epbr.digital.communities.gov.uk/xsd/sap"
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
5
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap"
|
6
|
+
elementFormDefault="qualified"
|
7
|
+
attributeFormDefault="unqualified"
|
8
|
+
version="19.0.0"
|
9
|
+
>
|
10
|
+
<xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
|
11
|
+
<xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
|
12
|
+
<xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
|
13
|
+
<xs:complexType name="LZC-Energy-Sources">
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>Details of low and zero carbon energy source(s) for the property, if any.</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
<xs:sequence>
|
18
|
+
<xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" maxOccurs="unbounded">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:element>
|
23
|
+
</xs:sequence>
|
24
|
+
</xs:complexType>
|
25
|
+
<xs:simpleType name="EnergyRatingType">
|
26
|
+
<xs:restriction base="xs:integer">
|
27
|
+
<xs:minInclusive value="0"/>
|
28
|
+
</xs:restriction>
|
29
|
+
</xs:simpleType>
|
30
|
+
<xs:element name="Energy-Assessment" type="Energy-Assessment"/>
|
31
|
+
<xs:complexType name="Energy-Assessment">
|
32
|
+
<xs:annotation>
|
33
|
+
<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.
|
34
|
+
|
35
|
+
The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.
|
36
|
+
</xs:documentation>
|
37
|
+
</xs:annotation>
|
38
|
+
<xs:all>
|
39
|
+
<xs:element name="Assessment-Date" type="xs:date">
|
40
|
+
<xs:annotation>
|
41
|
+
<xs:documentation>Date of assessment.</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
</xs:element>
|
44
|
+
<xs:element name="Property-Summary" type="Property-Summary"/>
|
45
|
+
<xs:element name="Energy-Use" type="Energy-Use">
|
46
|
+
<xs:annotation>
|
47
|
+
<xs:documentation>Calculated results from the energy assessment.</xs:documentation>
|
48
|
+
</xs:annotation>
|
49
|
+
</xs:element>
|
50
|
+
<xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0">
|
51
|
+
<xs:annotation>
|
52
|
+
<xs:documentation>Improvement measures listed on the EPC.</xs:documentation>
|
53
|
+
</xs:annotation>
|
54
|
+
</xs:element>
|
55
|
+
<xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0"/>
|
56
|
+
<xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive" minOccurs="0"/>
|
57
|
+
<xs:element name="Green-Deal-Package" type="Green-Deal-Package" minOccurs="0">
|
58
|
+
<xs:annotation>
|
59
|
+
<xs:documentation>Improvements that can form a Green Deal package</xs:documentation>
|
60
|
+
</xs:annotation>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="Alternative-Improvements" type="Suggested-Improvements" minOccurs="0">
|
63
|
+
<xs:annotation>
|
64
|
+
<xs:documentation>Alternative improvements to some of those given in Suggested-Improvements</xs:documentation>
|
65
|
+
</xs:annotation>
|
66
|
+
</xs:element>
|
67
|
+
<xs:element name="Addendum" type="Addendum" minOccurs="0"/>
|
68
|
+
</xs:all>
|
69
|
+
</xs:complexType>
|
70
|
+
<xs:element name="Property-Summary" type="Property-Summary"/>
|
71
|
+
<xs:complexType name="Property-Summary">
|
72
|
+
<xs:sequence>
|
73
|
+
<xs:element name="Walls" type="PropertySummaryType" maxOccurs="unbounded"/>
|
74
|
+
<xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
|
75
|
+
<xs:element name="Floor" type="PropertySummaryType" maxOccurs="unbounded"/>
|
76
|
+
<xs:element name="Windows" type="PropertySummaryType"/>
|
77
|
+
<xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
|
78
|
+
<xs:element name="Main-Heating-Controls" type="PropertySummaryType" maxOccurs="2"/>
|
79
|
+
<xs:element name="Secondary-Heating" type="PropertySummaryType"/>
|
80
|
+
<xs:element name="Hot-Water" type="PropertySummaryType"/>
|
81
|
+
<xs:element name="Lighting" type="PropertySummaryType"/>
|
82
|
+
<xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0"/>
|
83
|
+
<xs:element name="Has-Fixed-Air-Conditioning" type="xs:boolean" default="false" minOccurs="0">
|
84
|
+
<xs:annotation>
|
85
|
+
<xs:documentation>Fixed air conditioning?</xs:documentation>
|
86
|
+
</xs:annotation>
|
87
|
+
</xs:element>
|
88
|
+
<xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" default="false" minOccurs="0">
|
89
|
+
<xs:annotation>
|
90
|
+
<xs:documentation>Hot water cylinder?</xs:documentation>
|
91
|
+
</xs:annotation>
|
92
|
+
</xs:element>
|
93
|
+
<xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" default="false" minOccurs="0">
|
94
|
+
<xs:annotation>
|
95
|
+
<xs:documentation>Heated separate conservatory?</xs:documentation>
|
96
|
+
</xs:annotation>
|
97
|
+
</xs:element>
|
98
|
+
<xs:element name="Dwelling-Type" type="Sentence" minOccurs="0">
|
99
|
+
<xs:annotation>
|
100
|
+
<xs:documentation>Is a string such as Detached house or Top-floor flat</xs:documentation>
|
101
|
+
</xs:annotation>
|
102
|
+
</xs:element>
|
103
|
+
<xs:element name="Total-Floor-Area" type="xs:positiveInteger" minOccurs="0">
|
104
|
+
<xs:annotation>
|
105
|
+
<xs:documentation>Is a number such as 125</xs:documentation>
|
106
|
+
</xs:annotation>
|
107
|
+
</xs:element>
|
108
|
+
<xs:choice>
|
109
|
+
<xs:element name="Multiple-Glazed-Percentage" type="Percentage">
|
110
|
+
<xs:annotation>
|
111
|
+
<xs:documentation>Fraction of windows that are multiply glazed to nearest 1%.</xs:documentation>
|
112
|
+
</xs:annotation>
|
113
|
+
</xs:element>
|
114
|
+
<xs:element name="Multiple-Glazed-Percentage-NR" type="xs:string" fixed="NR">
|
115
|
+
<xs:annotation>
|
116
|
+
<xs:documentation>For backward compatibility only, do not use.</xs:documentation>
|
117
|
+
</xs:annotation>
|
118
|
+
</xs:element>
|
119
|
+
</xs:choice>
|
120
|
+
<xs:element name="Is-Zero-Carbon-Home" type="xs:boolean" default="false" minOccurs="0">
|
121
|
+
<xs:annotation>
|
122
|
+
<xs:documentation>Is dwelling a Zero Carbon Home?</xs:documentation>
|
123
|
+
</xs:annotation>
|
124
|
+
</xs:element>
|
125
|
+
</xs:sequence>
|
126
|
+
</xs:complexType>
|
127
|
+
<xs:element name="Energy-Use" type="Energy-Use"/>
|
128
|
+
<xs:complexType name="Energy-Use">
|
129
|
+
<xs:annotation>
|
130
|
+
<xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
|
131
|
+
</xs:annotation>
|
132
|
+
<xs:all>
|
133
|
+
<xs:element name="DER" type="xs:decimal" minOccurs="0">
|
134
|
+
<xs:annotation>
|
135
|
+
<xs:documentation>The DER of the Property</xs:documentation>
|
136
|
+
</xs:annotation>
|
137
|
+
</xs:element>
|
138
|
+
<xs:element name="TER" type="xs:decimal" minOccurs="0">
|
139
|
+
<xs:annotation>
|
140
|
+
<xs:documentation>The TER of the Property</xs:documentation>
|
141
|
+
</xs:annotation>
|
142
|
+
</xs:element>
|
143
|
+
<xs:element name="DPER" type="xs:decimal" minOccurs="0">
|
144
|
+
<xs:annotation>
|
145
|
+
<xs:documentation>The DPER of the Property</xs:documentation>
|
146
|
+
</xs:annotation>
|
147
|
+
</xs:element>
|
148
|
+
<xs:element name="TPER" type="xs:decimal" minOccurs="0">
|
149
|
+
<xs:annotation>
|
150
|
+
<xs:documentation>The TPER of the Property</xs:documentation>
|
151
|
+
</xs:annotation>
|
152
|
+
</xs:element>
|
153
|
+
<xs:element name="DFEE" type="xs:decimal" minOccurs="0">
|
154
|
+
<xs:annotation>
|
155
|
+
<xs:documentation>The DFEE of the Property</xs:documentation>
|
156
|
+
</xs:annotation>
|
157
|
+
</xs:element>
|
158
|
+
<xs:element name="TFEE" type="xs:decimal" minOccurs="0">
|
159
|
+
<xs:annotation>
|
160
|
+
<xs:documentation>The TFEE of the Property</xs:documentation>
|
161
|
+
</xs:annotation>
|
162
|
+
</xs:element>
|
163
|
+
<xs:element name="DDER" type="xs:decimal" minOccurs="0">
|
164
|
+
<xs:annotation>
|
165
|
+
<xs:documentation>The Dwelling Delivered Energy Rate of the Property</xs:documentation>
|
166
|
+
</xs:annotation>
|
167
|
+
</xs:element>
|
168
|
+
<xs:element name="TDER" type="xs:decimal" minOccurs="0">
|
169
|
+
<xs:annotation>
|
170
|
+
<xs:documentation>The Target Delivered Energy Rate of the Property</xs:documentation>
|
171
|
+
</xs:annotation>
|
172
|
+
</xs:element>
|
173
|
+
<xs:element name="Energy-Rating-Current" type="EnergyRatingType">
|
174
|
+
<xs:annotation>
|
175
|
+
<xs:documentation>The Current Energy Rating of the Property</xs:documentation>
|
176
|
+
</xs:annotation>
|
177
|
+
</xs:element>
|
178
|
+
<xs:element name="Energy-Rating-Potential" type="EnergyRatingType">
|
179
|
+
<xs:annotation>
|
180
|
+
<xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
|
181
|
+
</xs:annotation>
|
182
|
+
</xs:element>
|
183
|
+
<xs:element name="Energy-Rating-Average" type="EnergyRatingType">
|
184
|
+
<xs:annotation>
|
185
|
+
<xs:documentation>Average SAP rating for the country concerned. 0 if unknown or not applicable</xs:documentation>
|
186
|
+
</xs:annotation>
|
187
|
+
</xs:element>
|
188
|
+
<xs:element name="Environmental-Impact-Current" type="EnergyRatingType">
|
189
|
+
<xs:annotation>
|
190
|
+
<xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
|
191
|
+
</xs:annotation>
|
192
|
+
</xs:element>
|
193
|
+
<xs:element name="Environmental-Impact-Potential" type="EnergyRatingType">
|
194
|
+
<xs:annotation>
|
195
|
+
<xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
|
196
|
+
</xs:annotation>
|
197
|
+
</xs:element>
|
198
|
+
<xs:element name="Energy-Consumption-Current" type="Measurement">
|
199
|
+
<xs:annotation>
|
200
|
+
<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>
|
201
|
+
</xs:annotation>
|
202
|
+
</xs:element>
|
203
|
+
<xs:element name="Energy-Consumption-Potential" type="Measurement">
|
204
|
+
<xs:annotation>
|
205
|
+
<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>
|
206
|
+
</xs:annotation>
|
207
|
+
</xs:element>
|
208
|
+
<xs:element name="CO2-Emissions-Current" type="Measurement">
|
209
|
+
<xs:annotation>
|
210
|
+
<xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
|
211
|
+
</xs:annotation>
|
212
|
+
</xs:element>
|
213
|
+
<xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="Measurement">
|
214
|
+
<xs:annotation>
|
215
|
+
<xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
|
216
|
+
</xs:annotation>
|
217
|
+
</xs:element>
|
218
|
+
<xs:element name="CO2-Emissions-Potential" type="Measurement">
|
219
|
+
<xs:annotation>
|
220
|
+
<xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
|
221
|
+
</xs:annotation>
|
222
|
+
</xs:element>
|
223
|
+
<xs:element name="Lighting-Cost-Current" type="Money">
|
224
|
+
<xs:annotation>
|
225
|
+
<xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
|
226
|
+
</xs:annotation>
|
227
|
+
</xs:element>
|
228
|
+
<xs:element name="Lighting-Cost-Potential" type="Money">
|
229
|
+
<xs:annotation>
|
230
|
+
<xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
|
231
|
+
</xs:annotation>
|
232
|
+
</xs:element>
|
233
|
+
<xs:element name="Heating-Cost-Current" type="Money">
|
234
|
+
<xs:annotation>
|
235
|
+
<xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
|
236
|
+
</xs:annotation>
|
237
|
+
</xs:element>
|
238
|
+
<xs:element name="Heating-Cost-Potential" type="Money">
|
239
|
+
<xs:annotation>
|
240
|
+
<xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
|
241
|
+
</xs:annotation>
|
242
|
+
</xs:element>
|
243
|
+
<xs:element name="Hot-Water-Cost-Current" type="Money">
|
244
|
+
<xs:annotation>
|
245
|
+
<xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
|
246
|
+
</xs:annotation>
|
247
|
+
</xs:element>
|
248
|
+
<xs:element name="Hot-Water-Cost-Potential" type="Money">
|
249
|
+
<xs:annotation>
|
250
|
+
<xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
|
251
|
+
</xs:annotation>
|
252
|
+
</xs:element>
|
253
|
+
</xs:all>
|
254
|
+
</xs:complexType>
|
255
|
+
<xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
|
256
|
+
<xs:complexType name="Suggested-Improvements">
|
257
|
+
<xs:annotation>
|
258
|
+
<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>
|
259
|
+
</xs:annotation>
|
260
|
+
<xs:sequence>
|
261
|
+
<xs:element name="Improvement" type="Improvement" maxOccurs="unbounded"/>
|
262
|
+
</xs:sequence>
|
263
|
+
</xs:complexType>
|
264
|
+
<xs:element name="Improvement" type="Improvement"/>
|
265
|
+
<xs:complexType name="Improvement">
|
266
|
+
<xs:all>
|
267
|
+
<xs:element name="Sequence" type="xs:integer">
|
268
|
+
<xs:annotation>
|
269
|
+
<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.
|
270
|
+
|
271
|
+
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>
|
272
|
+
</xs:annotation>
|
273
|
+
</xs:element>
|
274
|
+
<xs:element name="Improvement-Category" type="RecommendationCategoryCode">
|
275
|
+
<xs:annotation>
|
276
|
+
<xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
|
277
|
+
</xs:annotation>
|
278
|
+
</xs:element>
|
279
|
+
<xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode">
|
280
|
+
<xs:annotation>
|
281
|
+
<xs:documentation>Suggested work to be carried out on the Property to improve its energy efficiency. This should be a enumerated list of acceptable improvements but it hasn't yet been defined.</xs:documentation>
|
282
|
+
</xs:annotation>
|
283
|
+
</xs:element>
|
284
|
+
<xs:element name="Typical-Saving" type="Money">
|
285
|
+
<xs:annotation>
|
286
|
+
<xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out. 0 if not assessed</xs:documentation>
|
287
|
+
</xs:annotation>
|
288
|
+
</xs:element>
|
289
|
+
<xs:element name="Energy-Performance-Rating" type="EnergyRatingType">
|
290
|
+
<xs:annotation>
|
291
|
+
<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>
|
292
|
+
</xs:annotation>
|
293
|
+
</xs:element>
|
294
|
+
<xs:element name="Environmental-Impact-Rating" type="EnergyRatingType">
|
295
|
+
<xs:annotation>
|
296
|
+
<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>
|
297
|
+
</xs:annotation>
|
298
|
+
</xs:element>
|
299
|
+
<xs:element name="Improvement-Details">
|
300
|
+
<xs:complexType>
|
301
|
+
<xs:choice>
|
302
|
+
<xs:element name="Improvement-Texts" type="ImprovementTexts">
|
303
|
+
<xs:annotation>
|
304
|
+
<xs:documentation>For backward compatability only</xs:documentation>
|
305
|
+
</xs:annotation>
|
306
|
+
</xs:element>
|
307
|
+
<xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
|
308
|
+
</xs:choice>
|
309
|
+
</xs:complexType>
|
310
|
+
</xs:element>
|
311
|
+
<xs:element name="Indicative-Cost" type="xs:string" minOccurs="0"/>
|
312
|
+
<xs:element name="Green-Deal-Category" type="GreenDealCategoryCode" minOccurs="0"/>
|
313
|
+
</xs:all>
|
314
|
+
</xs:complexType>
|
315
|
+
<xs:element name="ImprovementTexts" type="ImprovementTexts"/>
|
316
|
+
<xs:complexType name="ImprovementTexts">
|
317
|
+
<xs:sequence>
|
318
|
+
<xs:element name="Improvement-Summary" type="Sentence" minOccurs="0">
|
319
|
+
<xs:annotation>
|
320
|
+
<xs:documentation>A short description of the suggested improvement.</xs:documentation>
|
321
|
+
</xs:annotation>
|
322
|
+
</xs:element>
|
323
|
+
<xs:element name="Improvement-Heading" type="Sentence" minOccurs="0">
|
324
|
+
<xs:annotation>
|
325
|
+
<xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
|
326
|
+
</xs:annotation>
|
327
|
+
</xs:element>
|
328
|
+
<xs:element name="Improvement-Description" type="Sentence">
|
329
|
+
<xs:annotation>
|
330
|
+
<xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
|
331
|
+
</xs:annotation>
|
332
|
+
</xs:element>
|
333
|
+
</xs:sequence>
|
334
|
+
</xs:complexType>
|
335
|
+
<xs:element name="PropertySummaryType" type="PropertySummaryType"/>
|
336
|
+
<xs:complexType name="PropertySummaryType">
|
337
|
+
<xs:all>
|
338
|
+
<xs:element name="Description" type="Sentence" minOccurs="0">
|
339
|
+
<xs:annotation>
|
340
|
+
<xs:documentation>Overall description of the property feature</xs:documentation>
|
341
|
+
</xs:annotation>
|
342
|
+
</xs:element>
|
343
|
+
<xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
|
344
|
+
<xs:annotation>
|
345
|
+
<xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
|
346
|
+
</xs:annotation>
|
347
|
+
</xs:element>
|
348
|
+
<xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
|
349
|
+
<xs:annotation>
|
350
|
+
<xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
|
351
|
+
</xs:annotation>
|
352
|
+
</xs:element>
|
353
|
+
</xs:all>
|
354
|
+
</xs:complexType>
|
355
|
+
<xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive">
|
356
|
+
<xs:annotation>
|
357
|
+
<xs:documentation>Data for RHI</xs:documentation>
|
358
|
+
</xs:annotation>
|
359
|
+
</xs:element>
|
360
|
+
<xs:complexType name="Renewable-Heat-Incentive">
|
361
|
+
<xs:choice>
|
362
|
+
<xs:element name="RHI-New-Dwelling">
|
363
|
+
<xs:complexType>
|
364
|
+
<xs:all>
|
365
|
+
<xs:element name="Space-Heating" type="Measurement">
|
366
|
+
<xs:annotation>
|
367
|
+
<xs:documentation>Space heating requirement.</xs:documentation>
|
368
|
+
</xs:annotation>
|
369
|
+
</xs:element>
|
370
|
+
<xs:element name="Water-Heating" type="Measurement">
|
371
|
+
<xs:annotation>
|
372
|
+
<xs:documentation>Water heating requirement.</xs:documentation>
|
373
|
+
</xs:annotation>
|
374
|
+
</xs:element>
|
375
|
+
</xs:all>
|
376
|
+
</xs:complexType>
|
377
|
+
</xs:element>
|
378
|
+
<xs:element name="RHI-Existing-Dwelling">
|
379
|
+
<xs:complexType>
|
380
|
+
<xs:all>
|
381
|
+
<xs:element name="Space-Heating-Existing-Dwelling" type="Measurement">
|
382
|
+
<xs:annotation>
|
383
|
+
<xs:documentation>Space heating requirement for existing dwelling.</xs:documentation>
|
384
|
+
</xs:annotation>
|
385
|
+
</xs:element>
|
386
|
+
<xs:element name="Space-Heating-With-Loft-Insulation" type="Measurement" minOccurs="0">
|
387
|
+
<xs:annotation>
|
388
|
+
<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>
|
389
|
+
</xs:annotation>
|
390
|
+
</xs:element>
|
391
|
+
<xs:element name="Space-Heating-With-Cavity-Insulation" type="Measurement" minOccurs="0">
|
392
|
+
<xs:annotation>
|
393
|
+
<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>
|
394
|
+
</xs:annotation>
|
395
|
+
</xs:element>
|
396
|
+
<xs:element name="Space-Heating-With-Loft-And-Cavity-Insulation" type="Measurement" minOccurs="0">
|
397
|
+
<xs:annotation>
|
398
|
+
<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>
|
399
|
+
</xs:annotation>
|
400
|
+
</xs:element>
|
401
|
+
<xs:element name="Water-Heating" type="Measurement">
|
402
|
+
<xs:annotation>
|
403
|
+
<xs:documentation>Water heating requirement.</xs:documentation>
|
404
|
+
</xs:annotation>
|
405
|
+
</xs:element>
|
406
|
+
<xs:element name="Impact-Of-Loft-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
|
407
|
+
<xs:annotation>
|
408
|
+
<xs:documentation>Reduction in space heating requirement with loft insulation (as negative value). Omit if not applicable</xs:documentation>
|
409
|
+
</xs:annotation>
|
410
|
+
</xs:element>
|
411
|
+
<xs:element name="Impact-Of-Cavity-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
|
412
|
+
<xs:annotation>
|
413
|
+
<xs:documentation>Reduction in space heating requirement with cavity insulation (as negative value). Omit if not applicable</xs:documentation>
|
414
|
+
</xs:annotation>
|
415
|
+
</xs:element>
|
416
|
+
<xs:element name="Impact-Of-Solid-Wall-Insulation" type="xs:nonPositiveInteger" minOccurs="0">
|
417
|
+
<xs:annotation>
|
418
|
+
<xs:documentation>Reduction in space heating requirement with solid wall insulation (as negative value). Omit if not applicable</xs:documentation>
|
419
|
+
</xs:annotation>
|
420
|
+
</xs:element>
|
421
|
+
</xs:all>
|
422
|
+
</xs:complexType>
|
423
|
+
</xs:element>
|
424
|
+
</xs:choice>
|
425
|
+
</xs:complexType>
|
426
|
+
<xs:element name="Green-Deal-Package" type="Green-Deal-Package"/>
|
427
|
+
<xs:complexType name="Green-Deal-Package">
|
428
|
+
<xs:sequence>
|
429
|
+
<xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement" maxOccurs="unbounded">
|
430
|
+
<xs:annotation>
|
431
|
+
<xs:documentation>Improvements from Suggested-Improvements in the Green Deal package</xs:documentation>
|
432
|
+
</xs:annotation>
|
433
|
+
</xs:element>
|
434
|
+
<xs:element name="Electricity-Saving" type="Money">
|
435
|
+
<xs:annotation>
|
436
|
+
<xs:documentation>Total electricity saving for the package</xs:documentation>
|
437
|
+
</xs:annotation>
|
438
|
+
</xs:element>
|
439
|
+
<xs:element name="Gas-Saving" type="Money">
|
440
|
+
<xs:annotation>
|
441
|
+
<xs:documentation>Total gas saving for the package</xs:documentation>
|
442
|
+
</xs:annotation>
|
443
|
+
</xs:element>
|
444
|
+
<xs:element name="Other-Fuel-Saving" type="Money">
|
445
|
+
<xs:annotation>
|
446
|
+
<xs:documentation>Total other saving for the package</xs:documentation>
|
447
|
+
</xs:annotation>
|
448
|
+
</xs:element>
|
449
|
+
</xs:sequence>
|
450
|
+
</xs:complexType>
|
451
|
+
<xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement"/>
|
452
|
+
<xs:complexType name="Green-Deal-Improvement">
|
453
|
+
<xs:sequence>
|
454
|
+
<xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode"/>
|
455
|
+
<xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
|
456
|
+
</xs:sequence>
|
457
|
+
</xs:complexType>
|
458
|
+
<xs:element name="Addendum" type="Addendum"/>
|
459
|
+
<xs:complexType name="Addendum">
|
460
|
+
<xs:sequence>
|
461
|
+
<xs:element name="Cavity-Fill-Recommended" type="xs:boolean" minOccurs="0">
|
462
|
+
<xs:annotation>
|
463
|
+
<xs:documentation>Cavity fill is recommended</xs:documentation>
|
464
|
+
</xs:annotation>
|
465
|
+
</xs:element>
|
466
|
+
<xs:element name="Stone-Walls" type="xs:boolean" minOccurs="0">
|
467
|
+
<xs:annotation>
|
468
|
+
<xs:documentation>Stone walls present, not insulated</xs:documentation>
|
469
|
+
</xs:annotation>
|
470
|
+
</xs:element>
|
471
|
+
<xs:element name="System-Build" type="xs:boolean" minOccurs="0">
|
472
|
+
<xs:annotation>
|
473
|
+
<xs:documentation>System build present</xs:documentation>
|
474
|
+
</xs:annotation>
|
475
|
+
</xs:element>
|
476
|
+
<xs:element name="Access-Issues" type="xs:boolean" minOccurs="0">
|
477
|
+
<xs:annotation>
|
478
|
+
<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>
|
479
|
+
</xs:annotation>
|
480
|
+
</xs:element>
|
481
|
+
<xs:element name="High-Exposure" type="xs:boolean" minOccurs="0">
|
482
|
+
<xs:annotation>
|
483
|
+
<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>
|
484
|
+
</xs:annotation>
|
485
|
+
</xs:element>
|
486
|
+
<xs:element name="Narrow-Cavities" type="xs:boolean" minOccurs="0">
|
487
|
+
<xs:annotation>
|
488
|
+
<xs:documentation>Dwelling may have narrow cavities. Include only when Cavity-Fill-Recommended is also present</xs:documentation>
|
489
|
+
</xs:annotation>
|
490
|
+
</xs:element>
|
491
|
+
</xs:sequence>
|
492
|
+
</xs:complexType>
|
493
|
+
</xs:schema>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
2
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap" elementFormDefault="qualified"
|
3
|
+
attributeFormDefault="unqualified" version="19.0.0">
|
4
|
+
<xs:element name="ExceptionList">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element maxOccurs="unbounded" name="Exception">
|
8
|
+
<xs:complexType>
|
9
|
+
<xs:all>
|
10
|
+
<xs:element name="ErrorCode" type="xs:int"/>
|
11
|
+
<xs:element name="ErrorMessage" type="xs:string"/>
|
12
|
+
</xs:all>
|
13
|
+
</xs:complexType>
|
14
|
+
</xs:element>
|
15
|
+
</xs:sequence>
|
16
|
+
</xs:complexType>
|
17
|
+
</xs:element>
|
18
|
+
</xs:schema>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
3
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap" elementFormDefault="qualified"
|
4
|
+
attributeFormDefault="unqualified"
|
5
|
+
version="19.0.0"
|
6
|
+
>
|
7
|
+
<xs:element name="Property" type="Property"/>
|
8
|
+
<xs:complexType name="Property">
|
9
|
+
<xs:annotation>
|
10
|
+
<xs:documentation>A discrete identifiable possession, such as a piece of real-estate, to which its owner has legal title. For the Home Information Pack legislation the types of property are restricted to residential properties.
|
11
|
+
|
12
|
+
It should be observed that "a property is a property is a property" and all real-estate properties, whether residential or commercial or whether being sold for the first or the nth time will have a very similar conceptual structure and similar rules and constraints.
|
13
|
+
|
14
|
+
As such the broad description of a Property can be regarded as a framework, containing a set of extension points, that can be expanded as necessary to cover additional detail.
|
15
|
+
</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
<xs:all>
|
18
|
+
<xs:element name="Address" type="AddressType">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>Address for the property.</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:element>
|
23
|
+
<xs:element name="UPRN" type="UPRNType" minOccurs="0">
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
26
|
+
</xs:annotation>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="Site-Reference" type="xs:string" minOccurs="0">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>A site reference</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="Plot-Reference" type="xs:string" minOccurs="0">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>A plot reference</xs:documentation>
|
36
|
+
</xs:annotation>
|
37
|
+
</xs:element>
|
38
|
+
</xs:all>
|
39
|
+
</xs:complexType>
|
40
|
+
<xs:element name="AddressType" type="AddressType"/>
|
41
|
+
<xs:complexType name="AddressType">
|
42
|
+
<xs:annotation>
|
43
|
+
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
44
|
+
|
45
|
+
</xs:documentation>
|
46
|
+
</xs:annotation>
|
47
|
+
<xs:sequence>
|
48
|
+
<xs:element name="Address-Line-1" type="xs:string"/>
|
49
|
+
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
|
50
|
+
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
51
|
+
<xs:element name="Post-Town" type="xs:string"/>
|
52
|
+
<xs:element name="Postcode" type="PostcodeType">
|
53
|
+
<xs:annotation>
|
54
|
+
<xs:documentation>The Postcode for the Address
|
55
|
+
</xs:documentation>
|
56
|
+
</xs:annotation>
|
57
|
+
</xs:element>
|
58
|
+
</xs:sequence>
|
59
|
+
</xs:complexType>
|
60
|
+
<xs:simpleType name="UPRNType">
|
61
|
+
<xs:annotation>
|
62
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
<xs:restriction base="xs:string">
|
65
|
+
<xs:pattern value="[0-9]{10}"/>
|
66
|
+
</xs:restriction>
|
67
|
+
</xs:simpleType>
|
68
|
+
<xs:simpleType name="PostcodeType">
|
69
|
+
<xs:restriction base="xs:string">
|
70
|
+
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
71
|
+
</xs:restriction>
|
72
|
+
</xs:simpleType>
|
73
|
+
</xs:schema>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
3
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap" elementFormDefault="qualified"
|
4
|
+
attributeFormDefault="unqualified" version="19.0.0">
|
5
|
+
<xs:include schemaLocation="AssessorManagement.xsd"/>
|
6
|
+
<xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
|
7
|
+
|
8
|
+
<xs:element name="ReportList">
|
9
|
+
<xs:complexType>
|
10
|
+
<xs:sequence>
|
11
|
+
<xs:element name="Report-Summary" maxOccurs="unbounded">
|
12
|
+
<xs:complexType>
|
13
|
+
<xs:all>
|
14
|
+
<xs:element name="RRN" type="RRNType"/>
|
15
|
+
<xs:element name="Inspection-Date" type="xs:date"/>
|
16
|
+
<xs:element name="HI-Name" type="PersonNameType"/>
|
17
|
+
<xs:element name="HI-Certificate" type="CertificateNumberType"/>
|
18
|
+
<xs:element name="Report-Status" type="ReportStatusCode"/>
|
19
|
+
</xs:all>
|
20
|
+
</xs:complexType>
|
21
|
+
</xs:element>
|
22
|
+
</xs:sequence>
|
23
|
+
</xs:complexType>
|
24
|
+
</xs:element>
|
25
|
+
</xs:schema>
|