epb_view_models 2.2.20 → 2.3.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 (140) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +21 -21
  5. data/api/schemas/data/orchestrate.json +4 -0
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  11. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  12. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  13. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  20. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  21. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  22. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  23. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/ExternalDefinitions.xsd +147 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +44 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +47 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +44 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +47 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +52 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +52 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +87 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +44 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +28 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +30 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +52 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +44 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +46 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +270 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/Property.xsd +68 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd +1188 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd +195 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/UserManagement.xsd +215 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +175 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +703 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd +3007 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +311 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  61. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  62. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  63. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  64. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  65. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  80. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  81. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  82. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  83. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  84. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  85. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  91. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  92. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  93. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  94. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  95. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  96. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  102. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  103. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  104. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  105. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  106. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  107. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  111. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  112. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  113. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  114. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  115. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  116. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  117. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  118. data/epb_view_models.gemspec +3 -2
  119. data/lib/epb_view_models.rb +1 -1
  120. data/lib/view_model/cepc_s_70/cepc.rb +5 -5
  121. data/lib/view_model/cepc_s_71/cepc.rb +5 -5
  122. data/lib/view_model/cs63/common_schema.rb +1 -1
  123. data/lib/view_model/factory.rb +1 -0
  124. data/lib/view_model/rd_sap_schema_ni_173/common_schema.rb +8 -8
  125. data/lib/view_model/rd_sap_schema_ni_174/common_schema.rb +8 -8
  126. data/lib/view_model/rd_sap_schema_ni_180/common_schema.rb +8 -8
  127. data/lib/view_model/rd_sap_schema_ni_190/common_schema.rb +8 -8
  128. data/lib/view_model/rd_sap_schema_ni_200/common_schema.rb +8 -8
  129. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  130. data/lib/view_model/rd_sap_schema_s_190/common_schema.rb +41 -41
  131. data/lib/view_model/rd_sap_schema_s_210/common_schema.rb +35 -35
  132. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  133. data/lib/view_model/sap_schema_1900/common_schema.rb +6 -6
  134. data/lib/view_model/sap_schema_1910/common_schema.rb +6 -6
  135. data/lib/view_model/sap_schema_1920/common_schema.rb +6 -6
  136. data/lib/view_model/sap_schema_ni_173/common_schema.rb +8 -8
  137. data/lib/view_model/sap_schema_ni_174/common_schema.rb +8 -8
  138. data/lib/view_model/sap_schema_ni_1800/common_schema.rb +8 -8
  139. data/lib/view_model/sap_schema_s_1900/common_schema.rb +11 -11
  140. metadata +62 -4
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" 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" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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
+
6
+ -->
7
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
8
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
9
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
10
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
11
+ <!-- Include templates for all Business Entities used by the message -->
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
13
+ <xs:element name="HomeInspectorRegisterUpdateResponse_1">
14
+ <xs:complexType>
15
+ <xs:sequence>
16
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
17
+ <xs:element name="Content">
18
+ <xs:complexType>
19
+ <xs:choice>
20
+ <xs:element name="RequestSuccesful" type="pfdt:Flag"/>
21
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
22
+ </xs:choice>
23
+ </xs:complexType>
24
+ </xs:element>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ </xs:element>
28
+ </xs:schema>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" 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" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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
+
6
+ -->
7
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
8
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
9
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
10
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
11
+ <!-- Include templates for all Business Entities used by the message -->
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
13
+ <!--***************************************************************************
14
+ Request Message Definition
15
+ *************************************************************************** -->
16
+ <xs:element name="HomeInspectorRegisterUpdateStatusRequest_1">
17
+ <xs:complexType>
18
+ <xs:sequence>
19
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
20
+ <xs:element name="Configuration">
21
+ <xs:complexType>
22
+ <xs:complexContent>
23
+ <xs:extension base="CS:UpdateRequestConfigBlock"/>
24
+ </xs:complexContent>
25
+ </xs:complexType>
26
+ </xs:element>
27
+ </xs:sequence>
28
+ </xs:complexType>
29
+ </xs:element>
30
+ </xs:schema>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" 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" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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
+
6
+ -->
7
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
8
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
9
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
10
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
12
+ <!-- Include templates for all Business Entities used by the message -->
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
14
+ <!--***************************************************************************
15
+ Request Message Definition
16
+ *************************************************************************** -->
17
+ <xs:complexType name="HomeInspectorExceptionList">
18
+ <xs:complexContent>
19
+ <xs:extension base="ERR:ExceptionList">
20
+ <xs:sequence>
21
+ <xs:element name="HomeInspector" type="HIP:InspectorKeyFields" minOccurs="0"/>
22
+ </xs:sequence>
23
+ </xs:extension>
24
+ </xs:complexContent>
25
+ </xs:complexType>
26
+ <xs:simpleType name="RegisterUpdateStatusType">
27
+ <xs:restriction base="xs:string">
28
+ <xs:enumeration value="Pending"/>
29
+ <xs:enumeration value="In Progress"/>
30
+ <xs:enumeration value="Completed"/>
31
+ <xs:enumeration value="Failed"/>
32
+ </xs:restriction>
33
+ </xs:simpleType>
34
+ <xs:element name="HomeInspectorRegisterUpdateStatusResponse_1">
35
+ <xs:complexType>
36
+ <xs:sequence>
37
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
38
+ <xs:element name="Content">
39
+ <xs:complexType>
40
+ <xs:sequence>
41
+ <xs:element name="Status" type="RegisterUpdateStatusType"/>
42
+ <xs:element name="ProcessCompleteDateTime" type="xs:dateTime" minOccurs="0"/>
43
+ <xs:sequence>
44
+ <xs:element name="ExceptionList" type="HomeInspectorExceptionList" minOccurs="0" maxOccurs="unbounded"/>
45
+ </xs:sequence>
46
+ </xs:sequence>
47
+ </xs:complexType>
48
+ </xs:element>
49
+ </xs:sequence>
50
+ </xs:complexType>
51
+ </xs:element>
52
+ </xs:schema>
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" 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" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="PropertyUPRNValidationRequest_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="UPRN" type="HIP:UPRNType"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Content">
34
+ <xs:complexType>
35
+ <xs:sequence>
36
+ <xs:element name="Address" type="HIP:AddressType"/>
37
+ <xs:element name="Language" type="pfdt:LanguageCode" default="1"/>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:schema>
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" 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" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="PropertyUPRNValidationResponse_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="UPRN" type="HIP:UPRNType"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Content">
34
+ <xs:complexType>
35
+ <xs:choice>
36
+ <!-- If everything is OK then no response is actually required but a success flag doesn't hurt! -->
37
+ <xs:element name="AddressValid" type="pfdt:Flag"/>
38
+ <!-- This is the response if anything is wrong with the actual data in the message -->
39
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
40
+ </xs:choice>
41
+ </xs:complexType>
42
+ </xs:element>
43
+ </xs:sequence>
44
+ </xs:complexType>
45
+ </xs:element>
46
+ </xs:schema>
@@ -0,0 +1,270 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05/BaseDataTypes" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" elementFormDefault="qualified" version="LIG-14.0">
3
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
5
+ <xs:include schemaLocation="../UDT/SAP05-Domains.xsd"/>
6
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
7
+ <xs:complexType name="LZC-Energy-Sources">
8
+ <xs:annotation>
9
+ <xs:documentation>Details of low and zero carbon energy source(s) for the property, if any.</xs:documentation>
10
+ </xs:annotation>
11
+ <xs:sequence>
12
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" minOccurs="1" maxOccurs="unbounded">
13
+ <xs:annotation>
14
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
15
+ </xs:annotation>
16
+ </xs:element>
17
+ </xs:sequence>
18
+ </xs:complexType>
19
+ <xs:simpleType name="EnergyRatingType">
20
+ <xs:restriction base="xs:integer">
21
+ <xs:minInclusive value="0"/>
22
+ </xs:restriction>
23
+ </xs:simpleType>
24
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
25
+ <xs:complexType name="Energy-Assessment">
26
+ <xs:annotation>
27
+ <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.
28
+
29
+ The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.
30
+ </xs:documentation>
31
+ </xs:annotation>
32
+ <xs:all>
33
+ <xs:element name="Assessment-Date" type="xs:date" minOccurs="1" maxOccurs="1">
34
+ <xs:annotation>
35
+ <xs:documentation>Date of assessment.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="Property-Summary" type="Property-Summary" minOccurs="1" maxOccurs="1"/>
39
+ <xs:element name="Energy-Use" type="Energy-Use" minOccurs="1" maxOccurs="1"/>
40
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0" maxOccurs="1"/>
41
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0" maxOccurs="1"/>
42
+ </xs:all>
43
+ </xs:complexType>
44
+ <xs:element name="Property-Summary" type="Property-Summary"/>
45
+ <xs:complexType name="Property-Summary">
46
+ <xs:sequence>
47
+ <xs:element name="Walls" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
48
+ <xs:element name="Roof" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
49
+ <xs:element name="Floor" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
50
+ <xs:element name="Windows" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
51
+ <xs:element name="Main-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
52
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
53
+ <xs:element name="Secondary-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
54
+ <xs:element name="Hot-Water" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
55
+ <xs:element name="Lighting" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
56
+ <xs:element name="Air-Tightness" type="PropertySummaryType" minOccurs="0" maxOccurs="1"/>
57
+ <xs:element name="Has-Fixed-Air-Conditioning" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false">
58
+ <xs:annotation>
59
+ <xs:documentation>Fixed air conditioning?</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false">
63
+ <xs:annotation>
64
+ <xs:documentation>Hot water cylinder?</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false">
68
+ <xs:annotation>
69
+ <xs:documentation>Heated separate conservatory?</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Dwelling-Type" type="bdt:Sentence" minOccurs="0" maxOccurs="1">
73
+ <xs:annotation>
74
+ <xs:documentation>Is a string such as Detached house or Top-floor flat</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Total-Floor-Area" type="xs:positiveInteger" minOccurs="0" maxOccurs="1">
78
+ <xs:annotation>
79
+ <xs:documentation>Is a number such as 125</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Is-Zero-Carbon-Home" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false">
83
+ <xs:annotation>
84
+ <xs:documentation>Is dwelling a Zero Carbon Home?</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ </xs:sequence>
88
+ </xs:complexType>
89
+ <xs:element name="Energy-Use" type="Energy-Use"/>
90
+ <xs:complexType name="Energy-Use">
91
+ <xs:annotation>
92
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
93
+ </xs:annotation>
94
+ <xs:all>
95
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
96
+ <xs:annotation>
97
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
101
+ <xs:annotation>
102
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
106
+ <xs:annotation>
107
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
111
+ <xs:annotation>
112
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ <xs:element name="Energy-Consumption-Current" type="bdt:Measurement" minOccurs="1" maxOccurs="1">
116
+ <xs:annotation>
117
+ <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>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Energy-Consumption-Potential" type="bdt:Measurement" minOccurs="1" maxOccurs="1">
121
+ <xs:annotation>
122
+ <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>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ <xs:element name="CO2-Emissions-Current" type="bdt:Measurement" minOccurs="1" maxOccurs="1">
126
+ <xs:annotation>
127
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:element>
130
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="bdt:Measurement" minOccurs="1" maxOccurs="1">
131
+ <xs:annotation>
132
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ <xs:element name="CO2-Emissions-Potential" type="bdt:Measurement" minOccurs="1" maxOccurs="1">
136
+ <xs:annotation>
137
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ <xs:element name="Lighting-Cost-Current" type="bdt:Money" minOccurs="1" maxOccurs="1">
141
+ <xs:annotation>
142
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
145
+ <xs:element name="Lighting-Cost-Potential" type="bdt:Money" minOccurs="1" maxOccurs="1">
146
+ <xs:annotation>
147
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
148
+ </xs:annotation>
149
+ </xs:element>
150
+ <xs:element name="Heating-Cost-Current" type="bdt:Money" minOccurs="1" maxOccurs="1">
151
+ <xs:annotation>
152
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:element>
155
+ <xs:element name="Heating-Cost-Potential" type="bdt:Money" minOccurs="1" maxOccurs="1">
156
+ <xs:annotation>
157
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
158
+ </xs:annotation>
159
+ </xs:element>
160
+ <xs:element name="Hot-Water-Cost-Current" type="bdt:Money" minOccurs="1" maxOccurs="1">
161
+ <xs:annotation>
162
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
163
+ </xs:annotation>
164
+ </xs:element>
165
+ <xs:element name="Hot-Water-Cost-Potential" type="bdt:Money" minOccurs="1" maxOccurs="1">
166
+ <xs:annotation>
167
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
168
+ </xs:annotation>
169
+ </xs:element>
170
+ </xs:all>
171
+ </xs:complexType>
172
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
173
+ <xs:complexType name="Suggested-Improvements">
174
+ <xs:annotation>
175
+ <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>
176
+ </xs:annotation>
177
+ <xs:sequence>
178
+ <xs:element name="Improvement" type="Improvement" minOccurs="1" maxOccurs="unbounded"/>
179
+ </xs:sequence>
180
+ </xs:complexType>
181
+ <xs:element name="Improvement" type="Improvement"/>
182
+ <xs:complexType name="Improvement">
183
+ <xs:all>
184
+ <xs:element name="Sequence" type="xs:integer" minOccurs="1" maxOccurs="1">
185
+ <xs:annotation>
186
+ <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.
187
+
188
+ 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>
189
+ </xs:annotation>
190
+ </xs:element>
191
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode" minOccurs="1" maxOccurs="1">
192
+ <xs:annotation>
193
+ <xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:element>
196
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode" minOccurs="1" maxOccurs="1">
197
+ <xs:annotation>
198
+ <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>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="Typical-Saving" type="bdt:Money" minOccurs="1" maxOccurs="1">
202
+ <xs:annotation>
203
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out.</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
207
+ <xs:annotation>
208
+ <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>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
212
+ <xs:annotation>
213
+ <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>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="Improvement-Details">
217
+ <xs:complexType>
218
+ <xs:choice>
219
+ <xs:element name="Improvement-Texts" type="ImprovementTexts" minOccurs="1" maxOccurs="1">
220
+ <xs:annotation>
221
+ <xs:documentation>For backward compatability only</xs:documentation>
222
+ </xs:annotation>
223
+ </xs:element>
224
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode" minOccurs="1" maxOccurs="1"/>
225
+ </xs:choice>
226
+ </xs:complexType>
227
+ </xs:element>
228
+ </xs:all>
229
+ </xs:complexType>
230
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
231
+ <xs:complexType name="ImprovementTexts">
232
+ <xs:sequence>
233
+ <xs:element name="Improvement-Summary" type="bdt:Sentence" minOccurs="0" maxOccurs="1">
234
+ <xs:annotation>
235
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
236
+ </xs:annotation>
237
+ </xs:element>
238
+ <xs:element name="Improvement-Heading" type="bdt:Sentence" minOccurs="0" maxOccurs="1">
239
+ <xs:annotation>
240
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
241
+ </xs:annotation>
242
+ </xs:element>
243
+ <xs:element name="Improvement-Description" type="bdt:Sentence" minOccurs="1" maxOccurs="1">
244
+ <xs:annotation>
245
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
246
+ </xs:annotation>
247
+ </xs:element>
248
+ </xs:sequence>
249
+ </xs:complexType>
250
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
251
+ <xs:complexType name="PropertySummaryType">
252
+ <xs:all>
253
+ <xs:element name="Description" type="bdt:Sentence" minOccurs="0" maxOccurs="1">
254
+ <xs:annotation>
255
+ <xs:documentation>Overall description of the property feature</xs:documentation>
256
+ </xs:annotation>
257
+ </xs:element>
258
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
259
+ <xs:annotation>
260
+ <xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
261
+ </xs:annotation>
262
+ </xs:element>
263
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
264
+ <xs:annotation>
265
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
266
+ </xs:annotation>
267
+ </xs:element>
268
+ </xs:all>
269
+ </xs:complexType>
270
+ </xs:schema>
@@ -0,0 +1,68 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="LIG-14.0">
3
+ <xs:element name="Property" type="Property"/>
4
+ <xs:complexType name="Property">
5
+ <xs:annotation>
6
+ <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.
7
+
8
+ 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.
9
+
10
+ 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.
11
+ </xs:documentation>
12
+ </xs:annotation>
13
+ <xs:all>
14
+ <xs:element name="Address" type="AddressType" minOccurs="1" maxOccurs="1">
15
+ <xs:annotation>
16
+ <xs:documentation>Address for the property.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="UPRN" type="UPRNType" minOccurs="1" maxOccurs="1">
20
+ <xs:annotation>
21
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ </xs:all>
25
+ </xs:complexType>
26
+ <xs:element name="AddressType" type="AddressType"/>
27
+ <xs:complexType name="AddressType">
28
+ <xs:annotation>
29
+ <xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
30
+
31
+ </xs:documentation>
32
+ </xs:annotation>
33
+ <xs:sequence>
34
+ <xs:element name="Address-Line-1" type="xs:string" minOccurs="0" maxOccurs="1"/>
35
+ <xs:element name="Address-Line-2" type="xs:string" minOccurs="0" maxOccurs="1"/>
36
+ <xs:element name="Address-Line-3" type="xs:string" minOccurs="0" maxOccurs="1"/>
37
+ <xs:element name="Post-Town" type="xs:string" minOccurs="1" maxOccurs="1"/>
38
+ <xs:element name="Postcode" type="PostcodeType" minOccurs="1" maxOccurs="1">
39
+ <xs:annotation>
40
+ <xs:documentation>The Postcode for the Address
41
+ </xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ <xs:simpleType name="UPRNType">
47
+ <xs:annotation>
48
+ <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>
49
+ </xs:annotation>
50
+ <xs:restriction base="xs:string">
51
+ <xs:pattern value="[0-9]{10}"/>
52
+ </xs:restriction>
53
+ </xs:simpleType>
54
+ <xs:simpleType name="PostcodeType">
55
+ <xs:restriction base="xs:string">
56
+ <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
57
+ </xs:restriction>
58
+ </xs:simpleType>
59
+ <xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
60
+ <xs:complexType name="PropertyKeyFields">
61
+ <xs:annotation>
62
+ <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>
63
+ </xs:annotation>
64
+ <xs:sequence>
65
+ <xs:element name="UPRN" type="UPRNType" minOccurs="1" maxOccurs="1"/>
66
+ </xs:sequence>
67
+ </xs:complexType>
68
+ </xs:schema>