epb_view_models 2.2.21 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  61. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  62. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  63. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  80. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  81. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  82. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  83. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  91. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  92. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  93. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  94. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  102. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  103. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  104. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  105. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  111. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  112. data/lib/epb_view_models/version.rb +5 -0
  113. data/lib/epb_view_models.rb +1 -3
  114. data/lib/helper/rrn_helper.rb +4 -4
  115. data/lib/view_model/cs63/common_schema.rb +18 -18
  116. data/lib/view_model/factory.rb +2 -0
  117. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  118. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  119. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  120. metadata +47 -13
  121. data/.buildspec.yml +0 -13
  122. data/.gitignore +0 -19
  123. data/.rspec +0 -2
  124. data/.rubocop.yml +0 -8
  125. data/.ruby-version +0 -1
  126. data/Gemfile +0 -15
  127. data/Gemfile.lock +0 -122
  128. data/Makefile +0 -17
  129. data/Rakefile +0 -12
  130. data/epb_view_models.gemspec +0 -27
@@ -1,311 +1,311 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" version="LIG-16.0">
3
- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
- <xs:include schemaLocation="../UDT/SharedDomains.xsd"/>
5
- <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
6
- <xs:element name="Utility-Service" type="Utility-Service"/>
7
- <xs:complexType name="Utility-Service">
8
- <xs:annotation>
9
- <xs:documentation>A commodity or essential service, such as electricity, gas or water that is provided by a public or private company under government regulation. </xs:documentation>
10
- </xs:annotation>
11
- <xs:all>
12
- <xs:element name="Identifier" type="pfdt:IDString">
13
- <xs:annotation>
14
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
15
- </xs:annotation>
16
- </xs:element>
17
- <xs:element name="Condition" type="ConditionCode">
18
- <xs:annotation>
19
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
20
- </xs:annotation>
21
- </xs:element>
22
- <xs:element name="Justification" type="pfdt:Sentence">
23
- <xs:annotation>
24
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
25
-
26
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
27
-
28
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
29
- </xs:documentation>
30
- </xs:annotation>
31
- </xs:element>
32
- <xs:element name="Description" type="pfdt:Sentence">
33
- <xs:annotation>
34
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
35
-
36
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
37
- </xs:documentation>
38
- </xs:annotation>
39
- </xs:element>
40
- </xs:all>
41
- </xs:complexType>
42
- <xs:element name="Gas" type="Gas"/>
43
- <xs:complexType name="Gas">
44
- <xs:annotation>
45
- <xs:documentation>Details of the main Gas supply to the Property.</xs:documentation>
46
- </xs:annotation>
47
- <xs:all>
48
- <xs:element name="Identifier" type="pfdt:IDString">
49
- <xs:annotation>
50
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
51
- </xs:annotation>
52
- </xs:element>
53
- <xs:element name="Condition" type="ConditionCode">
54
- <xs:annotation>
55
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
56
- </xs:annotation>
57
- </xs:element>
58
- <xs:element name="Justification" type="pfdt:Sentence">
59
- <xs:annotation>
60
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
61
-
62
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
63
-
64
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
65
- </xs:documentation>
66
- </xs:annotation>
67
- </xs:element>
68
- <xs:element name="Description" type="pfdt:Sentence">
69
- <xs:annotation>
70
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
71
-
72
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
73
- </xs:documentation>
74
- </xs:annotation>
75
- </xs:element>
76
- <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
77
- <xs:annotation>
78
- <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
79
- </xs:annotation>
80
- </xs:element>
81
- </xs:all>
82
- </xs:complexType>
83
- <xs:element name="Water" type="Water"/>
84
- <xs:complexType name="Water">
85
- <xs:annotation>
86
- <xs:documentation>Details of the main Water supply to the Property. This will generally be a managed service provided by a Water Utility (regulated by Government body) but may include an alternative service particular to the Property.</xs:documentation>
87
- </xs:annotation>
88
- <xs:all>
89
- <xs:element name="Identifier" type="pfdt:IDString">
90
- <xs:annotation>
91
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
92
- </xs:annotation>
93
- </xs:element>
94
- <xs:element name="Condition" type="ConditionCode">
95
- <xs:annotation>
96
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
97
- </xs:annotation>
98
- </xs:element>
99
- <xs:element name="Justification" type="pfdt:Sentence">
100
- <xs:annotation>
101
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
102
-
103
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
104
-
105
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
106
- </xs:documentation>
107
- </xs:annotation>
108
- </xs:element>
109
- <xs:element name="Description" type="pfdt:Sentence">
110
- <xs:annotation>
111
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
112
-
113
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
114
- </xs:documentation>
115
- </xs:annotation>
116
- </xs:element>
117
- <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
118
- <xs:annotation>
119
- <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
120
- </xs:annotation>
121
- </xs:element>
122
- <xs:element name="Owner" type="WaterOwnerCode">
123
- <xs:annotation>
124
- <xs:documentation>Identifies the owner of the water supply.</xs:documentation>
125
- </xs:annotation>
126
- </xs:element>
127
- <xs:element name="Water-Risk" type="pfdt:Flag">
128
- <xs:annotation>
129
- <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the local water supply (including Sewerage).
130
-
131
- For example there might be a sewer run under the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
132
- </xs:annotation>
133
- </xs:element>
134
- <xs:element name="Location" type="WaterLocationCode">
135
- <xs:annotation>
136
- <xs:documentation>Identifies the location of the water supply</xs:documentation>
137
- </xs:annotation>
138
- </xs:element>
139
- </xs:all>
140
- </xs:complexType>
141
- <xs:element name="Drainage" type="Drainage"/>
142
- <xs:complexType name="Drainage">
143
- <xs:annotation>
144
- <xs:documentation>Details of the Drainage and Sewerage facilities for the Property.</xs:documentation>
145
- </xs:annotation>
146
- <xs:all>
147
- <xs:element name="Identifier" type="pfdt:IDString">
148
- <xs:annotation>
149
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
150
- </xs:annotation>
151
- </xs:element>
152
- <xs:element name="Condition" type="ConditionCode">
153
- <xs:annotation>
154
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
155
- </xs:annotation>
156
- </xs:element>
157
- <xs:element name="Justification" type="pfdt:Sentence">
158
- <xs:annotation>
159
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
160
-
161
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
162
-
163
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
164
- </xs:documentation>
165
- </xs:annotation>
166
- </xs:element>
167
- <xs:element name="Description" type="pfdt:Sentence">
168
- <xs:annotation>
169
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
170
-
171
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
172
- </xs:documentation>
173
- </xs:annotation>
174
- </xs:element>
175
- <xs:element name="Drainage-Risk" type="pfdt:Flag">
176
- <xs:annotation>
177
- <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the drainage of the property.
178
-
179
- For example there might be a main drain or manhole on the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
180
- </xs:annotation>
181
- </xs:element>
182
- <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
183
- <xs:annotation>
184
- <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
185
- </xs:annotation>
186
- </xs:element>
187
- <xs:element name="Owner" type="DrainageOwnerCode">
188
- <xs:annotation>
189
- <xs:documentation>Identifies the ownership of the drainage system</xs:documentation>
190
- </xs:annotation>
191
- </xs:element>
192
- <xs:element name="Location" type="DrainageLocationCode">
193
- <xs:annotation>
194
- <xs:documentation>Identifies the location of the drainage system</xs:documentation>
195
- </xs:annotation>
196
- </xs:element>
197
- <xs:element name="Watercourse-Discharge" type="pfdt:Flag">
198
- <xs:annotation>
199
- <xs:documentation>Indicates that the drainage system may discharge into a local watercourse.</xs:documentation>
200
- </xs:annotation>
201
- </xs:element>
202
- <xs:element name="Drainage-Method" type="DrainageMethodCode">
203
- <xs:annotation>
204
- <xs:documentation>Identifies the method use for drainage and sewerage if not mains provided</xs:documentation>
205
- </xs:annotation>
206
- </xs:element>
207
- </xs:all>
208
- </xs:complexType>
209
- <xs:element name="Electricity" type="Electricity"/>
210
- <xs:complexType name="Electricity">
211
- <xs:annotation>
212
- <xs:documentation>Details of the main Electricity supply to the Property.</xs:documentation>
213
- </xs:annotation>
214
- <xs:all>
215
- <xs:element name="Identifier" type="pfdt:IDString">
216
- <xs:annotation>
217
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
218
- </xs:annotation>
219
- </xs:element>
220
- <xs:element name="Condition" type="ConditionCode">
221
- <xs:annotation>
222
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
223
- </xs:annotation>
224
- </xs:element>
225
- <xs:element name="Justification" type="pfdt:Sentence">
226
- <xs:annotation>
227
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
228
-
229
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
230
-
231
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
232
- </xs:documentation>
233
- </xs:annotation>
234
- </xs:element>
235
- <xs:element name="Description" type="pfdt:Sentence">
236
- <xs:annotation>
237
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
238
-
239
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
240
- </xs:documentation>
241
- </xs:annotation>
242
- </xs:element>
243
- <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
244
- <xs:annotation>
245
- <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
246
- </xs:annotation>
247
- </xs:element>
248
- </xs:all>
249
- </xs:complexType>
250
- <xs:element name="Heating" type="Heating"/>
251
- <xs:complexType name="Heating">
252
- <xs:annotation>
253
- <xs:documentation>Details of the means by which the Main Building is heated.</xs:documentation>
254
- </xs:annotation>
255
- <xs:all>
256
- <xs:element name="Identifier" type="pfdt:IDString">
257
- <xs:annotation>
258
- <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
259
- </xs:annotation>
260
- </xs:element>
261
- <xs:element name="Condition" type="ConditionCode">
262
- <xs:annotation>
263
- <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
264
- </xs:annotation>
265
- </xs:element>
266
- <xs:element name="Justification" type="pfdt:Sentence">
267
- <xs:annotation>
268
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
269
-
270
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
271
-
272
- If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
273
- </xs:documentation>
274
- </xs:annotation>
275
- </xs:element>
276
- <xs:element name="Description" type="pfdt:Sentence">
277
- <xs:annotation>
278
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
279
-
280
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
281
- </xs:documentation>
282
- </xs:annotation>
283
- </xs:element>
284
- <xs:element name="Heating-Scope" type="HeatingScopeCode">
285
- <xs:annotation>
286
- <xs:documentation>Identifies the scope of the central heating e.g. Full or Partial heating.</xs:documentation>
287
- </xs:annotation>
288
- </xs:element>
289
- <xs:element name="Main-Heating-Type" type="HeatingTypeCode">
290
- <xs:annotation>
291
- <xs:documentation>The main type of heating system present in the Property e.g. Central Heating, Under-Floor etc.</xs:documentation>
292
- </xs:annotation>
293
- </xs:element>
294
- <xs:element name="Fuel-Type" type="HeatingFuelTypeCode">
295
- <xs:annotation>
296
- <xs:documentation>The type of fuel used to power the central heating e.g. Gas, Electricity</xs:documentation>
297
- </xs:annotation>
298
- </xs:element>
299
- </xs:all>
300
- </xs:complexType>
301
- <xs:element name="Utility-Services" type="Utility-Services"/>
302
- <xs:complexType name="Utility-Services">
303
- <xs:choice maxOccurs="unbounded">
304
- <xs:element name="Heating" type="Heating"/>
305
- <xs:element name="Electricity" type="Electricity"/>
306
- <xs:element name="Gas" type="Gas"/>
307
- <xs:element name="Water" type="Water"/>
308
- <xs:element name="Drainage" type="Drainage"/>
309
- </xs:choice>
310
- </xs:complexType>
311
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" version="LIG-16.0">
3
+ <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/SharedDomains.xsd"/>
5
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
6
+ <xs:element name="Utility-Service" type="Utility-Service"/>
7
+ <xs:complexType name="Utility-Service">
8
+ <xs:annotation>
9
+ <xs:documentation>A commodity or essential service, such as electricity, gas or water that is provided by a public or private company under government regulation. </xs:documentation>
10
+ </xs:annotation>
11
+ <xs:all>
12
+ <xs:element name="Identifier" type="pfdt:IDString">
13
+ <xs:annotation>
14
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
15
+ </xs:annotation>
16
+ </xs:element>
17
+ <xs:element name="Condition" type="ConditionCode">
18
+ <xs:annotation>
19
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
20
+ </xs:annotation>
21
+ </xs:element>
22
+ <xs:element name="Justification" type="pfdt:Sentence">
23
+ <xs:annotation>
24
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
25
+
26
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
27
+
28
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
29
+ </xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Description" type="pfdt:Sentence">
33
+ <xs:annotation>
34
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
35
+
36
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
37
+ </xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ </xs:all>
41
+ </xs:complexType>
42
+ <xs:element name="Gas" type="Gas"/>
43
+ <xs:complexType name="Gas">
44
+ <xs:annotation>
45
+ <xs:documentation>Details of the main Gas supply to the Property.</xs:documentation>
46
+ </xs:annotation>
47
+ <xs:all>
48
+ <xs:element name="Identifier" type="pfdt:IDString">
49
+ <xs:annotation>
50
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Condition" type="ConditionCode">
54
+ <xs:annotation>
55
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Justification" type="pfdt:Sentence">
59
+ <xs:annotation>
60
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
61
+
62
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
63
+
64
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
65
+ </xs:documentation>
66
+ </xs:annotation>
67
+ </xs:element>
68
+ <xs:element name="Description" type="pfdt:Sentence">
69
+ <xs:annotation>
70
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
71
+
72
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
73
+ </xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
77
+ <xs:annotation>
78
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ </xs:all>
82
+ </xs:complexType>
83
+ <xs:element name="Water" type="Water"/>
84
+ <xs:complexType name="Water">
85
+ <xs:annotation>
86
+ <xs:documentation>Details of the main Water supply to the Property. This will generally be a managed service provided by a Water Utility (regulated by Government body) but may include an alternative service particular to the Property.</xs:documentation>
87
+ </xs:annotation>
88
+ <xs:all>
89
+ <xs:element name="Identifier" type="pfdt:IDString">
90
+ <xs:annotation>
91
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
92
+ </xs:annotation>
93
+ </xs:element>
94
+ <xs:element name="Condition" type="ConditionCode">
95
+ <xs:annotation>
96
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
97
+ </xs:annotation>
98
+ </xs:element>
99
+ <xs:element name="Justification" type="pfdt:Sentence">
100
+ <xs:annotation>
101
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
102
+
103
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
104
+
105
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
106
+ </xs:documentation>
107
+ </xs:annotation>
108
+ </xs:element>
109
+ <xs:element name="Description" type="pfdt:Sentence">
110
+ <xs:annotation>
111
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
112
+
113
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
114
+ </xs:documentation>
115
+ </xs:annotation>
116
+ </xs:element>
117
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
118
+ <xs:annotation>
119
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:element>
122
+ <xs:element name="Owner" type="WaterOwnerCode">
123
+ <xs:annotation>
124
+ <xs:documentation>Identifies the owner of the water supply.</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:element>
127
+ <xs:element name="Water-Risk" type="pfdt:Flag">
128
+ <xs:annotation>
129
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the local water supply (including Sewerage).
130
+
131
+ For example there might be a sewer run under the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
132
+ </xs:annotation>
133
+ </xs:element>
134
+ <xs:element name="Location" type="WaterLocationCode">
135
+ <xs:annotation>
136
+ <xs:documentation>Identifies the location of the water supply</xs:documentation>
137
+ </xs:annotation>
138
+ </xs:element>
139
+ </xs:all>
140
+ </xs:complexType>
141
+ <xs:element name="Drainage" type="Drainage"/>
142
+ <xs:complexType name="Drainage">
143
+ <xs:annotation>
144
+ <xs:documentation>Details of the Drainage and Sewerage facilities for the Property.</xs:documentation>
145
+ </xs:annotation>
146
+ <xs:all>
147
+ <xs:element name="Identifier" type="pfdt:IDString">
148
+ <xs:annotation>
149
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:element>
152
+ <xs:element name="Condition" type="ConditionCode">
153
+ <xs:annotation>
154
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ <xs:element name="Justification" type="pfdt:Sentence">
158
+ <xs:annotation>
159
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
160
+
161
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
162
+
163
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
164
+ </xs:documentation>
165
+ </xs:annotation>
166
+ </xs:element>
167
+ <xs:element name="Description" type="pfdt:Sentence">
168
+ <xs:annotation>
169
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
170
+
171
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
172
+ </xs:documentation>
173
+ </xs:annotation>
174
+ </xs:element>
175
+ <xs:element name="Drainage-Risk" type="pfdt:Flag">
176
+ <xs:annotation>
177
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the drainage of the property.
178
+
179
+ For example there might be a main drain or manhole on the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
180
+ </xs:annotation>
181
+ </xs:element>
182
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
183
+ <xs:annotation>
184
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:element>
187
+ <xs:element name="Owner" type="DrainageOwnerCode">
188
+ <xs:annotation>
189
+ <xs:documentation>Identifies the ownership of the drainage system</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:element>
192
+ <xs:element name="Location" type="DrainageLocationCode">
193
+ <xs:annotation>
194
+ <xs:documentation>Identifies the location of the drainage system</xs:documentation>
195
+ </xs:annotation>
196
+ </xs:element>
197
+ <xs:element name="Watercourse-Discharge" type="pfdt:Flag">
198
+ <xs:annotation>
199
+ <xs:documentation>Indicates that the drainage system may discharge into a local watercourse.</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:element>
202
+ <xs:element name="Drainage-Method" type="DrainageMethodCode">
203
+ <xs:annotation>
204
+ <xs:documentation>Identifies the method use for drainage and sewerage if not mains provided</xs:documentation>
205
+ </xs:annotation>
206
+ </xs:element>
207
+ </xs:all>
208
+ </xs:complexType>
209
+ <xs:element name="Electricity" type="Electricity"/>
210
+ <xs:complexType name="Electricity">
211
+ <xs:annotation>
212
+ <xs:documentation>Details of the main Electricity supply to the Property.</xs:documentation>
213
+ </xs:annotation>
214
+ <xs:all>
215
+ <xs:element name="Identifier" type="pfdt:IDString">
216
+ <xs:annotation>
217
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:element>
220
+ <xs:element name="Condition" type="ConditionCode">
221
+ <xs:annotation>
222
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
223
+ </xs:annotation>
224
+ </xs:element>
225
+ <xs:element name="Justification" type="pfdt:Sentence">
226
+ <xs:annotation>
227
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
228
+
229
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
230
+
231
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
232
+ </xs:documentation>
233
+ </xs:annotation>
234
+ </xs:element>
235
+ <xs:element name="Description" type="pfdt:Sentence">
236
+ <xs:annotation>
237
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
238
+
239
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
240
+ </xs:documentation>
241
+ </xs:annotation>
242
+ </xs:element>
243
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode">
244
+ <xs:annotation>
245
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
246
+ </xs:annotation>
247
+ </xs:element>
248
+ </xs:all>
249
+ </xs:complexType>
250
+ <xs:element name="Heating" type="Heating"/>
251
+ <xs:complexType name="Heating">
252
+ <xs:annotation>
253
+ <xs:documentation>Details of the means by which the Main Building is heated.</xs:documentation>
254
+ </xs:annotation>
255
+ <xs:all>
256
+ <xs:element name="Identifier" type="pfdt:IDString">
257
+ <xs:annotation>
258
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
259
+ </xs:annotation>
260
+ </xs:element>
261
+ <xs:element name="Condition" type="ConditionCode">
262
+ <xs:annotation>
263
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:element>
266
+ <xs:element name="Justification" type="pfdt:Sentence">
267
+ <xs:annotation>
268
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
269
+
270
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
271
+
272
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
273
+ </xs:documentation>
274
+ </xs:annotation>
275
+ </xs:element>
276
+ <xs:element name="Description" type="pfdt:Sentence">
277
+ <xs:annotation>
278
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
279
+
280
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
281
+ </xs:documentation>
282
+ </xs:annotation>
283
+ </xs:element>
284
+ <xs:element name="Heating-Scope" type="HeatingScopeCode">
285
+ <xs:annotation>
286
+ <xs:documentation>Identifies the scope of the central heating e.g. Full or Partial heating.</xs:documentation>
287
+ </xs:annotation>
288
+ </xs:element>
289
+ <xs:element name="Main-Heating-Type" type="HeatingTypeCode">
290
+ <xs:annotation>
291
+ <xs:documentation>The main type of heating system present in the Property e.g. Central Heating, Under-Floor etc.</xs:documentation>
292
+ </xs:annotation>
293
+ </xs:element>
294
+ <xs:element name="Fuel-Type" type="HeatingFuelTypeCode">
295
+ <xs:annotation>
296
+ <xs:documentation>The type of fuel used to power the central heating e.g. Gas, Electricity</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:element>
299
+ </xs:all>
300
+ </xs:complexType>
301
+ <xs:element name="Utility-Services" type="Utility-Services"/>
302
+ <xs:complexType name="Utility-Services">
303
+ <xs:choice maxOccurs="unbounded">
304
+ <xs:element name="Heating" type="Heating"/>
305
+ <xs:element name="Electricity" type="Electricity"/>
306
+ <xs:element name="Gas" type="Gas"/>
307
+ <xs:element name="Water" type="Water"/>
308
+ <xs:element name="Drainage" type="Drainage"/>
309
+ </xs:choice>
310
+ </xs:complexType>
311
+ </xs:schema>