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,317 +1,317 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" 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:annotation>
5
- <xs:documentation>Enumerated Domains (EnumeratedDomains.xsd) are explicit lists of pre-defined values that may be assigned to a data-item and any value assigned to an instance of that data-item must be a member of that defined list.
6
-
7
- For example a Boolean could be considered an enumerated Domain, with "True" or "False" as the only allowed values, as are {Days of Week} and {Country Codes}. In fact Enumerated Domain is actually a bit of a misnomer because it covers all pre-defined lists of allowed values, classification schemes and taxonomies not just "numbered values".
8
- </xs:documentation>
9
- </xs:annotation>
10
- <xs:simpleType name="ReportStatusCode">
11
- <xs:restriction base="xs:string">
12
- <xs:enumeration value="cancelled">
13
- <xs:annotation>
14
- <xs:documentation>Cancelled</xs:documentation>
15
- </xs:annotation>
16
- </xs:enumeration>
17
- <xs:enumeration value="entered">
18
- <xs:annotation>
19
- <xs:documentation>entered on the register</xs:documentation>
20
- </xs:annotation>
21
- </xs:enumeration>
22
- <xs:enumeration value="appeal">
23
- <xs:annotation>
24
- <xs:documentation>under appeal</xs:documentation>
25
- </xs:annotation>
26
- </xs:enumeration>
27
- <xs:enumeration value="removed">
28
- <xs:annotation>
29
- <xs:documentation>removed</xs:documentation>
30
- </xs:annotation>
31
- </xs:enumeration>
32
- <xs:enumeration value="rejected">
33
- <xs:annotation>
34
- <xs:documentation>rejected</xs:documentation>
35
- </xs:annotation>
36
- </xs:enumeration>
37
- </xs:restriction>
38
- </xs:simpleType>
39
- <xs:simpleType name="RestrictedAccessCode">
40
- <xs:annotation>
41
- <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
42
- </xs:annotation>
43
- <xs:restriction base="xs:string">
44
- <xs:enumeration value="0">
45
- <xs:annotation>
46
- <xs:documentation>No restriction</xs:documentation>
47
- </xs:annotation>
48
- </xs:enumeration>
49
- <xs:enumeration value="1">
50
- <xs:annotation>
51
- <xs:documentation>Exclude mortgage lenders</xs:documentation>
52
- </xs:annotation>
53
- </xs:enumeration>
54
- <xs:enumeration value="2">
55
- <xs:annotation>
56
- <xs:documentation>Mortgage lenders only</xs:documentation>
57
- </xs:annotation>
58
- </xs:enumeration>
59
- <xs:enumeration value="4">
60
- <xs:annotation>
61
- <xs:documentation>No access allowed</xs:documentation>
62
- </xs:annotation>
63
- </xs:enumeration>
64
- </xs:restriction>
65
- </xs:simpleType>
66
- <xs:simpleType name="ReportTypeCode">
67
- <xs:restriction base="xs:string">
68
- <xs:enumeration value="1">
69
- <xs:annotation>
70
- <xs:documentation>Home Condition Report</xs:documentation>
71
- </xs:annotation>
72
- </xs:enumeration>
73
- <xs:enumeration value="2">
74
- <xs:annotation>
75
- <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
76
- </xs:annotation>
77
- </xs:enumeration>
78
- <xs:enumeration value="3">
79
- <xs:annotation>
80
- <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
81
- </xs:annotation>
82
- </xs:enumeration>
83
- <xs:enumeration value="4">
84
- <xs:annotation>
85
- <xs:documentation>Interim RdSAP Energy Performance Certificate (to be superseded by SAP EPC)</xs:documentation>
86
- </xs:annotation>
87
- </xs:enumeration>
88
- </xs:restriction>
89
- </xs:simpleType>
90
- <xs:simpleType name="BlockStoreyCode">
91
- <xs:restriction base="xs:string">
92
- <xs:enumeration value="-1">
93
- <xs:annotation>
94
- <xs:documentation>Basement</xs:documentation>
95
- </xs:annotation>
96
- </xs:enumeration>
97
- <xs:enumeration value="00">
98
- <xs:annotation>
99
- <xs:documentation>Ground</xs:documentation>
100
- </xs:annotation>
101
- </xs:enumeration>
102
- <xs:enumeration value="01">
103
- <xs:annotation>
104
- <xs:documentation>1st</xs:documentation>
105
- </xs:annotation>
106
- </xs:enumeration>
107
- <xs:enumeration value="02">
108
- <xs:annotation>
109
- <xs:documentation>2nd</xs:documentation>
110
- </xs:annotation>
111
- </xs:enumeration>
112
- <xs:enumeration value="03">
113
- <xs:annotation>
114
- <xs:documentation>3rd</xs:documentation>
115
- </xs:annotation>
116
- </xs:enumeration>
117
- <xs:enumeration value="04">
118
- <xs:annotation>
119
- <xs:documentation>4th</xs:documentation>
120
- </xs:annotation>
121
- </xs:enumeration>
122
- <xs:enumeration value="05">
123
- <xs:annotation>
124
- <xs:documentation>5th</xs:documentation>
125
- </xs:annotation>
126
- </xs:enumeration>
127
- <xs:enumeration value="06">
128
- <xs:annotation>
129
- <xs:documentation>6th</xs:documentation>
130
- </xs:annotation>
131
- </xs:enumeration>
132
- <xs:enumeration value="07">
133
- <xs:annotation>
134
- <xs:documentation>7th</xs:documentation>
135
- </xs:annotation>
136
- </xs:enumeration>
137
- <xs:enumeration value="08">
138
- <xs:annotation>
139
- <xs:documentation>8th</xs:documentation>
140
- </xs:annotation>
141
- </xs:enumeration>
142
- <xs:enumeration value="09">
143
- <xs:annotation>
144
- <xs:documentation>9th</xs:documentation>
145
- </xs:annotation>
146
- </xs:enumeration>
147
- <xs:enumeration value="10">
148
- <xs:annotation>
149
- <xs:documentation>10th</xs:documentation>
150
- </xs:annotation>
151
- </xs:enumeration>
152
- <xs:enumeration value="11">
153
- <xs:annotation>
154
- <xs:documentation>11th</xs:documentation>
155
- </xs:annotation>
156
- </xs:enumeration>
157
- <xs:enumeration value="12">
158
- <xs:annotation>
159
- <xs:documentation>12th</xs:documentation>
160
- </xs:annotation>
161
- </xs:enumeration>
162
- <xs:enumeration value="13">
163
- <xs:annotation>
164
- <xs:documentation>13th</xs:documentation>
165
- </xs:annotation>
166
- </xs:enumeration>
167
- <xs:enumeration value="14">
168
- <xs:annotation>
169
- <xs:documentation>14th</xs:documentation>
170
- </xs:annotation>
171
- </xs:enumeration>
172
- <xs:enumeration value="15">
173
- <xs:annotation>
174
- <xs:documentation>15th</xs:documentation>
175
- </xs:annotation>
176
- </xs:enumeration>
177
- <xs:enumeration value="16">
178
- <xs:annotation>
179
- <xs:documentation>16th</xs:documentation>
180
- </xs:annotation>
181
- </xs:enumeration>
182
- <xs:enumeration value="17">
183
- <xs:annotation>
184
- <xs:documentation>17th</xs:documentation>
185
- </xs:annotation>
186
- </xs:enumeration>
187
- <xs:enumeration value="18">
188
- <xs:annotation>
189
- <xs:documentation>18th</xs:documentation>
190
- </xs:annotation>
191
- </xs:enumeration>
192
- <xs:enumeration value="19">
193
- <xs:annotation>
194
- <xs:documentation>19th</xs:documentation>
195
- </xs:annotation>
196
- </xs:enumeration>
197
- <xs:enumeration value="20">
198
- <xs:annotation>
199
- <xs:documentation>20th</xs:documentation>
200
- </xs:annotation>
201
- </xs:enumeration>
202
- <xs:enumeration value="20+">
203
- <xs:annotation>
204
- <xs:documentation>21st or above</xs:documentation>
205
- </xs:annotation>
206
- </xs:enumeration>
207
- </xs:restriction>
208
- </xs:simpleType>
209
- <xs:simpleType name="PropertyTypeCode">
210
- <xs:annotation>
211
- <xs:documentation>Code which indicates the type of property.</xs:documentation>
212
- </xs:annotation>
213
- <xs:restriction base="xs:string">
214
- <xs:enumeration value="0">
215
- <xs:annotation>
216
- <xs:documentation>House</xs:documentation>
217
- </xs:annotation>
218
- </xs:enumeration>
219
- <xs:enumeration value="1">
220
- <xs:annotation>
221
- <xs:documentation>Bungalow</xs:documentation>
222
- </xs:annotation>
223
- </xs:enumeration>
224
- <xs:enumeration value="2">
225
- <xs:annotation>
226
- <xs:documentation>Flat</xs:documentation>
227
- </xs:annotation>
228
- </xs:enumeration>
229
- <xs:enumeration value="3">
230
- <xs:annotation>
231
- <xs:documentation>Maisonette</xs:documentation>
232
- </xs:annotation>
233
- </xs:enumeration>
234
- </xs:restriction>
235
- </xs:simpleType>
236
- <xs:simpleType name="TransactionType">
237
- <xs:restriction base="xs:string">
238
- <xs:enumeration value="1">
239
- <xs:annotation>
240
- <xs:documentation>marketed sale</xs:documentation>
241
- </xs:annotation>
242
- </xs:enumeration>
243
- <xs:enumeration value="2">
244
- <xs:annotation>
245
- <xs:documentation>non marketed sale</xs:documentation>
246
- </xs:annotation>
247
- </xs:enumeration>
248
- <xs:enumeration value="3">
249
- <xs:annotation>
250
- <xs:documentation>rental (social)</xs:documentation>
251
- </xs:annotation>
252
- </xs:enumeration>
253
- <xs:enumeration value="4">
254
- <xs:annotation>
255
- <xs:documentation>rental (private)</xs:documentation>
256
- </xs:annotation>
257
- </xs:enumeration>
258
- <xs:enumeration value="5">
259
- <xs:annotation>
260
- <xs:documentation>not sale or rental</xs:documentation>
261
- </xs:annotation>
262
- </xs:enumeration>
263
- <xs:enumeration value="6">
264
- <xs:annotation>
265
- <xs:documentation>new dwelling</xs:documentation>
266
- </xs:annotation>
267
- </xs:enumeration>
268
- <xs:enumeration value="7">
269
- <xs:annotation>
270
- <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
271
- </xs:annotation>
272
- </xs:enumeration>
273
- </xs:restriction>
274
- </xs:simpleType>
275
- <xs:simpleType name="DisclosureCode">
276
- <xs:annotation>
277
- <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
278
- </xs:annotation>
279
- <xs:restriction base="xs:string">
280
- <xs:enumeration value="1">
281
- <xs:annotation>
282
- <xs:documentation>No related party</xs:documentation>
283
- </xs:annotation>
284
- </xs:enumeration>
285
- <xs:enumeration value="2">
286
- <xs:annotation>
287
- <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
288
- </xs:annotation>
289
- </xs:enumeration>
290
- <xs:enumeration value="3">
291
- <xs:annotation>
292
- <xs:documentation>Residing at the property</xs:documentation>
293
- </xs:annotation>
294
- </xs:enumeration>
295
- <xs:enumeration value="4">
296
- <xs:annotation>
297
- <xs:documentation>Financial interest in the property</xs:documentation>
298
- </xs:annotation>
299
- </xs:enumeration>
300
- <xs:enumeration value="5">
301
- <xs:annotation>
302
- <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
303
- </xs:annotation>
304
- </xs:enumeration>
305
- <xs:enumeration value="6">
306
- <xs:annotation>
307
- <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
308
- </xs:annotation>
309
- </xs:enumeration>
310
- <xs:enumeration value="7">
311
- <xs:annotation>
312
- <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
313
- </xs:annotation>
314
- </xs:enumeration>
315
- </xs:restriction>
316
- </xs:simpleType>
317
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" 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:annotation>
5
+ <xs:documentation>Enumerated Domains (EnumeratedDomains.xsd) are explicit lists of pre-defined values that may be assigned to a data-item and any value assigned to an instance of that data-item must be a member of that defined list.
6
+
7
+ For example a Boolean could be considered an enumerated Domain, with "True" or "False" as the only allowed values, as are {Days of Week} and {Country Codes}. In fact Enumerated Domain is actually a bit of a misnomer because it covers all pre-defined lists of allowed values, classification schemes and taxonomies not just "numbered values".
8
+ </xs:documentation>
9
+ </xs:annotation>
10
+ <xs:simpleType name="ReportStatusCode">
11
+ <xs:restriction base="xs:string">
12
+ <xs:enumeration value="cancelled">
13
+ <xs:annotation>
14
+ <xs:documentation>Cancelled</xs:documentation>
15
+ </xs:annotation>
16
+ </xs:enumeration>
17
+ <xs:enumeration value="entered">
18
+ <xs:annotation>
19
+ <xs:documentation>entered on the register</xs:documentation>
20
+ </xs:annotation>
21
+ </xs:enumeration>
22
+ <xs:enumeration value="appeal">
23
+ <xs:annotation>
24
+ <xs:documentation>under appeal</xs:documentation>
25
+ </xs:annotation>
26
+ </xs:enumeration>
27
+ <xs:enumeration value="removed">
28
+ <xs:annotation>
29
+ <xs:documentation>removed</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:enumeration>
32
+ <xs:enumeration value="rejected">
33
+ <xs:annotation>
34
+ <xs:documentation>rejected</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:enumeration>
37
+ </xs:restriction>
38
+ </xs:simpleType>
39
+ <xs:simpleType name="RestrictedAccessCode">
40
+ <xs:annotation>
41
+ <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
42
+ </xs:annotation>
43
+ <xs:restriction base="xs:string">
44
+ <xs:enumeration value="0">
45
+ <xs:annotation>
46
+ <xs:documentation>No restriction</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:enumeration>
49
+ <xs:enumeration value="1">
50
+ <xs:annotation>
51
+ <xs:documentation>Exclude mortgage lenders</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:enumeration>
54
+ <xs:enumeration value="2">
55
+ <xs:annotation>
56
+ <xs:documentation>Mortgage lenders only</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:enumeration>
59
+ <xs:enumeration value="4">
60
+ <xs:annotation>
61
+ <xs:documentation>No access allowed</xs:documentation>
62
+ </xs:annotation>
63
+ </xs:enumeration>
64
+ </xs:restriction>
65
+ </xs:simpleType>
66
+ <xs:simpleType name="ReportTypeCode">
67
+ <xs:restriction base="xs:string">
68
+ <xs:enumeration value="1">
69
+ <xs:annotation>
70
+ <xs:documentation>Home Condition Report</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:enumeration>
73
+ <xs:enumeration value="2">
74
+ <xs:annotation>
75
+ <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:enumeration>
78
+ <xs:enumeration value="3">
79
+ <xs:annotation>
80
+ <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:enumeration>
83
+ <xs:enumeration value="4">
84
+ <xs:annotation>
85
+ <xs:documentation>Interim RdSAP Energy Performance Certificate (to be superseded by SAP EPC)</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:enumeration>
88
+ </xs:restriction>
89
+ </xs:simpleType>
90
+ <xs:simpleType name="BlockStoreyCode">
91
+ <xs:restriction base="xs:string">
92
+ <xs:enumeration value="-1">
93
+ <xs:annotation>
94
+ <xs:documentation>Basement</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:enumeration>
97
+ <xs:enumeration value="00">
98
+ <xs:annotation>
99
+ <xs:documentation>Ground</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:enumeration>
102
+ <xs:enumeration value="01">
103
+ <xs:annotation>
104
+ <xs:documentation>1st</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:enumeration>
107
+ <xs:enumeration value="02">
108
+ <xs:annotation>
109
+ <xs:documentation>2nd</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:enumeration>
112
+ <xs:enumeration value="03">
113
+ <xs:annotation>
114
+ <xs:documentation>3rd</xs:documentation>
115
+ </xs:annotation>
116
+ </xs:enumeration>
117
+ <xs:enumeration value="04">
118
+ <xs:annotation>
119
+ <xs:documentation>4th</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:enumeration>
122
+ <xs:enumeration value="05">
123
+ <xs:annotation>
124
+ <xs:documentation>5th</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:enumeration>
127
+ <xs:enumeration value="06">
128
+ <xs:annotation>
129
+ <xs:documentation>6th</xs:documentation>
130
+ </xs:annotation>
131
+ </xs:enumeration>
132
+ <xs:enumeration value="07">
133
+ <xs:annotation>
134
+ <xs:documentation>7th</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:enumeration>
137
+ <xs:enumeration value="08">
138
+ <xs:annotation>
139
+ <xs:documentation>8th</xs:documentation>
140
+ </xs:annotation>
141
+ </xs:enumeration>
142
+ <xs:enumeration value="09">
143
+ <xs:annotation>
144
+ <xs:documentation>9th</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:enumeration>
147
+ <xs:enumeration value="10">
148
+ <xs:annotation>
149
+ <xs:documentation>10th</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:enumeration>
152
+ <xs:enumeration value="11">
153
+ <xs:annotation>
154
+ <xs:documentation>11th</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:enumeration>
157
+ <xs:enumeration value="12">
158
+ <xs:annotation>
159
+ <xs:documentation>12th</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:enumeration>
162
+ <xs:enumeration value="13">
163
+ <xs:annotation>
164
+ <xs:documentation>13th</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:enumeration>
167
+ <xs:enumeration value="14">
168
+ <xs:annotation>
169
+ <xs:documentation>14th</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:enumeration>
172
+ <xs:enumeration value="15">
173
+ <xs:annotation>
174
+ <xs:documentation>15th</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:enumeration>
177
+ <xs:enumeration value="16">
178
+ <xs:annotation>
179
+ <xs:documentation>16th</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:enumeration>
182
+ <xs:enumeration value="17">
183
+ <xs:annotation>
184
+ <xs:documentation>17th</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:enumeration>
187
+ <xs:enumeration value="18">
188
+ <xs:annotation>
189
+ <xs:documentation>18th</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:enumeration>
192
+ <xs:enumeration value="19">
193
+ <xs:annotation>
194
+ <xs:documentation>19th</xs:documentation>
195
+ </xs:annotation>
196
+ </xs:enumeration>
197
+ <xs:enumeration value="20">
198
+ <xs:annotation>
199
+ <xs:documentation>20th</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:enumeration>
202
+ <xs:enumeration value="20+">
203
+ <xs:annotation>
204
+ <xs:documentation>21st or above</xs:documentation>
205
+ </xs:annotation>
206
+ </xs:enumeration>
207
+ </xs:restriction>
208
+ </xs:simpleType>
209
+ <xs:simpleType name="PropertyTypeCode">
210
+ <xs:annotation>
211
+ <xs:documentation>Code which indicates the type of property.</xs:documentation>
212
+ </xs:annotation>
213
+ <xs:restriction base="xs:string">
214
+ <xs:enumeration value="0">
215
+ <xs:annotation>
216
+ <xs:documentation>House</xs:documentation>
217
+ </xs:annotation>
218
+ </xs:enumeration>
219
+ <xs:enumeration value="1">
220
+ <xs:annotation>
221
+ <xs:documentation>Bungalow</xs:documentation>
222
+ </xs:annotation>
223
+ </xs:enumeration>
224
+ <xs:enumeration value="2">
225
+ <xs:annotation>
226
+ <xs:documentation>Flat</xs:documentation>
227
+ </xs:annotation>
228
+ </xs:enumeration>
229
+ <xs:enumeration value="3">
230
+ <xs:annotation>
231
+ <xs:documentation>Maisonette</xs:documentation>
232
+ </xs:annotation>
233
+ </xs:enumeration>
234
+ </xs:restriction>
235
+ </xs:simpleType>
236
+ <xs:simpleType name="TransactionType">
237
+ <xs:restriction base="xs:string">
238
+ <xs:enumeration value="1">
239
+ <xs:annotation>
240
+ <xs:documentation>marketed sale</xs:documentation>
241
+ </xs:annotation>
242
+ </xs:enumeration>
243
+ <xs:enumeration value="2">
244
+ <xs:annotation>
245
+ <xs:documentation>non marketed sale</xs:documentation>
246
+ </xs:annotation>
247
+ </xs:enumeration>
248
+ <xs:enumeration value="3">
249
+ <xs:annotation>
250
+ <xs:documentation>rental (social)</xs:documentation>
251
+ </xs:annotation>
252
+ </xs:enumeration>
253
+ <xs:enumeration value="4">
254
+ <xs:annotation>
255
+ <xs:documentation>rental (private)</xs:documentation>
256
+ </xs:annotation>
257
+ </xs:enumeration>
258
+ <xs:enumeration value="5">
259
+ <xs:annotation>
260
+ <xs:documentation>not sale or rental</xs:documentation>
261
+ </xs:annotation>
262
+ </xs:enumeration>
263
+ <xs:enumeration value="6">
264
+ <xs:annotation>
265
+ <xs:documentation>new dwelling</xs:documentation>
266
+ </xs:annotation>
267
+ </xs:enumeration>
268
+ <xs:enumeration value="7">
269
+ <xs:annotation>
270
+ <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
271
+ </xs:annotation>
272
+ </xs:enumeration>
273
+ </xs:restriction>
274
+ </xs:simpleType>
275
+ <xs:simpleType name="DisclosureCode">
276
+ <xs:annotation>
277
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
278
+ </xs:annotation>
279
+ <xs:restriction base="xs:string">
280
+ <xs:enumeration value="1">
281
+ <xs:annotation>
282
+ <xs:documentation>No related party</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:enumeration>
285
+ <xs:enumeration value="2">
286
+ <xs:annotation>
287
+ <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
288
+ </xs:annotation>
289
+ </xs:enumeration>
290
+ <xs:enumeration value="3">
291
+ <xs:annotation>
292
+ <xs:documentation>Residing at the property</xs:documentation>
293
+ </xs:annotation>
294
+ </xs:enumeration>
295
+ <xs:enumeration value="4">
296
+ <xs:annotation>
297
+ <xs:documentation>Financial interest in the property</xs:documentation>
298
+ </xs:annotation>
299
+ </xs:enumeration>
300
+ <xs:enumeration value="5">
301
+ <xs:annotation>
302
+ <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
303
+ </xs:annotation>
304
+ </xs:enumeration>
305
+ <xs:enumeration value="6">
306
+ <xs:annotation>
307
+ <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
308
+ </xs:annotation>
309
+ </xs:enumeration>
310
+ <xs:enumeration value="7">
311
+ <xs:annotation>
312
+ <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
313
+ </xs:annotation>
314
+ </xs:enumeration>
315
+ </xs:restriction>
316
+ </xs:simpleType>
317
+ </xs:schema>