epb_view_models 2.2.2 → 2.2.3
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/DECAR-S-7.0/CommonFiles/CommonStructures.xsd +24 -0
- data/api/schemas/xml/DECAR-S-7.0/CommonFiles/Exceptions.xsd +69 -0
- data/api/schemas/xml/DECAR-S-7.0/Messages/LodgeReportRequest.xsd +14 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/BaseDataTypes.xsd +181 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/CEPC-Reports.xsd +66 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/Input-Data.xsd +307 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/Performance-Summary.xsd +105 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/Report-Header.xsd +449 -0
- data/api/schemas/xml/DECAR-S-7.0/Reports/Reported-Data.xsd +403 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/presenter/dec_rr/summary.rb +1 -3
- data/lib/view_model/cepc31/dec_rr.rb +4 -0
- data/lib/view_model/cepc40/dec_rr.rb +4 -0
- data/lib/view_model/cepc50/dec_rr.rb +4 -0
- data/lib/view_model/cepc51/dec_rr.rb +4 -0
- data/lib/view_model/cepc60/dec_rr.rb +4 -0
- data/lib/view_model/cepc70/dec_rr.rb +4 -0
- data/lib/view_model/cepc71/dec_rr.rb +4 -0
- data/lib/view_model/cepc800/dec_rr.rb +4 -0
- data/lib/view_model/cepc_ni800/dec_rr.rb +4 -0
- data/lib/view_model/dec_rr_wrapper.rb +2 -0
- data/lib/view_model/dec_summary_wrapper.rb +2 -0
- data/lib/view_model/dec_wrapper.rb +2 -0
- data/lib/view_model/decar_s_70/common_schema.rb +109 -0
- data/lib/view_model/decar_s_70/dec.rb +235 -0
- data/lib/view_model/decar_s_70/dec_rr.rb +102 -0
- data/lib/view_model/factory.rb +4 -1
- metadata +13 -1
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns="DCLG-CEPC" xmlns:CEPC="DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:UDT="DCLG-CEPC" targetNamespace="DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
|
3
|
+
<xs:include schemaLocation="../Reports/BaseDataTypes.xsd"/>
|
|
4
|
+
<xs:element name="Property-Details" type="Property-Details"/>
|
|
5
|
+
<xs:complexType name="Property-Details">
|
|
6
|
+
<xs:all>
|
|
7
|
+
<xs:element name="Location-Description" type="xs:string" minOccurs="0">
|
|
8
|
+
<xs:annotation>
|
|
9
|
+
<xs:documentation>A list of floors and rooms that describes the Building-Part being assessed b y this report.</xs:documentation>
|
|
10
|
+
</xs:annotation>
|
|
11
|
+
</xs:element>
|
|
12
|
+
<xs:element name="UPRN" type="UPRNType">
|
|
13
|
+
<xs:annotation>
|
|
14
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
</xs:element>
|
|
17
|
+
<xs:element name="Property-Address" type="AddressType">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>The Address of the Property that the Report covers</xs:documentation>
|
|
20
|
+
</xs:annotation>
|
|
21
|
+
</xs:element>
|
|
22
|
+
<xs:element name="Property-Type" type="xs:string">
|
|
23
|
+
<xs:annotation>
|
|
24
|
+
<xs:documentation>Describes the type of Property that is being inspected. This should be the same as the Property-Type recorded in the Property-Details section.</xs:documentation>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
</xs:element>
|
|
27
|
+
<xs:element name="Occupier" type="xs:string" minOccurs="0">
|
|
28
|
+
<xs:annotation>
|
|
29
|
+
<xs:documentation>The name of the Organisation that occupies the Building Part being inspected</xs:documentation>
|
|
30
|
+
</xs:annotation>
|
|
31
|
+
</xs:element>
|
|
32
|
+
<xs:element name="Is-Heritage-Site" type="Flag" minOccurs="0">
|
|
33
|
+
<xs:annotation>
|
|
34
|
+
<xs:documentation>Indicates whether the Property is a Heritage Sitre ("Y") or not.</xs:documentation>
|
|
35
|
+
</xs:annotation>
|
|
36
|
+
</xs:element>
|
|
37
|
+
<xs:element name="Owner" type="xs:string" minOccurs="0">
|
|
38
|
+
<xs:annotation>
|
|
39
|
+
<xs:documentation>The name of the Organisation that owns the Building Part being inspected</xs:documentation>
|
|
40
|
+
</xs:annotation>
|
|
41
|
+
</xs:element>
|
|
42
|
+
</xs:all>
|
|
43
|
+
</xs:complexType>
|
|
44
|
+
<xs:element name="Energy-Assessor" type="Energy-Assessor"/>
|
|
45
|
+
<xs:complexType name="Energy-Assessor">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>
|
|
48
|
+
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.
|
|
49
|
+
</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
<xs:sequence>
|
|
52
|
+
<xs:element name="Certificate-Number" type="CertificateNumberType">
|
|
53
|
+
<xs:annotation>
|
|
54
|
+
<xs:documentation>The unique identifier assigned to the Energy Assessor by the Accreditation Scheme by which they can be identified throughout their membership of the scheme. The Certificate Number is included in the EPC.</xs:documentation>
|
|
55
|
+
</xs:annotation>
|
|
56
|
+
</xs:element>
|
|
57
|
+
<xs:element name="Assessor-Name" type="PersonNameType" minOccurs="0">
|
|
58
|
+
<xs:annotation>
|
|
59
|
+
<xs:documentation>The name by which the Energy Assessor is registered. This is a structured name containing prefix, first name, surname and suffix.</xs:documentation>
|
|
60
|
+
</xs:annotation>
|
|
61
|
+
</xs:element>
|
|
62
|
+
<xs:element name="Name" type="xs:string">
|
|
63
|
+
<xs:annotation>
|
|
64
|
+
<xs:documentation>The name by which the Energy Assessor is registered. This is a structured name containing prefix, first name + surname.</xs:documentation>
|
|
65
|
+
</xs:annotation>
|
|
66
|
+
</xs:element>
|
|
67
|
+
<xs:element name="Accreditation-Scheme-Name" type="xs:string">
|
|
68
|
+
<xs:annotation>
|
|
69
|
+
<xs:documentation>The name of the Accreditation Scheme that certified the Energy Assessor.</xs:documentation>
|
|
70
|
+
</xs:annotation>
|
|
71
|
+
</xs:element>
|
|
72
|
+
<xs:element name="Accreditation-Scheme-Website" type="xs:string" minOccurs="0">
|
|
73
|
+
<xs:annotation>
|
|
74
|
+
<xs:documentation>Website of the Accreditation Scheme that certified the Energy Assessor.</xs:documentation>
|
|
75
|
+
</xs:annotation>
|
|
76
|
+
</xs:element>
|
|
77
|
+
<xs:element name="Trading-Address" type="xs:string" minOccurs="0">
|
|
78
|
+
<xs:annotation>
|
|
79
|
+
<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>
|
|
80
|
+
</xs:annotation>
|
|
81
|
+
</xs:element>
|
|
82
|
+
<xs:element name="Company-Name" type="xs:string" minOccurs="0">
|
|
83
|
+
<xs:annotation>
|
|
84
|
+
<xs:documentation>The Name of the Company that the Energy Assessor is empolyed by.</xs:documentation>
|
|
85
|
+
</xs:annotation>
|
|
86
|
+
</xs:element>
|
|
87
|
+
<xs:element name="Related-Party-Disclosure" type="Sentence" minOccurs="0">
|
|
88
|
+
<xs:annotation>
|
|
89
|
+
<xs:documentation>Any statement that the Energy Assessor might want to make about potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
|
|
90
|
+
</xs:annotation>
|
|
91
|
+
</xs:element>
|
|
92
|
+
<xs:element name="Qualifications" type="AssessorQualificationsCode" minOccurs="0" maxOccurs="unbounded"/>
|
|
93
|
+
<xs:element name="Status" type="EAStatusCode" minOccurs="0">
|
|
94
|
+
<xs:annotation>
|
|
95
|
+
<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>
|
|
96
|
+
</xs:annotation>
|
|
97
|
+
</xs:element>
|
|
98
|
+
<xs:element name="E-Mail" type="xs:string" minOccurs="0">
|
|
99
|
+
<xs:annotation>
|
|
100
|
+
<xs:documentation>Optional e-mail address for the Energy Assessor</xs:documentation>
|
|
101
|
+
</xs:annotation>
|
|
102
|
+
</xs:element>
|
|
103
|
+
<xs:element name="Telephone-Number" type="xs:string" minOccurs="0"/>
|
|
104
|
+
<xs:element name="Base-Postcode-Location" type="PostcodeType" minOccurs="0">
|
|
105
|
+
<xs:annotation>
|
|
106
|
+
<xs:documentation>The full postcode that the Energy Assessor works from.</xs:documentation>
|
|
107
|
+
</xs:annotation>
|
|
108
|
+
</xs:element>
|
|
109
|
+
<xs:element name="Date-Of-Birth" type="xs:date" minOccurs="0"/>
|
|
110
|
+
</xs:sequence>
|
|
111
|
+
</xs:complexType>
|
|
112
|
+
<xs:element name="Calculation-Details" type="Calculation-Details"/>
|
|
113
|
+
<xs:complexType name="Calculation-Details">
|
|
114
|
+
<xs:all>
|
|
115
|
+
<xs:element name="Methodology" type="xs:string" minOccurs="0">
|
|
116
|
+
<xs:annotation>
|
|
117
|
+
<xs:documentation>Methodology</xs:documentation>
|
|
118
|
+
</xs:annotation>
|
|
119
|
+
</xs:element>
|
|
120
|
+
<xs:element name="Calculation-Tool" type="xs:string">
|
|
121
|
+
<xs:annotation>
|
|
122
|
+
<xs:documentation>Calculation Tool used</xs:documentation>
|
|
123
|
+
</xs:annotation>
|
|
124
|
+
</xs:element>
|
|
125
|
+
<xs:element name="Reading-Type" type="ConsumptionReadingType" minOccurs="0">
|
|
126
|
+
<xs:annotation>
|
|
127
|
+
<xs:documentation>Indicates whether Estimated or actual readings were used to perform the energy calculations</xs:documentation>
|
|
128
|
+
</xs:annotation>
|
|
129
|
+
</xs:element>
|
|
130
|
+
<xs:element name="Assessor-Knowledge" type="xs:string" minOccurs="0">
|
|
131
|
+
<xs:annotation>
|
|
132
|
+
<xs:documentation>Description of any knowledge the Energy Assessor had of the building prior to inspection.</xs:documentation>
|
|
133
|
+
</xs:annotation>
|
|
134
|
+
</xs:element>
|
|
135
|
+
<xs:element name="Inspection-Type" type="InspectionTypeCode" minOccurs="0">
|
|
136
|
+
<xs:annotation>
|
|
137
|
+
<xs:documentation>The type oif inspection that was carried out e.g. Physical or Desk-Based</xs:documentation>
|
|
138
|
+
</xs:annotation>
|
|
139
|
+
</xs:element>
|
|
140
|
+
<xs:element name="Output-Engine" type="xs:string" minOccurs="0">
|
|
141
|
+
<xs:annotation>
|
|
142
|
+
<xs:documentation>Output engine and version used</xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
</xs:element>
|
|
145
|
+
</xs:all>
|
|
146
|
+
</xs:complexType>
|
|
147
|
+
<xs:simpleType name="EAStatusCode">
|
|
148
|
+
<xs:restriction base="xs:string">
|
|
149
|
+
<xs:enumeration value="Inactive">
|
|
150
|
+
<xs:annotation>
|
|
151
|
+
<xs:documentation>Inactive</xs:documentation>
|
|
152
|
+
</xs:annotation>
|
|
153
|
+
</xs:enumeration>
|
|
154
|
+
<xs:enumeration value="Registered">
|
|
155
|
+
<xs:annotation>
|
|
156
|
+
<xs:documentation>Registered</xs:documentation>
|
|
157
|
+
</xs:annotation>
|
|
158
|
+
</xs:enumeration>
|
|
159
|
+
<xs:enumeration value="Struck-Off">
|
|
160
|
+
<xs:annotation>
|
|
161
|
+
<xs:documentation>Struck Off</xs:documentation>
|
|
162
|
+
</xs:annotation>
|
|
163
|
+
</xs:enumeration>
|
|
164
|
+
<xs:enumeration value="Suspended">
|
|
165
|
+
<xs:annotation>
|
|
166
|
+
<xs:documentation>Suspended</xs:documentation>
|
|
167
|
+
</xs:annotation>
|
|
168
|
+
</xs:enumeration>
|
|
169
|
+
</xs:restriction>
|
|
170
|
+
</xs:simpleType>
|
|
171
|
+
<xs:simpleType name="ConsumptionReadingType">
|
|
172
|
+
<xs:restriction base="xs:string">
|
|
173
|
+
<xs:enumeration value="Estimated"/>
|
|
174
|
+
<xs:enumeration value="Actual"/>
|
|
175
|
+
</xs:restriction>
|
|
176
|
+
</xs:simpleType>
|
|
177
|
+
<xs:simpleType name="InspectionTypeCode">
|
|
178
|
+
<xs:annotation>
|
|
179
|
+
<xs:documentation>Indicates the type of inspection the Energy Assessor carrioed out to poroduce the report e.g. Physical inspection or Desk-Based (off-plan) inspection</xs:documentation>
|
|
180
|
+
</xs:annotation>
|
|
181
|
+
<xs:restriction base="xs:string">
|
|
182
|
+
<xs:enumeration value="Physical">
|
|
183
|
+
<xs:annotation>
|
|
184
|
+
<xs:documentation>A Physical Inspection was carried out</xs:documentation>
|
|
185
|
+
</xs:annotation>
|
|
186
|
+
</xs:enumeration>
|
|
187
|
+
<xs:enumeration value="Desk">
|
|
188
|
+
<xs:annotation>
|
|
189
|
+
<xs:documentation>A desk-based (off-plan) inspection was carried out</xs:documentation>
|
|
190
|
+
</xs:annotation>
|
|
191
|
+
</xs:enumeration>
|
|
192
|
+
</xs:restriction>
|
|
193
|
+
</xs:simpleType>
|
|
194
|
+
<xs:simpleType name="PostcodeType">
|
|
195
|
+
<xs:restriction base="xs:string">
|
|
196
|
+
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
|
197
|
+
</xs:restriction>
|
|
198
|
+
</xs:simpleType>
|
|
199
|
+
<xs:simpleType name="UPRNType">
|
|
200
|
+
<xs:annotation>
|
|
201
|
+
<xs:documentation>EST Unique Property Reference Number</xs:documentation>
|
|
202
|
+
</xs:annotation>
|
|
203
|
+
<xs:restriction base="xs:string">
|
|
204
|
+
<xs:pattern value="[0-9]{10}"/>
|
|
205
|
+
</xs:restriction>
|
|
206
|
+
</xs:simpleType>
|
|
207
|
+
<xs:simpleType name="AssessorQualificationsCode">
|
|
208
|
+
<xs:annotation>
|
|
209
|
+
<xs:documentation>The types of qualificatiosn the Energy assessor may have - these indicates the types and complexity of reports the EA may produce.</xs:documentation>
|
|
210
|
+
</xs:annotation>
|
|
211
|
+
<xs:restriction base="xs:string">
|
|
212
|
+
<xs:enumeration value="DEC">
|
|
213
|
+
<xs:annotation>
|
|
214
|
+
<xs:documentation>Display Energy Certificate</xs:documentation>
|
|
215
|
+
</xs:annotation>
|
|
216
|
+
</xs:enumeration>
|
|
217
|
+
<xs:enumeration value="NOS3">
|
|
218
|
+
<xs:annotation>
|
|
219
|
+
<xs:documentation>Display Energy Certificate NOS level 3 </xs:documentation>
|
|
220
|
+
</xs:annotation>
|
|
221
|
+
</xs:enumeration>
|
|
222
|
+
<xs:enumeration value="NOS4">
|
|
223
|
+
<xs:annotation>
|
|
224
|
+
<xs:documentation>Display Energy Certificate NOS level 4</xs:documentation>
|
|
225
|
+
</xs:annotation>
|
|
226
|
+
</xs:enumeration>
|
|
227
|
+
<xs:enumeration value="NOS5">
|
|
228
|
+
<xs:annotation>
|
|
229
|
+
<xs:documentation>Display Energy Certificate NOS level 5</xs:documentation>
|
|
230
|
+
</xs:annotation>
|
|
231
|
+
</xs:enumeration>
|
|
232
|
+
<xs:enumeration value="SP3">
|
|
233
|
+
<xs:annotation>
|
|
234
|
+
<xs:documentation>Simple Packaged level 3</xs:documentation>
|
|
235
|
+
</xs:annotation>
|
|
236
|
+
</xs:enumeration>
|
|
237
|
+
<xs:enumeration value="CC4">
|
|
238
|
+
<xs:annotation>
|
|
239
|
+
<xs:documentation>Complexed Central level 4</xs:documentation>
|
|
240
|
+
</xs:annotation>
|
|
241
|
+
</xs:enumeration>
|
|
242
|
+
</xs:restriction>
|
|
243
|
+
</xs:simpleType>
|
|
244
|
+
<xs:simpleType name="ReportTypeCode">
|
|
245
|
+
<xs:restriction base="xs:string">
|
|
246
|
+
<xs:enumeration value="1">
|
|
247
|
+
<xs:annotation>
|
|
248
|
+
<xs:documentation>Display Energy Certificate</xs:documentation>
|
|
249
|
+
</xs:annotation>
|
|
250
|
+
</xs:enumeration>
|
|
251
|
+
<xs:enumeration value="2">
|
|
252
|
+
<xs:annotation>
|
|
253
|
+
<xs:documentation>Advisory Report</xs:documentation>
|
|
254
|
+
</xs:annotation>
|
|
255
|
+
</xs:enumeration>
|
|
256
|
+
<xs:enumeration value="3">
|
|
257
|
+
<xs:annotation>
|
|
258
|
+
<xs:documentation>Energy Performance Certificate</xs:documentation>
|
|
259
|
+
</xs:annotation>
|
|
260
|
+
</xs:enumeration>
|
|
261
|
+
<xs:enumeration value="4">
|
|
262
|
+
<xs:annotation>
|
|
263
|
+
<xs:documentation>Recommendations Report</xs:documentation>
|
|
264
|
+
</xs:annotation>
|
|
265
|
+
</xs:enumeration>
|
|
266
|
+
<xs:enumeration value="5">
|
|
267
|
+
<xs:annotation>
|
|
268
|
+
<xs:documentation>Air Conditioning Inspection Report</xs:documentation>
|
|
269
|
+
</xs:annotation>
|
|
270
|
+
</xs:enumeration>
|
|
271
|
+
<xs:enumeration value="6">
|
|
272
|
+
<xs:annotation>
|
|
273
|
+
<xs:documentation>Air Conditioning Inspection Certificate</xs:documentation>
|
|
274
|
+
</xs:annotation>
|
|
275
|
+
</xs:enumeration>
|
|
276
|
+
</xs:restriction>
|
|
277
|
+
</xs:simpleType>
|
|
278
|
+
<xs:simpleType name="ReportStatusCode">
|
|
279
|
+
<xs:restriction base="xs:string">
|
|
280
|
+
<xs:enumeration value="cancelled">
|
|
281
|
+
<xs:annotation>
|
|
282
|
+
<xs:documentation>Cancelled</xs:documentation>
|
|
283
|
+
</xs:annotation>
|
|
284
|
+
</xs:enumeration>
|
|
285
|
+
<xs:enumeration value="entered">
|
|
286
|
+
<xs:annotation>
|
|
287
|
+
<xs:documentation>entered on the register</xs:documentation>
|
|
288
|
+
</xs:annotation>
|
|
289
|
+
</xs:enumeration>
|
|
290
|
+
<xs:enumeration value="appeal">
|
|
291
|
+
<xs:annotation>
|
|
292
|
+
<xs:documentation>under appeal</xs:documentation>
|
|
293
|
+
</xs:annotation>
|
|
294
|
+
</xs:enumeration>
|
|
295
|
+
<xs:enumeration value="removed">
|
|
296
|
+
<xs:annotation>
|
|
297
|
+
<xs:documentation>removed</xs:documentation>
|
|
298
|
+
</xs:annotation>
|
|
299
|
+
</xs:enumeration>
|
|
300
|
+
<xs:enumeration value="rejected">
|
|
301
|
+
<xs:annotation>
|
|
302
|
+
<xs:documentation>rejected</xs:documentation>
|
|
303
|
+
</xs:annotation>
|
|
304
|
+
</xs:enumeration>
|
|
305
|
+
</xs:restriction>
|
|
306
|
+
</xs:simpleType>
|
|
307
|
+
<xs:simpleType name="BuildingComplexityType">
|
|
308
|
+
<xs:restriction base="xs:string">
|
|
309
|
+
<xs:enumeration value="Level 3">
|
|
310
|
+
<xs:annotation>
|
|
311
|
+
<xs:documentation>Building Level = 3</xs:documentation>
|
|
312
|
+
</xs:annotation>
|
|
313
|
+
</xs:enumeration>
|
|
314
|
+
<xs:enumeration value="Level 4">
|
|
315
|
+
<xs:annotation>
|
|
316
|
+
<xs:documentation>Building Level = 4</xs:documentation>
|
|
317
|
+
</xs:annotation>
|
|
318
|
+
</xs:enumeration>
|
|
319
|
+
<xs:enumeration value="Level 5">
|
|
320
|
+
<xs:annotation>
|
|
321
|
+
<xs:documentation>Building Level = 5</xs:documentation>
|
|
322
|
+
</xs:annotation>
|
|
323
|
+
</xs:enumeration>
|
|
324
|
+
</xs:restriction>
|
|
325
|
+
</xs:simpleType>
|
|
326
|
+
<xs:element name="AddressType" type="AddressType"/>
|
|
327
|
+
<xs:complexType name="AddressType">
|
|
328
|
+
<xs:annotation>
|
|
329
|
+
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
|
330
|
+
|
|
331
|
+
</xs:documentation>
|
|
332
|
+
</xs:annotation>
|
|
333
|
+
<xs:sequence>
|
|
334
|
+
<xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
|
|
335
|
+
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0">
|
|
336
|
+
<xs:annotation>
|
|
337
|
+
<xs:documentation>The District part of the Address.
|
|
338
|
+
|
|
339
|
+
A District is an optional sub-part of the Post Town e.g. "Kings Heath" in "Birmingham" or "Ellington" in London.</xs:documentation>
|
|
340
|
+
</xs:annotation>
|
|
341
|
+
</xs:element>
|
|
342
|
+
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
|
343
|
+
<xs:element name="Address-Line-4" type="xs:string" minOccurs="0"/>
|
|
344
|
+
<xs:element name="Post-Town" type="xs:string"/>
|
|
345
|
+
<xs:element name="Postcode" type="PostcodeType">
|
|
346
|
+
<xs:annotation>
|
|
347
|
+
<xs:documentation>The Postcode for the Address
|
|
348
|
+
</xs:documentation>
|
|
349
|
+
</xs:annotation>
|
|
350
|
+
</xs:element>
|
|
351
|
+
</xs:sequence>
|
|
352
|
+
</xs:complexType>
|
|
353
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
|
354
|
+
<xs:complexType name="Report-Header">
|
|
355
|
+
<xs:annotation>
|
|
356
|
+
<xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
|
|
357
|
+
</xs:annotation>
|
|
358
|
+
<xs:all>
|
|
359
|
+
<xs:element name="RRN" type="RRNType">
|
|
360
|
+
<xs:annotation>
|
|
361
|
+
<xs:documentation>
|
|
362
|
+
Report Reference Number is the unique report Identifier that the report will be publicly known by.
|
|
363
|
+
The RRN is allocated to the Report at the point that it is registered and will be algorithmically derived from the natural key characteristics of the Energy Performance Certificate.
|
|
364
|
+
</xs:documentation>
|
|
365
|
+
</xs:annotation>
|
|
366
|
+
</xs:element>
|
|
367
|
+
<xs:element name="Issue-Date" type="xs:date">
|
|
368
|
+
<xs:annotation>
|
|
369
|
+
<xs:documentation>The date that the Energy Assessor completed and issued the report. This will be after the Inspection Date but generally before the Registration Date.</xs:documentation>
|
|
370
|
+
</xs:annotation>
|
|
371
|
+
</xs:element>
|
|
372
|
+
<xs:element name="Report-Type" type="ReportTypeCode">
|
|
373
|
+
<xs:annotation>
|
|
374
|
+
<xs:documentation>The type of Energy Assessment that was carried out.</xs:documentation>
|
|
375
|
+
</xs:annotation>
|
|
376
|
+
</xs:element>
|
|
377
|
+
<xs:element name="Valid-Until" type="xs:date">
|
|
378
|
+
<xs:annotation>
|
|
379
|
+
<xs:documentation>Valid Until</xs:documentation>
|
|
380
|
+
</xs:annotation>
|
|
381
|
+
</xs:element>
|
|
382
|
+
<xs:element name="Related-RRN" type="RRNType" minOccurs="0">
|
|
383
|
+
<xs:annotation>
|
|
384
|
+
<xs:documentation>The RRN of the related report. For an Energy Performance Certificate this is the RRN of the Recommendations Report that was generated at the same time and for a Recommendations Report this is the related Energy Performance Certificate RRN.
|
|
385
|
+
For a Display Energy Certificate this is the Advisory Report RRN that was initially created with the Display Energy Certificate.</xs:documentation>
|
|
386
|
+
</xs:annotation>
|
|
387
|
+
</xs:element>
|
|
388
|
+
<xs:element name="Inspection-Date" type="xs:date">
|
|
389
|
+
<xs:annotation>
|
|
390
|
+
<xs:documentation>The date that the inspection was actually carried out by the Energy Assessor</xs:documentation>
|
|
391
|
+
</xs:annotation>
|
|
392
|
+
</xs:element>
|
|
393
|
+
<xs:element name="Registration-Date" type="xs:date">
|
|
394
|
+
<xs:annotation>
|
|
395
|
+
<xs:documentation>The date that the report was submitted for lodging in the EPC Register.</xs:documentation>
|
|
396
|
+
</xs:annotation>
|
|
397
|
+
</xs:element>
|
|
398
|
+
<xs:element name="Status" type="ReportStatusCode">
|
|
399
|
+
<xs:annotation>
|
|
400
|
+
<xs:documentation>The Status of the Report.
|
|
401
|
+
|
|
402
|
+
A Report can have a number of distinct states depending on whereabouts in its overall lifecycle the report is. The initial state in the register is always "registered" but there may be states prior to this depending on the origin of the report.</xs:documentation>
|
|
403
|
+
</xs:annotation>
|
|
404
|
+
</xs:element>
|
|
405
|
+
<xs:element name="Language-Code" type="LanguageCode">
|
|
406
|
+
<xs:annotation>
|
|
407
|
+
<xs:documentation>The language that the report is written in. </xs:documentation>
|
|
408
|
+
</xs:annotation>
|
|
409
|
+
</xs:element>
|
|
410
|
+
<xs:element name="Building-Complexity" type="BuildingComplexityType" minOccurs="0"/>
|
|
411
|
+
<xs:element name="Energy-Assessor" type="Energy-Assessor"/>
|
|
412
|
+
<xs:element name="Property-Details" type="Property-Details"/>
|
|
413
|
+
<xs:element name="Calculation-Details" type="Calculation-Details"/>
|
|
414
|
+
</xs:all>
|
|
415
|
+
</xs:complexType>
|
|
416
|
+
<xs:simpleType name="CertificateNumberType">
|
|
417
|
+
<xs:annotation>
|
|
418
|
+
<xs:documentation>The Certificate Number is a 10-character fixed-length alphanumeric code consisting of 4 characters identifying the Accreditation Scheme and a 6-digit zero-padded identifier for each Energy Assessor certified by that Accreditation Scheme. For example ABCD987654, XYZ_123456 etc.</xs:documentation>
|
|
419
|
+
</xs:annotation>
|
|
420
|
+
<xs:restriction base="xs:string">
|
|
421
|
+
<xs:minLength value="10"/>
|
|
422
|
+
<xs:maxLength value="10"/>
|
|
423
|
+
<xs:pattern value="[A-Z/_]{4}[0-9]{6}"/>
|
|
424
|
+
</xs:restriction>
|
|
425
|
+
</xs:simpleType>
|
|
426
|
+
<xs:element name="PersonNameType" type="PersonNameType"/>
|
|
427
|
+
<xs:complexType name="PersonNameType">
|
|
428
|
+
<xs:annotation>
|
|
429
|
+
<xs:documentation>A Person Name is a complex structure to capture the separate components of the name for a Person, consisting of:
|
|
430
|
+
* A prefix e.g. "Mr", "Mrs", "Dr" etc.
|
|
431
|
+
* First Name e.g. "John"
|
|
432
|
+
* Middle Initial
|
|
433
|
+
* Surname e.g. "Smith"
|
|
434
|
+
* Suffix e.g. "PhD", "FRICS"
|
|
435
|
+
The First Name and Surname are the only mandatory elements of a name.
|
|
436
|
+
|
|
437
|
+
The name elements can then be combined in a number of different ways to produce different formats appropriate to the output context.
|
|
438
|
+
|
|
439
|
+
Note that all parts of the Persons Name should be stored as uppercase strings because this makes it easier to search and index the names but some components may be converted to mixed case for printing on reports and such like.
|
|
440
|
+
</xs:documentation>
|
|
441
|
+
</xs:annotation>
|
|
442
|
+
<xs:all>
|
|
443
|
+
<xs:element name="Prefix" type="xs:string" minOccurs="0"/>
|
|
444
|
+
<xs:element name="First-Name" type="xs:string" minOccurs="0"/>
|
|
445
|
+
<xs:element name="Surname" type="xs:string" minOccurs="0"/>
|
|
446
|
+
<xs:element name="Suffix" type="xs:string" minOccurs="0"/>
|
|
447
|
+
</xs:all>
|
|
448
|
+
</xs:complexType>
|
|
449
|
+
</xs:schema>
|