epb_view_models 1.0.29 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,632 @@
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.1.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
16
+ property, if any.
17
+ </xs:documentation>
18
+ </xs:annotation>
19
+ <xs:sequence>
20
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode"
21
+ maxOccurs="unbounded">
22
+ <xs:annotation>
23
+ <xs:documentation>Low and zero carbon energy source(s) for the
24
+ property.
25
+ </xs:documentation>
26
+ </xs:annotation>
27
+ </xs:element>
28
+ </xs:sequence>
29
+ </xs:complexType>
30
+ <xs:simpleType name="EnergyRatingType">
31
+ <xs:restriction base="xs:integer">
32
+ <xs:minInclusive value="0"/>
33
+ </xs:restriction>
34
+ </xs:simpleType>
35
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
36
+ <xs:complexType name="Energy-Assessment">
37
+ <xs:annotation>
38
+ <xs:documentation>Energy Efficiency Assessment Report is an inspection
39
+ report whose purpose is to assess the energy efficiency of the inspected
40
+ property and provide energy ratings for the significant heat-loss
41
+ features of the property.
42
+
43
+ The report also identifies a number of potential improvements that may
44
+ be made to the property in order to increase the energy efficiency.
45
+ </xs:documentation>
46
+ </xs:annotation>
47
+ <xs:all>
48
+ <xs:element name="Assessment-Date" type="xs:date">
49
+ <xs:annotation>
50
+ <xs:documentation>Date of assessment.</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Property-Summary" type="Property-Summary"/>
54
+ <xs:element name="Energy-Use" type="Energy-Use">
55
+ <xs:annotation>
56
+ <xs:documentation>Calculated results from the energy assessment.
57
+ </xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"
61
+ minOccurs="0">
62
+ <xs:annotation>
63
+ <xs:documentation>Improvement measures listed on the EPC.
64
+ </xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"
68
+ minOccurs="0"/>
69
+ <xs:element name="Renewable-Heat-Incentive"
70
+ type="Renewable-Heat-Incentive" minOccurs="0"/>
71
+ <xs:element name="Green-Deal-Package" type="Green-Deal-Package"
72
+ minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>Improvements that can form a Green Deal package
75
+ </xs:documentation>
76
+ </xs:annotation>
77
+ </xs:element>
78
+ <xs:element name="Alternative-Improvements" type="Suggested-Improvements"
79
+ minOccurs="0">
80
+ <xs:annotation>
81
+ <xs:documentation>Alternative improvements to some of those given in
82
+ Suggested-Improvements
83
+ </xs:documentation>
84
+ </xs:annotation>
85
+ </xs:element>
86
+ <xs:element name="Addendum" type="Addendum" minOccurs="0"/>
87
+ </xs:all>
88
+ </xs:complexType>
89
+ <xs:element name="Property-Summary" type="Property-Summary"/>
90
+ <xs:complexType name="Property-Summary">
91
+ <xs:sequence>
92
+ <xs:element name="Walls" type="PropertySummaryType"
93
+ maxOccurs="unbounded"/>
94
+ <xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
95
+ <xs:element name="Floor" type="PropertySummaryType"
96
+ maxOccurs="unbounded"/>
97
+ <xs:element name="Windows" type="PropertySummaryType"/>
98
+ <xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
99
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType"
100
+ maxOccurs="2"/>
101
+ <xs:element name="Secondary-Heating" type="PropertySummaryType"/>
102
+ <xs:element name="Hot-Water" type="PropertySummaryType"/>
103
+ <xs:element name="Lighting" type="PropertySummaryType"/>
104
+ <xs:element name="Air-Tightness" type="PropertySummaryType"
105
+ minOccurs="0"/>
106
+ <xs:element name="Has-Fixed-Air-Conditioning" type="xs:boolean"
107
+ default="false" minOccurs="0">
108
+ <xs:annotation>
109
+ <xs:documentation>Fixed air conditioning?</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean"
113
+ default="false" minOccurs="0">
114
+ <xs:annotation>
115
+ <xs:documentation>Hot water cylinder?</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:element>
118
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean"
119
+ default="false" minOccurs="0">
120
+ <xs:annotation>
121
+ <xs:documentation>Heated separate conservatory?</xs:documentation>
122
+ </xs:annotation>
123
+ </xs:element>
124
+ <xs:element name="Dwelling-Type" type="Sentence" minOccurs="0">
125
+ <xs:annotation>
126
+ <xs:documentation>Is a string such as Detached house or Top-floor
127
+ flat
128
+ </xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ <xs:element name="Total-Floor-Area" type="xs:positiveInteger"
132
+ minOccurs="0">
133
+ <xs:annotation>
134
+ <xs:documentation>Is a number such as 125</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:element>
137
+ <xs:choice>
138
+ <xs:element name="Multiple-Glazed-Percentage" type="Percentage">
139
+ <xs:annotation>
140
+ <xs:documentation>Fraction of windows that are multiply glazed to
141
+ nearest 1%.
142
+ </xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
145
+ <xs:element name="Multiple-Glazed-Percentage-NR" type="xs:string"
146
+ fixed="NR">
147
+ <xs:annotation>
148
+ <xs:documentation>For backward compatibility only, do not use.
149
+ </xs:documentation>
150
+ </xs:annotation>
151
+ </xs:element>
152
+ </xs:choice>
153
+ <xs:element name="Is-Zero-Carbon-Home" type="xs:boolean" default="false"
154
+ minOccurs="0">
155
+ <xs:annotation>
156
+ <xs:documentation>Is dwelling a Zero Carbon Home?</xs:documentation>
157
+ </xs:annotation>
158
+ </xs:element>
159
+ </xs:sequence>
160
+ </xs:complexType>
161
+ <xs:element name="Energy-Use" type="Energy-Use"/>
162
+ <xs:complexType name="Energy-Use">
163
+ <xs:annotation>
164
+ <xs:documentation>Part of an Energy Report summarising the results of the
165
+ various energy calculations made by the Home Inspector.
166
+ </xs:documentation>
167
+ </xs:annotation>
168
+ <xs:all>
169
+ <xs:element name="DER" type="xs:decimal" minOccurs="0">
170
+ <xs:annotation>
171
+ <xs:documentation>The DER of the Property</xs:documentation>
172
+ </xs:annotation>
173
+ </xs:element>
174
+ <xs:element name="TER" type="xs:decimal" minOccurs="0">
175
+ <xs:annotation>
176
+ <xs:documentation>The TER of the Property</xs:documentation>
177
+ </xs:annotation>
178
+ </xs:element>
179
+ <xs:element name="DPER" type="xs:decimal" minOccurs="0">
180
+ <xs:annotation>
181
+ <xs:documentation>The DPER of the Property</xs:documentation>
182
+ </xs:annotation>
183
+ </xs:element>
184
+ <xs:element name="TPER" type="xs:decimal" minOccurs="0">
185
+ <xs:annotation>
186
+ <xs:documentation>The TPER of the Property</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:element>
189
+ <xs:element name="DFEE" type="xs:decimal" minOccurs="0">
190
+ <xs:annotation>
191
+ <xs:documentation>The DFEE of the Property</xs:documentation>
192
+ </xs:annotation>
193
+ </xs:element>
194
+ <xs:element name="TFEE" type="xs:decimal" minOccurs="0">
195
+ <xs:annotation>
196
+ <xs:documentation>The TFEE of the Property</xs:documentation>
197
+ </xs:annotation>
198
+ </xs:element>
199
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType">
200
+ <xs:annotation>
201
+ <xs:documentation>The Current Energy Rating of the Property
202
+ </xs:documentation>
203
+ </xs:annotation>
204
+ </xs:element>
205
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType">
206
+ <xs:annotation>
207
+ <xs:documentation>The overall Energy Rating for the Property being
208
+ assessed.
209
+ </xs:documentation>
210
+ </xs:annotation>
211
+ </xs:element>
212
+ <xs:element name="Energy-Rating-Average" type="EnergyRatingType">
213
+ <xs:annotation>
214
+ <xs:documentation>Average SAP rating for the country concerned. 0 if
215
+ unknown or not applicable
216
+ </xs:documentation>
217
+ </xs:annotation>
218
+ </xs:element>
219
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType">
220
+ <xs:annotation>
221
+ <xs:documentation>The estimated current Environmental Impact Rating of
222
+ the property
223
+ </xs:documentation>
224
+ </xs:annotation>
225
+ </xs:element>
226
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType">
227
+ <xs:annotation>
228
+ <xs:documentation>The estimated potential Environmental Impact Rating
229
+ of the property
230
+ </xs:documentation>
231
+ </xs:annotation>
232
+ </xs:element>
233
+ <xs:element name="Energy-Consumption-Current" type="Measurement">
234
+ <xs:annotation>
235
+ <xs:documentation>Estimated total energy consumption for the Property
236
+ in a 12 month period. Value is Kilowatt Hours per Square Metre
237
+ (kWh/m2)
238
+ </xs:documentation>
239
+ </xs:annotation>
240
+ </xs:element>
241
+ <xs:element name="Energy-Consumption-Potential" type="Measurement">
242
+ <xs:annotation>
243
+ <xs:documentation>Estimated total energy consumption for the Property
244
+ in a 12 month period. Value is Kilowatt Hours per Square Metre
245
+ (kWh/m2)
246
+ </xs:documentation>
247
+ </xs:annotation>
248
+ </xs:element>
249
+ <xs:element name="CO2-Emissions-Current" type="Measurement">
250
+ <xs:annotation>
251
+ <xs:documentation>CO2 emissions per year in tonnes/year.
252
+ </xs:documentation>
253
+ </xs:annotation>
254
+ </xs:element>
255
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area"
256
+ type="Measurement">
257
+ <xs:annotation>
258
+ <xs:documentation>CO2 emissions per square metre floor area per year
259
+ in kg/m².
260
+ </xs:documentation>
261
+ </xs:annotation>
262
+ </xs:element>
263
+ <xs:element name="CO2-Emissions-Potential" type="Measurement">
264
+ <xs:annotation>
265
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2
266
+ emissions produced by the Property in 12 month period.
267
+ </xs:documentation>
268
+ </xs:annotation>
269
+ </xs:element>
270
+ <xs:element name="Lighting-Cost-Current" type="Money">
271
+ <xs:annotation>
272
+ <xs:documentation>The current estimated cost of Lighting for the
273
+ property
274
+ </xs:documentation>
275
+ </xs:annotation>
276
+ </xs:element>
277
+ <xs:element name="Lighting-Cost-Potential" type="Money">
278
+ <xs:annotation>
279
+ <xs:documentation>The current estimated cost of Lighting for the
280
+ property
281
+ </xs:documentation>
282
+ </xs:annotation>
283
+ </xs:element>
284
+ <xs:element name="Heating-Cost-Current" type="Money">
285
+ <xs:annotation>
286
+ <xs:documentation>The current estimated cost of Heating for the
287
+ property
288
+ </xs:documentation>
289
+ </xs:annotation>
290
+ </xs:element>
291
+ <xs:element name="Heating-Cost-Potential" type="Money">
292
+ <xs:annotation>
293
+ <xs:documentation>The current estimated cost of Heating for the
294
+ property
295
+ </xs:documentation>
296
+ </xs:annotation>
297
+ </xs:element>
298
+ <xs:element name="Hot-Water-Cost-Current" type="Money">
299
+ <xs:annotation>
300
+ <xs:documentation>|The current estimated cost of Hot Water for the
301
+ property
302
+ </xs:documentation>
303
+ </xs:annotation>
304
+ </xs:element>
305
+ <xs:element name="Hot-Water-Cost-Potential" type="Money">
306
+ <xs:annotation>
307
+ <xs:documentation>|The current estimated cost of Hot Water for the
308
+ property
309
+ </xs:documentation>
310
+ </xs:annotation>
311
+ </xs:element>
312
+ </xs:all>
313
+ </xs:complexType>
314
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
315
+ <xs:complexType name="Suggested-Improvements">
316
+ <xs:annotation>
317
+ <xs:documentation>Part of an Energy Report that describes the a set of
318
+ improvements that the Home Inspector considers would contribute to the
319
+ overall energy rating of the property.
320
+ </xs:documentation>
321
+ </xs:annotation>
322
+ <xs:sequence>
323
+ <xs:element name="Improvement" type="Improvement" maxOccurs="unbounded"/>
324
+ </xs:sequence>
325
+ </xs:complexType>
326
+ <xs:element name="Improvement" type="Improvement"/>
327
+ <xs:complexType name="Improvement">
328
+ <xs:all>
329
+ <xs:element name="Sequence" type="xs:integer">
330
+ <xs:annotation>
331
+ <xs:documentation>Sequence of the Suggested Improvements within the
332
+ set of Suggested Improvements. This is used to order the
333
+ Recommendations on the output HCR / EPC so that the cumulative
334
+ Ratings make sense.
335
+
336
+ The Improved Energy Ratings that result from carrying out a
337
+ Suggested Improvement are cumulative and assume that the
338
+ improvements have been installed in the order they appear in the
339
+ list. Hence they must be sequenced.
340
+ </xs:documentation>
341
+ </xs:annotation>
342
+ </xs:element>
343
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode">
344
+ <xs:annotation>
345
+ <xs:documentation>The category of improvement. This identifies where
346
+ on the report the recommendation is printed.
347
+ </xs:documentation>
348
+ </xs:annotation>
349
+ </xs:element>
350
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode">
351
+ <xs:annotation>
352
+ <xs:documentation>Suggested work to be carried out on the Property to
353
+ improve its energy efficiency. This should be a enumerated list of
354
+ acceptable improvements but it hasn't yet been defined.
355
+ </xs:documentation>
356
+ </xs:annotation>
357
+ </xs:element>
358
+ <xs:element name="Typical-Saving" type="Money">
359
+ <xs:annotation>
360
+ <xs:documentation>Typical savings (in British Pounds) per year if the
361
+ suggested improvement is carried out. 0 if not assessed
362
+ </xs:documentation>
363
+ </xs:annotation>
364
+ </xs:element>
365
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType">
366
+ <xs:annotation>
367
+ <xs:documentation>The estimated Energy performance rating of the
368
+ Property after the Suggested Improvement has been carried out
369
+ providing any preceding Suggested Improvement has also been carried
370
+ out. 0 if not assessed
371
+ </xs:documentation>
372
+ </xs:annotation>
373
+ </xs:element>
374
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType">
375
+ <xs:annotation>
376
+ <xs:documentation>The estimated Environmental Impact rating of the
377
+ Property after the Suggested Improvement has been carried out
378
+ providing any preceding Suggested Improvement has also been carried
379
+ out. 0 if not assessed
380
+ </xs:documentation>
381
+ </xs:annotation>
382
+ </xs:element>
383
+ <xs:element name="Improvement-Details">
384
+ <xs:complexType>
385
+ <xs:choice>
386
+ <xs:element name="Improvement-Texts" type="ImprovementTexts">
387
+ <xs:annotation>
388
+ <xs:documentation>For backward compatability only
389
+ </xs:documentation>
390
+ </xs:annotation>
391
+ </xs:element>
392
+ <xs:element name="Improvement-Number"
393
+ type="RecommendationSummaryCode"/>
394
+ </xs:choice>
395
+ </xs:complexType>
396
+ </xs:element>
397
+ <xs:element name="Indicative-Cost" type="xs:string" minOccurs="0"/>
398
+ <xs:element name="Green-Deal-Category" type="GreenDealCategoryCode"
399
+ minOccurs="0"/>
400
+ </xs:all>
401
+ </xs:complexType>
402
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
403
+ <xs:complexType name="ImprovementTexts">
404
+ <xs:sequence>
405
+ <xs:element name="Improvement-Summary" type="Sentence" minOccurs="0">
406
+ <xs:annotation>
407
+ <xs:documentation>A short description of the suggested improvement.
408
+ </xs:documentation>
409
+ </xs:annotation>
410
+ </xs:element>
411
+ <xs:element name="Improvement-Heading" type="Sentence" minOccurs="0">
412
+ <xs:annotation>
413
+ <xs:documentation>Text to precede the improvement description. If this
414
+ field is not provided the 'Improvement-Summary' is used instead.
415
+ </xs:documentation>
416
+ </xs:annotation>
417
+ </xs:element>
418
+ <xs:element name="Improvement-Description" type="Sentence">
419
+ <xs:annotation>
420
+ <xs:documentation>Detailed description of the suggested improvement.
421
+ </xs:documentation>
422
+ </xs:annotation>
423
+ </xs:element>
424
+ </xs:sequence>
425
+ </xs:complexType>
426
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
427
+ <xs:complexType name="PropertySummaryType">
428
+ <xs:all>
429
+ <xs:element name="Description" type="Sentence" minOccurs="0">
430
+ <xs:annotation>
431
+ <xs:documentation>Overall description of the property feature
432
+ </xs:documentation>
433
+ </xs:annotation>
434
+ </xs:element>
435
+ <xs:element name="Energy-Efficiency-Rating"
436
+ type="EnergyEfficiencySummaryCode">
437
+ <xs:annotation>
438
+ <xs:documentation>Overall summary of the energy efficiency of the
439
+ property feature.
440
+ </xs:documentation>
441
+ </xs:annotation>
442
+ </xs:element>
443
+ <xs:element name="Environmental-Efficiency-Rating"
444
+ type="EnergyEfficiencySummaryCode">
445
+ <xs:annotation>
446
+ <xs:documentation>Summary of the environmental efficiency of the
447
+ property feature
448
+ </xs:documentation>
449
+ </xs:annotation>
450
+ </xs:element>
451
+ </xs:all>
452
+ </xs:complexType>
453
+ <xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive">
454
+ <xs:annotation>
455
+ <xs:documentation>Data for RHI</xs:documentation>
456
+ </xs:annotation>
457
+ </xs:element>
458
+ <xs:complexType name="Renewable-Heat-Incentive">
459
+ <xs:choice>
460
+ <xs:element name="RHI-New-Dwelling">
461
+ <xs:complexType>
462
+ <xs:all>
463
+ <xs:element name="Space-Heating" type="Measurement">
464
+ <xs:annotation>
465
+ <xs:documentation>Space heating requirement.</xs:documentation>
466
+ </xs:annotation>
467
+ </xs:element>
468
+ <xs:element name="Water-Heating" type="Measurement">
469
+ <xs:annotation>
470
+ <xs:documentation>Water heating requirement.</xs:documentation>
471
+ </xs:annotation>
472
+ </xs:element>
473
+ </xs:all>
474
+ </xs:complexType>
475
+ </xs:element>
476
+ <xs:element name="RHI-Existing-Dwelling">
477
+ <xs:complexType>
478
+ <xs:all>
479
+ <xs:element name="Space-Heating-Existing-Dwelling"
480
+ type="Measurement">
481
+ <xs:annotation>
482
+ <xs:documentation>Space heating requirement for existing
483
+ dwelling.
484
+ </xs:documentation>
485
+ </xs:annotation>
486
+ </xs:element>
487
+ <xs:element name="Space-Heating-With-Loft-Insulation"
488
+ type="Measurement" minOccurs="0">
489
+ <xs:annotation>
490
+ <xs:documentation>Space heating requirement after implementation
491
+ of loft insulation recommendation, omit if loft insulation not
492
+ recommended. For backwards compatibility only, do not use
493
+ </xs:documentation>
494
+ </xs:annotation>
495
+ </xs:element>
496
+ <xs:element name="Space-Heating-With-Cavity-Insulation"
497
+ type="Measurement" minOccurs="0">
498
+ <xs:annotation>
499
+ <xs:documentation>Space heating requirement after implementation
500
+ of cavity insulation recommendation, omit if cavity insulation
501
+ not recommended. For backwards compatibility only, do not use
502
+ </xs:documentation>
503
+ </xs:annotation>
504
+ </xs:element>
505
+ <xs:element name="Space-Heating-With-Loft-And-Cavity-Insulation"
506
+ type="Measurement" minOccurs="0">
507
+ <xs:annotation>
508
+ <xs:documentation>Space heating requirement after implementation
509
+ of loft and cavity insulation recommendations, same as
510
+ existing dwelling if neither is recommended. For backwards
511
+ compatibility only, do not use
512
+ </xs:documentation>
513
+ </xs:annotation>
514
+ </xs:element>
515
+ <xs:element name="Water-Heating" type="Measurement">
516
+ <xs:annotation>
517
+ <xs:documentation>Water heating requirement.</xs:documentation>
518
+ </xs:annotation>
519
+ </xs:element>
520
+ <xs:element name="Impact-Of-Loft-Insulation"
521
+ type="xs:nonPositiveInteger" minOccurs="0">
522
+ <xs:annotation>
523
+ <xs:documentation>Reduction in space heating requirement with
524
+ loft insulation (as negative value). Omit if not applicable
525
+ </xs:documentation>
526
+ </xs:annotation>
527
+ </xs:element>
528
+ <xs:element name="Impact-Of-Cavity-Insulation"
529
+ type="xs:nonPositiveInteger" minOccurs="0">
530
+ <xs:annotation>
531
+ <xs:documentation>Reduction in space heating requirement with
532
+ cavity insulation (as negative value). Omit if not applicable
533
+ </xs:documentation>
534
+ </xs:annotation>
535
+ </xs:element>
536
+ <xs:element name="Impact-Of-Solid-Wall-Insulation"
537
+ type="xs:nonPositiveInteger" minOccurs="0">
538
+ <xs:annotation>
539
+ <xs:documentation>Reduction in space heating requirement with
540
+ solid wall insulation (as negative value). Omit if not
541
+ applicable
542
+ </xs:documentation>
543
+ </xs:annotation>
544
+ </xs:element>
545
+ </xs:all>
546
+ </xs:complexType>
547
+ </xs:element>
548
+ </xs:choice>
549
+ </xs:complexType>
550
+ <xs:element name="Green-Deal-Package" type="Green-Deal-Package"/>
551
+ <xs:complexType name="Green-Deal-Package">
552
+ <xs:sequence>
553
+ <xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement"
554
+ maxOccurs="unbounded">
555
+ <xs:annotation>
556
+ <xs:documentation>Improvements from Suggested-Improvements in the
557
+ Green Deal package
558
+ </xs:documentation>
559
+ </xs:annotation>
560
+ </xs:element>
561
+ <xs:element name="Electricity-Saving" type="Money">
562
+ <xs:annotation>
563
+ <xs:documentation>Total electricity saving for the package
564
+ </xs:documentation>
565
+ </xs:annotation>
566
+ </xs:element>
567
+ <xs:element name="Gas-Saving" type="Money">
568
+ <xs:annotation>
569
+ <xs:documentation>Total gas saving for the package</xs:documentation>
570
+ </xs:annotation>
571
+ </xs:element>
572
+ <xs:element name="Other-Fuel-Saving" type="Money">
573
+ <xs:annotation>
574
+ <xs:documentation>Total other saving for the package
575
+ </xs:documentation>
576
+ </xs:annotation>
577
+ </xs:element>
578
+ </xs:sequence>
579
+ </xs:complexType>
580
+ <xs:element name="Green-Deal-Improvement" type="Green-Deal-Improvement"/>
581
+ <xs:complexType name="Green-Deal-Improvement">
582
+ <xs:sequence>
583
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode"/>
584
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
585
+ </xs:sequence>
586
+ </xs:complexType>
587
+ <xs:element name="Addendum" type="Addendum"/>
588
+ <xs:complexType name="Addendum">
589
+ <xs:sequence>
590
+ <xs:element name="Cavity-Fill-Recommended" type="xs:boolean"
591
+ minOccurs="0">
592
+ <xs:annotation>
593
+ <xs:documentation>Cavity fill is recommended</xs:documentation>
594
+ </xs:annotation>
595
+ </xs:element>
596
+ <xs:element name="Stone-Walls" type="xs:boolean" minOccurs="0">
597
+ <xs:annotation>
598
+ <xs:documentation>Stone walls present, not insulated
599
+ </xs:documentation>
600
+ </xs:annotation>
601
+ </xs:element>
602
+ <xs:element name="System-Build" type="xs:boolean" minOccurs="0">
603
+ <xs:annotation>
604
+ <xs:documentation>System build present</xs:documentation>
605
+ </xs:annotation>
606
+ </xs:element>
607
+ <xs:element name="Access-Issues" type="xs:boolean" minOccurs="0">
608
+ <xs:annotation>
609
+ <xs:documentation>Dwelling has access issues for cavity wall
610
+ insulation. Include only when at least one of
611
+ Cavity-Fill-Recommended, Stone-Walls, System-Build is also present
612
+ </xs:documentation>
613
+ </xs:annotation>
614
+ </xs:element>
615
+ <xs:element name="High-Exposure" type="xs:boolean" minOccurs="0">
616
+ <xs:annotation>
617
+ <xs:documentation>Dwelling may be exposed to wind-driven rain. Include
618
+ only when at least one of Cavity-Fill-Recommended, Stone-Walls,
619
+ System-Build is also present
620
+ </xs:documentation>
621
+ </xs:annotation>
622
+ </xs:element>
623
+ <xs:element name="Narrow-Cavities" type="xs:boolean" minOccurs="0">
624
+ <xs:annotation>
625
+ <xs:documentation>Dwelling may have narrow cavities. Include only when
626
+ Cavity-Fill-Recommended is also present
627
+ </xs:documentation>
628
+ </xs:annotation>
629
+ </xs:element>
630
+ </xs:sequence>
631
+ </xs:complexType>
632
+ </xs:schema>
@@ -0,0 +1,20 @@
1
+ <xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap"
2
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap"
4
+ elementFormDefault="qualified"
5
+ attributeFormDefault="unqualified" version="19.1.0">
6
+ <xs:element name="ExceptionList">
7
+ <xs:complexType>
8
+ <xs:sequence>
9
+ <xs:element maxOccurs="unbounded" name="Exception">
10
+ <xs:complexType>
11
+ <xs:all>
12
+ <xs:element name="ErrorCode" type="xs:int"/>
13
+ <xs:element name="ErrorMessage" type="xs:string"/>
14
+ </xs:all>
15
+ </xs:complexType>
16
+ </xs:element>
17
+ </xs:sequence>
18
+ </xs:complexType>
19
+ </xs:element>
20
+ </xs:schema>