epb_view_models 2.2.21 → 2.4.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.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  61. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  62. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  63. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  80. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  81. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  82. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  83. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  91. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  92. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  93. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  94. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  102. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  103. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  104. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  105. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  111. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  112. data/lib/epb_view_models/version.rb +5 -0
  113. data/lib/epb_view_models.rb +1 -3
  114. data/lib/helper/rrn_helper.rb +4 -4
  115. data/lib/view_model/cs63/common_schema.rb +18 -18
  116. data/lib/view_model/factory.rb +2 -0
  117. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  118. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  119. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  120. metadata +47 -13
  121. data/.buildspec.yml +0 -13
  122. data/.gitignore +0 -19
  123. data/.rspec +0 -2
  124. data/.rubocop.yml +0 -8
  125. data/.ruby-version +0 -1
  126. data/Gemfile +0 -15
  127. data/Gemfile.lock +0 -122
  128. data/Makefile +0 -17
  129. data/Rakefile +0 -12
  130. data/epb_view_models.gemspec +0 -27
@@ -1,391 +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>
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>