epb_view_models 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +2 -2
  41. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
  43. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -44
  44. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -47
  45. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -44
  46. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -47
  47. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
  48. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -52
  49. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -52
  50. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -87
  51. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
  52. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP → RdSAP-Schema-S-15.0/RdSAP/Messages}/ExternalDefinitions.xsd +147 -147
  53. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -44
  54. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -28
  55. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -30
  56. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -52
  57. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -44
  58. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -46
  59. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -270
  60. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/Property.xsd +76 -68
  61. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd} +1334 -1188
  62. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd} +209 -195
  63. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -215
  64. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -175
  65. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
  66. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd} +3397 -3007
  67. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -311
  68. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
  69. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
  70. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
  71. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
  72. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
  73. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
  74. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
  75. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
  76. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
  77. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
  78. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
  79. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
  80. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
  81. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
  82. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
  83. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
  84. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -0
  85. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  86. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  87. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  88. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  89. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  90. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  91. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  92. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  93. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  94. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  95. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  96. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  97. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  98. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  99. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  100. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  101. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  102. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  103. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  104. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  105. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  106. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  107. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  108. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  109. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  110. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  111. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  112. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  113. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  114. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  115. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  116. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  117. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  118. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  119. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  120. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  121. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  122. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  123. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  124. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  125. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  126. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  127. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  128. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  129. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  130. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  131. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  132. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  133. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  134. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  135. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  136. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  137. data/lib/epb_view_models/version.rb +5 -0
  138. data/lib/epb_view_models.rb +1 -3
  139. data/lib/helper/rrn_helper.rb +4 -4
  140. data/lib/view_model/cs63/common_schema.rb +18 -18
  141. data/lib/view_model/factory.rb +2 -0
  142. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  143. data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
  144. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  145. metadata +71 -36
  146. data/.buildspec.yml +0 -13
  147. data/.gitignore +0 -19
  148. data/.rspec +0 -2
  149. data/.rubocop.yml +0 -8
  150. data/.ruby-version +0 -1
  151. data/Gemfile +0 -15
  152. data/Gemfile.lock +0 -122
  153. data/Makefile +0 -17
  154. data/Rakefile +0 -12
  155. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +0 -703
  156. data/epb_view_models.gemspec +0 -27
@@ -1,311 +1,323 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" elementFormDefault="qualified" version="LIG-14.0">
3
- <xs:annotation>
4
- <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.
5
-
6
- 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".
7
- </xs:documentation>
8
- </xs:annotation>
9
- <xs:simpleType name="ReportStatusCode">
10
- <xs:restriction base="xs:string">
11
- <xs:enumeration value="cancelled">
12
- <xs:annotation>
13
- <xs:documentation>Cancelled</xs:documentation>
14
- </xs:annotation>
15
- </xs:enumeration>
16
- <xs:enumeration value="entered">
17
- <xs:annotation>
18
- <xs:documentation>entered on the register</xs:documentation>
19
- </xs:annotation>
20
- </xs:enumeration>
21
- <xs:enumeration value="appeal">
22
- <xs:annotation>
23
- <xs:documentation>under appeal</xs:documentation>
24
- </xs:annotation>
25
- </xs:enumeration>
26
- <xs:enumeration value="removed">
27
- <xs:annotation>
28
- <xs:documentation>removed</xs:documentation>
29
- </xs:annotation>
30
- </xs:enumeration>
31
- <xs:enumeration value="rejected">
32
- <xs:annotation>
33
- <xs:documentation>rejected</xs:documentation>
34
- </xs:annotation>
35
- </xs:enumeration>
36
- </xs:restriction>
37
- </xs:simpleType>
38
- <xs:simpleType name="RestrictedAccessCode">
39
- <xs:annotation>
40
- <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
41
- </xs:annotation>
42
- <xs:restriction base="xs:string">
43
- <xs:enumeration value="0">
44
- <xs:annotation>
45
- <xs:documentation>No restriction</xs:documentation>
46
- </xs:annotation>
47
- </xs:enumeration>
48
- <xs:enumeration value="1">
49
- <xs:annotation>
50
- <xs:documentation>Exclude mortgage lenders</xs:documentation>
51
- </xs:annotation>
52
- </xs:enumeration>
53
- <xs:enumeration value="2">
54
- <xs:annotation>
55
- <xs:documentation>Mortgage lenders only</xs:documentation>
56
- </xs:annotation>
57
- </xs:enumeration>
58
- <xs:enumeration value="4">
59
- <xs:annotation>
60
- <xs:documentation>No access allowed</xs:documentation>
61
- </xs:annotation>
62
- </xs:enumeration>
63
- </xs:restriction>
64
- </xs:simpleType>
65
- <xs:simpleType name="ReportTypeCode">
66
- <xs:restriction base="xs:string">
67
- <xs:enumeration value="1">
68
- <xs:annotation>
69
- <xs:documentation>Home Condition Report</xs:documentation>
70
- </xs:annotation>
71
- </xs:enumeration>
72
- <xs:enumeration value="2">
73
- <xs:annotation>
74
- <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
75
- </xs:annotation>
76
- </xs:enumeration>
77
- <xs:enumeration value="3">
78
- <xs:annotation>
79
- <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
80
- </xs:annotation>
81
- </xs:enumeration>
82
- </xs:restriction>
83
- </xs:simpleType>
84
- <xs:simpleType name="BlockStoreyCode">
85
- <xs:restriction base="xs:string">
86
- <xs:enumeration value="-1">
87
- <xs:annotation>
88
- <xs:documentation>Basement</xs:documentation>
89
- </xs:annotation>
90
- </xs:enumeration>
91
- <xs:enumeration value="00">
92
- <xs:annotation>
93
- <xs:documentation>Ground</xs:documentation>
94
- </xs:annotation>
95
- </xs:enumeration>
96
- <xs:enumeration value="01">
97
- <xs:annotation>
98
- <xs:documentation>1st</xs:documentation>
99
- </xs:annotation>
100
- </xs:enumeration>
101
- <xs:enumeration value="02">
102
- <xs:annotation>
103
- <xs:documentation>2nd</xs:documentation>
104
- </xs:annotation>
105
- </xs:enumeration>
106
- <xs:enumeration value="03">
107
- <xs:annotation>
108
- <xs:documentation>3rd</xs:documentation>
109
- </xs:annotation>
110
- </xs:enumeration>
111
- <xs:enumeration value="04">
112
- <xs:annotation>
113
- <xs:documentation>4th</xs:documentation>
114
- </xs:annotation>
115
- </xs:enumeration>
116
- <xs:enumeration value="05">
117
- <xs:annotation>
118
- <xs:documentation>5th</xs:documentation>
119
- </xs:annotation>
120
- </xs:enumeration>
121
- <xs:enumeration value="06">
122
- <xs:annotation>
123
- <xs:documentation>6th</xs:documentation>
124
- </xs:annotation>
125
- </xs:enumeration>
126
- <xs:enumeration value="07">
127
- <xs:annotation>
128
- <xs:documentation>7th</xs:documentation>
129
- </xs:annotation>
130
- </xs:enumeration>
131
- <xs:enumeration value="08">
132
- <xs:annotation>
133
- <xs:documentation>8th</xs:documentation>
134
- </xs:annotation>
135
- </xs:enumeration>
136
- <xs:enumeration value="09">
137
- <xs:annotation>
138
- <xs:documentation>9th</xs:documentation>
139
- </xs:annotation>
140
- </xs:enumeration>
141
- <xs:enumeration value="10">
142
- <xs:annotation>
143
- <xs:documentation>10th</xs:documentation>
144
- </xs:annotation>
145
- </xs:enumeration>
146
- <xs:enumeration value="11">
147
- <xs:annotation>
148
- <xs:documentation>11th</xs:documentation>
149
- </xs:annotation>
150
- </xs:enumeration>
151
- <xs:enumeration value="12">
152
- <xs:annotation>
153
- <xs:documentation>12th</xs:documentation>
154
- </xs:annotation>
155
- </xs:enumeration>
156
- <xs:enumeration value="13">
157
- <xs:annotation>
158
- <xs:documentation>13th</xs:documentation>
159
- </xs:annotation>
160
- </xs:enumeration>
161
- <xs:enumeration value="14">
162
- <xs:annotation>
163
- <xs:documentation>14th</xs:documentation>
164
- </xs:annotation>
165
- </xs:enumeration>
166
- <xs:enumeration value="15">
167
- <xs:annotation>
168
- <xs:documentation>15th</xs:documentation>
169
- </xs:annotation>
170
- </xs:enumeration>
171
- <xs:enumeration value="16">
172
- <xs:annotation>
173
- <xs:documentation>16th</xs:documentation>
174
- </xs:annotation>
175
- </xs:enumeration>
176
- <xs:enumeration value="17">
177
- <xs:annotation>
178
- <xs:documentation>17th</xs:documentation>
179
- </xs:annotation>
180
- </xs:enumeration>
181
- <xs:enumeration value="18">
182
- <xs:annotation>
183
- <xs:documentation>18th</xs:documentation>
184
- </xs:annotation>
185
- </xs:enumeration>
186
- <xs:enumeration value="19">
187
- <xs:annotation>
188
- <xs:documentation>19th</xs:documentation>
189
- </xs:annotation>
190
- </xs:enumeration>
191
- <xs:enumeration value="20">
192
- <xs:annotation>
193
- <xs:documentation>20th</xs:documentation>
194
- </xs:annotation>
195
- </xs:enumeration>
196
- <xs:enumeration value="20+">
197
- <xs:annotation>
198
- <xs:documentation>21st or above</xs:documentation>
199
- </xs:annotation>
200
- </xs:enumeration>
201
- </xs:restriction>
202
- </xs:simpleType>
203
- <xs:simpleType name="PropertyTypeCode">
204
- <xs:annotation>
205
- <xs:documentation>Code which indicates the type of property.</xs:documentation>
206
- </xs:annotation>
207
- <xs:restriction base="xs:string">
208
- <xs:enumeration value="0">
209
- <xs:annotation>
210
- <xs:documentation>House</xs:documentation>
211
- </xs:annotation>
212
- </xs:enumeration>
213
- <xs:enumeration value="1">
214
- <xs:annotation>
215
- <xs:documentation>Bungalow</xs:documentation>
216
- </xs:annotation>
217
- </xs:enumeration>
218
- <xs:enumeration value="2">
219
- <xs:annotation>
220
- <xs:documentation>Flat</xs:documentation>
221
- </xs:annotation>
222
- </xs:enumeration>
223
- <xs:enumeration value="3">
224
- <xs:annotation>
225
- <xs:documentation>Maisonette</xs:documentation>
226
- </xs:annotation>
227
- </xs:enumeration>
228
- </xs:restriction>
229
- </xs:simpleType>
230
- <xs:simpleType name="TransactionType">
231
- <xs:restriction base="xs:string">
232
- <xs:enumeration value="1">
233
- <xs:annotation>
234
- <xs:documentation>marketed sale</xs:documentation>
235
- </xs:annotation>
236
- </xs:enumeration>
237
- <xs:enumeration value="2">
238
- <xs:annotation>
239
- <xs:documentation>non marketed sale</xs:documentation>
240
- </xs:annotation>
241
- </xs:enumeration>
242
- <xs:enumeration value="3">
243
- <xs:annotation>
244
- <xs:documentation>rental (social)</xs:documentation>
245
- </xs:annotation>
246
- </xs:enumeration>
247
- <xs:enumeration value="4">
248
- <xs:annotation>
249
- <xs:documentation>rental (private)</xs:documentation>
250
- </xs:annotation>
251
- </xs:enumeration>
252
- <xs:enumeration value="5">
253
- <xs:annotation>
254
- <xs:documentation>not sale or rental</xs:documentation>
255
- </xs:annotation>
256
- </xs:enumeration>
257
- <xs:enumeration value="6">
258
- <xs:annotation>
259
- <xs:documentation>new dwelling</xs:documentation>
260
- </xs:annotation>
261
- </xs:enumeration>
262
- <xs:enumeration value="7">
263
- <xs:annotation>
264
- <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
265
- </xs:annotation>
266
- </xs:enumeration>
267
- </xs:restriction>
268
- </xs:simpleType>
269
- <xs:simpleType name="DisclosureCode">
270
- <xs:annotation>
271
- <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
272
- </xs:annotation>
273
- <xs:restriction base="xs:string">
274
- <xs:enumeration value="1">
275
- <xs:annotation>
276
- <xs:documentation>No related party</xs:documentation>
277
- </xs:annotation>
278
- </xs:enumeration>
279
- <xs:enumeration value="2">
280
- <xs:annotation>
281
- <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
282
- </xs:annotation>
283
- </xs:enumeration>
284
- <xs:enumeration value="3">
285
- <xs:annotation>
286
- <xs:documentation>Residing at the property</xs:documentation>
287
- </xs:annotation>
288
- </xs:enumeration>
289
- <xs:enumeration value="4">
290
- <xs:annotation>
291
- <xs:documentation>Financial interest in the property</xs:documentation>
292
- </xs:annotation>
293
- </xs:enumeration>
294
- <xs:enumeration value="5">
295
- <xs:annotation>
296
- <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
297
- </xs:annotation>
298
- </xs:enumeration>
299
- <xs:enumeration value="6">
300
- <xs:annotation>
301
- <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
302
- </xs:annotation>
303
- </xs:enumeration>
304
- <xs:enumeration value="7">
305
- <xs:annotation>
306
- <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
307
- </xs:annotation>
308
- </xs:enumeration>
309
- </xs:restriction>
310
- </xs:simpleType>
311
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Jim Bowery (Landmark Information Group Ltd.) -->
3
+ <xs:schema
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
6
+ xmlns:SAP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
7
+ targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
8
+ elementFormDefault="qualified"
9
+ attributeFormDefault="unqualified" version="LIG-15.0">
10
+ <xs:annotation>
11
+ <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.
12
+
13
+ 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".
14
+ </xs:documentation>
15
+ </xs:annotation>
16
+ <xs:simpleType name="ReportStatusCode">
17
+ <xs:restriction base="xs:string">
18
+ <xs:enumeration value="cancelled">
19
+ <xs:annotation>
20
+ <xs:documentation>Cancelled</xs:documentation>
21
+ </xs:annotation>
22
+ </xs:enumeration>
23
+ <xs:enumeration value="entered">
24
+ <xs:annotation>
25
+ <xs:documentation>entered on the register</xs:documentation>
26
+ </xs:annotation>
27
+ </xs:enumeration>
28
+ <xs:enumeration value="appeal">
29
+ <xs:annotation>
30
+ <xs:documentation>under appeal</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:enumeration>
33
+ <xs:enumeration value="removed">
34
+ <xs:annotation>
35
+ <xs:documentation>removed</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:enumeration>
38
+ <xs:enumeration value="rejected">
39
+ <xs:annotation>
40
+ <xs:documentation>rejected</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:enumeration>
43
+ </xs:restriction>
44
+ </xs:simpleType>
45
+ <xs:simpleType name="RestrictedAccessCode">
46
+ <xs:annotation>
47
+ <xs:documentation>Set of access codes identifying any restrictions on the retrieval of the electronic HCR.</xs:documentation>
48
+ </xs:annotation>
49
+ <xs:restriction base="xs:string">
50
+ <xs:enumeration value="0">
51
+ <xs:annotation>
52
+ <xs:documentation>No restriction</xs:documentation>
53
+ </xs:annotation>
54
+ </xs:enumeration>
55
+ <xs:enumeration value="1">
56
+ <xs:annotation>
57
+ <xs:documentation>Exclude mortgage lenders</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:enumeration>
60
+ <xs:enumeration value="2">
61
+ <xs:annotation>
62
+ <xs:documentation>Mortgage lenders only</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:enumeration>
65
+ <xs:enumeration value="4">
66
+ <xs:annotation>
67
+ <xs:documentation>No access allowed</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:enumeration>
70
+ </xs:restriction>
71
+ </xs:simpleType>
72
+ <xs:simpleType name="ReportTypeCode">
73
+ <xs:restriction base="xs:string">
74
+ <xs:enumeration value="1">
75
+ <xs:annotation>
76
+ <xs:documentation>Home Condition Report</xs:documentation>
77
+ </xs:annotation>
78
+ </xs:enumeration>
79
+ <xs:enumeration value="2">
80
+ <xs:annotation>
81
+ <xs:documentation>RdSAP Energy Performance Certificate</xs:documentation>
82
+ </xs:annotation>
83
+ </xs:enumeration>
84
+ <xs:enumeration value="3">
85
+ <xs:annotation>
86
+ <xs:documentation>SAP Energy Performance Certificate</xs:documentation>
87
+ </xs:annotation>
88
+ </xs:enumeration>
89
+ <xs:enumeration value="4">
90
+ <xs:annotation>
91
+ <xs:documentation>Interim RdSAP Energy Performance Certificate (to be superseded by SAP EPC)</xs:documentation>
92
+ </xs:annotation>
93
+ </xs:enumeration>
94
+ </xs:restriction>
95
+ </xs:simpleType>
96
+ <xs:simpleType name="BlockStoreyCode">
97
+ <xs:restriction base="xs:string">
98
+ <xs:enumeration value="-1">
99
+ <xs:annotation>
100
+ <xs:documentation>Basement</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:enumeration>
103
+ <xs:enumeration value="00">
104
+ <xs:annotation>
105
+ <xs:documentation>Ground</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:enumeration>
108
+ <xs:enumeration value="01">
109
+ <xs:annotation>
110
+ <xs:documentation>1st</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:enumeration>
113
+ <xs:enumeration value="02">
114
+ <xs:annotation>
115
+ <xs:documentation>2nd</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:enumeration>
118
+ <xs:enumeration value="03">
119
+ <xs:annotation>
120
+ <xs:documentation>3rd</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:enumeration>
123
+ <xs:enumeration value="04">
124
+ <xs:annotation>
125
+ <xs:documentation>4th</xs:documentation>
126
+ </xs:annotation>
127
+ </xs:enumeration>
128
+ <xs:enumeration value="05">
129
+ <xs:annotation>
130
+ <xs:documentation>5th</xs:documentation>
131
+ </xs:annotation>
132
+ </xs:enumeration>
133
+ <xs:enumeration value="06">
134
+ <xs:annotation>
135
+ <xs:documentation>6th</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:enumeration>
138
+ <xs:enumeration value="07">
139
+ <xs:annotation>
140
+ <xs:documentation>7th</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:enumeration>
143
+ <xs:enumeration value="08">
144
+ <xs:annotation>
145
+ <xs:documentation>8th</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:enumeration>
148
+ <xs:enumeration value="09">
149
+ <xs:annotation>
150
+ <xs:documentation>9th</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:enumeration>
153
+ <xs:enumeration value="10">
154
+ <xs:annotation>
155
+ <xs:documentation>10th</xs:documentation>
156
+ </xs:annotation>
157
+ </xs:enumeration>
158
+ <xs:enumeration value="11">
159
+ <xs:annotation>
160
+ <xs:documentation>11th</xs:documentation>
161
+ </xs:annotation>
162
+ </xs:enumeration>
163
+ <xs:enumeration value="12">
164
+ <xs:annotation>
165
+ <xs:documentation>12th</xs:documentation>
166
+ </xs:annotation>
167
+ </xs:enumeration>
168
+ <xs:enumeration value="13">
169
+ <xs:annotation>
170
+ <xs:documentation>13th</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:enumeration>
173
+ <xs:enumeration value="14">
174
+ <xs:annotation>
175
+ <xs:documentation>14th</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:enumeration>
178
+ <xs:enumeration value="15">
179
+ <xs:annotation>
180
+ <xs:documentation>15th</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:enumeration>
183
+ <xs:enumeration value="16">
184
+ <xs:annotation>
185
+ <xs:documentation>16th</xs:documentation>
186
+ </xs:annotation>
187
+ </xs:enumeration>
188
+ <xs:enumeration value="17">
189
+ <xs:annotation>
190
+ <xs:documentation>17th</xs:documentation>
191
+ </xs:annotation>
192
+ </xs:enumeration>
193
+ <xs:enumeration value="18">
194
+ <xs:annotation>
195
+ <xs:documentation>18th</xs:documentation>
196
+ </xs:annotation>
197
+ </xs:enumeration>
198
+ <xs:enumeration value="19">
199
+ <xs:annotation>
200
+ <xs:documentation>19th</xs:documentation>
201
+ </xs:annotation>
202
+ </xs:enumeration>
203
+ <xs:enumeration value="20">
204
+ <xs:annotation>
205
+ <xs:documentation>20th</xs:documentation>
206
+ </xs:annotation>
207
+ </xs:enumeration>
208
+ <xs:enumeration value="20+">
209
+ <xs:annotation>
210
+ <xs:documentation>21st or above</xs:documentation>
211
+ </xs:annotation>
212
+ </xs:enumeration>
213
+ </xs:restriction>
214
+ </xs:simpleType>
215
+ <xs:simpleType name="PropertyTypeCode">
216
+ <xs:annotation>
217
+ <xs:documentation>Code which indicates the type of property.</xs:documentation>
218
+ </xs:annotation>
219
+ <xs:restriction base="xs:string">
220
+ <xs:enumeration value="0">
221
+ <xs:annotation>
222
+ <xs:documentation>House</xs:documentation>
223
+ </xs:annotation>
224
+ </xs:enumeration>
225
+ <xs:enumeration value="1">
226
+ <xs:annotation>
227
+ <xs:documentation>Bungalow</xs:documentation>
228
+ </xs:annotation>
229
+ </xs:enumeration>
230
+ <xs:enumeration value="2">
231
+ <xs:annotation>
232
+ <xs:documentation>Flat</xs:documentation>
233
+ </xs:annotation>
234
+ </xs:enumeration>
235
+ <xs:enumeration value="3">
236
+ <xs:annotation>
237
+ <xs:documentation>Maisonette</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:enumeration>
240
+ </xs:restriction>
241
+ </xs:simpleType>
242
+ <xs:simpleType name="TransactionType">
243
+ <xs:restriction base="xs:string">
244
+ <xs:enumeration value="1">
245
+ <xs:annotation>
246
+ <xs:documentation>marketed sale</xs:documentation>
247
+ </xs:annotation>
248
+ </xs:enumeration>
249
+ <xs:enumeration value="2">
250
+ <xs:annotation>
251
+ <xs:documentation>non marketed sale</xs:documentation>
252
+ </xs:annotation>
253
+ </xs:enumeration>
254
+ <xs:enumeration value="3">
255
+ <xs:annotation>
256
+ <xs:documentation>rental (social)</xs:documentation>
257
+ </xs:annotation>
258
+ </xs:enumeration>
259
+ <xs:enumeration value="4">
260
+ <xs:annotation>
261
+ <xs:documentation>rental (private)</xs:documentation>
262
+ </xs:annotation>
263
+ </xs:enumeration>
264
+ <xs:enumeration value="5">
265
+ <xs:annotation>
266
+ <xs:documentation>not sale or rental</xs:documentation>
267
+ </xs:annotation>
268
+ </xs:enumeration>
269
+ <xs:enumeration value="6">
270
+ <xs:annotation>
271
+ <xs:documentation>new dwelling</xs:documentation>
272
+ </xs:annotation>
273
+ </xs:enumeration>
274
+ <xs:enumeration value="7">
275
+ <xs:annotation>
276
+ <xs:documentation>not recorded - this is for backwards compatibility only and should not be used</xs:documentation>
277
+ </xs:annotation>
278
+ </xs:enumeration>
279
+ </xs:restriction>
280
+ </xs:simpleType>
281
+ <xs:simpleType name="DisclosureCode">
282
+ <xs:annotation>
283
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
284
+ </xs:annotation>
285
+ <xs:restriction base="xs:string">
286
+ <xs:enumeration value="1">
287
+ <xs:annotation>
288
+ <xs:documentation>No related party</xs:documentation>
289
+ </xs:annotation>
290
+ </xs:enumeration>
291
+ <xs:enumeration value="2">
292
+ <xs:annotation>
293
+ <xs:documentation>Relative of homeowner or occupier of the property</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:enumeration>
296
+ <xs:enumeration value="3">
297
+ <xs:annotation>
298
+ <xs:documentation>Residing at the property</xs:documentation>
299
+ </xs:annotation>
300
+ </xs:enumeration>
301
+ <xs:enumeration value="4">
302
+ <xs:annotation>
303
+ <xs:documentation>Financial interest in the property</xs:documentation>
304
+ </xs:annotation>
305
+ </xs:enumeration>
306
+ <xs:enumeration value="5">
307
+ <xs:annotation>
308
+ <xs:documentation>Owner or Director of the organisation dealing with the property transaction</xs:documentation>
309
+ </xs:annotation>
310
+ </xs:enumeration>
311
+ <xs:enumeration value="6">
312
+ <xs:annotation>
313
+ <xs:documentation>Employed by the professional dealing with the property transaction</xs:documentation>
314
+ </xs:annotation>
315
+ </xs:enumeration>
316
+ <xs:enumeration value="7">
317
+ <xs:annotation>
318
+ <xs:documentation>Relative of the professional dealing with the property transaction</xs:documentation>
319
+ </xs:annotation>
320
+ </xs:enumeration>
321
+ </xs:restriction>
322
+ </xs:simpleType>
323
+ </xs:schema>