epb_view_models 2.7.1 → 2.8.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 (149) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +19 -2
  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/CEPC-S-8.0.0/Reports/BaseDataTypes.xsd +302 -0
  21. data/api/schemas/xml/CEPC-S-8.0.0/Reports/CEPC-Reports.xsd +69 -0
  22. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Input-Data.xsd +39 -0
  23. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Performance-Summary.xsd +130 -0
  24. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Property.xsd +72 -0
  25. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Report-Header.xsd +182 -0
  26. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Reported-Data.xsd +411 -0
  27. data/api/schemas/xml/CEPC-S-8.0.0/Reports/UserManagement.xsd +175 -0
  28. data/api/schemas/xml/CS63-S-8.0.0/ActionPlan.xsd +822 -0
  29. data/api/schemas/xml/DECAR-S-8.0.0/DEC-Summary.xsd +399 -0
  30. data/api/schemas/xml/DECAR-S-8.0.0/Reports/BaseDataTypes.xsd +187 -0
  31. data/api/schemas/xml/DECAR-S-8.0.0/Reports/CEPC-Reports.xsd +78 -0
  32. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Input-Data.xsd +313 -0
  33. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Performance-Summary.xsd +111 -0
  34. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Report-Header.xsd +455 -0
  35. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Reported-Data.xsd +408 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  37. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  38. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  39. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  40. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  41. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  42. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  43. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  44. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  45. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  46. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  47. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  48. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  49. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  50. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  51. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  52. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  53. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  54. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  55. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  56. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  57. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  58. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  59. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  60. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  61. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  62. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  63. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  64. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  65. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  66. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  67. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  68. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  69. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  70. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  71. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  72. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  73. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  74. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  75. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  76. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  77. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  78. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  79. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  80. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  81. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  82. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  83. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  84. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  85. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  86. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  87. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  88. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xml +1832 -0
  89. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xsd +267 -0
  90. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/AssessorManagement.xsd +212 -0
  91. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-Certificate.xsd +399 -0
  92. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-CollectedData.xsd +1453 -0
  93. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/Property.xsd +67 -0
  94. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/RdSAP-Report.xsd +179 -0
  95. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/EPC-Domains.xsd +943 -0
  96. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/SAP-Domains.xsd +3557 -0
  97. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.txt +236 -236
  98. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.xml +1456 -1456
  99. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/EPC-Certificate.xsd +433 -433
  100. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/Property.xsd +69 -69
  101. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-CollectedData.xsd +1326 -1326
  102. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-Report.xsd +196 -196
  103. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/UserManagement.xsd +217 -217
  104. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/BaseDataTypes.xsd +175 -175
  105. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/EPC-Domains.xsd +813 -813
  106. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SAP09-Domains.xsd +3457 -3457
  107. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SharedDomains.xsd +317 -317
  108. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xml +1456 -1456
  109. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xsd +236 -236
  110. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/AssessorManagement.xsd +216 -216
  111. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/EPC-Certificate.xsd +457 -457
  112. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ExceptionList.xsd +18 -18
  113. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/Property.xsd +62 -62
  114. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ReportList.xsd +26 -26
  115. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-CollectedData.xsd +1444 -1444
  116. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-Report.xsd +193 -193
  117. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/EPC-Domains.xsd +558 -558
  118. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/SAP-Domains.xsd +2975 -2975
  119. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xml +1352 -0
  120. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xsd +242 -0
  121. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/AssessorManagement.xsd +210 -0
  122. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/EPC-Certificate.xsd +495 -0
  123. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ExceptionList.xsd +23 -0
  124. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/Property.xsd +77 -0
  125. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ReportList.xsd +30 -0
  126. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-CollectedData.xsd +1800 -0
  127. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Compliance-Report.xsd +40 -0
  128. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Report.xsd +206 -0
  129. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/EPC-Domains.xsd +564 -0
  130. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/SAP-Domains.xsd +3140 -0
  131. data/lib/epb_view_models/version.rb +1 -1
  132. data/lib/view_model/cepc800/common_schema.rb +7 -7
  133. data/lib/view_model/cepc_s_800/cepc.rb +184 -0
  134. data/lib/view_model/cepc_wrapper.rb +2 -0
  135. data/lib/view_model/{cs63 → cs63_70}/common_schema.rb +1 -1
  136. data/lib/view_model/cs63_800/common_schema.rb +211 -0
  137. data/lib/view_model/cs63_wrapper.rb +15 -3
  138. data/lib/view_model/dec_rr_wrapper.rb +2 -0
  139. data/lib/view_model/dec_summary_wrapper.rb +2 -0
  140. data/lib/view_model/dec_wrapper.rb +2 -0
  141. data/lib/view_model/decar_s_800/common_schema.rb +109 -0
  142. data/lib/view_model/decar_s_800/dec.rb +235 -0
  143. data/lib/view_model/decar_s_800/dec_rr.rb +102 -0
  144. data/lib/view_model/factory.rb +6 -1
  145. data/lib/view_model/rd_sap_schema_s_2200/common_schema.rb +685 -0
  146. data/lib/view_model/rd_sap_wrapper.rb +4 -2
  147. data/lib/view_model/sap_schema_s_2000/common_schema.rb +619 -0
  148. data/lib/view_model/sap_wrapper.rb +2 -0
  149. metadata +46 -2
@@ -1,196 +1,196 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- edited with XMLSpy v2007 rel. 3 sp1 (http://www.altova.com) by Niall Horgan (Bridgeall Technology) -->
3
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bdt="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09/BaseDataTypes" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
4
- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
5
- <xs:include schemaLocation="../UDT/SharedDomains.xsd"/>
6
- <xs:include schemaLocation="../UDT/SAP09-Domains.xsd"/>
7
- <xs:include schemaLocation="UserManagement.xsd"/>
8
- <xs:include schemaLocation="Property.xsd"/>
9
- <xs:include schemaLocation="SAP09-CollectedData.xsd"/>
10
- <xs:include schemaLocation="EPC-Certificate.xsd"/>
11
- <xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
12
- <xs:complexType name="Energy-Performance-Certificate">
13
- <xs:sequence>
14
- <xs:element name="SAP-Version" type="SAP-VersionCode">
15
- <xs:annotation>
16
- <xs:documentation>SAP version that was used for the calculation.</xs:documentation>
17
- </xs:annotation>
18
- </xs:element>
19
- <xs:element name="SAP-Data-Version" type="SAP-VersionCode" minOccurs="0">
20
- <xs:annotation>
21
- <xs:documentation>Version of SAP that was used to define the input data for the calculation. This is included when it differs from SAP-Version</xs:documentation>
22
- </xs:annotation>
23
- </xs:element>
24
- <xs:element name="BEDF-Revision-Number" type="xs:nonNegativeInteger" minOccurs="0">
25
- <xs:annotation>
26
- <xs:documentation>BEDF Revision Number from SEDBUK database if boiler details retrieved from database (as on the $001 line in bedf2005.dat); if boiler or other data (mechanical vent system, PFGHRD) from database. This must be included if any item is from database. At the moment it can be
27
- - boilers
28
- - mech vent system
29
- but others things will be added in future revisions.</xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element name="Calculation-Software-Name" type="xs:string">
33
- <xs:annotation>
34
- <xs:documentation>Name of the software used to perform the SAP calculation.</xs:documentation>
35
- </xs:annotation>
36
- </xs:element>
37
- <xs:element name="Calculation-Software-Version" type="xs:string">
38
- <xs:annotation>
39
- <xs:documentation>Version of the software used to perform the SAP calculation.</xs:documentation>
40
- </xs:annotation>
41
- </xs:element>
42
- <xs:element name="Report-Header" type="Report-Header"/>
43
- <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
44
- <xs:element name="SAP09-Data" type="SAP09-Data"/>
45
- <xs:element name="PDF" type="xs:base64Binary"/>
46
- <xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
47
- <xs:element name="ExternalDefinitions-Revision-Number" type="xs:string">
48
- <xs:annotation>
49
- <xs:documentation>A number indicating the version of related ExternalDefinitions.xsd</xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- </xs:sequence>
53
- </xs:complexType>
54
- <xs:complexType name="Insurance-Details">
55
- <xs:annotation>
56
- <xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Home Condition Report.
57
-
58
- A particular Home Condition Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
59
- * The Home Inspector has personal Professional Indemnity Insurance and the Home Condition Report is covered by this.
60
- * The Home Condition Report is covered by an umbrella Professional Indemnity Insurance policy held by the Home Condition Report Supplier that assigned the inspection to the Home Inspector.
61
- * An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Home Inspectors normal Professional Indemnity Insurance policy.
62
-
63
- A Home Inspector may use any or all of these methods to providing Professional Indemnity Insurance for a Home Condition Report on a case-by-case basis.
64
- </xs:documentation>
65
- </xs:annotation>
66
- <xs:all>
67
- <xs:element name="Insurer" type="xs:string">
68
- <xs:annotation>
69
- <xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
70
- </xs:annotation>
71
- </xs:element>
72
- <xs:element name="Policy-No" type="xs:string">
73
- <xs:annotation>
74
- <xs:documentation>The policy number of the insurance policy</xs:documentation>
75
- </xs:annotation>
76
- </xs:element>
77
- <xs:element name="Effective-Date" type="xs:date">
78
- <xs:annotation>
79
- <xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
80
- </xs:annotation>
81
- </xs:element>
82
- <xs:element name="Expiry-Date" type="xs:date">
83
- <xs:annotation>
84
- <xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
85
- </xs:annotation>
86
- </xs:element>
87
- <xs:element name="PI-Limit" type="bdt:Money">
88
- <xs:annotation>
89
- <xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
90
- </xs:annotation>
91
- </xs:element>
92
- </xs:all>
93
- </xs:complexType>
94
- <xs:complexType name="Report-Header">
95
- <xs:annotation>
96
- <xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
97
- </xs:annotation>
98
- <xs:sequence>
99
- <xs:element name="RRN" type="bdt:RRNType">
100
- <xs:annotation>
101
- <xs:documentation>Report Reference Number is the unique report Identifier that the report will be publicly known by.
102
-
103
- The RRN is allocated to the Report at the point that it is registered and will be algorithmically derived from the natural key characteristics of the Home Condition Report i.e. The Unique Property Reference Number (UPRN) and Inspection Date.</xs:documentation>
104
- </xs:annotation>
105
- </xs:element>
106
- <xs:element name="Inspection-Date" type="xs:date">
107
- <xs:annotation>
108
- <xs:documentation>The date that the inspection was actually carried out by the Home Inspector.</xs:documentation>
109
- </xs:annotation>
110
- </xs:element>
111
- <xs:element name="Report-Type" type="ReportTypeCode">
112
- <xs:annotation>
113
- <xs:documentation>The type of Home Inspection that was carried out.
114
-
115
- Initially the only allowed type will be a Home Condition Report inspection but this may be extended in the future to cover Energy Assessment Only inspections.</xs:documentation>
116
- </xs:annotation>
117
- </xs:element>
118
- <xs:element name="Completion-Date" type="xs:date">
119
- <xs:annotation>
120
- <xs:documentation>The date that the Home Inspector completed the report. This will be after the Inspection Date but generally before the Registration Date.</xs:documentation>
121
- </xs:annotation>
122
- </xs:element>
123
- <xs:element name="Registration-Date" type="xs:date">
124
- <xs:annotation>
125
- <xs:documentation>The date that the report was submitted to the HCR Registration Organisation for lodging in the HCR Register.</xs:documentation>
126
- </xs:annotation>
127
- </xs:element>
128
- <xs:element name="Status" type="ReportStatusCode">
129
- <xs:annotation>
130
- <xs:documentation>The Status of the Report.
131
-
132
- A Home Condition Report can have a number of distinct states depending on whereabouts in its overall lifecycle the HCR is - see Home Condition Report Statechart for more details.</xs:documentation>
133
- </xs:annotation>
134
- </xs:element>
135
- <xs:element name="Language-Code" type="bdt:LanguageCode">
136
- <xs:annotation>
137
- <xs:documentation>The language that the report is written in. </xs:documentation>
138
- </xs:annotation>
139
- </xs:element>
140
- <xs:element name="Restricted-Access" type="RestrictedAccessCode">
141
- <xs:annotation>
142
- <xs:documentation>Indicates that the Seller wants to restrict access to the Home Condition Report to General Public / Unregistered Users only.
143
-
144
- Some members of the public have a moral / religious objection to money lending and hence may not want to let Mortgage Lenders have access to the data. When set to "Yes" retrieval of the structured (XML) data will be blocked.
145
-
146
- However anyone with access to the Report Reference Number (RRN) can retrieve the PDF version of the Home Condition Report via the public access mechanism which cannot be restricted in this way.</xs:documentation>
147
- </xs:annotation>
148
- </xs:element>
149
- <xs:element name="Tenure" type="xs:string"/>
150
- <xs:element name="Transaction-Type" type="xs:positiveInteger"/>
151
- <xs:element name="Seller-Commission-Report" type="bdt:Flag">
152
- <xs:annotation>
153
- <xs:documentation>Indicates that the HCR was commissioned by the Seller of the Property or their Agent. This is required in order to differentiate these reports from Buyer commisioned reports which are not eligible for inclusion in a Home Information Pack</xs:documentation>
154
- </xs:annotation>
155
- </xs:element>
156
- <xs:element name="ClonedRRN" type="bdt:RRNType" minOccurs="0">
157
- <xs:annotation>
158
- <xs:documentation>If the EPC is a clone of another EPC, the parent RRN should be included here. If the EPC is not a clone this element should not be provided. </xs:documentation>
159
- </xs:annotation>
160
- </xs:element>
161
- <xs:element name="Property-Type" type="PropertyTypeCode">
162
- <xs:annotation>
163
- <xs:documentation>Describes the type of Property that is being inspected. This should be the same as the Property-Type recorded in the Property-Details section.</xs:documentation>
164
- </xs:annotation>
165
- </xs:element>
166
- <xs:element name="Home-Inspector" type="Home-Inspector"/>
167
- <xs:element name="Property" type="Property"/>
168
- <xs:element name="Region-Code" type="UKRegionCode" minOccurs="0">
169
- <xs:annotation>
170
- <xs:documentation>Region within the UK.</xs:documentation>
171
- </xs:annotation>
172
- </xs:element>
173
- <xs:element name="Country-Code" type="UKCountryCode" minOccurs="0">
174
- <xs:annotation>
175
- <xs:documentation>Country within the UK.</xs:documentation>
176
- </xs:annotation>
177
- </xs:element>
178
- <xs:element name="Related-Party-Disclosure">
179
- <xs:complexType>
180
- <xs:choice>
181
- <xs:element name="Related-Party-Disclosure-Text" type="bdt:Sentence">
182
- <xs:annotation>
183
- <xs:documentation>For backward compatibility only.</xs:documentation>
184
- </xs:annotation>
185
- </xs:element>
186
- <xs:element name="Related-Party-Disclosure-Number" type="DisclosureCode">
187
- <xs:annotation>
188
- <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
189
- </xs:annotation>
190
- </xs:element>
191
- </xs:choice>
192
- </xs:complexType>
193
- </xs:element>
194
- </xs:sequence>
195
- </xs:complexType>
196
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2007 rel. 3 sp1 (http://www.altova.com) by Niall Horgan (Bridgeall Technology) -->
3
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bdt="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09/BaseDataTypes" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
4
+ <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
5
+ <xs:include schemaLocation="../UDT/SharedDomains.xsd"/>
6
+ <xs:include schemaLocation="../UDT/SAP09-Domains.xsd"/>
7
+ <xs:include schemaLocation="UserManagement.xsd"/>
8
+ <xs:include schemaLocation="Property.xsd"/>
9
+ <xs:include schemaLocation="SAP09-CollectedData.xsd"/>
10
+ <xs:include schemaLocation="EPC-Certificate.xsd"/>
11
+ <xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
12
+ <xs:complexType name="Energy-Performance-Certificate">
13
+ <xs:sequence>
14
+ <xs:element name="SAP-Version" type="SAP-VersionCode">
15
+ <xs:annotation>
16
+ <xs:documentation>SAP version that was used for the calculation.</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="SAP-Data-Version" type="SAP-VersionCode" minOccurs="0">
20
+ <xs:annotation>
21
+ <xs:documentation>Version of SAP that was used to define the input data for the calculation. This is included when it differs from SAP-Version</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ <xs:element name="BEDF-Revision-Number" type="xs:nonNegativeInteger" minOccurs="0">
25
+ <xs:annotation>
26
+ <xs:documentation>BEDF Revision Number from SEDBUK database if boiler details retrieved from database (as on the $001 line in bedf2005.dat); if boiler or other data (mechanical vent system, PFGHRD) from database. This must be included if any item is from database. At the moment it can be
27
+ - boilers
28
+ - mech vent system
29
+ but others things will be added in future revisions.</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Calculation-Software-Name" type="xs:string">
33
+ <xs:annotation>
34
+ <xs:documentation>Name of the software used to perform the SAP calculation.</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="Calculation-Software-Version" type="xs:string">
38
+ <xs:annotation>
39
+ <xs:documentation>Version of the software used to perform the SAP calculation.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="Report-Header" type="Report-Header"/>
43
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
44
+ <xs:element name="SAP09-Data" type="SAP09-Data"/>
45
+ <xs:element name="PDF" type="xs:base64Binary"/>
46
+ <xs:element name="Insurance-Details" type="Insurance-Details" minOccurs="0"/>
47
+ <xs:element name="ExternalDefinitions-Revision-Number" type="xs:string">
48
+ <xs:annotation>
49
+ <xs:documentation>A number indicating the version of related ExternalDefinitions.xsd</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ </xs:sequence>
53
+ </xs:complexType>
54
+ <xs:complexType name="Insurance-Details">
55
+ <xs:annotation>
56
+ <xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Home Condition Report.
57
+
58
+ A particular Home Condition Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
59
+ * The Home Inspector has personal Professional Indemnity Insurance and the Home Condition Report is covered by this.
60
+ * The Home Condition Report is covered by an umbrella Professional Indemnity Insurance policy held by the Home Condition Report Supplier that assigned the inspection to the Home Inspector.
61
+ * An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Home Inspectors normal Professional Indemnity Insurance policy.
62
+
63
+ A Home Inspector may use any or all of these methods to providing Professional Indemnity Insurance for a Home Condition Report on a case-by-case basis.
64
+ </xs:documentation>
65
+ </xs:annotation>
66
+ <xs:all>
67
+ <xs:element name="Insurer" type="xs:string">
68
+ <xs:annotation>
69
+ <xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Policy-No" type="xs:string">
73
+ <xs:annotation>
74
+ <xs:documentation>The policy number of the insurance policy</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Effective-Date" type="xs:date">
78
+ <xs:annotation>
79
+ <xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Expiry-Date" type="xs:date">
83
+ <xs:annotation>
84
+ <xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element name="PI-Limit" type="bdt:Money">
88
+ <xs:annotation>
89
+ <xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ </xs:all>
93
+ </xs:complexType>
94
+ <xs:complexType name="Report-Header">
95
+ <xs:annotation>
96
+ <xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
97
+ </xs:annotation>
98
+ <xs:sequence>
99
+ <xs:element name="RRN" type="bdt:RRNType">
100
+ <xs:annotation>
101
+ <xs:documentation>Report Reference Number is the unique report Identifier that the report will be publicly known by.
102
+
103
+ The RRN is allocated to the Report at the point that it is registered and will be algorithmically derived from the natural key characteristics of the Home Condition Report i.e. The Unique Property Reference Number (UPRN) and Inspection Date.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="Inspection-Date" type="xs:date">
107
+ <xs:annotation>
108
+ <xs:documentation>The date that the inspection was actually carried out by the Home Inspector.</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ <xs:element name="Report-Type" type="ReportTypeCode">
112
+ <xs:annotation>
113
+ <xs:documentation>The type of Home Inspection that was carried out.
114
+
115
+ Initially the only allowed type will be a Home Condition Report inspection but this may be extended in the future to cover Energy Assessment Only inspections.</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:element>
118
+ <xs:element name="Completion-Date" type="xs:date">
119
+ <xs:annotation>
120
+ <xs:documentation>The date that the Home Inspector completed the report. This will be after the Inspection Date but generally before the Registration Date.</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:element>
123
+ <xs:element name="Registration-Date" type="xs:date">
124
+ <xs:annotation>
125
+ <xs:documentation>The date that the report was submitted to the HCR Registration Organisation for lodging in the HCR Register.</xs:documentation>
126
+ </xs:annotation>
127
+ </xs:element>
128
+ <xs:element name="Status" type="ReportStatusCode">
129
+ <xs:annotation>
130
+ <xs:documentation>The Status of the Report.
131
+
132
+ A Home Condition Report can have a number of distinct states depending on whereabouts in its overall lifecycle the HCR is - see Home Condition Report Statechart for more details.</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ <xs:element name="Language-Code" type="bdt:LanguageCode">
136
+ <xs:annotation>
137
+ <xs:documentation>The language that the report is written in. </xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ <xs:element name="Restricted-Access" type="RestrictedAccessCode">
141
+ <xs:annotation>
142
+ <xs:documentation>Indicates that the Seller wants to restrict access to the Home Condition Report to General Public / Unregistered Users only.
143
+
144
+ Some members of the public have a moral / religious objection to money lending and hence may not want to let Mortgage Lenders have access to the data. When set to "Yes" retrieval of the structured (XML) data will be blocked.
145
+
146
+ However anyone with access to the Report Reference Number (RRN) can retrieve the PDF version of the Home Condition Report via the public access mechanism which cannot be restricted in this way.</xs:documentation>
147
+ </xs:annotation>
148
+ </xs:element>
149
+ <xs:element name="Tenure" type="xs:string"/>
150
+ <xs:element name="Transaction-Type" type="xs:positiveInteger"/>
151
+ <xs:element name="Seller-Commission-Report" type="bdt:Flag">
152
+ <xs:annotation>
153
+ <xs:documentation>Indicates that the HCR was commissioned by the Seller of the Property or their Agent. This is required in order to differentiate these reports from Buyer commisioned reports which are not eligible for inclusion in a Home Information Pack</xs:documentation>
154
+ </xs:annotation>
155
+ </xs:element>
156
+ <xs:element name="ClonedRRN" type="bdt:RRNType" minOccurs="0">
157
+ <xs:annotation>
158
+ <xs:documentation>If the EPC is a clone of another EPC, the parent RRN should be included here. If the EPC is not a clone this element should not be provided. </xs:documentation>
159
+ </xs:annotation>
160
+ </xs:element>
161
+ <xs:element name="Property-Type" type="PropertyTypeCode">
162
+ <xs:annotation>
163
+ <xs:documentation>Describes the type of Property that is being inspected. This should be the same as the Property-Type recorded in the Property-Details section.</xs:documentation>
164
+ </xs:annotation>
165
+ </xs:element>
166
+ <xs:element name="Home-Inspector" type="Home-Inspector"/>
167
+ <xs:element name="Property" type="Property"/>
168
+ <xs:element name="Region-Code" type="UKRegionCode" minOccurs="0">
169
+ <xs:annotation>
170
+ <xs:documentation>Region within the UK.</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:element>
173
+ <xs:element name="Country-Code" type="UKCountryCode" minOccurs="0">
174
+ <xs:annotation>
175
+ <xs:documentation>Country within the UK.</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:element>
178
+ <xs:element name="Related-Party-Disclosure">
179
+ <xs:complexType>
180
+ <xs:choice>
181
+ <xs:element name="Related-Party-Disclosure-Text" type="bdt:Sentence">
182
+ <xs:annotation>
183
+ <xs:documentation>For backward compatibility only.</xs:documentation>
184
+ </xs:annotation>
185
+ </xs:element>
186
+ <xs:element name="Related-Party-Disclosure-Number" type="DisclosureCode">
187
+ <xs:annotation>
188
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
189
+ </xs:annotation>
190
+ </xs:element>
191
+ </xs:choice>
192
+ </xs:complexType>
193
+ </xs:element>
194
+ </xs:sequence>
195
+ </xs:complexType>
196
+ </xs:schema>