epb_view_models 2.2.18 → 2.2.19
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.
- checksums.yaml +4 -4
- data/api/schemas/data/orchestrate.json +4 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/All-HIP.xsd +25 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -0
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +6 -1
- data/lib/epb_view_models.rb +1 -1
- data/lib/presenter/xsd.rb +1 -8
- data/lib/view_model/factory.rb +1 -0
- data/lib/view_model/rd_sap_schema_s_161/common_schema.rb +556 -0
- data/lib/view_model/rd_sap_schema_s_1700/common_schema.rb +15 -0
- data/lib/view_model/rd_sap_schema_s_180/common_schema.rb +15 -0
- data/lib/view_model/rd_sap_schema_s_190/common_schema.rb +15 -0
- data/lib/view_model/rd_sap_schema_s_210/common_schema.rb +15 -0
- data/lib/view_model/rd_sap_wrapper.rb +2 -0
- metadata +23 -1
|
@@ -0,0 +1,298 @@
|
|
|
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-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" attributeFormDefault="unqualified" version="LIG-16.1">
|
|
4
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
|
|
6
|
+
</xs:annotation>
|
|
7
|
+
<xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
|
|
8
|
+
<xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
|
|
9
|
+
<xs:element name="Risk-Assessment" type="Risk-Assessment"/>
|
|
10
|
+
<xs:complexType name="Risk-Assessment">
|
|
11
|
+
<xs:annotation>
|
|
12
|
+
<xs:documentation>Part of a Home Condition Report identifying, in the Home Inspectors opinion, the types of risks that may affect the value of the inspected property or place restrictions on the use of the inspected property.</xs:documentation>
|
|
13
|
+
</xs:annotation>
|
|
14
|
+
<xs:all>
|
|
15
|
+
<xs:element name="Conveyancing-Risks" type="Conveyancing-Risks" minOccurs="0"/>
|
|
16
|
+
<xs:element name="Environmental-Risks" type="Environmental-Risks" minOccurs="0"/>
|
|
17
|
+
<xs:element name="Health-Risks" type="Health-Risks" minOccurs="0"/>
|
|
18
|
+
</xs:all>
|
|
19
|
+
</xs:complexType>
|
|
20
|
+
<xs:element name="Conveyancing-Risks" type="Conveyancing-Risks"/>
|
|
21
|
+
<xs:complexType name="Conveyancing-Risks">
|
|
22
|
+
<xs:choice maxOccurs="unbounded">
|
|
23
|
+
<xs:element name="Highway-Adoption-Risk" type="HighwayAdoptionRiskType" minOccurs="0">
|
|
24
|
+
<xs:annotation>
|
|
25
|
+
<xs:documentation>Indicates whether the Home Inspector believes that there is a risk of the Highways or Footpaths not being adopted.
|
|
26
|
+
|
|
27
|
+
Not being adopted means that the maintenance cost of the road or footpath must be carried by the Owners of the Properties adjoining the highway or footpath.</xs:documentation>
|
|
28
|
+
</xs:annotation>
|
|
29
|
+
</xs:element>
|
|
30
|
+
<xs:element name="Statutory-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
|
|
31
|
+
<xs:annotation>
|
|
32
|
+
<xs:documentation>A description of the alteration that the Home Inspector believes required a statutory consent to be given.</xs:documentation>
|
|
33
|
+
</xs:annotation>
|
|
34
|
+
</xs:element>
|
|
35
|
+
<xs:element name="Freehold-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>A description of the alteration that the Home Inspectors believes required a Freehold Owner Consent to have been obtained.</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
</xs:element>
|
|
40
|
+
<xs:element name="Flying-Freehold-Risk" type="pfdt:Flag" minOccurs="0">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Indicates that the Home Inspector believes that their may be some risk with Flying Freeholds hat may be associated with the Property.</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
</xs:element>
|
|
45
|
+
<xs:element name="Mining-Risk" type="MiningTypeCode" minOccurs="0">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to Mining rights in the land.</xs:documentation>
|
|
48
|
+
</xs:annotation>
|
|
49
|
+
</xs:element>
|
|
50
|
+
<xs:element name="Rights-Of-Way-Risk" type="RightsOfWayRiskType" minOccurs="0" maxOccurs="unbounded">
|
|
51
|
+
<xs:annotation>
|
|
52
|
+
<xs:documentation>Details of any Rights of Way that the Home Inspector believes encroach on the Property.</xs:documentation>
|
|
53
|
+
</xs:annotation>
|
|
54
|
+
</xs:element>
|
|
55
|
+
<xs:element name="Boundary-Risk" type="pfdt:Sentence" minOccurs="0">
|
|
56
|
+
<xs:annotation>
|
|
57
|
+
<xs:documentation>Indicates that the Home Inspector believes that there may be some risk associated with the boundaries (including Party Walls) of the Property.</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
</xs:element>
|
|
60
|
+
<xs:element name="Easements-Risk" type="EasementsRiskType" minOccurs="0" maxOccurs="unbounded">
|
|
61
|
+
<xs:annotation>
|
|
62
|
+
<xs:documentation>Details of any easements that the Home Inspector believes relate to the Property.</xs:documentation>
|
|
63
|
+
</xs:annotation>
|
|
64
|
+
</xs:element>
|
|
65
|
+
<xs:element name="Structural-Repairs-Risk" type="StructuralWorkRiskType" minOccurs="0">
|
|
66
|
+
<xs:annotation>
|
|
67
|
+
<xs:documentation>Indicates that the Home Inspector believes that there may be some risk with some of the structural repairs that may previously have been carried out on the Property.</xs:documentation>
|
|
68
|
+
</xs:annotation>
|
|
69
|
+
</xs:element>
|
|
70
|
+
<xs:element name="Property-Warranty-Risk" type="PropertyWarrantyCode" minOccurs="0">
|
|
71
|
+
<xs:annotation>
|
|
72
|
+
<xs:documentation>Identifies the type of property warranty that the Home Inspector believes is covering the entire property such as an NHBC Buildmark Certificate.</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
</xs:element>
|
|
75
|
+
<xs:element name="Building-Insurance-Risk" type="pfdt:Flag" minOccurs="0">
|
|
76
|
+
<xs:annotation>
|
|
77
|
+
<xs:documentation>Indicates that the Home Inspector believes that their may be some risk with on-going claims against the Property's Building Insurance.</xs:documentation>
|
|
78
|
+
</xs:annotation>
|
|
79
|
+
</xs:element>
|
|
80
|
+
<xs:element name="Tree-Preservation-Risk" type="TreeLocationCode" minOccurs="0">
|
|
81
|
+
<xs:annotation>
|
|
82
|
+
<xs:documentation>Indicates that the Home Inspector believes that there may be some risk of Tree Preservation Orders affecting the Property.</xs:documentation>
|
|
83
|
+
</xs:annotation>
|
|
84
|
+
</xs:element>
|
|
85
|
+
<xs:element name="Property-Let-Risk" type="pfdt:Flag" minOccurs="0">
|
|
86
|
+
<xs:annotation>
|
|
87
|
+
<xs:documentation>Indicates that </xs:documentation>
|
|
88
|
+
</xs:annotation>
|
|
89
|
+
</xs:element>
|
|
90
|
+
<xs:element name="Radon-Gas-Risk" type="pfdt:Flag">
|
|
91
|
+
<xs:annotation>
|
|
92
|
+
<xs:documentation>Indicates that the property is in an area where Radon gas is know yto occur.</xs:documentation>
|
|
93
|
+
</xs:annotation>
|
|
94
|
+
</xs:element>
|
|
95
|
+
<xs:element name="Shared-Parts-Repaired" type="pfdt:Sentence" minOccurs="0">
|
|
96
|
+
<xs:annotation>
|
|
97
|
+
<xs:documentation>Describes any repairs to shared parts that may have been carried out.</xs:documentation>
|
|
98
|
+
</xs:annotation>
|
|
99
|
+
</xs:element>
|
|
100
|
+
</xs:choice>
|
|
101
|
+
</xs:complexType>
|
|
102
|
+
<xs:element name="Environmental-Risks" type="Environmental-Risks"/>
|
|
103
|
+
<xs:complexType name="Environmental-Risks">
|
|
104
|
+
<xs:choice maxOccurs="unbounded">
|
|
105
|
+
<xs:element name="Contamination-Risk" type="ContaminationRiskType" minOccurs="0">
|
|
106
|
+
<xs:annotation>
|
|
107
|
+
<xs:documentation>Indicates whether the Home Inspector believes that there is an existing risk of contamination to the land or property.</xs:documentation>
|
|
108
|
+
</xs:annotation>
|
|
109
|
+
</xs:element>
|
|
110
|
+
<xs:element name="Flooding-Risk" type="FloodingRiskType" minOccurs="0">
|
|
111
|
+
<xs:annotation>
|
|
112
|
+
<xs:documentation>Indicates whether the Home Inspector believes that there is a risk of flooding of the property in the future.</xs:documentation>
|
|
113
|
+
</xs:annotation>
|
|
114
|
+
</xs:element>
|
|
115
|
+
</xs:choice>
|
|
116
|
+
</xs:complexType>
|
|
117
|
+
<xs:element name="Health-Risks" type="Health-Risks"/>
|
|
118
|
+
<xs:complexType name="Health-Risks">
|
|
119
|
+
<xs:choice maxOccurs="unbounded">
|
|
120
|
+
<xs:element name="Escape-Windows-Risk" type="EscapeWindowLocationCode" minOccurs="0" maxOccurs="unbounded">
|
|
121
|
+
<xs:annotation>
|
|
122
|
+
<xs:documentation>Location where the Home Inspector thinks the lack of an escape window poses a fire risk.</xs:documentation>
|
|
123
|
+
</xs:annotation>
|
|
124
|
+
</xs:element>
|
|
125
|
+
<xs:element name="Fire-Control-Risk" type="pfdt:Flag" minOccurs="0" maxOccurs="unbounded">
|
|
126
|
+
<xs:annotation>
|
|
127
|
+
<xs:documentation>Indicates that the Home Inspector believes that there are inadequate measures to control the spread of fire.</xs:documentation>
|
|
128
|
+
</xs:annotation>
|
|
129
|
+
</xs:element>
|
|
130
|
+
<xs:element name="No-Fire-Doors-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded"/>
|
|
131
|
+
<xs:element name="Safety-Glass-Risk" type="SafetyGlassType" minOccurs="0" maxOccurs="unbounded"/>
|
|
132
|
+
<xs:element name="Gas-Leak-Detected" type="GasLeakType" minOccurs="0" maxOccurs="unbounded">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>Indicates that the Home inspector believes that there is a gas leak in the property
|
|
135
|
+
</xs:documentation>
|
|
136
|
+
</xs:annotation>
|
|
137
|
+
</xs:element>
|
|
138
|
+
<xs:element name="Handrail-Risk" type="HandrailRiskCode" minOccurs="0" maxOccurs="unbounded">
|
|
139
|
+
<xs:annotation>
|
|
140
|
+
<xs:documentation>Identifies where the Home Inspector believes a lack of hand-rails may be present and health risk.</xs:documentation>
|
|
141
|
+
</xs:annotation>
|
|
142
|
+
</xs:element>
|
|
143
|
+
<xs:element name="Unsafe-Fitting" type="UnsafeFittingsCode" minOccurs="0" maxOccurs="unbounded">
|
|
144
|
+
<xs:annotation>
|
|
145
|
+
<xs:documentation>indicates the type of unsafe fittings that may be present at the property.</xs:documentation>
|
|
146
|
+
</xs:annotation>
|
|
147
|
+
</xs:element>
|
|
148
|
+
<xs:element name="Untested-Service" type="UntestedServiceCode" minOccurs="0" maxOccurs="unbounded">
|
|
149
|
+
<xs:annotation>
|
|
150
|
+
<xs:documentation>Indicates appliances and services that present a safety risk because they have not been recently tested.</xs:documentation>
|
|
151
|
+
</xs:annotation>
|
|
152
|
+
</xs:element>
|
|
153
|
+
<xs:element name="Unsafe-Room" type="UnsafeRoomType" minOccurs="0" maxOccurs="unbounded"/>
|
|
154
|
+
<xs:element name="Nest-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded">
|
|
155
|
+
<xs:annotation>
|
|
156
|
+
<xs:documentation>Location of the Bees / Wasp Hornets nest if one is present at the property.</xs:documentation>
|
|
157
|
+
</xs:annotation>
|
|
158
|
+
</xs:element>
|
|
159
|
+
<xs:element name="Flagged-Health-Risk" type="FlaggedHealthRiskCode" minOccurs="0" maxOccurs="unbounded">
|
|
160
|
+
<xs:annotation>
|
|
161
|
+
<xs:documentation>Identifies health risks that the inspector believes may exist at the property</xs:documentation>
|
|
162
|
+
</xs:annotation>
|
|
163
|
+
</xs:element>
|
|
164
|
+
</xs:choice>
|
|
165
|
+
</xs:complexType>
|
|
166
|
+
<xs:element name="FloodingRiskType" type="FloodingRiskType"/>
|
|
167
|
+
<xs:complexType name="FloodingRiskType">
|
|
168
|
+
<xs:annotation>
|
|
169
|
+
<xs:documentation>Details of any flooding risk that may affect a property</xs:documentation>
|
|
170
|
+
</xs:annotation>
|
|
171
|
+
<xs:all>
|
|
172
|
+
<xs:element name="Flooding-Category" type="FloodingRiskCode">
|
|
173
|
+
<xs:annotation>
|
|
174
|
+
<xs:documentation>The type of flooding that might occur</xs:documentation>
|
|
175
|
+
</xs:annotation>
|
|
176
|
+
</xs:element>
|
|
177
|
+
<xs:element name="Location" type="FloodingLocationCode"/>
|
|
178
|
+
</xs:all>
|
|
179
|
+
</xs:complexType>
|
|
180
|
+
<xs:element name="RightsOfWayRiskType" type="RightsOfWayRiskType"/>
|
|
181
|
+
<xs:complexType name="RightsOfWayRiskType">
|
|
182
|
+
<xs:all>
|
|
183
|
+
<xs:element name="RoW-Access" type="RightOfWayAccessCode">
|
|
184
|
+
<xs:annotation>
|
|
185
|
+
<xs:documentation>Identifies the type of access for the Right of Way e.g. Shared or Public.</xs:documentation>
|
|
186
|
+
</xs:annotation>
|
|
187
|
+
</xs:element>
|
|
188
|
+
<xs:element name="RoW-Type" type="RightOfWayTypeCode">
|
|
189
|
+
<xs:annotation>
|
|
190
|
+
<xs:documentation>The type of Right of Way e.g. Bridleway or Footpath</xs:documentation>
|
|
191
|
+
</xs:annotation>
|
|
192
|
+
</xs:element>
|
|
193
|
+
</xs:all>
|
|
194
|
+
</xs:complexType>
|
|
195
|
+
<xs:element name="EasementsRiskType" type="EasementsRiskType"/>
|
|
196
|
+
<xs:complexType name="EasementsRiskType">
|
|
197
|
+
<xs:all>
|
|
198
|
+
<xs:element name="Location" type="EasementLocationCode"/>
|
|
199
|
+
<xs:element name="Easement-Type" type="EasementTypeCode"/>
|
|
200
|
+
</xs:all>
|
|
201
|
+
</xs:complexType>
|
|
202
|
+
<xs:element name="HighwayAdoptionRiskType" type="HighwayAdoptionRiskType"/>
|
|
203
|
+
<xs:complexType name="HighwayAdoptionRiskType">
|
|
204
|
+
<xs:all>
|
|
205
|
+
<xs:element name="Adopted-Scope" type="AdoptedStatusLocationCode">
|
|
206
|
+
<xs:annotation>
|
|
207
|
+
<xs:documentation>Identifies whether it is the roads, footpaths or both that at adopted.</xs:documentation>
|
|
208
|
+
</xs:annotation>
|
|
209
|
+
</xs:element>
|
|
210
|
+
<xs:element name="Adopted-Status" type="AdoptedStatusCode">
|
|
211
|
+
<xs:annotation>
|
|
212
|
+
<xs:documentation>Identifies the adopted status of the roads and/or footpaths.</xs:documentation>
|
|
213
|
+
</xs:annotation>
|
|
214
|
+
</xs:element>
|
|
215
|
+
<xs:element name="Location" type="pfdt:Sentence" minOccurs="0">
|
|
216
|
+
<xs:annotation>
|
|
217
|
+
<xs:documentation>Text description of the location of the unmade roads e.g. "North, South and East", "Front", "Front and Sides" etc.
|
|
218
|
+
It is a sentence rather than an enumerated domain because the possible values and combinations required to described the standard scenarios are excessively large.</xs:documentation>
|
|
219
|
+
</xs:annotation>
|
|
220
|
+
</xs:element>
|
|
221
|
+
</xs:all>
|
|
222
|
+
</xs:complexType>
|
|
223
|
+
<xs:element name="StructuralWorkRiskType" type="StructuralWorkRiskType"/>
|
|
224
|
+
<xs:complexType name="StructuralWorkRiskType">
|
|
225
|
+
<xs:all>
|
|
226
|
+
<xs:element name="Warranty" type="StructuralWarrantyCode">
|
|
227
|
+
<xs:annotation>
|
|
228
|
+
<xs:documentation>Identifies the type of warranty that applies to the structural work that was carried out.</xs:documentation>
|
|
229
|
+
</xs:annotation>
|
|
230
|
+
</xs:element>
|
|
231
|
+
<xs:element name="Work-Type" type="StructuralWorkCode">
|
|
232
|
+
<xs:annotation>
|
|
233
|
+
<xs:documentation>Identifies the type of Structural Work that was carried out.</xs:documentation>
|
|
234
|
+
</xs:annotation>
|
|
235
|
+
</xs:element>
|
|
236
|
+
<xs:element name="Other-Work-Description" type="pfdt:Sentence" minOccurs="0">
|
|
237
|
+
<xs:annotation>
|
|
238
|
+
<xs:documentation>Description of the other work that was carried out if Work-Type = 'other'.</xs:documentation>
|
|
239
|
+
</xs:annotation>
|
|
240
|
+
</xs:element>
|
|
241
|
+
<xs:element name="Work-Scope" type="StructuralWorkScopeCode">
|
|
242
|
+
<xs:annotation>
|
|
243
|
+
<xs:documentation>Identifies the scope of the building that was affected by the structural work that was carried out e.g. whole building</xs:documentation>
|
|
244
|
+
</xs:annotation>
|
|
245
|
+
</xs:element>
|
|
246
|
+
</xs:all>
|
|
247
|
+
</xs:complexType>
|
|
248
|
+
<xs:element name="ContaminationRiskType" type="ContaminationRiskType"/>
|
|
249
|
+
<xs:complexType name="ContaminationRiskType">
|
|
250
|
+
<xs:all>
|
|
251
|
+
<xs:element name="Location" type="ContaminationLocationCode">
|
|
252
|
+
<xs:annotation>
|
|
253
|
+
<xs:documentation>Identifies the location of the contamination risk relative to the Property.</xs:documentation>
|
|
254
|
+
</xs:annotation>
|
|
255
|
+
</xs:element>
|
|
256
|
+
</xs:all>
|
|
257
|
+
</xs:complexType>
|
|
258
|
+
<xs:element name="UnsafeRoomType" type="UnsafeRoomType"/>
|
|
259
|
+
<xs:complexType name="UnsafeRoomType">
|
|
260
|
+
<xs:all>
|
|
261
|
+
<xs:element name="Location" type="UnsafeRoomCode">
|
|
262
|
+
<xs:annotation>
|
|
263
|
+
<xs:documentation>Identifies the location of the suspected unsafe room.</xs:documentation>
|
|
264
|
+
</xs:annotation>
|
|
265
|
+
</xs:element>
|
|
266
|
+
<xs:element name="Reason" type="UnsafeRoomReasonCode">
|
|
267
|
+
<xs:annotation>
|
|
268
|
+
<xs:documentation>Identifies the reason that the Home Inspector suspects the room is unsafe to live in.</xs:documentation>
|
|
269
|
+
</xs:annotation>
|
|
270
|
+
</xs:element>
|
|
271
|
+
</xs:all>
|
|
272
|
+
</xs:complexType>
|
|
273
|
+
<xs:element name="GasLeakType" type="GasLeakType"/>
|
|
274
|
+
<xs:complexType name="GasLeakType">
|
|
275
|
+
<xs:all>
|
|
276
|
+
<xs:element name="InformedPerson" type="GasLeakInformedCode">
|
|
277
|
+
<xs:annotation>
|
|
278
|
+
<xs:documentation>Identifies who the Home Inspector informed about the suspected Gas Leak</xs:documentation>
|
|
279
|
+
</xs:annotation>
|
|
280
|
+
</xs:element>
|
|
281
|
+
<xs:element name="Location" type="GasLeakLocationCode">
|
|
282
|
+
<xs:annotation>
|
|
283
|
+
<xs:documentation>Identifies the location of the suspected Gas Leak.</xs:documentation>
|
|
284
|
+
</xs:annotation>
|
|
285
|
+
</xs:element>
|
|
286
|
+
</xs:all>
|
|
287
|
+
</xs:complexType>
|
|
288
|
+
<xs:element name="SafetyGlassType" type="SafetyGlassType"/>
|
|
289
|
+
<xs:complexType name="SafetyGlassType">
|
|
290
|
+
<xs:sequence>
|
|
291
|
+
<xs:element name="Location" type="pfdt:Sentence" maxOccurs="unbounded">
|
|
292
|
+
<xs:annotation>
|
|
293
|
+
<xs:documentation>The location of the property feature that the Home Inspector believes should have safety glass installed.</xs:documentation>
|
|
294
|
+
</xs:annotation>
|
|
295
|
+
</xs:element>
|
|
296
|
+
</xs:sequence>
|
|
297
|
+
</xs:complexType>
|
|
298
|
+
</xs:schema>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2007 (http://www.altova.com) by Shahzad Waseem Anwar (Bridgeall Ltd.) -->
|
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SAP="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" version="LIG-16.1">
|
|
4
|
+
<xs:annotation>
|
|
5
|
+
<xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
|
|
6
|
+
</xs:annotation>
|
|
7
|
+
<xs:element name="Property" type="Property"/>
|
|
8
|
+
<xs:complexType name="Property">
|
|
9
|
+
<xs:annotation>
|
|
10
|
+
<xs:documentation>A discrete identifiable possession, such as a piece of real-estate, to which its owner has legal title. For the Home Information Pack legislation the types of property are restricted to residential properties.
|
|
11
|
+
|
|
12
|
+
It should be observed that "a property is a property is a property" and all real-estate properties, whether residential or commercial or whether being sold for the first or the nth time will have a very similar conceptual structure and similar rules and constraints.
|
|
13
|
+
|
|
14
|
+
As such the broad description of a Property can be regarded as a framework, containing a set of extension points, that can be expanded as necessary to cover additional detail.
|
|
15
|
+
</xs:documentation>
|
|
16
|
+
</xs:annotation>
|
|
17
|
+
<xs:all>
|
|
18
|
+
<xs:element name="Address" type="AddressType"/>
|
|
19
|
+
<xs:element name="UPRN" type="UPRNType">
|
|
20
|
+
<xs:annotation>
|
|
21
|
+
<xs:documentation>Unique Property Reference Number</xs:documentation>
|
|
22
|
+
</xs:annotation>
|
|
23
|
+
</xs:element>
|
|
24
|
+
</xs:all>
|
|
25
|
+
</xs:complexType>
|
|
26
|
+
<xs:complexType name="AddressType">
|
|
27
|
+
<xs:annotation>
|
|
28
|
+
<xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
|
|
29
|
+
|
|
30
|
+
</xs:documentation>
|
|
31
|
+
</xs:annotation>
|
|
32
|
+
<xs:sequence>
|
|
33
|
+
<xs:element name="Address-Line-1" type="xs:string" minOccurs="0"/>
|
|
34
|
+
<xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
|
|
35
|
+
<xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
|
|
36
|
+
<xs:element name="Post-Town" type="xs:string"/>
|
|
37
|
+
<xs:element name="Postcode" type="PostcodeType">
|
|
38
|
+
<xs:annotation>
|
|
39
|
+
<xs:documentation>The Postcode for the Address
|
|
40
|
+
</xs:documentation>
|
|
41
|
+
</xs:annotation>
|
|
42
|
+
</xs:element>
|
|
43
|
+
</xs:sequence>
|
|
44
|
+
</xs:complexType>
|
|
45
|
+
<xs:simpleType name="UPRNType">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>Unique Property Reference Number - a 10-digit numeric string unmiquely identifuying each Property that may have a HCR registered against it.</xs:documentation>
|
|
48
|
+
</xs:annotation>
|
|
49
|
+
<xs:restriction base="xs:string">
|
|
50
|
+
<xs:pattern value="[0-9]{10}"/>
|
|
51
|
+
</xs:restriction>
|
|
52
|
+
</xs:simpleType>
|
|
53
|
+
<xs:simpleType name="PostcodeType">
|
|
54
|
+
<xs:restriction base="xs:string">
|
|
55
|
+
<xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
|
|
56
|
+
</xs:restriction>
|
|
57
|
+
</xs:simpleType>
|
|
58
|
+
<xs:element name="PropertyKeyFields" type="PropertyKeyFields"/>
|
|
59
|
+
<xs:complexType name="PropertyKeyFields">
|
|
60
|
+
<xs:annotation>
|
|
61
|
+
<xs:documentation>This is the primary key definition for the Property class - used when a message requires a reference to a Property to be passed rather than the details.</xs:documentation>
|
|
62
|
+
</xs:annotation>
|
|
63
|
+
<xs:sequence>
|
|
64
|
+
<xs:element name="UPRN" type="UPRNType"/>
|
|
65
|
+
</xs:sequence>
|
|
66
|
+
</xs:complexType>
|
|
67
|
+
</xs:schema>
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- edited with XMLSpy v2012 rel. 2 sp1 (x64) (http://www.altova.com) by Andrew Boothman (Bridgeall Ltd.) -->
|
|
3
|
+
<xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-SAP"
|
|
4
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes"
|
|
6
|
+
xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP"
|
|
7
|
+
xmlns:ns1="http://www.est.org.uk/epc/estcrV1/DCLG-SAP09"
|
|
8
|
+
targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-SAP"
|
|
9
|
+
elementFormDefault="qualified"
|
|
10
|
+
attributeFormDefault="unqualified"
|
|
11
|
+
version="LIG-16.1">
|
|
12
|
+
<xs:annotation>
|
|
13
|
+
<xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context.</xs:documentation>
|
|
14
|
+
</xs:annotation>
|
|
15
|
+
|
|
16
|
+
<xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/All-HIP.xsd"/>
|
|
17
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../UDT/SharedDomains.xsd"/>-->
|
|
18
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../UDT/SAP-Domains.xsd"/>-->
|
|
19
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/UserManagement.xsd"/>-->
|
|
20
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/Property.xsd"/>-->
|
|
21
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/EPC-CollectedData.xsd"/>-->
|
|
22
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/EPC-Certificate.xsd"/>-->
|
|
23
|
+
<xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
|
|
24
|
+
<!-- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/EPC-CollectedData.xsd"/> -->
|
|
25
|
+
<xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../UDT/HCR-Domains.xsd"/>
|
|
26
|
+
<xs:include schemaLocation="../Templates/AssessorManagement.xsd"/>
|
|
27
|
+
<xs:element name="Energy-Performance-Certificate" type="Energy-Performance-Certificate"/>
|
|
28
|
+
<xs:complexType name="Energy-Performance-Certificate">
|
|
29
|
+
<xs:all>
|
|
30
|
+
<xs:element name="Calculation-Software-Name" type="xs:string">
|
|
31
|
+
<xs:annotation>
|
|
32
|
+
<xs:documentation>Name of the software used to perform the SAP calculation.</xs:documentation>
|
|
33
|
+
</xs:annotation>
|
|
34
|
+
</xs:element>
|
|
35
|
+
<xs:element name="Calculation-Software-Version" type="xs:string">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>Version of the software used to perform the SAP calculation.</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
</xs:element>
|
|
40
|
+
<xs:element name="SAP-Version" type="HIP:SAP-VersionCode">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Version of RdSAP that was used for the assessment.</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
</xs:element>
|
|
45
|
+
<xs:element name="BEDF-Revision-Number" type="xs:string"/>
|
|
46
|
+
<xs:element name="Energy-Assessment" type="HIP:Energy-Assessment"/>
|
|
47
|
+
<xs:element name="SAP-Data" type="HIP:SAP-Data" minOccurs="0"/>
|
|
48
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
|
49
|
+
<xs:element name="Insurance-Details" type="Insurance-Details"/>
|
|
50
|
+
<xs:element name="ExternalDefinitions-Revision-Number" type="xs:string">
|
|
51
|
+
<xs:annotation>
|
|
52
|
+
<xs:documentation>A number indicating the version of related ExternalDefinitions.xsd</xs:documentation>
|
|
53
|
+
</xs:annotation>
|
|
54
|
+
</xs:element>
|
|
55
|
+
</xs:all>
|
|
56
|
+
</xs:complexType>
|
|
57
|
+
<xs:element name="Insurance-Details" type="Insurance-Details"/>
|
|
58
|
+
<xs:complexType name="Insurance-Details">
|
|
59
|
+
<xs:annotation>
|
|
60
|
+
<xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Home Condition Report.
|
|
61
|
+
|
|
62
|
+
A particular Home Condition Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
|
|
63
|
+
* The Home Inspector has personal Professional Indemnity Insurance and the Home Condition Report is covered by this.
|
|
64
|
+
* The Home Condition Report is covered by an umbrella Professional Indemnity Insurance policy held by the Home Condition Report Supplier that assigned the inspection to the Home Inspector.
|
|
65
|
+
* An individual insurance policy is taken out to cover the individual report such as the case where the property is unusual and falls outside the Home Inspectors normal Professional Indemnity Insurance policy.
|
|
66
|
+
|
|
67
|
+
A Home Inspector may use any or all of these methods to providing Professional Indemnity Insurance for a Report on a case-by-case basis.
|
|
68
|
+
</xs:documentation>
|
|
69
|
+
</xs:annotation>
|
|
70
|
+
<xs:all>
|
|
71
|
+
<xs:element name="Insurer" type="xs:string">
|
|
72
|
+
<xs:annotation>
|
|
73
|
+
<xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
|
|
74
|
+
</xs:annotation>
|
|
75
|
+
</xs:element>
|
|
76
|
+
<xs:element name="Policy-No" type="xs:string">
|
|
77
|
+
<xs:annotation>
|
|
78
|
+
<xs:documentation>The policy number of the insurance policy</xs:documentation>
|
|
79
|
+
</xs:annotation>
|
|
80
|
+
</xs:element>
|
|
81
|
+
<xs:element name="Effective-Date" type="xs:date">
|
|
82
|
+
<xs:annotation>
|
|
83
|
+
<xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
|
|
84
|
+
</xs:annotation>
|
|
85
|
+
</xs:element>
|
|
86
|
+
<xs:element name="Expiry-Date" type="xs:date">
|
|
87
|
+
<xs:annotation>
|
|
88
|
+
<xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
|
|
89
|
+
</xs:annotation>
|
|
90
|
+
</xs:element>
|
|
91
|
+
<xs:element name="PI-Limit" type="pfdt:Money">
|
|
92
|
+
<xs:annotation>
|
|
93
|
+
<xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
|
|
94
|
+
</xs:annotation>
|
|
95
|
+
</xs:element>
|
|
96
|
+
</xs:all>
|
|
97
|
+
</xs:complexType>
|
|
98
|
+
<xs:element name="Report-Header" type="Report-Header"/>
|
|
99
|
+
<xs:complexType name="Report-Header">
|
|
100
|
+
<xs:annotation>
|
|
101
|
+
<xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
<xs:sequence>
|
|
104
|
+
<xs:element name="RRN" type="pfdt:RRNType">
|
|
105
|
+
<xs:annotation>
|
|
106
|
+
<xs:documentation>Report Reference Number is the unique report Identifier that the report will be publicly known by.
|
|
107
|
+
|
|
108
|
+
The RRN is allocated to the Report at the point that it is registered and will be algorithmically derived from the natural key characteristics of the Home Condition Report i.e. The Unique Property Reference Number (UPRN) and Inspection Date.</xs:documentation>
|
|
109
|
+
</xs:annotation>
|
|
110
|
+
</xs:element>
|
|
111
|
+
<xs:element name="Inspection-Date" type="xs:date">
|
|
112
|
+
<xs:annotation>
|
|
113
|
+
<xs:documentation>The date that the inspection was actually carried out by the Home Inspector.</xs:documentation>
|
|
114
|
+
</xs:annotation>
|
|
115
|
+
</xs:element>
|
|
116
|
+
<xs:element name="Report-Type" type="HIP:ReportTypeCode">
|
|
117
|
+
<xs:annotation>
|
|
118
|
+
<xs:documentation>The type of Home Inspection that was carried out.
|
|
119
|
+
|
|
120
|
+
Initially the only allowed type will be a Home Condition Report inspection but this may be extended in the future to cover Energy Assessment Only inspections.</xs:documentation>
|
|
121
|
+
</xs:annotation>
|
|
122
|
+
</xs:element>
|
|
123
|
+
<xs:element name="Completion-Date" type="xs:date">
|
|
124
|
+
<xs:annotation>
|
|
125
|
+
<xs:documentation>The date that the Home Inspector completed the report. This will be after the Inspection Date but generally before the Registration Date.</xs:documentation>
|
|
126
|
+
</xs:annotation>
|
|
127
|
+
</xs:element>
|
|
128
|
+
<xs:element name="Registration-Date" type="xs:date">
|
|
129
|
+
<xs:annotation>
|
|
130
|
+
<xs:documentation>The date that the report was submitted to the HCR Registration Organisation for lodging in the HCR Register.</xs:documentation>
|
|
131
|
+
</xs:annotation>
|
|
132
|
+
</xs:element>
|
|
133
|
+
<xs:element name="Status" type="HIP:ReportStatusCode">
|
|
134
|
+
<xs:annotation>
|
|
135
|
+
<xs:documentation>The Status of the Report.
|
|
136
|
+
|
|
137
|
+
A Home Condition Report can have a number of distinct states depending on whereabouts in its overall lifecycle the HCR is - see Home Condition Report Statechart for more details.</xs:documentation>
|
|
138
|
+
</xs:annotation>
|
|
139
|
+
</xs:element>
|
|
140
|
+
<xs:element name="Language-Code" type="pfdt:LanguageCode">
|
|
141
|
+
<xs:annotation>
|
|
142
|
+
<xs:documentation>The language that the report is written in. </xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
</xs:element>
|
|
145
|
+
<xs:element name="Restricted-Access" type="HIP:RestrictedAccessCode">
|
|
146
|
+
<xs:annotation>
|
|
147
|
+
<xs:documentation>Indicates that the Seller wants to restrict access to the Home Condition Report to General Public / Unregistered Users only.
|
|
148
|
+
|
|
149
|
+
Some members of the public have a moral / religious objection to money lending and hence may not want to let Mortgage Lenders have access to the data. When set to "Yes" retrieval of the structured (XML) data will be blocked.
|
|
150
|
+
|
|
151
|
+
However anyone with access to the Report Reference Number (RRN) can retrieve the PDF version of the Home Condition Report via the public access mechanism which cannot be restricted in this way.</xs:documentation>
|
|
152
|
+
</xs:annotation>
|
|
153
|
+
</xs:element>
|
|
154
|
+
<xs:element name="Tenure" type="xs:string"/>
|
|
155
|
+
<xs:element name="Transaction-Type" type="xs:positiveInteger"/>
|
|
156
|
+
<xs:element name="Seller-Commission-Report" type="pfdt:Flag">
|
|
157
|
+
<xs:annotation>
|
|
158
|
+
<xs:documentation>Indicates that the HCR was commissioned by the Seller of the Property or their Agent. This is required in order to differentiate these reports from Buyer commisioned reports which are not eligible for inclusion in a Home Information Pack</xs:documentation>
|
|
159
|
+
</xs:annotation>
|
|
160
|
+
</xs:element>
|
|
161
|
+
<xs:element name="ClonedRRN" type="pfdt:RRNType" minOccurs="0">
|
|
162
|
+
<xs:annotation>
|
|
163
|
+
<xs:documentation>If the EPC is a clone of another EPC, the parent RRN should be included here. If the EPC is not a clone this element should not be provided. </xs:documentation>
|
|
164
|
+
</xs:annotation>
|
|
165
|
+
</xs:element>
|
|
166
|
+
<xs:element name="Property-Type" type="HIP:PropertyTypeCode">
|
|
167
|
+
<xs:annotation>
|
|
168
|
+
<xs:documentation>Describes the type of Property that is being inspected. This should be the same as the Property-Type recorded in the Property-Details section.</xs:documentation>
|
|
169
|
+
</xs:annotation>
|
|
170
|
+
</xs:element>
|
|
171
|
+
<xs:element name="Home-Inspector" type="HIP:Home-Inspector"/>
|
|
172
|
+
<xs:element name="Property" type="HIP:Property"/>
|
|
173
|
+
<xs:element name="Region-Code" type="HIP:UKRegionCode" minOccurs="0">
|
|
174
|
+
<xs:annotation>
|
|
175
|
+
<xs:documentation>Region within the UK.</xs:documentation>
|
|
176
|
+
</xs:annotation>
|
|
177
|
+
</xs:element>
|
|
178
|
+
<xs:element name="Country-Code" type="HIP:UKCountryCode" minOccurs="0">
|
|
179
|
+
<xs:annotation>
|
|
180
|
+
<xs:documentation>Country within the UK.</xs:documentation>
|
|
181
|
+
</xs:annotation>
|
|
182
|
+
</xs:element>
|
|
183
|
+
<xs:element name="Related-Party-Disclosure">
|
|
184
|
+
<xs:complexType>
|
|
185
|
+
<xs:choice>
|
|
186
|
+
<xs:element name="Related-Party-Disclosure-Text" type="pfdt:Sentence">
|
|
187
|
+
<xs:annotation>
|
|
188
|
+
<xs:documentation>For backward compatibility only.</xs:documentation>
|
|
189
|
+
</xs:annotation>
|
|
190
|
+
</xs:element>
|
|
191
|
+
<xs:element name="Related-Party-Disclosure-Number" type="HIP:DisclosureCode">
|
|
192
|
+
<xs:annotation>
|
|
193
|
+
<xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
|
|
194
|
+
</xs:annotation>
|
|
195
|
+
</xs:element>
|
|
196
|
+
</xs:choice>
|
|
197
|
+
</xs:complexType>
|
|
198
|
+
</xs:element>
|
|
199
|
+
</xs:sequence>
|
|
200
|
+
</xs:complexType>
|
|
201
|
+
</xs:schema>
|