epb_view_models 2.4.0 → 2.5.1

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 (120) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +4 -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-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xsd +147 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/Property.xsd +76 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd +1334 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd +209 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd +3397 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
  61. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
  62. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
  63. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -0
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  80. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  81. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  82. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  83. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  91. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  92. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  93. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  94. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  102. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  103. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  104. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  105. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  111. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  112. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  113. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  114. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  115. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  116. data/lib/epb_view_models/version.rb +1 -1
  117. data/lib/view_model/factory.rb +1 -0
  118. data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
  119. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  120. metadata +46 -1
@@ -0,0 +1,337 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Jim Bowery (Landmark Information Group Ltd.) -->
3
+ <xs:schema
4
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
5
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
+ xmlns:bdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09/BaseDataTypes"
7
+ xmlns:SAP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
8
+ targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
9
+ elementFormDefault="qualified"
10
+ attributeFormDefault="unqualified"
11
+ version="LIG-15.0">
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
13
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
14
+ <xs:include schemaLocation="../UDT/SAP09-Domains.xsd"/>
15
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
16
+ <xs:complexType name="LZC-Energy-Sources">
17
+ <xs:annotation>
18
+ <xs:documentation>Details of low and zero carbon energy source(s) for the property, if any.</xs:documentation>
19
+ </xs:annotation>
20
+ <xs:sequence>
21
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" maxOccurs="unbounded">
22
+ <xs:annotation>
23
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ </xs:sequence>
27
+ </xs:complexType>
28
+ <xs:simpleType name="EnergyRatingType">
29
+ <xs:restriction base="xs:integer">
30
+ <xs:minInclusive value="0"/>
31
+ </xs:restriction>
32
+ </xs:simpleType>
33
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
34
+ <xs:complexType name="Energy-Assessment">
35
+ <xs:annotation>
36
+ <xs:documentation>Energy Efficiency Assessment Report is an inspection report whose purpose is to assess the energy efficiency of the inspected property and provide energy ratings for the significant heat-loss features of the property.
37
+
38
+ The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.
39
+ </xs:documentation>
40
+ </xs:annotation>
41
+ <xs:all>
42
+ <xs:element name="Assessment-Date" type="xs:date">
43
+ <xs:annotation>
44
+ <xs:documentation>Date of assessment.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="Property-Summary" type="Property-Summary"/>
48
+ <xs:element name="Energy-Use" type="Energy-Use"/>
49
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0"/>
50
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0"/>
51
+ <xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive" minOccurs="0"/>
52
+ </xs:all>
53
+ </xs:complexType>
54
+ <xs:element name="Property-Summary" type="Property-Summary"/>
55
+ <xs:complexType name="Property-Summary">
56
+ <xs:sequence>
57
+ <xs:element name="Walls" type="PropertySummaryType" maxOccurs="unbounded"/>
58
+ <xs:element name="Roof" type="PropertySummaryType" maxOccurs="unbounded"/>
59
+ <xs:element name="Floor" type="PropertySummaryType" maxOccurs="unbounded"/>
60
+ <xs:element name="Windows" type="PropertySummaryType"/>
61
+ <xs:element name="Main-Heating" type="PropertySummaryType" maxOccurs="2"/>
62
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" maxOccurs="2"/>
63
+ <xs:element name="Secondary-Heating" type="PropertySummaryType"/>
64
+ <xs:element name="Hot-Water" type="PropertySummaryType"/>
65
+ <xs:element name="Lighting" type="PropertySummaryType"/>
66
+ <xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0"/>
67
+ <xs:element name="Has-Fixed-Air-Conditioning" type="xs:boolean" default="false" minOccurs="0">
68
+ <xs:annotation>
69
+ <xs:documentation>Fixed air conditioning?</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" default="false" minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>Hot water cylinder?</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" default="false" minOccurs="0">
78
+ <xs:annotation>
79
+ <xs:documentation>Heated separate conservatory?</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Dwelling-Type" type="bdt:Sentence" minOccurs="0">
83
+ <xs:annotation>
84
+ <xs:documentation>Is a string such as Detached house or Top-floor flat</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element name="Total-Floor-Area" type="xs:positiveInteger" minOccurs="0">
88
+ <xs:annotation>
89
+ <xs:documentation>Is a number such as 125</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ <xs:element name="Is-Zero-Carbon-Home" type="xs:boolean" default="false" minOccurs="0">
93
+ <xs:annotation>
94
+ <xs:documentation>Is dwelling a Zero Carbon Home?</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ <xs:element name="Energy-Use" type="Energy-Use"/>
100
+ <xs:complexType name="Energy-Use">
101
+ <xs:annotation>
102
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
103
+ </xs:annotation>
104
+ <xs:all>
105
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType">
106
+ <xs:annotation>
107
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType">
111
+ <xs:annotation>
112
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType">
116
+ <xs:annotation>
117
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType">
121
+ <xs:annotation>
122
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ <xs:element name="Energy-Consumption-Current" type="bdt:Measurement">
126
+ <xs:annotation>
127
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:element>
130
+ <xs:element name="Energy-Consumption-Potential" type="bdt:Measurement">
131
+ <xs:annotation>
132
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ <xs:element name="CO2-Emissions-Current" type="bdt:Measurement">
136
+ <xs:annotation>
137
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="bdt:Measurement">
141
+ <xs:annotation>
142
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
145
+ <xs:element name="CO2-Emissions-Potential" type="bdt:Measurement">
146
+ <xs:annotation>
147
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
148
+ </xs:annotation>
149
+ </xs:element>
150
+ <xs:element name="Lighting-Cost-Current" type="bdt:Money">
151
+ <xs:annotation>
152
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:element>
155
+ <xs:element name="Lighting-Cost-Potential" type="bdt:Money">
156
+ <xs:annotation>
157
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:element>
160
+ <xs:element name="Heating-Cost-Current" type="bdt:Money">
161
+ <xs:annotation>
162
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:element>
165
+ <xs:element name="Heating-Cost-Potential" type="bdt:Money">
166
+ <xs:annotation>
167
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:element>
170
+ <xs:element name="Hot-Water-Cost-Current" type="bdt:Money">
171
+ <xs:annotation>
172
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
173
+ </xs:annotation>
174
+ </xs:element>
175
+ <xs:element name="Hot-Water-Cost-Potential" type="bdt:Money">
176
+ <xs:annotation>
177
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:element>
180
+ </xs:all>
181
+ </xs:complexType>
182
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
183
+ <xs:complexType name="Suggested-Improvements">
184
+ <xs:annotation>
185
+ <xs:documentation>Part of an Energy Report that describes the a set of improvements that the Home Inspector considers would contribute to the overall energy rating of the property.</xs:documentation>
186
+ </xs:annotation>
187
+ <xs:sequence>
188
+ <xs:element name="Improvement" type="Improvement" maxOccurs="unbounded"/>
189
+ </xs:sequence>
190
+ </xs:complexType>
191
+ <xs:element name="Improvement" type="Improvement"/>
192
+ <xs:complexType name="Improvement">
193
+ <xs:all>
194
+ <xs:element name="Sequence" type="xs:integer">
195
+ <xs:annotation>
196
+ <xs:documentation>Sequence of the Suggested Improvements within the set of Suggested Improvements. This is used to order the Recommendations on the output HCR / EPC so that the cumulative Ratings make sense.
197
+
198
+ The Improved Energy Ratings that result from carrying out a Suggested Improvement are cumulative and assume that the improvements have been installed in the order they appear in the list. Hence they must be sequenced.</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode">
202
+ <xs:annotation>
203
+ <xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode">
207
+ <xs:annotation>
208
+ <xs:documentation>Suggested work to be carried out on the Property to improve its energy efficiency. This should be a enumerated list of acceptable improvements but it hasn't yet been defined.</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="Typical-Saving" type="bdt:Money">
212
+ <xs:annotation>
213
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out.</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType">
217
+ <xs:annotation>
218
+ <xs:documentation>The estimated Energy performance rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType">
222
+ <xs:annotation>
223
+ <xs:documentation>The estimated Environmental Impact rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:element>
226
+ <xs:element name="Improvement-Details">
227
+ <xs:complexType>
228
+ <xs:choice>
229
+ <xs:element name="Improvement-Texts" type="ImprovementTexts">
230
+ <xs:annotation>
231
+ <xs:documentation>For backward compatability only</xs:documentation>
232
+ </xs:annotation>
233
+ </xs:element>
234
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode"/>
235
+ </xs:choice>
236
+ </xs:complexType>
237
+ </xs:element>
238
+ <xs:element name="Indicative-Cost" type="xs:string" minOccurs="0"/>
239
+ </xs:all>
240
+ </xs:complexType>
241
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
242
+ <xs:complexType name="ImprovementTexts">
243
+ <xs:sequence>
244
+ <xs:element name="Improvement-Summary" type="bdt:Sentence" minOccurs="0">
245
+ <xs:annotation>
246
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
247
+ </xs:annotation>
248
+ </xs:element>
249
+ <xs:element name="Improvement-Heading" type="bdt:Sentence" minOccurs="0">
250
+ <xs:annotation>
251
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
252
+ </xs:annotation>
253
+ </xs:element>
254
+ <xs:element name="Improvement-Description" type="bdt:Sentence">
255
+ <xs:annotation>
256
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
257
+ </xs:annotation>
258
+ </xs:element>
259
+ </xs:sequence>
260
+ </xs:complexType>
261
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
262
+ <xs:complexType name="PropertySummaryType">
263
+ <xs:all>
264
+ <xs:element name="Description" type="bdt:Sentence" minOccurs="0">
265
+ <xs:annotation>
266
+ <xs:documentation>Overall description of the property feature</xs:documentation>
267
+ </xs:annotation>
268
+ </xs:element>
269
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
270
+ <xs:annotation>
271
+ <xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
272
+ </xs:annotation>
273
+ </xs:element>
274
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode">
275
+ <xs:annotation>
276
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
277
+ </xs:annotation>
278
+ </xs:element>
279
+ </xs:all>
280
+ </xs:complexType>
281
+ <xs:element name="Renewable-Heat-Incentive" type="Renewable-Heat-Incentive">
282
+ <xs:annotation>
283
+ <xs:documentation>Data for RHI</xs:documentation>
284
+ </xs:annotation>
285
+ </xs:element>
286
+ <xs:complexType name="Renewable-Heat-Incentive">
287
+ <xs:choice>
288
+ <xs:element name="RHI-New-Dwelling">
289
+ <xs:complexType>
290
+ <xs:all>
291
+ <xs:element name="Space-Heating" type="bdt:Measurement">
292
+ <xs:annotation>
293
+ <xs:documentation>Space heating requirement.</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:element>
296
+ <xs:element name="Water-Heating" type="bdt:Measurement">
297
+ <xs:annotation>
298
+ <xs:documentation>Water heating requirement.</xs:documentation>
299
+ </xs:annotation>
300
+ </xs:element>
301
+ </xs:all>
302
+ </xs:complexType>
303
+ </xs:element>
304
+ <xs:element name="RHI-Existing-Dwelling">
305
+ <xs:complexType>
306
+ <xs:all>
307
+ <xs:element name="Space-Heating-Existing-Dwelling" type="bdt:Measurement">
308
+ <xs:annotation>
309
+ <xs:documentation>Space heating requirement for existing dwelling.</xs:documentation>
310
+ </xs:annotation>
311
+ </xs:element>
312
+ <xs:element name="Space-Heating-With-Loft-Insulation" type="bdt:Measurement" minOccurs="0">
313
+ <xs:annotation>
314
+ <xs:documentation>Space heating requirement after implementation of loft insulation recommendation, omit if loft insulation not recommended.</xs:documentation>
315
+ </xs:annotation>
316
+ </xs:element>
317
+ <xs:element name="Space-Heating-With-Cavity-Insulation" type="bdt:Measurement" minOccurs="0">
318
+ <xs:annotation>
319
+ <xs:documentation>Space heating requirement after implementation of cavity insulation recommendation, omit if cavity insulation not recommended.</xs:documentation>
320
+ </xs:annotation>
321
+ </xs:element>
322
+ <xs:element name="Space-Heating-With-Loft-And-Cavity-Insulation" type="bdt:Measurement">
323
+ <xs:annotation>
324
+ <xs:documentation>Space heating requirement after implementation of loft and cavity insulation recommendations, same as existing dwelling if neither is recommended.</xs:documentation>
325
+ </xs:annotation>
326
+ </xs:element>
327
+ <xs:element name="Water-Heating" type="bdt:Measurement">
328
+ <xs:annotation>
329
+ <xs:documentation>Water heating requirement.</xs:documentation>
330
+ </xs:annotation>
331
+ </xs:element>
332
+ </xs:all>
333
+ </xs:complexType>
334
+ </xs:element>
335
+ </xs:choice>
336
+ </xs:complexType>
337
+ </xs:schema>
@@ -0,0 +1,76 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Jim Bowery (Landmark Information Group Ltd.) -->
3
+ <xs:schema
4
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
5
+ xmlns:SAP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
+ targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
8
+ elementFormDefault="qualified"
9
+ attributeFormDefault="unqualified"
10
+ version="LIG-15.0">
11
+ <xs:element name="Property" type="Property"/>
12
+ <xs:complexType name="Property">
13
+ <xs:annotation>
14
+ <xs:documentation>A discrete identifiable possession, such as a piece of real-estate, to which its owner has legal title. For the Home Information Pack legislation the types of property are restricted to residential properties.
15
+
16
+ It should be observed that "a property is a property is a property" and all real-estate properties, whether residential or commercial or whether being sold for the first or the nth time will have a very similar conceptual structure and similar rules and constraints.
17
+
18
+ As such the broad description of a Property can be regarded as a framework, containing a set of extension points, that can be expanded as necessary to cover additional detail.
19
+ </xs:documentation>
20
+ </xs:annotation>
21
+ <xs:all>
22
+ <xs:element name="Address" type="AddressType">
23
+ <xs:annotation>
24
+ <xs:documentation>Address for the property.</xs:documentation>
25
+ </xs:annotation>
26
+ </xs:element>
27
+ <xs:element name="UPRN" type="UPRNType">
28
+ <xs:annotation>
29
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ </xs:all>
33
+ </xs:complexType>
34
+ <xs:element name="AddressType" type="AddressType"/>
35
+ <xs:complexType name="AddressType">
36
+ <xs:annotation>
37
+ <xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
38
+
39
+ </xs:documentation>
40
+ </xs:annotation>
41
+ <xs:sequence>
42
+ <xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
43
+ <xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
44
+ <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
45
+ <xs:element name="Post-Town" type="xs:string"/>
46
+ <xs:element name="Postcode" type="PostcodeType">
47
+ <xs:annotation>
48
+ <xs:documentation>The Postcode for the Address
49
+ </xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ </xs:sequence>
53
+ </xs:complexType>
54
+ <xs:simpleType name="UPRNType">
55
+ <xs:annotation>
56
+ <xs:documentation>Unique Property Reference Number - a 10-digit numeric string unmiquely identifuying each Property that may have a HCR registered against it.</xs:documentation>
57
+ </xs:annotation>
58
+ <xs:restriction base="xs:string">
59
+ <xs:pattern value="[0-9]{10}"/>
60
+ </xs:restriction>
61
+ </xs:simpleType>
62
+ <xs:simpleType name="PostcodeType">
63
+ <xs:restriction base="xs:string">
64
+ <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
65
+ </xs:restriction>
66
+ </xs:simpleType>
67
+ <xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
68
+ <xs:complexType name="PropertyKeyFields">
69
+ <xs:annotation>
70
+ <xs:documentation>This is the primary key definition for the Property class - used when a message requires a reference to a Property to be passed rather than the details.</xs:documentation>
71
+ </xs:annotation>
72
+ <xs:sequence>
73
+ <xs:element name="UPRN" type="UPRNType"/>
74
+ </xs:sequence>
75
+ </xs:complexType>
76
+ </xs:schema>