epb_view_models 2.2.17 → 2.2.18
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.0/Reports/BaseDataTypes.xsd +296 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/view_model/cepc_s_70/cepc.rb +184 -0
- data/lib/view_model/cepc_wrapper.rb +2 -0
- data/lib/view_model/factory.rb +1 -0
- metadata +10 -1
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<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" xmlns:UDT="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" elementFormDefault="qualified" version="LIG-CEPC-7.0">
|
|
3
|
+
<!--xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="./SharedDomains.xsd"/-->
|
|
4
|
+
<!--xs:include schemaLocation="./HCR-Domains.xsd"/-->
|
|
5
|
+
<xs:include schemaLocation="./UserManagement.xsd"/>
|
|
6
|
+
<xs:include schemaLocation="./BaseDataTypes.xsd"/>
|
|
7
|
+
<xs:include schemaLocation="./Property.xsd"/>
|
|
8
|
+
<xs:element name="Property-Details" type="Property-Details"/>
|
|
9
|
+
<xs:complexType name="Property-Details"/>
|
|
10
|
+
<xs:element name="AddressType" type="AddressType"/>
|
|
11
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
|
12
|
+
<xs:complexType name="Report-Header">
|
|
13
|
+
<xs:annotation>
|
|
14
|
+
<xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
<xs:sequence>
|
|
17
|
+
<xs:element name="RRN" type="RRNType">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>Report Reference Number is the unique report Identifier that the report will be publicly known by.
|
|
20
|
+
|
|
21
|
+
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 Home Condition Report i.e. The Unique Property Reference Number (UPRN) and Inspection Date.</xs:documentation>
|
|
22
|
+
</xs:annotation>
|
|
23
|
+
</xs:element>
|
|
24
|
+
<xs:element name="Inspection-Date" type="xs:date">
|
|
25
|
+
<xs:annotation>
|
|
26
|
+
<xs:documentation>The date that the inspection was actually carried out by the Home Inspector.</xs:documentation>
|
|
27
|
+
</xs:annotation>
|
|
28
|
+
</xs:element>
|
|
29
|
+
<xs:element name="Report-Type" type="ReportTypeCode">
|
|
30
|
+
<xs:annotation>
|
|
31
|
+
<xs:documentation>The type of Home Inspection that was carried out.
|
|
32
|
+
|
|
33
|
+
Initially the only allowed type will be a Home Condition Report inspection but this may be extended in the future to cover Energy Assessment Only inspections.</xs:documentation>
|
|
34
|
+
</xs:annotation>
|
|
35
|
+
</xs:element>
|
|
36
|
+
<xs:element name="Completion-Date" type="xs:date">
|
|
37
|
+
<xs:annotation>
|
|
38
|
+
<xs:documentation>The date that the Home Inspector completed the report. This will be after the Inspection Date but generally before the Registration Date.</xs:documentation>
|
|
39
|
+
</xs:annotation>
|
|
40
|
+
</xs:element>
|
|
41
|
+
<xs:element name="Registration-Date" type="xs:date">
|
|
42
|
+
<xs:annotation>
|
|
43
|
+
<xs:documentation>The date that the report was submitted to the HCR Registration Organisation for lodging in the HCR Register.</xs:documentation>
|
|
44
|
+
</xs:annotation>
|
|
45
|
+
</xs:element>
|
|
46
|
+
<xs:element name="Status" type="ReportStatusCode">
|
|
47
|
+
<xs:annotation>
|
|
48
|
+
<xs:documentation>The Status of the Report.
|
|
49
|
+
|
|
50
|
+
A Home Condition Report can have a number of distinct states depending on whereabouts in its overall lifecycle the HCR is - see Home Condition Report Statechart for more details.</xs:documentation>
|
|
51
|
+
</xs:annotation>
|
|
52
|
+
</xs:element>
|
|
53
|
+
<xs:element name="Language-Code" type="LanguageCode">
|
|
54
|
+
<xs:annotation>
|
|
55
|
+
<xs:documentation>The language that the report is written in. </xs:documentation>
|
|
56
|
+
</xs:annotation>
|
|
57
|
+
</xs:element>
|
|
58
|
+
<xs:element name="Restricted-Access" type="RestrictedAccessCode">
|
|
59
|
+
<xs:annotation>
|
|
60
|
+
<xs:documentation>Indicates that the Seller wants to restrict access to the Home Condition Report to General Public / Unregistered Users only.
|
|
61
|
+
|
|
62
|
+
Some members of the public have a moral / religious objection to money lending and hence may not want to let Mortgage Lenders have access to the data. When set to "Yes" retrieval of the structured (XML) data will be blocked.
|
|
63
|
+
|
|
64
|
+
However anyone with access to the Report Reference Number (RRN) can retrieve the PDF version of the Home Condition Report via the public access mechanism which cannot be restricted in this way.</xs:documentation>
|
|
65
|
+
</xs:annotation>
|
|
66
|
+
</xs:element>
|
|
67
|
+
<xs:element name="Transaction-Type" type="TransactionType"/>
|
|
68
|
+
<xs:element name="Seller-Commission-Report" type="Flag">
|
|
69
|
+
<xs:annotation>
|
|
70
|
+
<xs:documentation>Indicates that the HCR was commissioned by the Seller of the Property or their Agent. This is required in order to differentiate these reports from Buyer commisioned reports which are not eligible for inclusion in a Home Information Pack</xs:documentation>
|
|
71
|
+
</xs:annotation>
|
|
72
|
+
</xs:element>
|
|
73
|
+
<xs:element name="Property-Type" type="Building-Type">
|
|
74
|
+
<xs:annotation>
|
|
75
|
+
<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>
|
|
76
|
+
</xs:annotation>
|
|
77
|
+
</xs:element>
|
|
78
|
+
<xs:element name="Energy-Assessor" type="Energy-Assessor"/>
|
|
79
|
+
<xs:element name="Property" type="Property"/>
|
|
80
|
+
<xs:element name="Calculation-Details">
|
|
81
|
+
<xs:complexType>
|
|
82
|
+
<xs:sequence>
|
|
83
|
+
<xs:element name="Methodology" type="xs:string"/>
|
|
84
|
+
<xs:element name="Calculation-Tool" type="xs:string"/>
|
|
85
|
+
<xs:element name="Output-Engine" type="xs:string"/>
|
|
86
|
+
<xs:element name="Inspection-Type" type="xs:string"/>
|
|
87
|
+
</xs:sequence>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
</xs:element>
|
|
90
|
+
</xs:sequence>
|
|
91
|
+
</xs:complexType>
|
|
92
|
+
<xs:simpleType name="ReportTypeCode">
|
|
93
|
+
<xs:restriction base="xs:string">
|
|
94
|
+
<xs:enumeration value="3">
|
|
95
|
+
<xs:annotation>
|
|
96
|
+
<xs:documentation>Energy Performance Certificate (Non Domestic)</xs:documentation>
|
|
97
|
+
</xs:annotation>
|
|
98
|
+
</xs:enumeration>
|
|
99
|
+
<xs:enumeration value="4">
|
|
100
|
+
<xs:annotation>
|
|
101
|
+
<xs:documentation>Recommendation Report (Non Domestic)</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
</xs:enumeration>
|
|
104
|
+
</xs:restriction>
|
|
105
|
+
</xs:simpleType>
|
|
106
|
+
<xs:simpleType name="ReportStatusCode">
|
|
107
|
+
<xs:restriction base="xs:string">
|
|
108
|
+
<xs:enumeration value="cancelled">
|
|
109
|
+
<xs:annotation>
|
|
110
|
+
<xs:documentation>Cancelled</xs:documentation>
|
|
111
|
+
</xs:annotation>
|
|
112
|
+
</xs:enumeration>
|
|
113
|
+
<xs:enumeration value="entered">
|
|
114
|
+
<xs:annotation>
|
|
115
|
+
<xs:documentation>entered on the register</xs:documentation>
|
|
116
|
+
</xs:annotation>
|
|
117
|
+
</xs:enumeration>
|
|
118
|
+
<xs:enumeration value="appeal">
|
|
119
|
+
<xs:annotation>
|
|
120
|
+
<xs:documentation>under appeal</xs:documentation>
|
|
121
|
+
</xs:annotation>
|
|
122
|
+
</xs:enumeration>
|
|
123
|
+
<xs:enumeration value="removed">
|
|
124
|
+
<xs:annotation>
|
|
125
|
+
<xs:documentation>removed</xs:documentation>
|
|
126
|
+
</xs:annotation>
|
|
127
|
+
</xs:enumeration>
|
|
128
|
+
<xs:enumeration value="rejected">
|
|
129
|
+
<xs:annotation>
|
|
130
|
+
<xs:documentation>rejected</xs:documentation>
|
|
131
|
+
</xs:annotation>
|
|
132
|
+
</xs:enumeration>
|
|
133
|
+
<xs:enumeration value="under investigation">
|
|
134
|
+
<xs:annotation>
|
|
135
|
+
<xs:documentation>under investigation</xs:documentation>
|
|
136
|
+
</xs:annotation>
|
|
137
|
+
</xs:enumeration>
|
|
138
|
+
<xs:enumeration value="not for issue">
|
|
139
|
+
<xs:annotation>
|
|
140
|
+
<xs:documentation>not for issue</xs:documentation>
|
|
141
|
+
</xs:annotation>
|
|
142
|
+
</xs:enumeration>
|
|
143
|
+
</xs:restriction>
|
|
144
|
+
</xs:simpleType>
|
|
145
|
+
<xs:simpleType name="RestrictedAccessCode">
|
|
146
|
+
<xs:annotation>
|
|
147
|
+
<xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
|
|
148
|
+
</xs:annotation>
|
|
149
|
+
<xs:restriction base="xs:string">
|
|
150
|
+
<xs:enumeration value="0">
|
|
151
|
+
<xs:annotation>
|
|
152
|
+
<xs:documentation>No restriction</xs:documentation>
|
|
153
|
+
</xs:annotation>
|
|
154
|
+
</xs:enumeration>
|
|
155
|
+
<xs:enumeration value="1">
|
|
156
|
+
<xs:annotation>
|
|
157
|
+
<xs:documentation>Exclude mortgage lenders</xs:documentation>
|
|
158
|
+
</xs:annotation>
|
|
159
|
+
</xs:enumeration>
|
|
160
|
+
<xs:enumeration value="2">
|
|
161
|
+
<xs:annotation>
|
|
162
|
+
<xs:documentation>Mortgage lenders only</xs:documentation>
|
|
163
|
+
</xs:annotation>
|
|
164
|
+
</xs:enumeration>
|
|
165
|
+
<xs:enumeration value="4">
|
|
166
|
+
<xs:annotation>
|
|
167
|
+
<xs:documentation>No access allowed</xs:documentation>
|
|
168
|
+
</xs:annotation>
|
|
169
|
+
</xs:enumeration>
|
|
170
|
+
</xs:restriction>
|
|
171
|
+
</xs:simpleType>
|
|
172
|
+
<xs:complexType name="Building-Type">
|
|
173
|
+
<xs:sequence>
|
|
174
|
+
<xs:element name="Short-Description" type="xs:string"></xs:element>
|
|
175
|
+
<xs:element name="Long-Description" type="xs:string"></xs:element>
|
|
176
|
+
</xs:sequence>
|
|
177
|
+
</xs:complexType>
|
|
178
|
+
</xs:schema>
|
|
@@ -0,0 +1,391 @@
|
|
|
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" xmlns:UDT="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" xmlns:CEPC="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC" 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:include schemaLocation="./Report-Header.xsd"/>
|
|
5
|
+
<xs:include schemaLocation="./BaseDataTypes.xsd"/>
|
|
6
|
+
<xs:element name="Report-Data" type="Report-Data"/>
|
|
7
|
+
<xs:complexType name="Report-Data" abstract="true">
|
|
8
|
+
<xs:all/>
|
|
9
|
+
</xs:complexType>
|
|
10
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
|
11
|
+
<xs:complexType name="Technical-Information">
|
|
12
|
+
<xs:all>
|
|
13
|
+
<xs:element name="Main-Heating-Fuel" type="HeatingFuelTypeCode" minOccurs="0">
|
|
14
|
+
<xs:annotation>
|
|
15
|
+
<xs:documentation>Main Heating Fuel used in the building. This is onl;y required for a Display Energy Certificate or Energy Performance Certificate and doesn't appear on the Recommendations Report or Advisory Report.</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
</xs:element>
|
|
18
|
+
<xs:element name="Other-Fuel-Description" type="xs:string" minOccurs="0">
|
|
19
|
+
<xs:annotation>
|
|
20
|
+
<xs:documentation>Text description of unspecified fuel type if Other is selected for Main-Heating-Fuel.</xs:documentation>
|
|
21
|
+
</xs:annotation>
|
|
22
|
+
</xs:element>
|
|
23
|
+
<xs:element name="Building-Environment" type="BuildingEnvironmentCode">
|
|
24
|
+
<xs:annotation>
|
|
25
|
+
<xs:documentation>Services</xs:documentation>
|
|
26
|
+
</xs:annotation>
|
|
27
|
+
</xs:element>
|
|
28
|
+
<xs:element name="Floor-Area" type="xs:decimal">
|
|
29
|
+
<xs:annotation>
|
|
30
|
+
<xs:documentation>Total Useful Floor Area (M^2)</xs:documentation>
|
|
31
|
+
</xs:annotation>
|
|
32
|
+
</xs:element>
|
|
33
|
+
<xs:element name="Special-Energy-Uses" type="xs:string" minOccurs="0">
|
|
34
|
+
<xs:annotation>
|
|
35
|
+
<xs:documentation>Special energy uses discounted. This only appears on the advisory Report.</xs:documentation>
|
|
36
|
+
</xs:annotation>
|
|
37
|
+
</xs:element>
|
|
38
|
+
<xs:element name="Renewable-Sources" type="xs:string" minOccurs="0">
|
|
39
|
+
<xs:annotation>
|
|
40
|
+
<xs:documentation>On-site renewable energy sources. This only appears on the Advisory Report.</xs:documentation>
|
|
41
|
+
</xs:annotation>
|
|
42
|
+
</xs:element>
|
|
43
|
+
<xs:element name="OR-Availability-Date" type="xs:date" minOccurs="0">
|
|
44
|
+
<xs:annotation>
|
|
45
|
+
<xs:documentation>The date that the Operational Rating will be available if its not already.</xs:documentation>
|
|
46
|
+
</xs:annotation>
|
|
47
|
+
</xs:element>
|
|
48
|
+
<xs:element name="Separately-Metered-Electric-Heating" type="xs:boolean" minOccurs="0"/>
|
|
49
|
+
</xs:all>
|
|
50
|
+
</xs:complexType>
|
|
51
|
+
<xs:simpleType name="BuildingEnvironmentCode">
|
|
52
|
+
<xs:restriction base="xs:string">
|
|
53
|
+
<xs:enumeration value="Air Conditioning">
|
|
54
|
+
<xs:annotation>
|
|
55
|
+
<xs:documentation>Air Conditioned</xs:documentation>
|
|
56
|
+
</xs:annotation>
|
|
57
|
+
</xs:enumeration>
|
|
58
|
+
<xs:enumeration value="Heating and Natural Ventilation"/>
|
|
59
|
+
<xs:enumeration value="Heating and Mechanical Ventilation"/>
|
|
60
|
+
<xs:enumeration value="Mixed-mode with Natural Ventilation"/>
|
|
61
|
+
<xs:enumeration value="Mixed-mode with Mechanical Ventilation"/>
|
|
62
|
+
<xs:enumeration value="Unconditioned"/>
|
|
63
|
+
<xs:enumeration value="Natural Ventilation Only"/>
|
|
64
|
+
<xs:enumeration value="Mechanical Ventilation Only"/>
|
|
65
|
+
</xs:restriction>
|
|
66
|
+
</xs:simpleType>
|
|
67
|
+
<xs:element name="EPC-Rating" type="EPC-Rating"/>
|
|
68
|
+
<xs:complexType name="EPC-Rating">
|
|
69
|
+
<xs:all>
|
|
70
|
+
<xs:element name="Asset-Rating" type="EnergyRatingType">
|
|
71
|
+
<xs:annotation>
|
|
72
|
+
<xs:documentation>Asset Rating</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
</xs:element>
|
|
75
|
+
<xs:element name="Potential-Rating" type="EnergyRatingType">
|
|
76
|
+
<xs:annotation>
|
|
77
|
+
<xs:documentation>The Potential Asset Rating</xs:documentation>
|
|
78
|
+
</xs:annotation>
|
|
79
|
+
</xs:element>
|
|
80
|
+
<xs:element name="New-Build-Benchmark" type="EnergyRatingType">
|
|
81
|
+
<xs:annotation>
|
|
82
|
+
<xs:documentation>The Asset Rating if the Building was newly built.</xs:documentation>
|
|
83
|
+
</xs:annotation>
|
|
84
|
+
</xs:element>
|
|
85
|
+
<xs:element name="Energy-Band" type="EnergyBandType">
|
|
86
|
+
<xs:annotation>
|
|
87
|
+
<xs:documentation>Energy band corresponding to the Asset Rating</xs:documentation>
|
|
88
|
+
</xs:annotation>
|
|
89
|
+
</xs:element>
|
|
90
|
+
<xs:element name="Potential-Band" type="EnergyBandType">
|
|
91
|
+
<xs:annotation>
|
|
92
|
+
<xs:documentation>Energy band corresponding to the Potential Asset Rating</xs:documentation>
|
|
93
|
+
</xs:annotation>
|
|
94
|
+
</xs:element>
|
|
95
|
+
<xs:element name="New-Build-Benchmark-Band" type="EnergyBandType">
|
|
96
|
+
<xs:annotation>
|
|
97
|
+
<xs:documentation>The energy band corresponding to the Asset Rating if the Building were newly built.</xs:documentation>
|
|
98
|
+
</xs:annotation>
|
|
99
|
+
</xs:element>
|
|
100
|
+
<xs:element name="BER" type="EmissionRateType">
|
|
101
|
+
<xs:annotation>
|
|
102
|
+
<xs:documentation>Building Emissions</xs:documentation>
|
|
103
|
+
</xs:annotation>
|
|
104
|
+
</xs:element>
|
|
105
|
+
<xs:element name="TER" type="EmissionRateType">
|
|
106
|
+
<xs:annotation>
|
|
107
|
+
<xs:documentation>Target Emissions</xs:documentation>
|
|
108
|
+
</xs:annotation>
|
|
109
|
+
</xs:element>
|
|
110
|
+
</xs:all>
|
|
111
|
+
</xs:complexType>
|
|
112
|
+
<xs:simpleType name="CO2ImpactCode">
|
|
113
|
+
<xs:restriction base="xs:string">
|
|
114
|
+
<xs:enumeration value="HIGH"/>
|
|
115
|
+
<xs:enumeration value="MEDIUM"/>
|
|
116
|
+
<xs:enumeration value="LOW"/>
|
|
117
|
+
</xs:restriction>
|
|
118
|
+
</xs:simpleType>
|
|
119
|
+
<xs:simpleType name="EnergyRatingType">
|
|
120
|
+
<xs:restriction base="xs:int"/>
|
|
121
|
+
</xs:simpleType>
|
|
122
|
+
<xs:simpleType name="EnergyBandType">
|
|
123
|
+
<xs:restriction base="xs:string">
|
|
124
|
+
<xs:enumeration value="Carbon Neutral"/>
|
|
125
|
+
<xs:enumeration value="A+"/>
|
|
126
|
+
<xs:enumeration value="A"/>
|
|
127
|
+
<xs:enumeration value="B+"/>
|
|
128
|
+
<xs:enumeration value="B"/>
|
|
129
|
+
<xs:enumeration value="C+"/>
|
|
130
|
+
<xs:enumeration value="C"/>
|
|
131
|
+
<xs:enumeration value="D+"/>
|
|
132
|
+
<xs:enumeration value="D"/>
|
|
133
|
+
<xs:enumeration value="E+"/>
|
|
134
|
+
<xs:enumeration value="E"/>
|
|
135
|
+
<xs:enumeration value="F+"/>
|
|
136
|
+
<xs:enumeration value="F"/>
|
|
137
|
+
<xs:enumeration value="G"/>
|
|
138
|
+
</xs:restriction>
|
|
139
|
+
</xs:simpleType>
|
|
140
|
+
<xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
|
|
141
|
+
<xs:complexType name="Energy-Performance-Certificate">
|
|
142
|
+
<xs:all>
|
|
143
|
+
<xs:element name="Transaction-Type" type="TransactionType"/>
|
|
144
|
+
<xs:element name="Renewable-Energy-Sources" minOccurs="0">
|
|
145
|
+
<xs:complexType>
|
|
146
|
+
<xs:sequence>
|
|
147
|
+
<xs:element name="Renewable-Energy-Source" type="xs:string" maxOccurs="unbounded"></xs:element>
|
|
148
|
+
</xs:sequence>
|
|
149
|
+
</xs:complexType>
|
|
150
|
+
</xs:element>
|
|
151
|
+
<xs:element name="Electricity-Sources">
|
|
152
|
+
<xs:complexType>
|
|
153
|
+
<xs:sequence>
|
|
154
|
+
<xs:element name="Electricity-Source" type="xs:string" maxOccurs="unbounded"></xs:element>
|
|
155
|
+
</xs:sequence>
|
|
156
|
+
</xs:complexType>
|
|
157
|
+
</xs:element>
|
|
158
|
+
<xs:element name="EPC-Rating-Scale" type="EPC-Rating-Scale"/>
|
|
159
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
|
160
|
+
<xs:element name="EPC-Rating" type="EPC-Rating"/>
|
|
161
|
+
<xs:element name="Comparative-Rating" type="Comparative-Rating"/>
|
|
162
|
+
</xs:all>
|
|
163
|
+
</xs:complexType>
|
|
164
|
+
<xs:complexType name="Comparative-Rating">
|
|
165
|
+
<xs:all>
|
|
166
|
+
<xs:element name="Comparative-Asset-Rating" type="EnergyRatingType">
|
|
167
|
+
<xs:annotation>
|
|
168
|
+
<xs:documentation>Comparative Asset Rating if the building were assessed in England using Scottish weather data</xs:documentation>
|
|
169
|
+
</xs:annotation>
|
|
170
|
+
</xs:element>
|
|
171
|
+
<xs:element name="Comparative-Energy-Band" type="EnergyBandType">
|
|
172
|
+
<xs:annotation>
|
|
173
|
+
<xs:documentation>Energy band corresponding to the Comparative Asset Rating if the building were assessed in England using Scottish weather data</xs:documentation>
|
|
174
|
+
</xs:annotation>
|
|
175
|
+
</xs:element>
|
|
176
|
+
</xs:all>
|
|
177
|
+
</xs:complexType>
|
|
178
|
+
<xs:element name="EPC-Rating-Scale" type="EPC-Rating-Scale"/>
|
|
179
|
+
<xs:complexType name="EPC-Rating-Scale">
|
|
180
|
+
<xs:annotation>
|
|
181
|
+
<xs:documentation>Defines the banded values for the Energy rating scale on the EPC. </xs:documentation>
|
|
182
|
+
</xs:annotation>
|
|
183
|
+
<xs:all>
|
|
184
|
+
<xs:element name="Upper-Number-A-Scale" type="EnergyRatingType">
|
|
185
|
+
<xs:annotation>
|
|
186
|
+
<xs:documentation>Upper number on A scale</xs:documentation>
|
|
187
|
+
</xs:annotation>
|
|
188
|
+
</xs:element>
|
|
189
|
+
<xs:element name="Lower-Number-B-Scale" type="EnergyRatingType">
|
|
190
|
+
<xs:annotation>
|
|
191
|
+
<xs:documentation>Lower number on B scale</xs:documentation>
|
|
192
|
+
</xs:annotation>
|
|
193
|
+
</xs:element>
|
|
194
|
+
<xs:element name="Upper-Number-B-Scale" type="EnergyRatingType">
|
|
195
|
+
<xs:annotation>
|
|
196
|
+
<xs:documentation>Upper number on B scale</xs:documentation>
|
|
197
|
+
</xs:annotation>
|
|
198
|
+
</xs:element>
|
|
199
|
+
<xs:element name="Lower-Number-C-Scale" type="EnergyRatingType">
|
|
200
|
+
<xs:annotation>
|
|
201
|
+
<xs:documentation>Lower number on C scale</xs:documentation>
|
|
202
|
+
</xs:annotation>
|
|
203
|
+
</xs:element>
|
|
204
|
+
<xs:element name="Upper-Number-C-Scale" type="EnergyRatingType">
|
|
205
|
+
<xs:annotation>
|
|
206
|
+
<xs:documentation>Upper number on C scale</xs:documentation>
|
|
207
|
+
</xs:annotation>
|
|
208
|
+
</xs:element>
|
|
209
|
+
<xs:element name="Lower-Number-D-Scale" type="EnergyRatingType">
|
|
210
|
+
<xs:annotation>
|
|
211
|
+
<xs:documentation>Lower number on D scale</xs:documentation>
|
|
212
|
+
</xs:annotation>
|
|
213
|
+
</xs:element>
|
|
214
|
+
<xs:element name="Upper-Number-D-Scale" type="EnergyRatingType">
|
|
215
|
+
<xs:annotation>
|
|
216
|
+
<xs:documentation>Upper number on D scale</xs:documentation>
|
|
217
|
+
</xs:annotation>
|
|
218
|
+
</xs:element>
|
|
219
|
+
<xs:element name="Lower-Number-E-Scale" type="EnergyRatingType">
|
|
220
|
+
<xs:annotation>
|
|
221
|
+
<xs:documentation>Lower number on E scale</xs:documentation>
|
|
222
|
+
</xs:annotation>
|
|
223
|
+
</xs:element>
|
|
224
|
+
<xs:element name="Upper-Number-E-Scale" type="EnergyRatingType">
|
|
225
|
+
<xs:annotation>
|
|
226
|
+
<xs:documentation>Upper number on E scale</xs:documentation>
|
|
227
|
+
</xs:annotation>
|
|
228
|
+
</xs:element>
|
|
229
|
+
<xs:element name="Lower-Number-F-Scale" type="EnergyRatingType">
|
|
230
|
+
<xs:annotation>
|
|
231
|
+
<xs:documentation>Lower number on F scale</xs:documentation>
|
|
232
|
+
</xs:annotation>
|
|
233
|
+
</xs:element>
|
|
234
|
+
<xs:element name="Upper-Number-F-Scale" type="EnergyRatingType">
|
|
235
|
+
<xs:annotation>
|
|
236
|
+
<xs:documentation>Upper number on F scale</xs:documentation>
|
|
237
|
+
</xs:annotation>
|
|
238
|
+
</xs:element>
|
|
239
|
+
<xs:element name="Lowest-Number-G-Scale" type="EnergyRatingType">
|
|
240
|
+
<xs:annotation>
|
|
241
|
+
<xs:documentation>Lowest number on G scale</xs:documentation>
|
|
242
|
+
</xs:annotation>
|
|
243
|
+
</xs:element>
|
|
244
|
+
</xs:all>
|
|
245
|
+
</xs:complexType>
|
|
246
|
+
<xs:element name="RR-Recommendation" type="RR-Recommendation"/>
|
|
247
|
+
<xs:complexType name="RR-Recommendation">
|
|
248
|
+
<xs:all>
|
|
249
|
+
<xs:element name="Recommendation-Code" type="xs:string">
|
|
250
|
+
<xs:annotation>
|
|
251
|
+
<xs:documentation>The Recommendation Code that identifis this particular recommendation</xs:documentation>
|
|
252
|
+
</xs:annotation>
|
|
253
|
+
</xs:element>
|
|
254
|
+
<xs:element name="Recommendation" type="xs:string">
|
|
255
|
+
<xs:annotation>
|
|
256
|
+
<xs:documentation>Recommendation selected by the energy assessor</xs:documentation>
|
|
257
|
+
</xs:annotation>
|
|
258
|
+
</xs:element>
|
|
259
|
+
<xs:element name="CO2-Impact" type="CO2ImpactCode"/>
|
|
260
|
+
</xs:all>
|
|
261
|
+
</xs:complexType>
|
|
262
|
+
<xs:element name="RR-Recommendations" type="RR-Recommendations"/>
|
|
263
|
+
<xs:complexType name="RR-Recommendations">
|
|
264
|
+
<xs:sequence>
|
|
265
|
+
<xs:element name="Short-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="15">
|
|
266
|
+
<xs:annotation>
|
|
267
|
+
<xs:documentation>Short Payback Recommendations</xs:documentation>
|
|
268
|
+
</xs:annotation>
|
|
269
|
+
</xs:element>
|
|
270
|
+
<xs:element name="Medium-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="10">
|
|
271
|
+
<xs:annotation>
|
|
272
|
+
<xs:documentation>Medium Payback Recommendations</xs:documentation>
|
|
273
|
+
</xs:annotation>
|
|
274
|
+
</xs:element>
|
|
275
|
+
<xs:element name="Long-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="5">
|
|
276
|
+
<xs:annotation>
|
|
277
|
+
<xs:documentation>Long Payback Recommendations</xs:documentation>
|
|
278
|
+
</xs:annotation>
|
|
279
|
+
</xs:element>
|
|
280
|
+
<xs:element name="Other-Payback" type="RR-Recommendation" minOccurs="0" maxOccurs="10">
|
|
281
|
+
<xs:annotation>
|
|
282
|
+
<xs:documentation>Other Payback Recommendations</xs:documentation>
|
|
283
|
+
</xs:annotation>
|
|
284
|
+
</xs:element>
|
|
285
|
+
</xs:sequence>
|
|
286
|
+
</xs:complexType>
|
|
287
|
+
<xs:element name="Recommendations-Report" type="Recommendations-Report"/>
|
|
288
|
+
<xs:complexType name="Recommendations-Report">
|
|
289
|
+
<xs:all>
|
|
290
|
+
<xs:element name="RR-Recommendations" type="RR-Recommendations" minOccurs="0"/>
|
|
291
|
+
<xs:element name="Technical-Information" type="Technical-Information"/>
|
|
292
|
+
</xs:all>
|
|
293
|
+
</xs:complexType>
|
|
294
|
+
<xs:simpleType name="HeatingFuelTypeCode">
|
|
295
|
+
<xs:restriction base="xs:string">
|
|
296
|
+
<xs:enumeration value="Natural Gas"/>
|
|
297
|
+
<xs:enumeration value="LPG">
|
|
298
|
+
<xs:annotation>
|
|
299
|
+
<xs:documentation>LPG</xs:documentation>
|
|
300
|
+
</xs:annotation>
|
|
301
|
+
</xs:enumeration>
|
|
302
|
+
<xs:enumeration value="Biogas">
|
|
303
|
+
<xs:annotation>
|
|
304
|
+
<xs:documentation>biogas - landfill</xs:documentation>
|
|
305
|
+
</xs:annotation>
|
|
306
|
+
</xs:enumeration>
|
|
307
|
+
<xs:enumeration value="Oil">
|
|
308
|
+
<xs:annotation>
|
|
309
|
+
<xs:documentation>oil</xs:documentation>
|
|
310
|
+
</xs:annotation>
|
|
311
|
+
</xs:enumeration>
|
|
312
|
+
<xs:enumeration value="Coal">
|
|
313
|
+
<xs:annotation>
|
|
314
|
+
<xs:documentation>house coal</xs:documentation>
|
|
315
|
+
</xs:annotation>
|
|
316
|
+
</xs:enumeration>
|
|
317
|
+
<xs:enumeration value="Anthracite">
|
|
318
|
+
<xs:annotation>
|
|
319
|
+
<xs:documentation>anthracite</xs:documentation>
|
|
320
|
+
</xs:annotation>
|
|
321
|
+
</xs:enumeration>
|
|
322
|
+
<xs:enumeration value="Smokeless Fuel (inc Coke)">
|
|
323
|
+
<xs:annotation>
|
|
324
|
+
<xs:documentation>Smokeless Fuel including Coke</xs:documentation>
|
|
325
|
+
</xs:annotation>
|
|
326
|
+
</xs:enumeration>
|
|
327
|
+
<xs:enumeration value="Dual Fuel Appliances (Mineral + Wood)">
|
|
328
|
+
<xs:annotation>
|
|
329
|
+
<xs:documentation>dual fuel - mineral + wood</xs:documentation>
|
|
330
|
+
</xs:annotation>
|
|
331
|
+
</xs:enumeration>
|
|
332
|
+
<xs:enumeration value="Biomass">
|
|
333
|
+
<xs:annotation>
|
|
334
|
+
<xs:documentation>biomass</xs:documentation>
|
|
335
|
+
</xs:annotation>
|
|
336
|
+
</xs:enumeration>
|
|
337
|
+
<xs:enumeration value="Grid Supplied Electricity">
|
|
338
|
+
<xs:annotation>
|
|
339
|
+
<xs:documentation>Mains Electricity</xs:documentation>
|
|
340
|
+
</xs:annotation>
|
|
341
|
+
</xs:enumeration>
|
|
342
|
+
<xs:enumeration value="Grid Displaced Electricity"/>
|
|
343
|
+
<xs:enumeration value="Waste Heat"/>
|
|
344
|
+
<xs:enumeration value="District Cooling"/>
|
|
345
|
+
<xs:enumeration value="District Heating"/>
|
|
346
|
+
<xs:enumeration value="Other"/>
|
|
347
|
+
</xs:restriction>
|
|
348
|
+
</xs:simpleType>
|
|
349
|
+
<xs:simpleType name="TransactionType">
|
|
350
|
+
<xs:restriction base="xs:string">
|
|
351
|
+
<xs:enumeration value="1">
|
|
352
|
+
<xs:annotation>
|
|
353
|
+
<xs:documentation>Mandatory issue (Marketed sale).</xs:documentation>
|
|
354
|
+
</xs:annotation>
|
|
355
|
+
</xs:enumeration>
|
|
356
|
+
<xs:enumeration value="2">
|
|
357
|
+
<xs:annotation>
|
|
358
|
+
<xs:documentation>Mandatory issue (Non-marketed sale).</xs:documentation>
|
|
359
|
+
</xs:annotation>
|
|
360
|
+
</xs:enumeration>
|
|
361
|
+
<xs:enumeration value="3">
|
|
362
|
+
<xs:annotation>
|
|
363
|
+
<xs:documentation>Mandatory issue (Property on construction).</xs:documentation>
|
|
364
|
+
</xs:annotation>
|
|
365
|
+
</xs:enumeration>
|
|
366
|
+
<xs:enumeration value="4">
|
|
367
|
+
<xs:annotation>
|
|
368
|
+
<xs:documentation>Mandatory issue (Property to let).</xs:documentation>
|
|
369
|
+
</xs:annotation>
|
|
370
|
+
</xs:enumeration>
|
|
371
|
+
<xs:enumeration value="5">
|
|
372
|
+
<xs:annotation>
|
|
373
|
+
<xs:documentation>Voluntary re-issue (A valid EPC is already lodged).</xs:documentation>
|
|
374
|
+
</xs:annotation>
|
|
375
|
+
</xs:enumeration>
|
|
376
|
+
<xs:enumeration value="6">
|
|
377
|
+
<xs:annotation>
|
|
378
|
+
<xs:documentation>Voluntary (No legal requirement for an EPC).</xs:documentation>
|
|
379
|
+
</xs:annotation>
|
|
380
|
+
</xs:enumeration>
|
|
381
|
+
<xs:enumeration value="7">
|
|
382
|
+
<xs:annotation>
|
|
383
|
+
<xs:documentation>Not recorded.</xs:documentation>
|
|
384
|
+
</xs:annotation>
|
|
385
|
+
</xs:enumeration>
|
|
386
|
+
</xs:restriction>
|
|
387
|
+
</xs:simpleType>
|
|
388
|
+
<xs:simpleType name="EmissionRateType">
|
|
389
|
+
<xs:list itemType="xs:double"/>
|
|
390
|
+
</xs:simpleType>
|
|
391
|
+
</xs:schema>
|