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
@@ -0,0 +1,53 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions"
7
+ xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes"
8
+ xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05"
9
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
10
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
11
+ elementFormDefault="qualified"
12
+ attributeFormDefault="unqualified"
13
+ version="LIG-12.0"
14
+ >
15
+ <!--
16
+ © 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.
17
+
18
+ -->
19
+ <!--***************************************************************************
20
+ Imports and Inclusions
21
+ *************************************************************************** -->
22
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
25
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
26
+ <!-- Include templates for all Business Entities used by the message -->
27
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
28
+ <!-- Add the New build SAP-EPC data model -->
29
+ <!--<xs:import namespace="http://www.est.org.uk/epc/lodgement/DCLG-SAP05" schemaLocation="../SAP-EPC/Templates/SAP05-Report.xsd"/>-->
30
+ <!--***************************************************************************
31
+ Message Definition
32
+ *************************************************************************** -->
33
+ <xs:element name="ConditionReportCreateRequest_1">
34
+ <xs:complexType>
35
+ <xs:sequence>
36
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
37
+ <xs:element name="Configuration" type="CS:CreateRequestConfigBlock"/>
38
+ <xs:element name="Content">
39
+ <xs:complexType>
40
+ <xs:sequence>
41
+ <xs:choice>
42
+ <!--<xs:element name="SAP-EPC-Data" type="SAP05:Energy-Performance-Certificate"/>-->
43
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
44
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
45
+ </xs:choice>
46
+ <xs:element name="PDF" type="xs:base64Binary"/>
47
+ </xs:sequence>
48
+ </xs:complexType>
49
+ </xs:element>
50
+ </xs:sequence>
51
+ </xs:complexType>
52
+ </xs:element>
53
+ </xs:schema>
@@ -0,0 +1,213 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="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.</xs:documentation>
5
+ </xs:annotation>
6
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
7
+ <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
8
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
9
+ <xs:simpleType name="EnergyRatingType">
10
+ <xs:restriction base="xs:integer">
11
+ <xs:minInclusive value="0"/>
12
+ </xs:restriction>
13
+ </xs:simpleType>
14
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
15
+ <xs:complexType name="Energy-Assessment">
16
+ <xs:annotation>
17
+ <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.
18
+
19
+ The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.</xs:documentation>
20
+ </xs:annotation>
21
+ <xs:all>
22
+ <xs:element name="Property-Summary" type="Property-Summary" minOccurs="1" maxOccurs="1"/>
23
+ <xs:element name="Energy-Use" type="Energy-Use" minOccurs="1" maxOccurs="1"/>
24
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0" maxOccurs="1"/>
25
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0" maxOccurs="1"/>
26
+ </xs:all>
27
+ </xs:complexType>
28
+ <xs:element name="Property-Summary" type="Property-Summary"/>
29
+ <xs:complexType name="Property-Summary">
30
+ <xs:sequence>
31
+ <xs:element name="Wall" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
32
+ <xs:element name="Roof" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
33
+ <xs:element name="Floor" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
34
+ <xs:element name="Window" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
35
+ <xs:element name="Main-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
36
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
37
+ <xs:element name="Hot-Water" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
38
+ <xs:element name="Lighting" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
39
+ <xs:element name="Secondary-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
40
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
41
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
42
+ </xs:sequence>
43
+ </xs:complexType>
44
+ <xs:element name="Energy-Use" type="Energy-Use"/>
45
+ <xs:complexType name="Energy-Use">
46
+ <xs:annotation>
47
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
48
+ </xs:annotation>
49
+ <xs:all>
50
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
51
+ <xs:annotation>
52
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
53
+ </xs:annotation>
54
+ </xs:element>
55
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
56
+ <xs:annotation>
57
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
61
+ <xs:annotation>
62
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
66
+ <xs:annotation>
67
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="Energy-Consumption-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
71
+ <xs:annotation>
72
+ <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>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Energy-Consumption-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
76
+ <xs:annotation>
77
+ <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>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="CO2-Emissions-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
81
+ <xs:annotation>
82
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
86
+ <xs:annotation>
87
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ <xs:element name="CO2-Emissions-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
91
+ <xs:annotation>
92
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="Lighting-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
96
+ <xs:annotation>
97
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ <xs:element name="Lighting-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
101
+ <xs:annotation>
102
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:element name="Heating-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
106
+ <xs:annotation>
107
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Heating-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
111
+ <xs:annotation>
112
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="Hot-Water-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
116
+ <xs:annotation>
117
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Hot-Water-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
121
+ <xs:annotation>
122
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ </xs:all>
126
+ </xs:complexType>
127
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
128
+ <xs:complexType name="Suggested-Improvements">
129
+ <xs:annotation>
130
+ <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>
131
+ </xs:annotation>
132
+ <xs:sequence>
133
+ <xs:element name="Improvement" type="Improvement" minOccurs="1" maxOccurs="unbounded"/>
134
+ </xs:sequence>
135
+ </xs:complexType>
136
+ <xs:element name="Improvement" type="Improvement"/>
137
+ <xs:complexType name="Improvement">
138
+ <xs:all>
139
+ <xs:element name="Sequence" type="xs:integer" minOccurs="1" maxOccurs="1">
140
+ <xs:annotation>
141
+ <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.
142
+
143
+ 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>
144
+ </xs:annotation>
145
+ </xs:element>
146
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode" minOccurs="1" maxOccurs="1">
147
+ <xs:annotation>
148
+ <xs:documentation>The categfory of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
149
+ </xs:annotation>
150
+ </xs:element>
151
+ <xs:element name="Improvement-Summary" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
152
+ <xs:annotation>
153
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
154
+ </xs:annotation>
155
+ </xs:element>
156
+ <xs:element name="Improvement-Heading" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
157
+ <xs:annotation>
158
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
159
+ </xs:annotation>
160
+ </xs:element>
161
+ <xs:element name="Improvement-Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
162
+ <xs:annotation>
163
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
164
+ </xs:annotation>
165
+ </xs:element>
166
+ <xs:element name="Typical-Saving" type="pfdt:Money" minOccurs="1" maxOccurs="1">
167
+ <xs:annotation>
168
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out.</xs:documentation>
169
+ </xs:annotation>
170
+ </xs:element>
171
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
172
+ <xs:annotation>
173
+ <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>
174
+ </xs:annotation>
175
+ </xs:element>
176
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
177
+ <xs:annotation>
178
+ <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>
179
+ </xs:annotation>
180
+ </xs:element>
181
+ </xs:all>
182
+ </xs:complexType>
183
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
184
+ <xs:complexType name="PropertySummaryType">
185
+ <xs:all>
186
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
187
+ <xs:annotation>
188
+ <xs:documentation>Overall description of the property feature</xs:documentation>
189
+ </xs:annotation>
190
+ </xs:element>
191
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
192
+ <xs:annotation>
193
+ <xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:element>
196
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
197
+ <xs:annotation>
198
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ </xs:all>
202
+ </xs:complexType>
203
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
204
+ <xs:complexType name="LZC-Energy-Sources">
205
+ <xs:sequence>
206
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" minOccurs="1" maxOccurs="unbounded">
207
+ <xs:annotation>
208
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ </xs:sequence>
212
+ </xs:complexType>
213
+ </xs:schema>