epb_view_models 2.7.1 → 2.8.0
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 +19 -2
- data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
- data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
- data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
- data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
- data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
- data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
- data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
- data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
- data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
- data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/BaseDataTypes.xsd +302 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/CEPC-Reports.xsd +69 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Input-Data.xsd +39 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Performance-Summary.xsd +130 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Property.xsd +72 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Report-Header.xsd +182 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/Reported-Data.xsd +411 -0
- data/api/schemas/xml/CEPC-S-8.0.0/Reports/UserManagement.xsd +175 -0
- data/api/schemas/xml/CS63-S-8.0.0/ActionPlan.xsd +822 -0
- data/api/schemas/xml/DECAR-S-8.0.0/DEC-Summary.xsd +399 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/BaseDataTypes.xsd +187 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/CEPC-Reports.xsd +78 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Input-Data.xsd +313 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Performance-Summary.xsd +111 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Report-Header.xsd +455 -0
- data/api/schemas/xml/DECAR-S-8.0.0/Reports/Reported-Data.xsd +408 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xml +1832 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xsd +267 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/AssessorManagement.xsd +212 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-Certificate.xsd +399 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-CollectedData.xsd +1453 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/Property.xsd +67 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/RdSAP-Report.xsd +179 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/EPC-Domains.xsd +943 -0
- data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/SAP-Domains.xsd +3557 -0
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.txt +236 -236
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/EPC-Certificate.xsd +433 -433
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/Property.xsd +69 -69
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-CollectedData.xsd +1326 -1326
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-Report.xsd +196 -196
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/UserManagement.xsd +217 -217
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/BaseDataTypes.xsd +175 -175
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/EPC-Domains.xsd +813 -813
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SAP09-Domains.xsd +3457 -3457
- data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SharedDomains.xsd +317 -317
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/AssessorManagement.xsd +216 -216
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/EPC-Certificate.xsd +457 -457
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/Property.xsd +62 -62
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-CollectedData.xsd +1444 -1444
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-Report.xsd +193 -193
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/EPC-Domains.xsd +558 -558
- data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/SAP-Domains.xsd +2975 -2975
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xml +1352 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xsd +242 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/AssessorManagement.xsd +210 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/EPC-Certificate.xsd +495 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ExceptionList.xsd +23 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/Property.xsd +77 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ReportList.xsd +30 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-CollectedData.xsd +1800 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Compliance-Report.xsd +40 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Report.xsd +206 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/EPC-Domains.xsd +564 -0
- data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/SAP-Domains.xsd +3140 -0
- data/lib/epb_view_models/version.rb +1 -1
- data/lib/view_model/cepc800/common_schema.rb +7 -7
- data/lib/view_model/cepc_s_800/cepc.rb +184 -0
- data/lib/view_model/cepc_wrapper.rb +2 -0
- data/lib/view_model/{cs63 → cs63_70}/common_schema.rb +1 -1
- data/lib/view_model/cs63_800/common_schema.rb +211 -0
- data/lib/view_model/cs63_wrapper.rb +15 -3
- 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_800/common_schema.rb +109 -0
- data/lib/view_model/decar_s_800/dec.rb +235 -0
- data/lib/view_model/decar_s_800/dec_rr.rb +102 -0
- data/lib/view_model/factory.rb +6 -1
- data/lib/view_model/rd_sap_schema_s_2200/common_schema.rb +685 -0
- data/lib/view_model/rd_sap_wrapper.rb +4 -2
- data/lib/view_model/sap_schema_s_2000/common_schema.rb +619 -0
- data/lib/view_model/sap_wrapper.rb +2 -0
- metadata +46 -2
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/dec-summary-s"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
4
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/dec-summary-s"
|
|
5
|
+
elementFormDefault="qualified"
|
|
6
|
+
attributeFormDefault="unqualified"
|
|
7
|
+
version="DECAR-S-8.0.0">
|
|
8
|
+
<xs:element name="Reports">
|
|
9
|
+
<xs:complexType>
|
|
10
|
+
<xs:sequence>
|
|
11
|
+
<xs:element name="Report">
|
|
12
|
+
<xs:complexType>
|
|
13
|
+
<xs:sequence>
|
|
14
|
+
<xs:element name="Report-Header">
|
|
15
|
+
<xs:complexType>
|
|
16
|
+
<xs:sequence>
|
|
17
|
+
<xs:element type="ReportTypeCode" name="Report-Type"/>
|
|
18
|
+
<xs:element name="Property-Details">
|
|
19
|
+
<xs:complexType>
|
|
20
|
+
<xs:sequence>
|
|
21
|
+
<xs:element type="UPRNType" name="UPRN"/>
|
|
22
|
+
</xs:sequence>
|
|
23
|
+
</xs:complexType>
|
|
24
|
+
</xs:element>
|
|
25
|
+
<xs:element name="Calculation-Details" type="Calculation-Details"/>
|
|
26
|
+
</xs:sequence>
|
|
27
|
+
</xs:complexType>
|
|
28
|
+
</xs:element>
|
|
29
|
+
<xs:element name="OR-Operational-Rating" type="OR-Operational-Rating"/>
|
|
30
|
+
<xs:element name="Display-Certificate">
|
|
31
|
+
<xs:complexType>
|
|
32
|
+
<xs:sequence>
|
|
33
|
+
<xs:element name="DEC-Annual-Energy-Summary" type="DEC-Annual-Energy-Summary"/>
|
|
34
|
+
<xs:element name="DEC-Status" type="DECStatusCode" minOccurs="0" />
|
|
35
|
+
<xs:element name="This-Assessment">
|
|
36
|
+
<xs:complexType>
|
|
37
|
+
<xs:sequence>
|
|
38
|
+
<xs:element type="xs:date" name="Nominated-Date" />
|
|
39
|
+
<xs:element type="xs:int" name="Energy-Rating" />
|
|
40
|
+
<xs:element type="xs:int" name="Electricity-CO2" />
|
|
41
|
+
<xs:element type="xs:int" name="Heating-CO2" />
|
|
42
|
+
<xs:element type="xs:int" name="Renewables-CO2" />
|
|
43
|
+
</xs:sequence>
|
|
44
|
+
</xs:complexType>
|
|
45
|
+
</xs:element>
|
|
46
|
+
<xs:element name="Technical-Information">
|
|
47
|
+
<xs:complexType>
|
|
48
|
+
<xs:sequence>
|
|
49
|
+
<xs:element type="xs:string" name="Main-Heating-Fuel"/>
|
|
50
|
+
</xs:sequence>
|
|
51
|
+
</xs:complexType>
|
|
52
|
+
</xs:element>
|
|
53
|
+
</xs:sequence>
|
|
54
|
+
</xs:complexType>
|
|
55
|
+
</xs:element>
|
|
56
|
+
</xs:sequence>
|
|
57
|
+
</xs:complexType>
|
|
58
|
+
</xs:element>
|
|
59
|
+
</xs:sequence>
|
|
60
|
+
</xs:complexType>
|
|
61
|
+
</xs:element>
|
|
62
|
+
|
|
63
|
+
<xs:simpleType name="UPRNType">
|
|
64
|
+
<xs:annotation>
|
|
65
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
66
|
+
</xs:annotation>
|
|
67
|
+
<xs:restriction base="xs:string">
|
|
68
|
+
<xs:pattern value="UPRN-[0-9]{10,12}|RRN-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}|"/>
|
|
69
|
+
</xs:restriction>
|
|
70
|
+
</xs:simpleType>
|
|
71
|
+
|
|
72
|
+
<xs:complexType name="OR-Energy-Consumption">
|
|
73
|
+
<xs:all>
|
|
74
|
+
<xs:element name="Anthracite" type="ConsumptionType" minOccurs="0"/>
|
|
75
|
+
<xs:element name="Biogas" type="ConsumptionType" minOccurs="0"/>
|
|
76
|
+
<xs:element name="Biomass" type="ConsumptionType" minOccurs="0"/>
|
|
77
|
+
<xs:element name="Coal" type="ConsumptionType" minOccurs="0"/>
|
|
78
|
+
<xs:element name="DC" type="ConsumptionType" minOccurs="0"/>
|
|
79
|
+
<xs:element name="DH" type="ConsumptionType" minOccurs="0"/>
|
|
80
|
+
<xs:element name="Electricity" type="ConsumptionType" minOccurs="0"/>
|
|
81
|
+
<xs:element name="Gas" type="ConsumptionType" minOccurs="0"/>
|
|
82
|
+
<xs:element name="LPG" type="ConsumptionType" minOccurs="0"/>
|
|
83
|
+
<xs:element name="Oil" type="ConsumptionType" minOccurs="0"/>
|
|
84
|
+
<xs:element name="Other" type="ConsumptionType" minOccurs="0"/>
|
|
85
|
+
<xs:element name="Other-Name" type="xs:string" minOccurs="0"/>
|
|
86
|
+
<xs:element name="Smokeless-Fuel" type="ConsumptionType" minOccurs="0"/>
|
|
87
|
+
<xs:element name="Thermal" type="ConsumptionDetailsType" minOccurs="0"/>
|
|
88
|
+
<xs:element name="Total-Special-Energy" type="xs:decimal" minOccurs="0"/>
|
|
89
|
+
<xs:element name="DH-Conversion" type="xs:decimal" minOccurs="0"/>
|
|
90
|
+
<xs:element name="DC-Conversion" type="xs:decimal" minOccurs="0"/>
|
|
91
|
+
<xs:element name="Other-Conversion" type="xs:decimal" minOccurs="0"/>
|
|
92
|
+
</xs:all>
|
|
93
|
+
</xs:complexType>
|
|
94
|
+
|
|
95
|
+
<xs:complexType name="ConsumptionType">
|
|
96
|
+
<xs:all>
|
|
97
|
+
<xs:element name="Consumption" type="xs:decimal"/>
|
|
98
|
+
<xs:element name="End-Date" type="xs:date"/>
|
|
99
|
+
<xs:element name="Estimate" type="xs:int"/>
|
|
100
|
+
<xs:element name="Start-Date" type="xs:date"/>
|
|
101
|
+
<xs:element name="Specials" minOccurs="0">
|
|
102
|
+
<xs:complexType>
|
|
103
|
+
<xs:sequence>
|
|
104
|
+
<xs:element name="Special" type="ConsumptionDetailsType" maxOccurs="unbounded"/>
|
|
105
|
+
</xs:sequence>
|
|
106
|
+
</xs:complexType>
|
|
107
|
+
</xs:element>
|
|
108
|
+
</xs:all>
|
|
109
|
+
</xs:complexType>
|
|
110
|
+
|
|
111
|
+
<xs:complexType name="ConsumptionDetailsType">
|
|
112
|
+
<xs:all>
|
|
113
|
+
<xs:element name="Consumption" type="xs:decimal"/>
|
|
114
|
+
<xs:element name="End-Date" type="xs:date"/>
|
|
115
|
+
<xs:element name="Estimate" type="xs:int"/>
|
|
116
|
+
<xs:element name="Start-Date" type="xs:date"/>
|
|
117
|
+
<xs:element name="Benchmark-ID" type="xs:integer" minOccurs="0"/>
|
|
118
|
+
</xs:all>
|
|
119
|
+
</xs:complexType>
|
|
120
|
+
|
|
121
|
+
<xs:simpleType name="Percentage">
|
|
122
|
+
<xs:restriction base="xs:decimal">
|
|
123
|
+
<xs:maxInclusive value="100"/>
|
|
124
|
+
<xs:minInclusive value="0"/>
|
|
125
|
+
</xs:restriction>
|
|
126
|
+
</xs:simpleType>
|
|
127
|
+
|
|
128
|
+
<xs:simpleType name="DECStatusCode">
|
|
129
|
+
<xs:restriction base="xs:int">
|
|
130
|
+
<xs:enumeration value="0">
|
|
131
|
+
<xs:annotation>
|
|
132
|
+
<xs:documentation>Standard DEC</xs:documentation>
|
|
133
|
+
</xs:annotation>
|
|
134
|
+
</xs:enumeration>
|
|
135
|
+
<xs:enumeration value="1">
|
|
136
|
+
<xs:annotation>
|
|
137
|
+
<xs:documentation>Default DEC</xs:documentation>
|
|
138
|
+
</xs:annotation>
|
|
139
|
+
</xs:enumeration>
|
|
140
|
+
<xs:enumeration value="2">
|
|
141
|
+
<xs:annotation>
|
|
142
|
+
<xs:documentation>Asset Rating Only DEC</xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
</xs:enumeration>
|
|
145
|
+
</xs:restriction>
|
|
146
|
+
</xs:simpleType>
|
|
147
|
+
|
|
148
|
+
<xs:simpleType name="ReportTypeCode">
|
|
149
|
+
<xs:restriction base="xs:string">
|
|
150
|
+
<xs:enumeration value="1">
|
|
151
|
+
<xs:annotation>
|
|
152
|
+
<xs:documentation>Display Energy Certificate</xs:documentation>
|
|
153
|
+
</xs:annotation>
|
|
154
|
+
</xs:enumeration>
|
|
155
|
+
</xs:restriction>
|
|
156
|
+
</xs:simpleType>
|
|
157
|
+
|
|
158
|
+
<xs:complexType name="Calculation-Details">
|
|
159
|
+
<xs:all>
|
|
160
|
+
<xs:element name="Output-Engine" type="xs:string" minOccurs="0">
|
|
161
|
+
<xs:annotation>
|
|
162
|
+
<xs:documentation>Output engine and version used</xs:documentation>
|
|
163
|
+
</xs:annotation>
|
|
164
|
+
</xs:element>
|
|
165
|
+
</xs:all>
|
|
166
|
+
</xs:complexType>
|
|
167
|
+
|
|
168
|
+
<xs:complexType name="OR-Operational-Rating">
|
|
169
|
+
<xs:all>
|
|
170
|
+
<xs:element name="OR-Assessment-Start-Date" type="xs:date"/>
|
|
171
|
+
<xs:element name="OR-Assessment-End-Date" type="xs:date"/>
|
|
172
|
+
<xs:element name="OR-Benchmark-Data" type="OR-Benchmark-Data"/>
|
|
173
|
+
<xs:element name="OR-Energy-Consumption" type="OR-Energy-Consumption"/>
|
|
174
|
+
</xs:all>
|
|
175
|
+
</xs:complexType>
|
|
176
|
+
|
|
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
|
+
|
|
195
|
+
<xs:complexType name="OR-Building-Data">
|
|
196
|
+
<xs:all>
|
|
197
|
+
<xs:element name="HVAC-System" type="xs:string"/>
|
|
198
|
+
<xs:element name="Other-HVAC-System" type="xs:string" minOccurs="0"/>
|
|
199
|
+
<xs:element name="Internal-Environment" type="xs:string"/>
|
|
200
|
+
<xs:element name="Assessment-Period-Alignment" type="xs:string"/>
|
|
201
|
+
</xs:all>
|
|
202
|
+
</xs:complexType>
|
|
203
|
+
|
|
204
|
+
<xs:complexType name="OR-Usable-Floor-Area">
|
|
205
|
+
<xs:all>
|
|
206
|
+
<xs:element name="UFA-1" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
207
|
+
<xs:element name="UFA-10" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
208
|
+
<xs:element name="UFA-2" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
209
|
+
<xs:element name="UFA-3" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
210
|
+
<xs:element name="UFA-4" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
211
|
+
<xs:element name="UFA-5" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
212
|
+
<xs:element name="UFA-6" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
213
|
+
<xs:element name="UFA-7" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
214
|
+
<xs:element name="UFA-8" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
215
|
+
<xs:element name="UFA-9" type="UsableFloorAreaDataType" minOccurs="0"/>
|
|
216
|
+
<xs:element name="Total-UFA" type="xs:decimal" minOccurs="0">
|
|
217
|
+
<xs:annotation>
|
|
218
|
+
<xs:documentation>The total sum of the Floor-Area for all the recorded Usable Floor Areas</xs:documentation>
|
|
219
|
+
</xs:annotation>
|
|
220
|
+
</xs:element>
|
|
221
|
+
</xs:all>
|
|
222
|
+
</xs:complexType>
|
|
223
|
+
|
|
224
|
+
<xs:complexType name="UsableFloorAreaDataType">
|
|
225
|
+
<xs:all>
|
|
226
|
+
<xs:element name="Name" type="xs:string" minOccurs="0"/>
|
|
227
|
+
<xs:element name="Floor-Area" type="xs:decimal" minOccurs="0"/>
|
|
228
|
+
</xs:all>
|
|
229
|
+
</xs:complexType>
|
|
230
|
+
|
|
231
|
+
<xs:complexType name="OR-Previous-Data">
|
|
232
|
+
<xs:all>
|
|
233
|
+
<xs:element name="Previous-Rating-1" type="PreviousRatingType" minOccurs="0"/>
|
|
234
|
+
<xs:element name="Previous-Rating-2" type="PreviousRatingType" minOccurs="0"/>
|
|
235
|
+
<xs:element name="Previous-Electricity-1" type="xs:decimal" minOccurs="0"/>
|
|
236
|
+
<xs:element name="Previous-Gas-1" type="xs:decimal" minOccurs="0"/>
|
|
237
|
+
<xs:element name="Previous-Biogas-1" type="xs:decimal" minOccurs="0"/>
|
|
238
|
+
<xs:element name="Previous-Coal-1" type="xs:decimal" minOccurs="0"/>
|
|
239
|
+
<xs:element name="Previous-Anthracite-1" type="xs:decimal" minOccurs="0"/>
|
|
240
|
+
<xs:element name="Previous-Biomass-1" type="xs:decimal" minOccurs="0"/>
|
|
241
|
+
<xs:element name="Previous-LPG-1" type="xs:decimal" minOccurs="0"/>
|
|
242
|
+
<xs:element name="Previous-Natural-Gas-1" type="xs:decimal" minOccurs="0"/>
|
|
243
|
+
<xs:element name="Previous-Oil-1" type="xs:decimal" minOccurs="0"/>
|
|
244
|
+
<xs:element name="Previous-Smokeless-Fuel-1" type="xs:decimal" minOccurs="0"/>
|
|
245
|
+
<xs:element name="Previous-Other-1" type="xs:decimal" minOccurs="0"/>
|
|
246
|
+
<xs:element name="Previous-Other-Name-1" type="xs:string" minOccurs="0"/>
|
|
247
|
+
<xs:element name="Previous-Electricity-2" type="xs:decimal" minOccurs="0"/>
|
|
248
|
+
<xs:element name="Previous-Gas-2" type="xs:decimal" minOccurs="0"/>
|
|
249
|
+
<xs:element name="Previous-Biogas-2" type="xs:decimal" minOccurs="0"/>
|
|
250
|
+
<xs:element name="Previous-Coal-2" type="xs:decimal" minOccurs="0"/>
|
|
251
|
+
<xs:element name="Previous-Anthracite-2" type="xs:decimal" minOccurs="0"/>
|
|
252
|
+
<xs:element name="Previous-Biomass-2" type="xs:decimal" minOccurs="0"/>
|
|
253
|
+
<xs:element name="Previous-LPG-2" type="xs:decimal" minOccurs="0"/>
|
|
254
|
+
<xs:element name="Previous-Natural-Gas-2" type="xs:decimal" minOccurs="0"/>
|
|
255
|
+
<xs:element name="Previous-Oil-2" type="xs:decimal" minOccurs="0"/>
|
|
256
|
+
<xs:element name="Previous-Smokeless-Fuel-2" type="xs:decimal" minOccurs="0"/>
|
|
257
|
+
<xs:element name="Previous-Other-2" type="xs:decimal" minOccurs="0"/>
|
|
258
|
+
<xs:element name="Previous-Other-Name-2" type="xs:string" minOccurs="0"/>
|
|
259
|
+
<xs:element name="Asset-Rating" type="xs:integer" minOccurs="0">
|
|
260
|
+
<xs:annotation>
|
|
261
|
+
<xs:documentation>The Previous Asset-Rating (if there is one)</xs:documentation>
|
|
262
|
+
</xs:annotation>
|
|
263
|
+
</xs:element>
|
|
264
|
+
</xs:all>
|
|
265
|
+
</xs:complexType>
|
|
266
|
+
|
|
267
|
+
<xs:complexType name="PreviousRatingType">
|
|
268
|
+
<xs:all>
|
|
269
|
+
<xs:element name="CO2" type="xs:decimal" minOccurs="0"/>
|
|
270
|
+
<xs:element name="LZC" type="xs:decimal" minOccurs="0"/>
|
|
271
|
+
<xs:element name="OR" type="xs:int" minOccurs="0"/>
|
|
272
|
+
<xs:element name="ORMM" type="xs:int" minOccurs="0"/>
|
|
273
|
+
<xs:element name="ORYYYY" type="xs:int" minOccurs="0"/>
|
|
274
|
+
<xs:element name="OR-Grade" type="xs:string" minOccurs="0"/>
|
|
275
|
+
</xs:all>
|
|
276
|
+
</xs:complexType>
|
|
277
|
+
|
|
278
|
+
<xs:complexType name="OR-Benchmark-Data">
|
|
279
|
+
<xs:all>
|
|
280
|
+
<xs:element name="Benchmarks" type="Benchmarks"/>
|
|
281
|
+
</xs:all>
|
|
282
|
+
</xs:complexType>
|
|
283
|
+
|
|
284
|
+
<xs:complexType name="Benchmarks">
|
|
285
|
+
<xs:sequence>
|
|
286
|
+
<xs:element name="Benchmark" type="Benchmark-Info" maxOccurs="200"/>
|
|
287
|
+
</xs:sequence>
|
|
288
|
+
</xs:complexType>
|
|
289
|
+
|
|
290
|
+
<xs:complexType name="Benchmark-Info">
|
|
291
|
+
<xs:all>
|
|
292
|
+
<xs:element name="Benchmark-ID" type="xs:integer"/>
|
|
293
|
+
<xs:element name="Name" type="xs:string"/>
|
|
294
|
+
<xs:element name="TUFA" type="xs:string">
|
|
295
|
+
<xs:annotation>
|
|
296
|
+
<xs:documentation>Total Usable Floor Area</xs:documentation>
|
|
297
|
+
</xs:annotation>
|
|
298
|
+
</xs:element>
|
|
299
|
+
</xs:all>
|
|
300
|
+
</xs:complexType>
|
|
301
|
+
|
|
302
|
+
<xs:complexType name="Renewable-Energy-Source">
|
|
303
|
+
<xs:sequence>
|
|
304
|
+
<xs:element name="Energy-Source" type="EnergySourceType" maxOccurs="unbounded"/>
|
|
305
|
+
</xs:sequence>
|
|
306
|
+
</xs:complexType>
|
|
307
|
+
|
|
308
|
+
<xs:complexType name="EnergySourceType">
|
|
309
|
+
<xs:sequence>
|
|
310
|
+
<xs:element name="Start-Date" type="xs:date"/>
|
|
311
|
+
<xs:element name="End-Date" type="xs:date"/>
|
|
312
|
+
<xs:element name="Name" type="xs:string">
|
|
313
|
+
<xs:annotation>
|
|
314
|
+
<xs:documentation>The name of the Renewable Energy Source.
|
|
315
|
+
|
|
316
|
+
This is a string rather than an enumerated list because the potential sources are unlimited</xs:documentation>
|
|
317
|
+
</xs:annotation>
|
|
318
|
+
</xs:element>
|
|
319
|
+
<xs:element name="Generation" type="xs:decimal">
|
|
320
|
+
<xs:annotation>
|
|
321
|
+
<xs:documentation>The amount of energy generated from this renewable source</xs:documentation>
|
|
322
|
+
</xs:annotation>
|
|
323
|
+
</xs:element>
|
|
324
|
+
<xs:element name="Energy-Type" type="EnergyType"/>
|
|
325
|
+
</xs:sequence>
|
|
326
|
+
</xs:complexType>
|
|
327
|
+
|
|
328
|
+
<xs:simpleType name="EnergyType">
|
|
329
|
+
<xs:restriction base="xs:string">
|
|
330
|
+
<xs:enumeration value="0">
|
|
331
|
+
<xs:annotation>
|
|
332
|
+
<xs:documentation>Electric</xs:documentation>
|
|
333
|
+
</xs:annotation>
|
|
334
|
+
</xs:enumeration>
|
|
335
|
+
<xs:enumeration value="1">
|
|
336
|
+
<xs:annotation>
|
|
337
|
+
<xs:documentation>Heating</xs:documentation>
|
|
338
|
+
</xs:annotation>
|
|
339
|
+
</xs:enumeration>
|
|
340
|
+
<xs:enumeration value="2">
|
|
341
|
+
<xs:annotation>
|
|
342
|
+
<xs:documentation>Cooling</xs:documentation>
|
|
343
|
+
</xs:annotation>
|
|
344
|
+
</xs:enumeration>
|
|
345
|
+
<xs:enumeration value="3">
|
|
346
|
+
<xs:annotation>
|
|
347
|
+
<xs:documentation>HeatingHP</xs:documentation>
|
|
348
|
+
</xs:annotation>
|
|
349
|
+
</xs:enumeration>
|
|
350
|
+
<xs:enumeration value="4">
|
|
351
|
+
<xs:annotation>
|
|
352
|
+
<xs:documentation>Not recorded</xs:documentation>
|
|
353
|
+
</xs:annotation>
|
|
354
|
+
</xs:enumeration>
|
|
355
|
+
</xs:restriction>
|
|
356
|
+
</xs:simpleType>
|
|
357
|
+
|
|
358
|
+
<xs:simpleType name="ConsumptionReadingType">
|
|
359
|
+
<xs:restriction base="xs:string">
|
|
360
|
+
<xs:enumeration value="Estimated"/>
|
|
361
|
+
<xs:enumeration value="Actual"/>
|
|
362
|
+
</xs:restriction>
|
|
363
|
+
</xs:simpleType>
|
|
364
|
+
|
|
365
|
+
<xs:complexType name="DEC-Annual-Energy-Summary">
|
|
366
|
+
<xs:all>
|
|
367
|
+
<xs:element name="Annual-Energy-Use-Fuel-Thermal" type="xs:decimal">
|
|
368
|
+
<xs:annotation>
|
|
369
|
+
<xs:documentation>Annual Energy Use (kWh/m2 p.a)</xs:documentation>
|
|
370
|
+
</xs:annotation>
|
|
371
|
+
</xs:element>
|
|
372
|
+
<xs:element name="Annual-Energy-Use-Electrical" type="xs:decimal">
|
|
373
|
+
<xs:annotation>
|
|
374
|
+
<xs:documentation>Annual Energy Use (kWh/m2 p.a)</xs:documentation>
|
|
375
|
+
</xs:annotation>
|
|
376
|
+
</xs:element>
|
|
377
|
+
<xs:element name="Renewables-Fuel-Thermal" type="Percentage">
|
|
378
|
+
<xs:annotation>
|
|
379
|
+
<xs:documentation>Energy from on-site renewable sources</xs:documentation>
|
|
380
|
+
</xs:annotation>
|
|
381
|
+
</xs:element>
|
|
382
|
+
<xs:element name="Renewables-Electrical" type="Percentage">
|
|
383
|
+
<xs:annotation>
|
|
384
|
+
<xs:documentation>Energy from on-site renewable sources</xs:documentation>
|
|
385
|
+
</xs:annotation>
|
|
386
|
+
</xs:element>
|
|
387
|
+
<xs:element name="Typical-Thermal-Use" type="xs:decimal">
|
|
388
|
+
<xs:annotation>
|
|
389
|
+
<xs:documentation>Benchmark (kWh/m2 p.a)</xs:documentation>
|
|
390
|
+
</xs:annotation>
|
|
391
|
+
</xs:element>
|
|
392
|
+
<xs:element name="Typical-Electrical-Use" type="xs:decimal">
|
|
393
|
+
<xs:annotation>
|
|
394
|
+
<xs:documentation>Benchmark (kWh/m2 p.a)</xs:documentation>
|
|
395
|
+
</xs:annotation>
|
|
396
|
+
</xs:element>
|
|
397
|
+
</xs:all>
|
|
398
|
+
</xs:complexType>
|
|
399
|
+
</xs:schema>
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema
|
|
3
|
+
xmlns="https://epbr.digital.communities.gov.uk/xsd/decar-s"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/decar-s"
|
|
6
|
+
elementFormDefault="qualified"
|
|
7
|
+
version="DECAR-S-8.0.0"
|
|
8
|
+
>
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>
|
|
11
|
+
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.
|
|
12
|
+
|
|
13
|
+
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.
|
|
14
|
+
|
|
15
|
+
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-specialised computer-focused definitions that have little or no relevance to the Business stakeholders.
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
The advantages of defining a set of base data types and gathering them together in a single file are:
|
|
20
|
+
* It allows documented controls to be placed on the primitive types that are used in any schema.
|
|
21
|
+
* 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
|
|
22
|
+
* It will improve code reuse.
|
|
23
|
+
* It allows standard attributes to be added to all elements whilst hiding the detail in a non business definition layer.
|
|
24
|
+
|
|
25
|
+
The principle is something like the way data-typing 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.
|
|
26
|
+
|
|
27
|
+
The declarations in this file underpin the User Defined Types, Message Infrastructure and Business Entity Template declarations.
|
|
28
|
+
</xs:documentation>
|
|
29
|
+
</xs:annotation>
|
|
30
|
+
<xs:simpleType name="Percentage">
|
|
31
|
+
<xs:restriction base="xs:decimal">
|
|
32
|
+
<xs:maxInclusive value="100"/>
|
|
33
|
+
<xs:minInclusive value="0"/>
|
|
34
|
+
</xs:restriction>
|
|
35
|
+
</xs:simpleType>
|
|
36
|
+
<xs:simpleType name="NumericString">
|
|
37
|
+
<xs:annotation>
|
|
38
|
+
<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.
|
|
39
|
+
</xs:documentation>
|
|
40
|
+
</xs:annotation>
|
|
41
|
+
<xs:restriction base="xs:string">
|
|
42
|
+
<xs:pattern value="[0-9\-\.\+]+"/>
|
|
43
|
+
</xs:restriction>
|
|
44
|
+
</xs:simpleType>
|
|
45
|
+
<xs:simpleType name="Flag">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<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.
|
|
48
|
+
</xs:documentation>
|
|
49
|
+
</xs:annotation>
|
|
50
|
+
<xs:restriction base="xs:string">
|
|
51
|
+
<xs:enumeration value="Y">
|
|
52
|
+
<xs:annotation>
|
|
53
|
+
<xs:documentation>Yes</xs:documentation>
|
|
54
|
+
</xs:annotation>
|
|
55
|
+
</xs:enumeration>
|
|
56
|
+
<xs:enumeration value="N">
|
|
57
|
+
<xs:annotation>
|
|
58
|
+
<xs:documentation>No</xs:documentation>
|
|
59
|
+
</xs:annotation>
|
|
60
|
+
</xs:enumeration>
|
|
61
|
+
</xs:restriction>
|
|
62
|
+
</xs:simpleType>
|
|
63
|
+
<xs:simpleType name="LanguageCode">
|
|
64
|
+
<xs:restriction base="xs:string">
|
|
65
|
+
<xs:enumeration value="1">
|
|
66
|
+
<xs:annotation>
|
|
67
|
+
<xs:documentation>English</xs:documentation>
|
|
68
|
+
</xs:annotation>
|
|
69
|
+
</xs:enumeration>
|
|
70
|
+
<xs:enumeration value="2">
|
|
71
|
+
<xs:annotation>
|
|
72
|
+
<xs:documentation>Welsh</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
</xs:enumeration>
|
|
75
|
+
</xs:restriction>
|
|
76
|
+
</xs:simpleType>
|
|
77
|
+
<xs:element name="Sentence" type="Sentence"/>
|
|
78
|
+
<xs:complexType name="Sentence">
|
|
79
|
+
<xs:annotation>
|
|
80
|
+
<xs:documentation>String value with a language code for natural-language text.</xs:documentation>
|
|
81
|
+
</xs:annotation>
|
|
82
|
+
<xs:simpleContent>
|
|
83
|
+
<xs:extension base="xs:string">
|
|
84
|
+
<xs:attribute name="language" type="LanguageCode" use="optional">
|
|
85
|
+
<xs:annotation>
|
|
86
|
+
<xs:documentation>Identifies the language that the sentence is recorded in.</xs:documentation>
|
|
87
|
+
</xs:annotation>
|
|
88
|
+
</xs:attribute>
|
|
89
|
+
</xs:extension>
|
|
90
|
+
</xs:simpleContent>
|
|
91
|
+
</xs:complexType>
|
|
92
|
+
<xs:simpleType name="YN_Flag">
|
|
93
|
+
<xs:restriction base="xs:string">
|
|
94
|
+
<xs:enumeration value="Yes"/>
|
|
95
|
+
<xs:enumeration value="No"/>
|
|
96
|
+
</xs:restriction>
|
|
97
|
+
</xs:simpleType>
|
|
98
|
+
<xs:simpleType name="RRNType">
|
|
99
|
+
<xs:annotation>
|
|
100
|
+
<xs:documentation>
|
|
101
|
+
The Report Reference Number is a 20-digit unique identifier assigned to each Report.
|
|
102
|
+
It is formatted as five blocks of four digits e.g. 9999-9999-9999-9999-9999.
|
|
103
|
+
</xs:documentation>
|
|
104
|
+
</xs:annotation>
|
|
105
|
+
<xs:restriction base="xs:string">
|
|
106
|
+
<xs:pattern value="[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}"/>
|
|
107
|
+
</xs:restriction>
|
|
108
|
+
</xs:simpleType>
|
|
109
|
+
<xs:element name="ACRatedOuput" type="ACRatedOuput"/>
|
|
110
|
+
<xs:complexType name="ACRatedOuput">
|
|
111
|
+
<xs:choice>
|
|
112
|
+
<xs:element name="AC-kW-Rating" type="xs:positiveInteger">
|
|
113
|
+
<xs:annotation>
|
|
114
|
+
<xs:documentation>Rating in kW</xs:documentation>
|
|
115
|
+
</xs:annotation>
|
|
116
|
+
</xs:element>
|
|
117
|
+
<xs:element name="AC-Rating-Unknown-Flag" type="xs:boolean"/>
|
|
118
|
+
</xs:choice>
|
|
119
|
+
</xs:complexType>
|
|
120
|
+
<xs:simpleType name="ACEstimatedOutput">
|
|
121
|
+
<xs:restriction base="xs:int">
|
|
122
|
+
<xs:enumeration value="1">
|
|
123
|
+
<xs:annotation>
|
|
124
|
+
<xs:documentation>Below 12kW</xs:documentation>
|
|
125
|
+
</xs:annotation>
|
|
126
|
+
</xs:enumeration>
|
|
127
|
+
<xs:enumeration value="2">
|
|
128
|
+
<xs:annotation>
|
|
129
|
+
<xs:documentation>Between 12kW and 250kW</xs:documentation>
|
|
130
|
+
</xs:annotation>
|
|
131
|
+
</xs:enumeration>
|
|
132
|
+
<xs:enumeration value="3">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>Greater than 250kW</xs:documentation>
|
|
135
|
+
</xs:annotation>
|
|
136
|
+
</xs:enumeration>
|
|
137
|
+
</xs:restriction>
|
|
138
|
+
</xs:simpleType>
|
|
139
|
+
<xs:simpleType name="ACInspectionCommissioned">
|
|
140
|
+
<xs:restriction base="xs:int">
|
|
141
|
+
<xs:enumeration value="1">
|
|
142
|
+
<xs:annotation>
|
|
143
|
+
<xs:documentation>Yes, inspection completed</xs:documentation>
|
|
144
|
+
</xs:annotation>
|
|
145
|
+
</xs:enumeration>
|
|
146
|
+
<xs:enumeration value="2">
|
|
147
|
+
<xs:annotation>
|
|
148
|
+
<xs:documentation>Yes, inspection commissioned</xs:documentation>
|
|
149
|
+
</xs:annotation>
|
|
150
|
+
</xs:enumeration>
|
|
151
|
+
<xs:enumeration value="3">
|
|
152
|
+
<xs:annotation>
|
|
153
|
+
<xs:documentation>No inspection completed or commissioned</xs:documentation>
|
|
154
|
+
</xs:annotation>
|
|
155
|
+
</xs:enumeration>
|
|
156
|
+
<xs:enumeration value="4">
|
|
157
|
+
<xs:annotation>
|
|
158
|
+
<xs:documentation>Not relevant</xs:documentation>
|
|
159
|
+
</xs:annotation>
|
|
160
|
+
</xs:enumeration>
|
|
161
|
+
<xs:enumeration value="5">
|
|
162
|
+
<xs:annotation>
|
|
163
|
+
<xs:documentation>Don't know</xs:documentation>
|
|
164
|
+
</xs:annotation>
|
|
165
|
+
</xs:enumeration>
|
|
166
|
+
</xs:restriction>
|
|
167
|
+
</xs:simpleType>
|
|
168
|
+
<xs:simpleType name="DECStatusCode">
|
|
169
|
+
<xs:restriction base="xs:int">
|
|
170
|
+
<xs:enumeration value="0">
|
|
171
|
+
<xs:annotation>
|
|
172
|
+
<xs:documentation>Standard DEC</xs:documentation>
|
|
173
|
+
</xs:annotation>
|
|
174
|
+
</xs:enumeration>
|
|
175
|
+
<xs:enumeration value="1">
|
|
176
|
+
<xs:annotation>
|
|
177
|
+
<xs:documentation>Default DEC</xs:documentation>
|
|
178
|
+
</xs:annotation>
|
|
179
|
+
</xs:enumeration>
|
|
180
|
+
<xs:enumeration value="2">
|
|
181
|
+
<xs:annotation>
|
|
182
|
+
<xs:documentation>Asset Rating Only DEC</xs:documentation>
|
|
183
|
+
</xs:annotation>
|
|
184
|
+
</xs:enumeration>
|
|
185
|
+
</xs:restriction>
|
|
186
|
+
</xs:simpleType>
|
|
187
|
+
</xs:schema>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema
|
|
3
|
+
xmlns="https://epbr.digital.communities.gov.uk/xsd/decar-s"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
targetNamespace="https://epbr.digital.communities.gov.uk/xsd/decar-s"
|
|
6
|
+
elementFormDefault="qualified"
|
|
7
|
+
version="DECAR-S-8.0.0"
|
|
8
|
+
>
|
|
9
|
+
<xs:include schemaLocation="./Reported-Data.xsd"/>
|
|
10
|
+
<xs:include schemaLocation="./Performance-Summary.xsd"/>
|
|
11
|
+
<xs:include schemaLocation="./Report-Header.xsd"/>
|
|
12
|
+
<xs:include schemaLocation="./Input-Data.xsd"/>
|
|
13
|
+
<xs:element name="Reports">
|
|
14
|
+
<xs:complexType>
|
|
15
|
+
<xs:sequence>
|
|
16
|
+
<xs:element name="Report" type="Report" maxOccurs="2"/>
|
|
17
|
+
</xs:sequence>
|
|
18
|
+
</xs:complexType>
|
|
19
|
+
</xs:element>
|
|
20
|
+
<xs:element name="Report" type="Report"/>
|
|
21
|
+
<xs:complexType name="Report">
|
|
22
|
+
<xs:sequence>
|
|
23
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
|
24
|
+
<xs:element name="Summary-Of-Performance" type="Summary-Of-Performance" minOccurs="0"/>
|
|
25
|
+
<xs:element name="Formatted-Report" type="xs:base64Binary" minOccurs="0"/>
|
|
26
|
+
<xs:choice>
|
|
27
|
+
<xs:element name="OR-Operational-Rating" type="OR-Operational-Rating" minOccurs="0"/>
|
|
28
|
+
<xs:element name="AR-Questions" type="AR-Questions" minOccurs="0"/>
|
|
29
|
+
<xs:element name="Unstructured-Data" type="Unstructured-Data" minOccurs="0"/>
|
|
30
|
+
</xs:choice>
|
|
31
|
+
<xs:choice>
|
|
32
|
+
<xs:element name="Advisory-Report" type="Advisory-Report"/>
|
|
33
|
+
<xs:element name="Display-Certificate" type="Display-Certificate"/>
|
|
34
|
+
</xs:choice>
|
|
35
|
+
</xs:sequence>
|
|
36
|
+
</xs:complexType>
|
|
37
|
+
<xs:element name="Insurance-Details" type="Insurance-Details"/>
|
|
38
|
+
<xs:complexType name="Insurance-Details">
|
|
39
|
+
<xs:annotation>
|
|
40
|
+
<xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Report.
|
|
41
|
+
|
|
42
|
+
A Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
|
|
43
|
+
* The Energy Assessor has personal Professional Indemnity Insurance and the Report is covered by this.
|
|
44
|
+
* 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.
|
|
45
|
+
* 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.
|
|
46
|
+
|
|
47
|
+
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.
|
|
48
|
+
</xs:documentation>
|
|
49
|
+
</xs:annotation>
|
|
50
|
+
<xs:all>
|
|
51
|
+
<xs:element name="Insurer" type="xs:string">
|
|
52
|
+
<xs:annotation>
|
|
53
|
+
<xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
|
|
54
|
+
</xs:annotation>
|
|
55
|
+
</xs:element>
|
|
56
|
+
<xs:element name="Policy-No" type="xs:string">
|
|
57
|
+
<xs:annotation>
|
|
58
|
+
<xs:documentation>The policy number of the insurance policy</xs:documentation>
|
|
59
|
+
</xs:annotation>
|
|
60
|
+
</xs:element>
|
|
61
|
+
<xs:element name="Effective-Date" type="xs:date">
|
|
62
|
+
<xs:annotation>
|
|
63
|
+
<xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
|
|
64
|
+
</xs:annotation>
|
|
65
|
+
</xs:element>
|
|
66
|
+
<xs:element name="Expiry-Date" type="xs:date">
|
|
67
|
+
<xs:annotation>
|
|
68
|
+
<xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
|
|
69
|
+
</xs:annotation>
|
|
70
|
+
</xs:element>
|
|
71
|
+
<xs:element name="PI-Limit" type="xs:decimal">
|
|
72
|
+
<xs:annotation>
|
|
73
|
+
<xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
|
|
74
|
+
</xs:annotation>
|
|
75
|
+
</xs:element>
|
|
76
|
+
</xs:all>
|
|
77
|
+
</xs:complexType>
|
|
78
|
+
</xs:schema>
|