epb_view_models 2.3.0 → 2.5.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 (156) 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/Messages/ConditionReportCreateRequest_1.xsd +2 -2
  41. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
  43. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -44
  44. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -47
  45. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -44
  46. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -47
  47. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
  48. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -52
  49. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -52
  50. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -87
  51. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
  52. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP → RdSAP-Schema-S-15.0/RdSAP/Messages}/ExternalDefinitions.xsd +147 -147
  53. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -44
  54. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -28
  55. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -30
  56. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -52
  57. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -44
  58. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -46
  59. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -270
  60. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/Property.xsd +76 -68
  61. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd} +1334 -1188
  62. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd} +209 -195
  63. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -215
  64. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -175
  65. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
  66. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd} +3397 -3007
  67. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -311
  68. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
  69. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
  70. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
  71. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
  72. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
  73. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
  74. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
  75. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
  76. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
  77. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
  78. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
  79. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
  80. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
  81. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
  82. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
  83. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
  84. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -0
  85. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  86. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  87. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  88. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  89. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  90. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  91. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  92. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  93. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  94. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  95. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  96. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  97. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  98. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  99. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  100. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  101. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  102. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  103. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  104. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  105. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  106. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  107. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  108. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  109. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  110. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  111. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  112. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  113. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  114. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  115. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  116. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  117. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  118. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  119. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  120. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  121. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  122. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  123. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  124. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  125. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  126. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  127. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  128. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  129. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  130. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  131. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  132. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  133. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  134. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  135. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  136. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  137. data/lib/epb_view_models/version.rb +5 -0
  138. data/lib/epb_view_models.rb +1 -3
  139. data/lib/helper/rrn_helper.rb +4 -4
  140. data/lib/view_model/cs63/common_schema.rb +18 -18
  141. data/lib/view_model/factory.rb +2 -0
  142. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  143. data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
  144. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  145. metadata +71 -36
  146. data/.buildspec.yml +0 -13
  147. data/.gitignore +0 -19
  148. data/.rspec +0 -2
  149. data/.rubocop.yml +0 -8
  150. data/.ruby-version +0 -1
  151. data/Gemfile +0 -15
  152. data/Gemfile.lock +0 -122
  153. data/Makefile +0 -17
  154. data/Rakefile +0 -12
  155. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +0 -703
  156. data/epb_view_models.gemspec +0 -27
@@ -0,0 +1,1101 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" version="LIG-12.0">
3
+ <xs:annotation>
4
+ <xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context.
5
+ </xs:documentation>
6
+ </xs:annotation>
7
+ <xs:simpleType name="VentilationTypeCode">
8
+ <xs:restriction base="xs:string">
9
+ <xs:enumeration value="0">
10
+ <xs:annotation>
11
+ <xs:documentation>natural</xs:documentation>
12
+ </xs:annotation>
13
+ </xs:enumeration>
14
+ <xs:enumeration value="1">
15
+ <xs:annotation>
16
+ <xs:documentation>mechanical, supply and extract</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:enumeration>
19
+ <xs:enumeration value="2">
20
+ <xs:annotation>
21
+ <xs:documentation>mechanical, extract only</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:enumeration>
24
+ </xs:restriction>
25
+ </xs:simpleType>
26
+ <xs:simpleType name="HeatEmitterCode">
27
+ <xs:restriction base="xs:string">
28
+ <xs:enumeration value="0">
29
+ <xs:annotation>
30
+ <xs:documentation>not radiators or underfloor</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:enumeration>
33
+ <xs:enumeration value="1">
34
+ <xs:annotation>
35
+ <xs:documentation>radiators</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:enumeration>
38
+ <xs:enumeration value="2">
39
+ <xs:annotation>
40
+ <xs:documentation>underfloor</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:enumeration>
43
+ </xs:restriction>
44
+ </xs:simpleType>
45
+ <xs:simpleType name="ConstructionDateCode">
46
+ <xs:restriction base="xs:string">
47
+ <xs:enumeration value="A">
48
+ <xs:annotation>
49
+ <xs:documentation>Pre-1900</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:enumeration>
52
+ <xs:enumeration value="B">
53
+ <xs:annotation>
54
+ <xs:documentation>1900-1929</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:enumeration>
57
+ <xs:enumeration value="C">
58
+ <xs:annotation>
59
+ <xs:documentation>1930-1949</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:enumeration>
62
+ <xs:enumeration value="D">
63
+ <xs:annotation>
64
+ <xs:documentation>1950-1966</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:enumeration>
67
+ <xs:enumeration value="E">
68
+ <xs:annotation>
69
+ <xs:documentation>1967-1975</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:enumeration>
72
+ <xs:enumeration value="F">
73
+ <xs:annotation>
74
+ <xs:documentation>1976-1982</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:enumeration>
77
+ <xs:enumeration value="G">
78
+ <xs:annotation>
79
+ <xs:documentation>1983-1990</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:enumeration>
82
+ <xs:enumeration value="H">
83
+ <xs:annotation>
84
+ <xs:documentation>1991-1995</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:enumeration>
87
+ <xs:enumeration value="I">
88
+ <xs:annotation>
89
+ <xs:documentation>1996-2002</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:enumeration>
92
+ <xs:enumeration value="J">
93
+ <xs:annotation>
94
+ <xs:documentation>2003-2006</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:enumeration>
97
+ <xs:enumeration value="K">
98
+ <xs:annotation>
99
+ <xs:documentation>Post-2006</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:enumeration>
102
+ <xs:enumeration value="0">
103
+ <xs:annotation>
104
+ <xs:documentation>Not applicable</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:enumeration>
107
+ </xs:restriction>
108
+ </xs:simpleType>
109
+ <xs:simpleType name="SAP-GlazingTypeCode">
110
+ <xs:restriction base="xs:string">
111
+ <xs:enumeration value="1">
112
+ <xs:annotation>
113
+ <xs:documentation>double glazing installed before 2002</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:enumeration>
116
+ <xs:enumeration value="2">
117
+ <xs:annotation>
118
+ <xs:documentation>double glazing installed during or after 2002</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:enumeration>
121
+ <xs:enumeration value="3">
122
+ <xs:annotation>
123
+ <xs:documentation>double glazing, unknown install date</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:enumeration>
126
+ <xs:enumeration value="4">
127
+ <xs:annotation>
128
+ <xs:documentation>secondary glazing</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:enumeration>
131
+ <xs:enumeration value="5">
132
+ <xs:annotation>
133
+ <xs:documentation>single glazing</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:enumeration>
136
+ <xs:enumeration value="6">
137
+ <xs:annotation>
138
+ <xs:documentation>triple glazing</xs:documentation>
139
+ </xs:annotation>
140
+ </xs:enumeration>
141
+ <xs:enumeration value="ND">
142
+ <xs:annotation>
143
+ <xs:documentation>not defined</xs:documentation>
144
+ </xs:annotation>
145
+ </xs:enumeration>
146
+ </xs:restriction>
147
+ </xs:simpleType>
148
+ <xs:simpleType name="GlazedAreaCode">
149
+ <xs:restriction base="xs:string">
150
+ <xs:enumeration value="1">
151
+ <xs:annotation>
152
+ <xs:documentation>Normal</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:enumeration>
155
+ <xs:enumeration value="2">
156
+ <xs:annotation>
157
+ <xs:documentation>More Than Typical</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:enumeration>
160
+ <xs:enumeration value="3">
161
+ <xs:annotation>
162
+ <xs:documentation>Less Than Typical</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:enumeration>
165
+ <xs:enumeration value="4">
166
+ <xs:annotation>
167
+ <xs:documentation>Much More Than Typical</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:enumeration>
170
+ <xs:enumeration value="5">
171
+ <xs:annotation>
172
+ <xs:documentation>Much Less Than Typical</xs:documentation>
173
+ </xs:annotation>
174
+ </xs:enumeration>
175
+ <xs:enumeration value="ND">
176
+ <xs:annotation>
177
+ <xs:documentation>Not Defined</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:enumeration>
180
+ </xs:restriction>
181
+ </xs:simpleType>
182
+ <xs:simpleType name="WallInsulationCode">
183
+ <xs:restriction base="xs:string">
184
+ <xs:enumeration value="1">
185
+ <xs:annotation>
186
+ <xs:documentation>external</xs:documentation>
187
+ </xs:annotation>
188
+ </xs:enumeration>
189
+ <xs:enumeration value="2">
190
+ <xs:annotation>
191
+ <xs:documentation>filled cavity</xs:documentation>
192
+ </xs:annotation>
193
+ </xs:enumeration>
194
+ <xs:enumeration value="3">
195
+ <xs:annotation>
196
+ <xs:documentation>internal</xs:documentation>
197
+ </xs:annotation>
198
+ </xs:enumeration>
199
+ <xs:enumeration value="4">
200
+ <xs:annotation>
201
+ <xs:documentation>as built</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:enumeration>
204
+ <xs:enumeration value="5">
205
+ <xs:annotation>
206
+ <xs:documentation>unknown</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:enumeration>
209
+ </xs:restriction>
210
+ </xs:simpleType>
211
+ <xs:simpleType name="WindowLocationCode">
212
+ <xs:restriction base="xs:string"/>
213
+ </xs:simpleType>
214
+ <xs:simpleType name="RoofInsulationThicknessCode">
215
+ <xs:restriction base="xs:string">
216
+ <xs:enumeration value="0">
217
+ <xs:annotation>
218
+ <xs:documentation>None</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:enumeration>
221
+ <xs:enumeration value="12mm">
222
+ <xs:annotation>
223
+ <xs:documentation>12mm</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:enumeration>
226
+ <xs:enumeration value="25mm">
227
+ <xs:annotation>
228
+ <xs:documentation>25mm</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:enumeration>
231
+ <xs:enumeration value="50mm">
232
+ <xs:annotation>
233
+ <xs:documentation>50mm</xs:documentation>
234
+ </xs:annotation>
235
+ </xs:enumeration>
236
+ <xs:enumeration value="75mm">
237
+ <xs:annotation>
238
+ <xs:documentation>75mm</xs:documentation>
239
+ </xs:annotation>
240
+ </xs:enumeration>
241
+ <xs:enumeration value="100mm">
242
+ <xs:annotation>
243
+ <xs:documentation>100mm</xs:documentation>
244
+ </xs:annotation>
245
+ </xs:enumeration>
246
+ <xs:enumeration value="150mm">
247
+ <xs:annotation>
248
+ <xs:documentation>150mm</xs:documentation>
249
+ </xs:annotation>
250
+ </xs:enumeration>
251
+ <xs:enumeration value="200mm">
252
+ <xs:annotation>
253
+ <xs:documentation>200mm</xs:documentation>
254
+ </xs:annotation>
255
+ </xs:enumeration>
256
+ <xs:enumeration value="250mm">
257
+ <xs:annotation>
258
+ <xs:documentation>250mm</xs:documentation>
259
+ </xs:annotation>
260
+ </xs:enumeration>
261
+ <xs:enumeration value="300mm+">
262
+ <xs:annotation>
263
+ <xs:documentation>300mm+</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:enumeration>
266
+ <xs:enumeration value="NI">
267
+ <xs:annotation>
268
+ <xs:documentation>unknown</xs:documentation>
269
+ </xs:annotation>
270
+ </xs:enumeration>
271
+ <xs:enumeration value="ND">
272
+ <xs:annotation>
273
+ <xs:documentation>Not Defined</xs:documentation>
274
+ </xs:annotation>
275
+ </xs:enumeration>
276
+ </xs:restriction>
277
+ </xs:simpleType>
278
+ <xs:simpleType name="RoofInsulationLocationCode">
279
+ <xs:restriction base="xs:string">
280
+ <xs:enumeration value="1">
281
+ <xs:annotation>
282
+ <xs:documentation>Rafters</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:enumeration>
285
+ <xs:enumeration value="2">
286
+ <xs:annotation>
287
+ <xs:documentation>Joists</xs:documentation>
288
+ </xs:annotation>
289
+ </xs:enumeration>
290
+ <xs:enumeration value="3">
291
+ <xs:annotation>
292
+ <xs:documentation>No access</xs:documentation>
293
+ </xs:annotation>
294
+ </xs:enumeration>
295
+ <xs:enumeration value="4">
296
+ <xs:annotation>
297
+ <xs:documentation>Unknown</xs:documentation>
298
+ </xs:annotation>
299
+ </xs:enumeration>
300
+ <xs:enumeration value="5">
301
+ <xs:annotation>
302
+ <xs:documentation>None</xs:documentation>
303
+ </xs:annotation>
304
+ </xs:enumeration>
305
+ <xs:enumeration value="6">
306
+ <xs:annotation>
307
+ <xs:documentation>Flat roof insulation</xs:documentation>
308
+ </xs:annotation>
309
+ </xs:enumeration>
310
+ <xs:enumeration value="ND">
311
+ <xs:annotation>
312
+ <xs:documentation>Not Defined</xs:documentation>
313
+ </xs:annotation>
314
+ </xs:enumeration>
315
+ </xs:restriction>
316
+ </xs:simpleType>
317
+ <xs:simpleType name="DrainageSupplyTypeCode">
318
+ <xs:restriction base="xs:string">
319
+ <xs:enumeration value="0">
320
+ <xs:annotation>
321
+ <xs:documentation>none</xs:documentation>
322
+ </xs:annotation>
323
+ </xs:enumeration>
324
+ <xs:enumeration value="1">
325
+ <xs:annotation>
326
+ <xs:documentation>mains service</xs:documentation>
327
+ </xs:annotation>
328
+ </xs:enumeration>
329
+ <xs:enumeration value="2">
330
+ <xs:annotation>
331
+ <xs:documentation>private</xs:documentation>
332
+ </xs:annotation>
333
+ </xs:enumeration>
334
+ </xs:restriction>
335
+ </xs:simpleType>
336
+ <xs:simpleType name="ElectricMeterTypeCode">
337
+ <xs:restriction base="xs:string">
338
+ <xs:enumeration value="1">
339
+ <xs:annotation>
340
+ <xs:documentation>dual</xs:documentation>
341
+ </xs:annotation>
342
+ </xs:enumeration>
343
+ <xs:enumeration value="2">
344
+ <xs:annotation>
345
+ <xs:documentation>Single</xs:documentation>
346
+ </xs:annotation>
347
+ </xs:enumeration>
348
+ <xs:enumeration value="3">
349
+ <xs:annotation>
350
+ <xs:documentation>Unknown</xs:documentation>
351
+ </xs:annotation>
352
+ </xs:enumeration>
353
+ <xs:enumeration value="4">
354
+ <xs:annotation>
355
+ <xs:documentation>dual (24 hour)</xs:documentation>
356
+ </xs:annotation>
357
+ </xs:enumeration>
358
+ </xs:restriction>
359
+ </xs:simpleType>
360
+ <xs:simpleType name="CylinderThicknessCode">
361
+ <xs:restriction base="xs:string">
362
+ <xs:enumeration value="12">
363
+ <xs:annotation>
364
+ <xs:documentation>12mm</xs:documentation>
365
+ </xs:annotation>
366
+ </xs:enumeration>
367
+ <xs:enumeration value="25">
368
+ <xs:annotation>
369
+ <xs:documentation>25 mm</xs:documentation>
370
+ </xs:annotation>
371
+ </xs:enumeration>
372
+ <xs:enumeration value="38">
373
+ <xs:annotation>
374
+ <xs:documentation>38 mm</xs:documentation>
375
+ </xs:annotation>
376
+ </xs:enumeration>
377
+ <xs:enumeration value="50">
378
+ <xs:annotation>
379
+ <xs:documentation>50 mm</xs:documentation>
380
+ </xs:annotation>
381
+ </xs:enumeration>
382
+ <xs:enumeration value="80">
383
+ <xs:annotation>
384
+ <xs:documentation>80 mm</xs:documentation>
385
+ </xs:annotation>
386
+ </xs:enumeration>
387
+ <xs:enumeration value="120">
388
+ <xs:annotation>
389
+ <xs:documentation>120mm</xs:documentation>
390
+ </xs:annotation>
391
+ </xs:enumeration>
392
+ <xs:enumeration value="160">
393
+ <xs:annotation>
394
+ <xs:documentation>160mm</xs:documentation>
395
+ </xs:annotation>
396
+ </xs:enumeration>
397
+ </xs:restriction>
398
+ </xs:simpleType>
399
+ <xs:simpleType name="SAP-StoreyFloorCode">
400
+ <xs:restriction base="xs:string">
401
+ <xs:enumeration value="0">
402
+ <xs:annotation>
403
+ <xs:documentation>occupied</xs:documentation>
404
+ </xs:annotation>
405
+ </xs:enumeration>
406
+ <xs:enumeration value="1">
407
+ <xs:annotation>
408
+ <xs:documentation>lowest+1</xs:documentation>
409
+ </xs:annotation>
410
+ </xs:enumeration>
411
+ <xs:enumeration value="2">
412
+ <xs:annotation>
413
+ <xs:documentation>lowest+2</xs:documentation>
414
+ </xs:annotation>
415
+ </xs:enumeration>
416
+ <xs:enumeration value="3">
417
+ <xs:annotation>
418
+ <xs:documentation>lowest+3</xs:documentation>
419
+ </xs:annotation>
420
+ </xs:enumeration>
421
+ <xs:enumeration value="4">
422
+ <xs:annotation>
423
+ <xs:documentation>lowest+4</xs:documentation>
424
+ </xs:annotation>
425
+ </xs:enumeration>
426
+ <xs:enumeration value="5">
427
+ <xs:annotation>
428
+ <xs:documentation>lowest+5</xs:documentation>
429
+ </xs:annotation>
430
+ </xs:enumeration>
431
+ <xs:enumeration value="6">
432
+ <xs:annotation>
433
+ <xs:documentation>lowest+6</xs:documentation>
434
+ </xs:annotation>
435
+ </xs:enumeration>
436
+ <xs:enumeration value="99">
437
+ <xs:annotation>
438
+ <xs:documentation>roof space</xs:documentation>
439
+ </xs:annotation>
440
+ </xs:enumeration>
441
+ </xs:restriction>
442
+ </xs:simpleType>
443
+ <xs:simpleType name="CylinderInsulationTypeCode">
444
+ <xs:restriction base="xs:string">
445
+ <xs:enumeration value="0">
446
+ <xs:annotation>
447
+ <xs:documentation>None</xs:documentation>
448
+ </xs:annotation>
449
+ </xs:enumeration>
450
+ <xs:enumeration value="1">
451
+ <xs:annotation>
452
+ <xs:documentation>Foam</xs:documentation>
453
+ </xs:annotation>
454
+ </xs:enumeration>
455
+ <xs:enumeration value="2">
456
+ <xs:annotation>
457
+ <xs:documentation>Jacket</xs:documentation>
458
+ </xs:annotation>
459
+ </xs:enumeration>
460
+ </xs:restriction>
461
+ </xs:simpleType>
462
+ <xs:simpleType name="CylinderSizeCode">
463
+ <xs:restriction base="xs:string">
464
+ <xs:enumeration value="0">
465
+ <xs:annotation>
466
+ <xs:documentation>No Access</xs:documentation>
467
+ </xs:annotation>
468
+ </xs:enumeration>
469
+ <xs:enumeration value="1">
470
+ <xs:annotation>
471
+ <xs:documentation>No Cylinder</xs:documentation>
472
+ </xs:annotation>
473
+ </xs:enumeration>
474
+ <xs:enumeration value="2">
475
+ <xs:annotation>
476
+ <xs:documentation>Normal - between 90 and 130 litres</xs:documentation>
477
+ </xs:annotation>
478
+ </xs:enumeration>
479
+ <xs:enumeration value="3">
480
+ <xs:annotation>
481
+ <xs:documentation>Medium - between 131 and 170 litres</xs:documentation>
482
+ </xs:annotation>
483
+ </xs:enumeration>
484
+ <xs:enumeration value="4">
485
+ <xs:annotation>
486
+ <xs:documentation>Large - greater than 170 litres.</xs:documentation>
487
+ </xs:annotation>
488
+ </xs:enumeration>
489
+ </xs:restriction>
490
+ </xs:simpleType>
491
+ <xs:simpleType name="ImmersionHeatingTypeCode">
492
+ <xs:restriction base="xs:string">
493
+ <xs:enumeration value="1">
494
+ <xs:annotation>
495
+ <xs:documentation>Dual</xs:documentation>
496
+ </xs:annotation>
497
+ </xs:enumeration>
498
+ <xs:enumeration value="2">
499
+ <xs:annotation>
500
+ <xs:documentation>Single</xs:documentation>
501
+ </xs:annotation>
502
+ </xs:enumeration>
503
+ </xs:restriction>
504
+ </xs:simpleType>
505
+ <xs:simpleType name="SAP-HeatingCode">
506
+ <xs:annotation>
507
+ <xs:documentation>A SAP Heating Code is a code specified in the RD/SAP specification to identify characteristics of the heating system. They are a numerical codes selected from a standard list detailed in the specification.</xs:documentation>
508
+ </xs:annotation>
509
+ <xs:restriction base="xs:string"/>
510
+ </xs:simpleType>
511
+ <xs:simpleType name="SAP-BuiltFormCode">
512
+ <xs:restriction base="xs:string">
513
+ <xs:enumeration value="1">
514
+ <xs:annotation>
515
+ <xs:documentation>Detached</xs:documentation>
516
+ </xs:annotation>
517
+ </xs:enumeration>
518
+ <xs:enumeration value="2">
519
+ <xs:annotation>
520
+ <xs:documentation>Semi-Detached</xs:documentation>
521
+ </xs:annotation>
522
+ </xs:enumeration>
523
+ <xs:enumeration value="3">
524
+ <xs:annotation>
525
+ <xs:documentation>End-Terrace</xs:documentation>
526
+ </xs:annotation>
527
+ </xs:enumeration>
528
+ <xs:enumeration value="4">
529
+ <xs:annotation>
530
+ <xs:documentation>Mid-Terrace</xs:documentation>
531
+ </xs:annotation>
532
+ </xs:enumeration>
533
+ <xs:enumeration value="5">
534
+ <xs:annotation>
535
+ <xs:documentation>Enclosed End-Terrace</xs:documentation>
536
+ </xs:annotation>
537
+ </xs:enumeration>
538
+ <xs:enumeration value="6">
539
+ <xs:annotation>
540
+ <xs:documentation>Enclosed Mid-Terrace</xs:documentation>
541
+ </xs:annotation>
542
+ </xs:enumeration>
543
+ </xs:restriction>
544
+ </xs:simpleType>
545
+ <xs:simpleType name="BuildingPartCode">
546
+ <xs:restriction base="xs:string">
547
+ <xs:enumeration value="0">
548
+ <xs:annotation>
549
+ <xs:documentation>Main Property</xs:documentation>
550
+ </xs:annotation>
551
+ </xs:enumeration>
552
+ <xs:enumeration value="1">
553
+ <xs:annotation>
554
+ <xs:documentation>1st Extension</xs:documentation>
555
+ </xs:annotation>
556
+ </xs:enumeration>
557
+ <xs:enumeration value="2">
558
+ <xs:annotation>
559
+ <xs:documentation>2nd Extension</xs:documentation>
560
+ </xs:annotation>
561
+ </xs:enumeration>
562
+ </xs:restriction>
563
+ </xs:simpleType>
564
+ <xs:simpleType name="ConservatoryHeightCode">
565
+ <xs:annotation>
566
+ <xs:documentation>Codes indicating average height of a room, storey or building part</xs:documentation>
567
+ </xs:annotation>
568
+ <xs:restriction base="xs:string">
569
+ <xs:enumeration value="1">
570
+ <xs:annotation>
571
+ <xs:documentation>1 storey</xs:documentation>
572
+ </xs:annotation>
573
+ </xs:enumeration>
574
+ <xs:enumeration value="1.5">
575
+ <xs:annotation>
576
+ <xs:documentation>1.5 storey</xs:documentation>
577
+ </xs:annotation>
578
+ </xs:enumeration>
579
+ <xs:enumeration value="2">
580
+ <xs:annotation>
581
+ <xs:documentation>2 storey</xs:documentation>
582
+ </xs:annotation>
583
+ </xs:enumeration>
584
+ <xs:enumeration value="2.5">
585
+ <xs:annotation>
586
+ <xs:documentation>2.5 storey</xs:documentation>
587
+ </xs:annotation>
588
+ </xs:enumeration>
589
+ <xs:enumeration value="3">
590
+ <xs:annotation>
591
+ <xs:documentation>3 storey</xs:documentation>
592
+ </xs:annotation>
593
+ </xs:enumeration>
594
+ </xs:restriction>
595
+ </xs:simpleType>
596
+ <xs:simpleType name="HeatLossCorridorCode">
597
+ <xs:restriction base="xs:string">
598
+ <xs:enumeration value="0">
599
+ <xs:annotation>
600
+ <xs:documentation>no corridor</xs:documentation>
601
+ </xs:annotation>
602
+ </xs:enumeration>
603
+ <xs:enumeration value="1">
604
+ <xs:annotation>
605
+ <xs:documentation>heated corridor</xs:documentation>
606
+ </xs:annotation>
607
+ </xs:enumeration>
608
+ <xs:enumeration value="2">
609
+ <xs:annotation>
610
+ <xs:documentation>unheated corridor</xs:documentation>
611
+ </xs:annotation>
612
+ </xs:enumeration>
613
+ </xs:restriction>
614
+ </xs:simpleType>
615
+ <xs:simpleType name="HeatLossFloorCode">
616
+ <xs:restriction base="xs:string">
617
+ <xs:enumeration value="1">
618
+ <xs:annotation>
619
+ <xs:documentation>exposed floor</xs:documentation>
620
+ </xs:annotation>
621
+ </xs:enumeration>
622
+ <xs:enumeration value="2">
623
+ <xs:annotation>
624
+ <xs:documentation>semi-exposed upper floor to unheated space</xs:documentation>
625
+ </xs:annotation>
626
+ </xs:enumeration>
627
+ <xs:enumeration value="3">
628
+ <xs:annotation>
629
+ <xs:documentation>semi-exposed upper floor to partially heated space</xs:documentation>
630
+ </xs:annotation>
631
+ </xs:enumeration>
632
+ <xs:enumeration value="6">
633
+ <xs:annotation>
634
+ <xs:documentation>Other flat below</xs:documentation>
635
+ </xs:annotation>
636
+ </xs:enumeration>
637
+ <xs:enumeration value="7">
638
+ <xs:annotation>
639
+ <xs:documentation>Ground floor</xs:documentation>
640
+ </xs:annotation>
641
+ </xs:enumeration>
642
+ </xs:restriction>
643
+ </xs:simpleType>
644
+ <xs:simpleType name="BoilerFlueTypeCode">
645
+ <xs:restriction base="xs:string">
646
+ <xs:enumeration value="1">
647
+ <xs:annotation>
648
+ <xs:documentation>open flue</xs:documentation>
649
+ </xs:annotation>
650
+ </xs:enumeration>
651
+ <xs:enumeration value="2">
652
+ <xs:annotation>
653
+ <xs:documentation>balanced flue</xs:documentation>
654
+ </xs:annotation>
655
+ </xs:enumeration>
656
+ </xs:restriction>
657
+ </xs:simpleType>
658
+ <xs:simpleType name="WindowTypeCode">
659
+ <xs:restriction base="xs:string">
660
+ <xs:enumeration value="1">
661
+ <xs:annotation>
662
+ <xs:documentation>window</xs:documentation>
663
+ </xs:annotation>
664
+ </xs:enumeration>
665
+ <xs:enumeration value="2">
666
+ <xs:annotation>
667
+ <xs:documentation>roof-window</xs:documentation>
668
+ </xs:annotation>
669
+ </xs:enumeration>
670
+ </xs:restriction>
671
+ </xs:simpleType>
672
+ <xs:simpleType name="BoilerDataSourceCode">
673
+ <xs:restriction base="xs:string">
674
+ <xs:enumeration value="1">
675
+ <xs:annotation>
676
+ <xs:documentation>database</xs:documentation>
677
+ </xs:annotation>
678
+ </xs:enumeration>
679
+ <xs:enumeration value="2">
680
+ <xs:annotation>
681
+ <xs:documentation>SAP Table</xs:documentation>
682
+ </xs:annotation>
683
+ </xs:enumeration>
684
+ </xs:restriction>
685
+ </xs:simpleType>
686
+ <xs:simpleType name="SAP-ImprovementMeasureCode">
687
+ <xs:annotation>
688
+ <xs:documentation>Code which indicates an improvement measure for a property.</xs:documentation>
689
+ </xs:annotation>
690
+ <xs:restriction base="xs:string">
691
+ <xs:enumeration value="A">
692
+ <xs:annotation>
693
+ <xs:documentation>Loft Insulation</xs:documentation>
694
+ </xs:annotation>
695
+ </xs:enumeration>
696
+ <xs:enumeration value="B">
697
+ <xs:annotation>
698
+ <xs:documentation>Cavity wall insulation</xs:documentation>
699
+ </xs:annotation>
700
+ </xs:enumeration>
701
+ <xs:enumeration value="C">
702
+ <xs:annotation>
703
+ <xs:documentation>Hot water cylinder insulation</xs:documentation>
704
+ </xs:annotation>
705
+ </xs:enumeration>
706
+ <xs:enumeration value="D">
707
+ <xs:annotation>
708
+ <xs:documentation>Draughtproofing</xs:documentation>
709
+ </xs:annotation>
710
+ </xs:enumeration>
711
+ <xs:enumeration value="E">
712
+ <xs:annotation>
713
+ <xs:documentation>Low energy lights</xs:documentation>
714
+ </xs:annotation>
715
+ </xs:enumeration>
716
+ <xs:enumeration value="F">
717
+ <xs:annotation>
718
+ <xs:documentation>Cylinder thermostat</xs:documentation>
719
+ </xs:annotation>
720
+ </xs:enumeration>
721
+ <xs:enumeration value="G">
722
+ <xs:annotation>
723
+ <xs:documentation>Heating controls for wet central heating system</xs:documentation>
724
+ </xs:annotation>
725
+ </xs:enumeration>
726
+ <xs:enumeration value="H">
727
+ <xs:annotation>
728
+ <xs:documentation>Heating controls for warm air system</xs:documentation>
729
+ </xs:annotation>
730
+ </xs:enumeration>
731
+ <xs:enumeration value="I">
732
+ <xs:annotation>
733
+ <xs:documentation>Upgrade boiler, same fuel</xs:documentation>
734
+ </xs:annotation>
735
+ </xs:enumeration>
736
+ <xs:enumeration value="J">
737
+ <xs:annotation>
738
+ <xs:documentation>Biomass boiler</xs:documentation>
739
+ </xs:annotation>
740
+ </xs:enumeration>
741
+ <xs:enumeration value="K">
742
+ <xs:annotation>
743
+ <xs:documentation>Biomass room heater with boiler</xs:documentation>
744
+ </xs:annotation>
745
+ </xs:enumeration>
746
+ <xs:enumeration value="L">
747
+ <xs:annotation>
748
+ <xs:documentation>New or replacement storage heaters</xs:documentation>
749
+ </xs:annotation>
750
+ </xs:enumeration>
751
+ <xs:enumeration value="M">
752
+ <xs:annotation>
753
+ <xs:documentation>Replacement warm-air unit</xs:documentation>
754
+ </xs:annotation>
755
+ </xs:enumeration>
756
+ <xs:enumeration value="N">
757
+ <xs:annotation>
758
+ <xs:documentation>Solar water heating</xs:documentation>
759
+ </xs:annotation>
760
+ </xs:enumeration>
761
+ <xs:enumeration value="O">
762
+ <xs:annotation>
763
+ <xs:documentation>Double glazing</xs:documentation>
764
+ </xs:annotation>
765
+ </xs:enumeration>
766
+ <xs:enumeration value="P">
767
+ <xs:annotation>
768
+ <xs:documentation>Secondary glazing</xs:documentation>
769
+ </xs:annotation>
770
+ </xs:enumeration>
771
+ <xs:enumeration value="Q">
772
+ <xs:annotation>
773
+ <xs:documentation>Solid wall insulation</xs:documentation>
774
+ </xs:annotation>
775
+ </xs:enumeration>
776
+ <xs:enumeration value="R">
777
+ <xs:annotation>
778
+ <xs:documentation>Condensing oil boiler</xs:documentation>
779
+ </xs:annotation>
780
+ </xs:enumeration>
781
+ <xs:enumeration value="S">
782
+ <xs:annotation>
783
+ <xs:documentation>Change heating to Band A gas condensing boiler (no fuel switch)</xs:documentation>
784
+ </xs:annotation>
785
+ </xs:enumeration>
786
+ <xs:enumeration value="T">
787
+ <xs:annotation>
788
+ <xs:documentation>Change heating to Band A gas condensing boiler (fuel switch)</xs:documentation>
789
+ </xs:annotation>
790
+ </xs:enumeration>
791
+ <xs:enumeration value="U">
792
+ <xs:annotation>
793
+ <xs:documentation>Photovoltaics</xs:documentation>
794
+ </xs:annotation>
795
+ </xs:enumeration>
796
+ <xs:enumeration value="V">
797
+ <xs:annotation>
798
+ <xs:documentation>Wind turbine</xs:documentation>
799
+ </xs:annotation>
800
+ </xs:enumeration>
801
+ </xs:restriction>
802
+ </xs:simpleType>
803
+ <xs:simpleType name="SAP-MainHeatingCategoryCode">
804
+ <xs:restriction base="xs:string">
805
+ <xs:enumeration value="1">
806
+ <xs:annotation>
807
+ <xs:documentation>none</xs:documentation>
808
+ </xs:annotation>
809
+ </xs:enumeration>
810
+ <xs:enumeration value="2">
811
+ <xs:annotation>
812
+ <xs:documentation>boiler with radiators or underfloor heating</xs:documentation>
813
+ </xs:annotation>
814
+ </xs:enumeration>
815
+ <xs:enumeration value="3">
816
+ <xs:annotation>
817
+ <xs:documentation>micro-cogeneration</xs:documentation>
818
+ </xs:annotation>
819
+ </xs:enumeration>
820
+ <xs:enumeration value="4">
821
+ <xs:annotation>
822
+ <xs:documentation>heat pump with radiators or underfloor heating</xs:documentation>
823
+ </xs:annotation>
824
+ </xs:enumeration>
825
+ <xs:enumeration value="5">
826
+ <xs:annotation>
827
+ <xs:documentation>heat pump with warm air distribution</xs:documentation>
828
+ </xs:annotation>
829
+ </xs:enumeration>
830
+ <xs:enumeration value="6">
831
+ <xs:annotation>
832
+ <xs:documentation>community heating system</xs:documentation>
833
+ </xs:annotation>
834
+ </xs:enumeration>
835
+ <xs:enumeration value="7">
836
+ <xs:annotation>
837
+ <xs:documentation>electric storage heaters</xs:documentation>
838
+ </xs:annotation>
839
+ </xs:enumeration>
840
+ <xs:enumeration value="8">
841
+ <xs:annotation>
842
+ <xs:documentation>electric underfloor heating</xs:documentation>
843
+ </xs:annotation>
844
+ </xs:enumeration>
845
+ <xs:enumeration value="9">
846
+ <xs:annotation>
847
+ <xs:documentation>warm air system (not heat pump)</xs:documentation>
848
+ </xs:annotation>
849
+ </xs:enumeration>
850
+ <xs:enumeration value="10">
851
+ <xs:annotation>
852
+ <xs:documentation>room heaters</xs:documentation>
853
+ </xs:annotation>
854
+ </xs:enumeration>
855
+ <xs:enumeration value="11">
856
+ <xs:annotation>
857
+ <xs:documentation>other system</xs:documentation>
858
+ </xs:annotation>
859
+ </xs:enumeration>
860
+ <xs:enumeration value="12">
861
+ <xs:annotation>
862
+ <xs:documentation>not recorded</xs:documentation>
863
+ </xs:annotation>
864
+ </xs:enumeration>
865
+ </xs:restriction>
866
+ </xs:simpleType>
867
+ <xs:simpleType name="SAP-TerrainTypeCode">
868
+ <xs:annotation>
869
+ <xs:documentation>Code which indicates the type of terrain.</xs:documentation>
870
+ </xs:annotation>
871
+ <xs:restriction base="xs:string">
872
+ <xs:enumeration value="1">
873
+ <xs:annotation>
874
+ <xs:documentation>urban</xs:documentation>
875
+ </xs:annotation>
876
+ </xs:enumeration>
877
+ <xs:enumeration value="2">
878
+ <xs:annotation>
879
+ <xs:documentation>suburban</xs:documentation>
880
+ </xs:annotation>
881
+ </xs:enumeration>
882
+ <xs:enumeration value="3">
883
+ <xs:annotation>
884
+ <xs:documentation>rural</xs:documentation>
885
+ </xs:annotation>
886
+ </xs:enumeration>
887
+ <xs:enumeration value="4">
888
+ <xs:annotation>
889
+ <xs:documentation>not recorded</xs:documentation>
890
+ </xs:annotation>
891
+ </xs:enumeration>
892
+ </xs:restriction>
893
+ </xs:simpleType>
894
+ <xs:simpleType name="SAP-ConservatoryTypeCode">
895
+ <xs:annotation>
896
+ <xs:documentation>Code which indicates the type of conservatory.</xs:documentation>
897
+ </xs:annotation>
898
+ <xs:restriction base="xs:string">
899
+ <xs:enumeration value="1">
900
+ <xs:annotation>
901
+ <xs:documentation>no conservatory</xs:documentation>
902
+ </xs:annotation>
903
+ </xs:enumeration>
904
+ <xs:enumeration value="2">
905
+ <xs:annotation>
906
+ <xs:documentation>separated unheated conservatory</xs:documentation>
907
+ </xs:annotation>
908
+ </xs:enumeration>
909
+ <xs:enumeration value="3">
910
+ <xs:annotation>
911
+ <xs:documentation>separated heated conservatory</xs:documentation>
912
+ </xs:annotation>
913
+ </xs:enumeration>
914
+ <xs:enumeration value="4">
915
+ <xs:annotation>
916
+ <xs:documentation>not separated</xs:documentation>
917
+ </xs:annotation>
918
+ </xs:enumeration>
919
+ <xs:enumeration value="5">
920
+ <xs:annotation>
921
+ <xs:documentation>not recorded</xs:documentation>
922
+ </xs:annotation>
923
+ </xs:enumeration>
924
+ </xs:restriction>
925
+ </xs:simpleType>
926
+ <xs:simpleType name="SAP-FloorConstructionCode">
927
+ <xs:annotation>
928
+ <xs:documentation>Code which indicates the type of floor construction.</xs:documentation>
929
+ </xs:annotation>
930
+ <xs:restriction base="xs:string">
931
+ <xs:enumeration value="0">
932
+ <xs:annotation>
933
+ <xs:documentation>unknown</xs:documentation>
934
+ </xs:annotation>
935
+ </xs:enumeration>
936
+ <xs:enumeration value="1">
937
+ <xs:annotation>
938
+ <xs:documentation>solid</xs:documentation>
939
+ </xs:annotation>
940
+ </xs:enumeration>
941
+ <xs:enumeration value="2">
942
+ <xs:annotation>
943
+ <xs:documentation>suspended timber</xs:documentation>
944
+ </xs:annotation>
945
+ </xs:enumeration>
946
+ <xs:enumeration value="3">
947
+ <xs:annotation>
948
+ <xs:documentation>suspended (not timber)</xs:documentation>
949
+ </xs:annotation>
950
+ </xs:enumeration>
951
+ </xs:restriction>
952
+ </xs:simpleType>
953
+ <xs:simpleType name="SAP-FloorInsulationCode">
954
+ <xs:restriction base="xs:string">
955
+ <xs:enumeration value="0">
956
+ <xs:annotation>
957
+ <xs:documentation>unknown</xs:documentation>
958
+ </xs:annotation>
959
+ </xs:enumeration>
960
+ <xs:enumeration value="1">
961
+ <xs:annotation>
962
+ <xs:documentation>as built</xs:documentation>
963
+ </xs:annotation>
964
+ </xs:enumeration>
965
+ <xs:enumeration value="2">
966
+ <xs:annotation>
967
+ <xs:documentation>retro-fitted</xs:documentation>
968
+ </xs:annotation>
969
+ </xs:enumeration>
970
+ </xs:restriction>
971
+ </xs:simpleType>
972
+ <xs:simpleType name="SAP-InsulationEvidenceCode">
973
+ <xs:restriction base="xs:string">
974
+ <xs:enumeration value="1">
975
+ <xs:annotation>
976
+ <xs:documentation>inspection</xs:documentation>
977
+ </xs:annotation>
978
+ </xs:enumeration>
979
+ <xs:enumeration value="2">
980
+ <xs:annotation>
981
+ <xs:documentation>documentary</xs:documentation>
982
+ </xs:annotation>
983
+ </xs:enumeration>
984
+ </xs:restriction>
985
+ </xs:simpleType>
986
+ <xs:simpleType name="SAP-RoomInRoofInsulationCode">
987
+ <xs:restriction base="xs:string">
988
+ <xs:enumeration value="0">
989
+ <xs:annotation>
990
+ <xs:documentation>unknown</xs:documentation>
991
+ </xs:annotation>
992
+ </xs:enumeration>
993
+ <xs:enumeration value="1">
994
+ <xs:annotation>
995
+ <xs:documentation>none</xs:documentation>
996
+ </xs:annotation>
997
+ </xs:enumeration>
998
+ <xs:enumeration value="2">
999
+ <xs:annotation>
1000
+ <xs:documentation>flat ceiling only</xs:documentation>
1001
+ </xs:annotation>
1002
+ </xs:enumeration>
1003
+ <xs:enumeration value="3">
1004
+ <xs:annotation>
1005
+ <xs:documentation>all elements</xs:documentation>
1006
+ </xs:annotation>
1007
+ </xs:enumeration>
1008
+ </xs:restriction>
1009
+ </xs:simpleType>
1010
+ <xs:simpleType name="SAP-LZCEnergySourceCode">
1011
+ <xs:annotation>
1012
+ <xs:documentation>Code which indicates a particular low or zero carbon energy source.</xs:documentation>
1013
+ </xs:annotation>
1014
+ <xs:restriction base="xs:string">
1015
+ <xs:enumeration value="1">
1016
+ <xs:annotation>
1017
+ <xs:documentation>Biomass main heating</xs:documentation>
1018
+ </xs:annotation>
1019
+ </xs:enumeration>
1020
+ <xs:enumeration value="2">
1021
+ <xs:annotation>
1022
+ <xs:documentation>Biomass community heating</xs:documentation>
1023
+ </xs:annotation>
1024
+ </xs:enumeration>
1025
+ <xs:enumeration value="3">
1026
+ <xs:annotation>
1027
+ <xs:documentation>Biomass community heating for some of heat generation</xs:documentation>
1028
+ </xs:annotation>
1029
+ </xs:enumeration>
1030
+ <xs:enumeration value="4">
1031
+ <xs:annotation>
1032
+ <xs:documentation>Biomass secondary heating</xs:documentation>
1033
+ </xs:annotation>
1034
+ </xs:enumeration>
1035
+ <xs:enumeration value="5">
1036
+ <xs:annotation>
1037
+ <xs:documentation>Geothermal heat source</xs:documentation>
1038
+ </xs:annotation>
1039
+ </xs:enumeration>
1040
+ <xs:enumeration value="6">
1041
+ <xs:annotation>
1042
+ <xs:documentation>Combined heat and power</xs:documentation>
1043
+ </xs:annotation>
1044
+ </xs:enumeration>
1045
+ <xs:enumeration value="7">
1046
+ <xs:annotation>
1047
+ <xs:documentation>Ground source heat pump</xs:documentation>
1048
+ </xs:annotation>
1049
+ </xs:enumeration>
1050
+ <xs:enumeration value="8">
1051
+ <xs:annotation>
1052
+ <xs:documentation>Water source heat pump</xs:documentation>
1053
+ </xs:annotation>
1054
+ </xs:enumeration>
1055
+ <xs:enumeration value="9">
1056
+ <xs:annotation>
1057
+ <xs:documentation>Air source heat pump</xs:documentation>
1058
+ </xs:annotation>
1059
+ </xs:enumeration>
1060
+ <xs:enumeration value="10">
1061
+ <xs:annotation>
1062
+ <xs:documentation>Solar water heating</xs:documentation>
1063
+ </xs:annotation>
1064
+ </xs:enumeration>
1065
+ <xs:enumeration value="11">
1066
+ <xs:annotation>
1067
+ <xs:documentation>Solar photovoltaics</xs:documentation>
1068
+ </xs:annotation>
1069
+ </xs:enumeration>
1070
+ <xs:enumeration value="12">
1071
+ <xs:annotation>
1072
+ <xs:documentation>Wind turbine</xs:documentation>
1073
+ </xs:annotation>
1074
+ </xs:enumeration>
1075
+ <xs:enumeration value="13">
1076
+ <xs:annotation>
1077
+ <xs:documentation>Community heat pump</xs:documentation>
1078
+ </xs:annotation>
1079
+ </xs:enumeration>
1080
+ </xs:restriction>
1081
+ </xs:simpleType>
1082
+ <xs:simpleType name="SAP-VersionCode">
1083
+ <xs:restriction base="xs:string">
1084
+ <xs:enumeration value="9.80">
1085
+ <xs:annotation>
1086
+ <xs:documentation>SAP 2005 version 9.80, dated October 2005</xs:documentation>
1087
+ </xs:annotation>
1088
+ </xs:enumeration>
1089
+ <xs:enumeration value="9.81">
1090
+ <xs:annotation>
1091
+ <xs:documentation>SAP version 9.81, dated January 2008</xs:documentation>
1092
+ </xs:annotation>
1093
+ </xs:enumeration>
1094
+ <xs:enumeration value="9.82">
1095
+ <xs:annotation>
1096
+ <xs:documentation>SAP version 9.82, dated Jun 2008</xs:documentation>
1097
+ </xs:annotation>
1098
+ </xs:enumeration>
1099
+ </xs:restriction>
1100
+ </xs:simpleType>
1101
+ </xs:schema>