epb_view_models 2.0.16 → 2.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/api/schemas/data/orchestrate.json +3 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -0
- data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -0
- data/api/schemas/xml/examples/CEPC-S-7.1(EPC).xml +342 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/view_model/cepc71/common_schema.rb +7 -7
- data/lib/view_model/cepc_s_71/cepc.rb +101 -0
- data/lib/view_model/cepc_wrapper.rb +2 -0
- data/lib/view_model/factory.rb +1 -0
- metadata +13 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c226203d769a89d5204e10d4ecf38742bc8451bf429a5a12862eaca3943f1f6
|
4
|
+
data.tar.gz: 8acc60769ab03a83817bcee1e50f0d992f35b0b2a1472959982f6f703eab9159
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cedb2105d0a4e32bfcc9923a2d98a0b6ac82528fef56c7c5ca2cf15946fc84a16f3c87408e65e7af3f1bfcda1c5fef3a971f0acd963e1c174741181f06cfefe9
|
7
|
+
data.tar.gz: 5d7d5555abe72dbb67269c10705c2f4733d11690edd93a7b99879feac3580a308edbc50480f24c46dd1eef330c9bc8a18cfd52db2246880a0998fe39373f2181
|
@@ -0,0 +1,300 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:UDT="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
4
|
+
xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
5
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
6
|
+
targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
7
|
+
elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
8
|
+
<xs:annotation>
|
9
|
+
<xs:documentation>The purpose of Base Data Type declarations is to provide a point of declaration of all the primitive datatypes that are in use within the domain and can be used to describe the contents of the Business Information Model.
|
10
|
+
|
11
|
+
A significant problem with the XML Schema Definition standard is that it is designed to solve a large number of software implementation problems and so provides an equally large number of datatypes with each datatype describing a variation on a theme.
|
12
|
+
|
13
|
+
For example as well as "number" we also have "short" (with a range of values corresponding to that which may be stored a 16 bit computer word), "long", "int", "integer", "decimal", "double", "byte" and quite a few other number variations. However many of these datatypes are highly-specialized computer-focused definitions that have little or no relevance to the Business stakeholders.
|
14
|
+
|
15
|
+
Most likely the business stakeholders would only recognise a limited number of datatypes - such as String, Date, Time, Integer, Decimal - and some domain-specific ones - such as Money (amount + currency attribute) - and will prefer the model to be restricted to that small set.
|
16
|
+
|
17
|
+
The advantages of defining a set of base data types and gathering them together in a single file are:
|
18
|
+
* It allows documented controls to be placed on the primitive types that are used in any schema.
|
19
|
+
* It will improve consistency of use of primitive types (e.g. consistent use of "integer" rather than "int", "long" etc.) that must be handled by applications
|
20
|
+
* It will improve code reuse.
|
21
|
+
* It allows standard attributes to be added to all elements whilst hiding the detail in a non business definition layer.
|
22
|
+
|
23
|
+
The principle is something like the way datayping is implemented in Java (as well as other programming languages) where every primitive datatype, such as "string", is wrapped by an equivalent complex class such as "String".The Java developer could declare object attributes using the "string" primitive but this isn't regarded as good practice. By using the "pfdt:string" class instead they are protected from physical changes to the implementation of "string" and also gain an extension point where additional behaviour not supported by the primitive datatype can be defined.
|
24
|
+
|
25
|
+
The declarations in this file underpin the User Defined Types, Message Infrastructure and Business Entity Template declarations. </xs:documentation>
|
26
|
+
</xs:annotation>
|
27
|
+
<xs:simpleType name="Percentage">
|
28
|
+
<xs:restriction base="xs:decimal">
|
29
|
+
<xs:maxInclusive value="100"/>
|
30
|
+
<xs:minInclusive value="0"/>
|
31
|
+
</xs:restriction>
|
32
|
+
</xs:simpleType>
|
33
|
+
<xs:element name="Money" type="Money"/>
|
34
|
+
<xs:complexType name="Money">
|
35
|
+
<xs:annotation>
|
36
|
+
<xs:documentation>Extension of a Decimal value for use with monetary values where a currency code needs to
|
37
|
+
be specified.
|
38
|
+
|
39
|
+
The currency code is actually metadata about the value so, in line with good XML practice, the Currency Code is declared as an XML-Attribute of the Money datatype rather than as a separate XML-Element.
|
40
|
+
|
41
|
+
The currency attribute should then include a list of valid currencies codes that are supported.</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
<xs:simpleContent>
|
44
|
+
<xs:extension base="xs:decimal">
|
45
|
+
<xs:attribute name="currency" type="xs:string" use="optional"/>
|
46
|
+
</xs:extension>
|
47
|
+
</xs:simpleContent>
|
48
|
+
</xs:complexType>
|
49
|
+
<xs:simpleType name="Count">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation>A count of the number of occurrences of something - must therefore be >=0. This is the functional equivalent of the XML nonNegativeInteger datatype.</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
<xs:restriction base="xs:integer"/>
|
54
|
+
</xs:simpleType>
|
55
|
+
<xs:element name="Classifier" type="Classifier"/>
|
56
|
+
<xs:complexType name="Classifier">
|
57
|
+
<xs:annotation>
|
58
|
+
<xs:documentation>A Classifier is an extended datatype used as the basis for a data-item whose allowed values are restricted to a pre-defined set of Classifiers or Enumerated Codes.
|
59
|
+
|
60
|
+
Classifier should never actually be used as the datatype for any data-item in a finished data model because a specific Enumerated Domain should be declared for defining the specific values in the domain. However it is acceptable in an incomplete model where definition of the domain has yet to be completed.</xs:documentation>
|
61
|
+
</xs:annotation>
|
62
|
+
<xs:all/>
|
63
|
+
<xs:attribute name="pid" type="xs:string" use="required"/>
|
64
|
+
</xs:complexType>
|
65
|
+
<xs:element name="Reference" type="Reference"/>
|
66
|
+
<xs:complexType name="Reference">
|
67
|
+
<xs:annotation>
|
68
|
+
<xs:documentation>The Reference Data Type is any association between two Business Entities (or their sub-
|
69
|
+
components). In order to be consistent across the entire dataset all references contain the ID of the thing being referenced and the value actually assigned to the element is the 'display value'. The type of reference is derived from the underlying data model
|
70
|
+
|
71
|
+
This has a shortcoming in that we can't support multi-value keys using this datatype. However
|
72
|
+
I'm reluctant to extend the datatype to include the ID as a nested element because it becomes very cumbersome to use. Instead, in all likelihood, the Primary Key to any entity in a data processing application is likely to be a single-value, system-generated key so we're imposing that restriction here as well.</xs:documentation>
|
73
|
+
</xs:annotation>
|
74
|
+
<xs:all/>
|
75
|
+
</xs:complexType>
|
76
|
+
<xs:simpleType name="Measurement">
|
77
|
+
<xs:annotation>
|
78
|
+
<xs:documentation>A measurement of something such as a length or area. All measurements are to 2 decimal places and must be positive.</xs:documentation>
|
79
|
+
</xs:annotation>
|
80
|
+
<xs:restriction base="xs:decimal"/>
|
81
|
+
</xs:simpleType>
|
82
|
+
<xs:element name="IDString" type="IDString"/>
|
83
|
+
<xs:complexType name="IDString">
|
84
|
+
<xs:annotation>
|
85
|
+
<xs:documentation>A string containing a unique identifier for something.
|
86
|
+
|
87
|
+
The underlying assumption is that each instance of a class or entity will have a unique identifier assigned to it which can then be assigned to any referencing entity as a reference to the entity instance.
|
88
|
+
|
89
|
+
This is a very similar concept to XML ID datatype but is locally defined because of the need to extend the datatype with domain specific attributes.</xs:documentation>
|
90
|
+
</xs:annotation>
|
91
|
+
<xs:simpleContent>
|
92
|
+
<xs:extension base="xs:string"/>
|
93
|
+
</xs:simpleContent>
|
94
|
+
</xs:complexType>
|
95
|
+
<xs:simpleType name="NumericString">
|
96
|
+
<xs:annotation>
|
97
|
+
<xs:documentation>A Numeric String is a string based datatype for representing strings, such as telephone numbers and IP addresses, that are limited to the numeric character-set.
|
98
|
+
</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
<xs:restriction base="xs:string">
|
101
|
+
<xs:pattern value="[0-9\-\.\+]+"/>
|
102
|
+
</xs:restriction>
|
103
|
+
</xs:simpleType>
|
104
|
+
<xs:simpleType name="Flag">
|
105
|
+
<xs:annotation>
|
106
|
+
<xs:documentation>The Boolean datatype is a redefinition of the XML Schema defined "Boolean". The XSD version is a logical True / False datatype whereas from a data processing perspective it is more likely to be a string based Y/N value. This could be seen as an Enumerated Domain but "Boolean" is so common that it makes more sense to be a base datatype.
|
107
|
+
</xs:documentation>
|
108
|
+
</xs:annotation>
|
109
|
+
<xs:restriction base="xs:string">
|
110
|
+
<xs:enumeration value="Y">
|
111
|
+
<xs:annotation>
|
112
|
+
<xs:documentation>Yes</xs:documentation>
|
113
|
+
</xs:annotation>
|
114
|
+
</xs:enumeration>
|
115
|
+
<xs:enumeration value="N">
|
116
|
+
<xs:annotation>
|
117
|
+
<xs:documentation>No</xs:documentation>
|
118
|
+
</xs:annotation>
|
119
|
+
</xs:enumeration>
|
120
|
+
</xs:restriction>
|
121
|
+
</xs:simpleType>
|
122
|
+
<xs:simpleType name="LanguageCode">
|
123
|
+
<xs:restriction base="xs:string">
|
124
|
+
<xs:enumeration value="1">
|
125
|
+
<xs:annotation>
|
126
|
+
<xs:documentation>English</xs:documentation>
|
127
|
+
</xs:annotation>
|
128
|
+
</xs:enumeration>
|
129
|
+
<xs:enumeration value="2">
|
130
|
+
<xs:annotation>
|
131
|
+
<xs:documentation>Welsh</xs:documentation>
|
132
|
+
</xs:annotation>
|
133
|
+
</xs:enumeration>
|
134
|
+
</xs:restriction>
|
135
|
+
</xs:simpleType>
|
136
|
+
<xs:element name="Sentence" type="Sentence"/>
|
137
|
+
<xs:complexType name="Sentence">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation>String value with a language code for natural-language text.</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
<xs:simpleContent>
|
142
|
+
<xs:extension base="xs:string">
|
143
|
+
<xs:attribute name="language" type="LanguageCode" use="optional">
|
144
|
+
<xs:annotation>
|
145
|
+
<xs:documentation>Identifies the language that the sentence is recorded in.</xs:documentation>
|
146
|
+
</xs:annotation>
|
147
|
+
</xs:attribute>
|
148
|
+
</xs:extension>
|
149
|
+
</xs:simpleContent>
|
150
|
+
</xs:complexType>
|
151
|
+
<xs:simpleType name="ExtendedBoolean">
|
152
|
+
<xs:annotation>
|
153
|
+
<xs:documentation>An extended boolean type that also allows 'unknown' as a value.</xs:documentation>
|
154
|
+
</xs:annotation>
|
155
|
+
<xs:restriction base="xs:token">
|
156
|
+
<xs:enumeration value="false"/>
|
157
|
+
<xs:enumeration value="true"/>
|
158
|
+
<xs:enumeration value="unknown"/>
|
159
|
+
</xs:restriction>
|
160
|
+
</xs:simpleType>
|
161
|
+
<xs:simpleType name="YN_Flag">
|
162
|
+
<xs:restriction base="xs:string">
|
163
|
+
<xs:enumeration value="Yes"/>
|
164
|
+
<xs:enumeration value="No"/>
|
165
|
+
</xs:restriction>
|
166
|
+
</xs:simpleType>
|
167
|
+
<xs:simpleType name="ACI-RecommendationCode">
|
168
|
+
<xs:restriction base="xs:string">
|
169
|
+
<xs:enumeration value="OTHER">
|
170
|
+
<xs:annotation>
|
171
|
+
<xs:documentation>OTHER</xs:documentation>
|
172
|
+
</xs:annotation>
|
173
|
+
</xs:enumeration>
|
174
|
+
</xs:restriction>
|
175
|
+
</xs:simpleType>
|
176
|
+
<xs:element name="Flag_With_Note" type="Flag_With_Note"/>
|
177
|
+
<xs:complexType name="Flag_With_Note">
|
178
|
+
<xs:sequence>
|
179
|
+
<xs:element name="Note" type="xs:string" minOccurs="0"/>
|
180
|
+
<xs:element name="Flag" type="YN_Flag"/>
|
181
|
+
<xs:element name="Guidance" type="ACI-Recommendations-List" minOccurs="0"/>
|
182
|
+
</xs:sequence>
|
183
|
+
</xs:complexType>
|
184
|
+
<xs:simpleType name="RRNType">
|
185
|
+
<xs:annotation>
|
186
|
+
<xs:documentation>The Report Reference Number is a 20-digit unique identifier assigned to each Report.
|
187
|
+
|
188
|
+
It is formatted as five blocks of four digits i.e. 9999-9999-9999-9999-9999 and generated by an algorithm described in Appendix A "Report ID Generation" of Section 18 "Transformation Rules" of the Technical Standards.</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
<xs:restriction base="xs:string">
|
191
|
+
<xs:pattern value="[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}"/>
|
192
|
+
</xs:restriction>
|
193
|
+
</xs:simpleType>
|
194
|
+
<xs:element name="ACI-Recommendations-List" type="ACI-Recommendations-List"/>
|
195
|
+
<xs:complexType name="ACI-Recommendations-List">
|
196
|
+
<xs:sequence>
|
197
|
+
<xs:element name="ACI-Recommendation" type="ACI-Recommendation" maxOccurs="unbounded"/>
|
198
|
+
</xs:sequence>
|
199
|
+
</xs:complexType>
|
200
|
+
<xs:element name="ForeignKey" type="ForeignKey"/>
|
201
|
+
<xs:complexType name="ForeignKey">
|
202
|
+
<xs:sequence/>
|
203
|
+
<xs:attribute name="EntityName" type="xs:string" use="required"/>
|
204
|
+
<xs:attribute name="KeyName" type="xs:string" use="optional"/>
|
205
|
+
<xs:attribute name="DomainName" type="xs:string" use="optional"/>
|
206
|
+
</xs:complexType>
|
207
|
+
<xs:element name="ACI-Recommendation" type="ACI-Recommendation"/>
|
208
|
+
<xs:complexType name="ACI-Recommendation">
|
209
|
+
<xs:sequence>
|
210
|
+
<xs:element name="Seq-Number" type="xs:int"/>
|
211
|
+
<xs:element name="Code" type="ACI-RecommendationCode"/>
|
212
|
+
<xs:element name="Text" type="xs:string"/>
|
213
|
+
</xs:sequence>
|
214
|
+
</xs:complexType>
|
215
|
+
<xs:element name="Note" type="Note"/>
|
216
|
+
<xs:complexType name="Note">
|
217
|
+
<xs:sequence>
|
218
|
+
<xs:element name="Note" type="xs:string"/>
|
219
|
+
<xs:element name="Guidance" type="ACI-Recommendations-List" minOccurs="0"/>
|
220
|
+
</xs:sequence>
|
221
|
+
</xs:complexType>
|
222
|
+
<xs:element name="ACRatedOuput" type="ACRatedOuput"/>
|
223
|
+
<xs:complexType name="ACRatedOuput">
|
224
|
+
<xs:choice>
|
225
|
+
<xs:element name="AC-kW-Rating" type="xs:positiveInteger">
|
226
|
+
<xs:annotation>
|
227
|
+
<xs:documentation>Rating in kW</xs:documentation>
|
228
|
+
</xs:annotation>
|
229
|
+
</xs:element>
|
230
|
+
<xs:element name="AC-Rating-Unknown-Flag" type="xs:boolean"/>
|
231
|
+
</xs:choice>
|
232
|
+
</xs:complexType>
|
233
|
+
<xs:simpleType name="ACEstimatedOutput">
|
234
|
+
<xs:restriction base="xs:int">
|
235
|
+
<xs:enumeration value="1">
|
236
|
+
<xs:annotation>
|
237
|
+
<xs:documentation>Below 12kW</xs:documentation>
|
238
|
+
</xs:annotation>
|
239
|
+
</xs:enumeration>
|
240
|
+
<xs:enumeration value="2">
|
241
|
+
<xs:annotation>
|
242
|
+
<xs:documentation>Between 12kW and 250kW</xs:documentation>
|
243
|
+
</xs:annotation>
|
244
|
+
</xs:enumeration>
|
245
|
+
<xs:enumeration value="3">
|
246
|
+
<xs:annotation>
|
247
|
+
<xs:documentation>Greater than 250kW</xs:documentation>
|
248
|
+
</xs:annotation>
|
249
|
+
</xs:enumeration>
|
250
|
+
</xs:restriction>
|
251
|
+
</xs:simpleType>
|
252
|
+
<xs:simpleType name="ACInspectionCommissioned">
|
253
|
+
<xs:restriction base="xs:int">
|
254
|
+
<xs:enumeration value="1">
|
255
|
+
<xs:annotation>
|
256
|
+
<xs:documentation>Yes, inspection completed</xs:documentation>
|
257
|
+
</xs:annotation>
|
258
|
+
</xs:enumeration>
|
259
|
+
<xs:enumeration value="2">
|
260
|
+
<xs:annotation>
|
261
|
+
<xs:documentation>Yes, inspection commissioned</xs:documentation>
|
262
|
+
</xs:annotation>
|
263
|
+
</xs:enumeration>
|
264
|
+
<xs:enumeration value="3">
|
265
|
+
<xs:annotation>
|
266
|
+
<xs:documentation>No inspection completed or commissioned</xs:documentation>
|
267
|
+
</xs:annotation>
|
268
|
+
</xs:enumeration>
|
269
|
+
<xs:enumeration value="4">
|
270
|
+
<xs:annotation>
|
271
|
+
<xs:documentation>Not relevant</xs:documentation>
|
272
|
+
</xs:annotation>
|
273
|
+
</xs:enumeration>
|
274
|
+
<xs:enumeration value="5">
|
275
|
+
<xs:annotation>
|
276
|
+
<xs:documentation>Don't know</xs:documentation>
|
277
|
+
</xs:annotation>
|
278
|
+
</xs:enumeration>
|
279
|
+
</xs:restriction>
|
280
|
+
</xs:simpleType>
|
281
|
+
<xs:simpleType name="DECStatusCode">
|
282
|
+
<xs:restriction base="xs:int">
|
283
|
+
<xs:enumeration value="0">
|
284
|
+
<xs:annotation>
|
285
|
+
<xs:documentation>Standard DEC</xs:documentation>
|
286
|
+
</xs:annotation>
|
287
|
+
</xs:enumeration>
|
288
|
+
<xs:enumeration value="1">
|
289
|
+
<xs:annotation>
|
290
|
+
<xs:documentation>Default DEC</xs:documentation>
|
291
|
+
</xs:annotation>
|
292
|
+
</xs:enumeration>
|
293
|
+
<xs:enumeration value="2">
|
294
|
+
<xs:annotation>
|
295
|
+
<xs:documentation>Asset Rating Only DEC</xs:documentation>
|
296
|
+
</xs:annotation>
|
297
|
+
</xs:enumeration>
|
298
|
+
</xs:restriction>
|
299
|
+
</xs:simpleType>
|
300
|
+
</xs:schema>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
3
|
+
xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
5
|
+
targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
6
|
+
<xs:include schemaLocation="./Reported-Data.xsd"/>
|
7
|
+
<xs:include schemaLocation="./Performance-Summary.xsd"/>
|
8
|
+
<xs:include schemaLocation="./Report-Header.xsd"/>
|
9
|
+
<xs:include schemaLocation="./Input-Data.xsd"/>
|
10
|
+
<xs:element name="LodgementReportRequest" type="LodgementReportRequest" />
|
11
|
+
<xs:complexType name="LodgementReportRequest">
|
12
|
+
<xs:sequence>
|
13
|
+
<xs:element name="Report" type="Report" minOccurs="1" maxOccurs="1" />
|
14
|
+
</xs:sequence>
|
15
|
+
</xs:complexType>
|
16
|
+
<xs:complexType name="Report">
|
17
|
+
<xs:sequence>
|
18
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
19
|
+
<xs:element name="Summary-Of-Performance" type="Summary-Of-Performance" minOccurs="0"/>
|
20
|
+
<xs:element name="Unstructured-Data" type="Unstructured-Data" minOccurs="0"/>
|
21
|
+
<xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
|
22
|
+
<xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
|
23
|
+
<xs:element name="Recommendations-Report" type="Recommendations-Report"/>
|
24
|
+
</xs:sequence>
|
25
|
+
</xs:complexType>
|
26
|
+
<xs:complexType name="Insurance-Details">
|
27
|
+
<xs:annotation>
|
28
|
+
<xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Report.
|
29
|
+
|
30
|
+
A Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
|
31
|
+
* The Energy Assessor has personal Professional Indemnity Insurance and the Report is covered by this.
|
32
|
+
* The Report is covered by an umbrella Professional Indemnity Insurance policy held by the Report Supplier (the employer of the Energy Assessor) that assigned the inspection to the Energy Assessor.
|
33
|
+
* An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Energy Assessors normal Professional Indemnity Insurance policy.
|
34
|
+
|
35
|
+
A Energy Assessor may use any or all of these methods to providing Professional Indemnity Insurance for a Report on a case-by-case basis.
|
36
|
+
</xs:documentation>
|
37
|
+
</xs:annotation>
|
38
|
+
<xs:all>
|
39
|
+
<xs:element name="Insurer" type="xs:string">
|
40
|
+
<xs:annotation>
|
41
|
+
<xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
|
42
|
+
</xs:annotation>
|
43
|
+
</xs:element>
|
44
|
+
<xs:element name="Policy-No" type="xs:string">
|
45
|
+
<xs:annotation>
|
46
|
+
<xs:documentation>The policy number of the insurance policy</xs:documentation>
|
47
|
+
</xs:annotation>
|
48
|
+
</xs:element>
|
49
|
+
<xs:element name="Effective-Date" type="xs:date">
|
50
|
+
<xs:annotation>
|
51
|
+
<xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
</xs:element>
|
54
|
+
<xs:element name="Expiry-Date" type="xs:date">
|
55
|
+
<xs:annotation>
|
56
|
+
<xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
|
57
|
+
</xs:annotation>
|
58
|
+
</xs:element>
|
59
|
+
<xs:element name="PI-Limit" type="xs:decimal">
|
60
|
+
<xs:annotation>
|
61
|
+
<xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
|
62
|
+
</xs:annotation>
|
63
|
+
</xs:element>
|
64
|
+
</xs:all>
|
65
|
+
</xs:complexType>
|
66
|
+
</xs:schema>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
4
|
+
<xs:element name="Input-Data" type="Input-Data"/>
|
5
|
+
<xs:complexType name="Input-Data" abstract="true">
|
6
|
+
<xs:sequence/>
|
7
|
+
</xs:complexType>
|
8
|
+
<xs:element name="Unstructured-Data" type="Unstructured-Data"/>
|
9
|
+
<xs:complexType name="Unstructured-Data">
|
10
|
+
<xs:annotation>
|
11
|
+
<xs:documentation>These are the specific data-items collected by the HI / EA needed to perform the SAP calculation.</xs:documentation>
|
12
|
+
</xs:annotation>
|
13
|
+
<xs:sequence>
|
14
|
+
<xs:element name="Data-Blob" type="Data-Blob" maxOccurs="unbounded"/>
|
15
|
+
</xs:sequence>
|
16
|
+
</xs:complexType>
|
17
|
+
<xs:element name="Data-Blob" type="Data-Blob"/>
|
18
|
+
<xs:complexType name="Data-Blob">
|
19
|
+
<xs:sequence>
|
20
|
+
<xs:element name="File-Location" type="xs:string" minOccurs="0"/>
|
21
|
+
<xs:element name="File-Name" type="xs:string" minOccurs="0"/>
|
22
|
+
<xs:element name="File-Type" type="xs:string" minOccurs="0"/>
|
23
|
+
<xs:element name="Secure-Hash" type="xs:string" minOccurs="0"/>
|
24
|
+
<xs:element name="Data" type="xs:base64Binary" minOccurs="0"/>
|
25
|
+
</xs:sequence>
|
26
|
+
</xs:complexType>
|
27
|
+
<xs:element name="UsableFloorAreaDataType" type="UsableFloorAreaDataType"/>
|
28
|
+
<xs:complexType name="UsableFloorAreaDataType">
|
29
|
+
<xs:all>
|
30
|
+
<xs:element name="Name" type="xs:string" minOccurs="0"/>
|
31
|
+
<xs:element name="Floor-Area" type="xs:decimal" minOccurs="0"/>
|
32
|
+
</xs:all>
|
33
|
+
</xs:complexType>
|
34
|
+
</xs:schema>
|
@@ -0,0 +1,125 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" version="LIG-CEPC-7.0"-->
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
4
|
+
<xs:element name="Summary-Of-Performance" type="Summary-Of-Performance"/>
|
5
|
+
<xs:complexType name="Summary-Of-Performance">
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="Building-Data" type="Building-Data" minOccurs="1" maxOccurs="unbounded"/>
|
8
|
+
</xs:sequence>
|
9
|
+
</xs:complexType>
|
10
|
+
<xs:element name="Building-Data" type="Building-Data"/>
|
11
|
+
<xs:complexType name="Building-Data">
|
12
|
+
<xs:annotation>
|
13
|
+
<xs:documentation>
|
14
|
+
For an EPC created using EPC-Gen Building-Data is fixed at four, which are:- Actual Building, Notional Building, Reference Building and Typical Buidling
|
15
|
+
|
16
|
+
The type of Building Data is indicated by7 the Analysis-Type field.</xs:documentation>
|
17
|
+
</xs:annotation>
|
18
|
+
<xs:all>
|
19
|
+
<xs:element name="Analysis-Type" type="AnalysisTypeCode"/>
|
20
|
+
<xs:element name="Area" type="xs:float"/>
|
21
|
+
<xs:element name="Area-Exterior" type="xs:float"/>
|
22
|
+
<xs:element name="Q50-Infiltration" type="xs:float"/>
|
23
|
+
<xs:element name="Weather" type="xs:string"/>
|
24
|
+
<xs:element name="Building-W-K" type="xs:float"/>
|
25
|
+
<xs:element name="Building-W-M2K" type="xs:float"/>
|
26
|
+
<xs:element name="Building-Alpha" type="xs:float"/>
|
27
|
+
<xs:element name="HVAC-Systems" type="HVAC-Systems"/>
|
28
|
+
<xs:element name="Global-Performance" type="Global-Performance"/>
|
29
|
+
<xs:element name="Activities" type="Activities"/>
|
30
|
+
<xs:element name="Primary-Energy-Indicator" type="xs:integer">
|
31
|
+
<!--
|
32
|
+
<xs:simpleType>
|
33
|
+
<xs:restriction base="xs:integer">
|
34
|
+
<xs:minInclusive value="1"/>
|
35
|
+
</xs:restriction>
|
36
|
+
</xs:simpleType>
|
37
|
+
-->
|
38
|
+
</xs:element>
|
39
|
+
<xs:element name="Approximate-Energy-Use">
|
40
|
+
<xs:simpleType>
|
41
|
+
<xs:annotation>
|
42
|
+
<xs:documentation>Total annual delivered energy consumption, in kWh/m2, inluding any energy consumed by a CHP, if applicable, and net of any energy displaced by it.</xs:documentation>
|
43
|
+
</xs:annotation>
|
44
|
+
<xs:restriction base="xs:integer">
|
45
|
+
<xs:minInclusive value="1"/>
|
46
|
+
</xs:restriction>
|
47
|
+
</xs:simpleType>
|
48
|
+
</xs:element>
|
49
|
+
</xs:all>
|
50
|
+
</xs:complexType>
|
51
|
+
<xs:element name="Activity" type="Activity"/>
|
52
|
+
<xs:complexType name="Activity">
|
53
|
+
<xs:all>
|
54
|
+
<xs:element name="ID" type="xs:long"/>
|
55
|
+
<xs:element name="Area" type="xs:float"/>
|
56
|
+
</xs:all>
|
57
|
+
</xs:complexType>
|
58
|
+
<xs:element name="Activities" type="Activities"/>
|
59
|
+
<xs:complexType name="Activities">
|
60
|
+
<xs:sequence>
|
61
|
+
<xs:element name="Activity" type="Activity" maxOccurs="unbounded"/>
|
62
|
+
</xs:sequence>
|
63
|
+
</xs:complexType>
|
64
|
+
<xs:element name="HVAC-System-Data" type="HVAC-System-Data"/>
|
65
|
+
<xs:complexType name="HVAC-System-Data">
|
66
|
+
<xs:all>
|
67
|
+
<xs:element name="Area" type="xs:float"/>
|
68
|
+
<xs:element name="Heat-Source" type="xs:string"/>
|
69
|
+
<xs:element name="Type" type="xs:string"/>
|
70
|
+
<xs:element name="Fuel-Type" type="xs:string"/>
|
71
|
+
<xs:element name="Cooling-Gen-SEER" type="xs:float"/>
|
72
|
+
<xs:element name="Cooling-SSEER" type="xs:float"/>
|
73
|
+
<xs:element name="Heating-Gen-SEFF" type="xs:float"/>
|
74
|
+
<xs:element name="Heating-SSEFF" type="xs:float"/>
|
75
|
+
<xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
|
76
|
+
<xs:element name="KWH-M2-Cooling" type="xs:float"/>
|
77
|
+
<xs:element name="KWH-M2-Heating" type="xs:float"/>
|
78
|
+
<xs:element name="MJ-M2-Heating-Dem" type="xs:float"/>
|
79
|
+
<xs:element name="MJ-M2-Cooling-Dem" type="xs:float"/>
|
80
|
+
<xs:element name="Activities" type="Activities"/>
|
81
|
+
</xs:all>
|
82
|
+
</xs:complexType>
|
83
|
+
<xs:element name="Global-Performance" type="Global-Performance"/>
|
84
|
+
<xs:complexType name="Global-Performance">
|
85
|
+
<xs:all>
|
86
|
+
<xs:element name="KWH-M2-Cooling" type="xs:float"/>
|
87
|
+
<xs:element name="KWH-M2-Heating" type="xs:float"/>
|
88
|
+
<xs:element name="KWH-M2-Auxiliary" type="xs:float"/>
|
89
|
+
<xs:element name="KWH-M2-Lighting" type="xs:float"/>
|
90
|
+
<xs:element name="KWH-M2-DHW" type="xs:float"/>
|
91
|
+
<xs:element name="KWH-M2-Equipment" type="xs:float"/>
|
92
|
+
<xs:element name="KWH-M2-Natural-Gas" type="xs:float"/>
|
93
|
+
<xs:element name="KWH-M2-Biogas" type="xs:float"/>
|
94
|
+
<xs:element name="KWH-M2-LPG" type="xs:float"/>
|
95
|
+
<xs:element name="KWH-M2-Coal" type="xs:float"/>
|
96
|
+
<xs:element name="KWH-M2-Oil" type="xs:float"/>
|
97
|
+
<xs:element name="KWH-M2-Anthracite" type="xs:float"/>
|
98
|
+
<xs:element name="KWH-M2-Smokeless" type="xs:float"/>
|
99
|
+
<xs:element name="KWH-M2-Biomass" type="xs:float"/>
|
100
|
+
<xs:element name="KWH-M2-Dual-Fuel" type="xs:float"/>
|
101
|
+
<xs:element name="KWH-M2-Supplied" type="xs:float"/>
|
102
|
+
<xs:element name="KWH-M2-Waste-Heat" type="xs:float"/>
|
103
|
+
<xs:element name="KWH-M2-Displaced" type="xs:float"/>
|
104
|
+
<xs:element name="KWH-M2-PVS" type="xs:float"/>
|
105
|
+
<xs:element name="KWH-M2-CHP" type="xs:float"/>
|
106
|
+
<xs:element name="KWH-M2-SES" type="xs:float"/>
|
107
|
+
<xs:element name="KWH-M2-Wind" type="xs:float"/>
|
108
|
+
<xs:element name="KWH-M2-District-Heating" type="xs:float"/>
|
109
|
+
</xs:all>
|
110
|
+
</xs:complexType>
|
111
|
+
<xs:element name="HVAC-Systems" type="HVAC-Systems"/>
|
112
|
+
<xs:complexType name="HVAC-Systems">
|
113
|
+
<xs:sequence>
|
114
|
+
<xs:element name="HVAC-System-Data" type="HVAC-System-Data" maxOccurs="unbounded"/>
|
115
|
+
</xs:sequence>
|
116
|
+
</xs:complexType>
|
117
|
+
<xs:simpleType name="AnalysisTypeCode">
|
118
|
+
<xs:restriction base="xs:string">
|
119
|
+
<xs:enumeration value="ACTUAL"/>
|
120
|
+
<xs:enumeration value="NOTIONAL"/>
|
121
|
+
<xs:enumeration value="REFERENCE"/>
|
122
|
+
<xs:enumeration value="TYPICAL"/>
|
123
|
+
</xs:restriction>
|
124
|
+
</xs:simpleType>
|
125
|
+
</xs:schema>
|