epb_view_models 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,67 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns="https://epbr.digital.communities.gov.uk/xsd/rdsap"
4
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
5
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/rdsap"
6
+ elementFormDefault="qualified"
7
+ version="21.0.0"
8
+ >
9
+ <xs:element name="Property" type="Property"/>
10
+ <xs:complexType name="Property">
11
+ <xs:annotation>
12
+ <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.
13
+
14
+ 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.
15
+
16
+ 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.
17
+ </xs:documentation>
18
+ </xs:annotation>
19
+ <xs:all>
20
+ <xs:element name="Address" type="AddressType"/>
21
+ <xs:element name="UPRN" type="UPRNType" minOccurs="0">
22
+ <xs:annotation>
23
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ </xs:all>
27
+ </xs:complexType>
28
+ <xs:element name="AddressType" type="AddressType"/>
29
+ <xs:complexType name="AddressType">
30
+ <xs:annotation>
31
+ <xs:documentation>An address is composed of a number of structured elements such as Postcode, Post-Town, Street etc.
32
+
33
+ </xs:documentation>
34
+ </xs:annotation>
35
+ <xs:sequence>
36
+ <xs:element name="Address-Line-1" type="xs:string"/>
37
+ <xs:element name="Address-Line-2" type="xs:string" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>The District part of the Address.
40
+
41
+ A District is an optional sub-part of the Post Town e.g. "Kings Heath" in "Birmingham" or "Ellington" in London.</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
45
+ <xs:element name="Post-Town" type="xs:string"/>
46
+ <xs:element name="Postcode" type="PostcodeType">
47
+ <xs:annotation>
48
+ <xs:documentation>The Postcode for the Address
49
+ </xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ </xs:sequence>
53
+ </xs:complexType>
54
+ <xs:simpleType name="UPRNType">
55
+ <xs:annotation>
56
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
57
+ </xs:annotation>
58
+ <xs:restriction base="xs:string">
59
+ <xs:pattern value="UPRN-[0-9]{10,12}|RRN-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}"/>
60
+ </xs:restriction>
61
+ </xs:simpleType>
62
+ <xs:simpleType name="PostcodeType">
63
+ <xs:restriction base="xs:string">
64
+ <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
65
+ </xs:restriction>
66
+ </xs:simpleType>
67
+ </xs:schema>
@@ -0,0 +1,179 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns="https://epbr.digital.communities.gov.uk/xsd/rdsap"
5
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/rdsap"
6
+ elementFormDefault="qualified"
7
+ attributeFormDefault="unqualified"
8
+ version="21.0.0"
9
+ >
10
+ <xs:include schemaLocation="EPC-CollectedData.xsd"/>
11
+ <xs:include schemaLocation="EPC-Certificate.xsd"/>
12
+ <xs:include schemaLocation="AssessorManagement.xsd"/>
13
+ <xs:element name="RdSAP-Report" type="Energy-Performance-Certificate"/>
14
+ <xs:complexType name="Energy-Performance-Certificate">
15
+ <xs:all>
16
+ <xs:element name="Calculation-Software-Name" type="xs:string">
17
+ <xs:annotation>
18
+ <xs:documentation>Name of the software used to perform the SAP calculation.</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ <xs:element name="Calculation-Software-Version" type="xs:string">
22
+ <xs:annotation>
23
+ <xs:documentation>Version of the software used to perform the SAP calculation.</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:element name="User-Interface-Name" type="xs:string">
27
+ <xs:annotation>
28
+ <xs:documentation>The name of the user interface used for data entry. This can be the same as Calculation-Software-Name, or different.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="User-Interface-Version" type="xs:string">
32
+ <xs:annotation>
33
+ <xs:documentation>The version of the user interface used for data entry. This can be the same as Calculation-Software-Version, or different.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Schema-Version-Original" type="xs:string">
37
+ <xs:annotation>
38
+ <xs:documentation>The schema version that the data conformed to when it was lodged.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Schema-Version-Current" type="xs:string" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>The schema version to which the data conforms. This node is inserted by the register when a retrieval is requested. It must not be present in a lodgement being sent to the register.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="SAP-Version" type="SAP-VersionCode">
47
+ <xs:annotation>
48
+ <xs:documentation>Version of RdSAP that was used for the assessment.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="PCDF-Revision-Number" type="xs:string"/>
52
+ <xs:element name="Previous-EPC-Check" type="Previous-EPC-Check"/>
53
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
54
+ <xs:element name="SAP-Data" type="SAP-Data" minOccurs="0"/>
55
+ <xs:element name="Report-Header" type="Report-Header"/>
56
+ <xs:element name="Insurance-Details" type="Insurance-Details"/>
57
+ <xs:element name="ExternalDefinitions-Revision-Number" type="xs:string">
58
+ <xs:annotation>
59
+ <xs:documentation>A number indicating the version of related ExternalDefinitions.xsd</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ </xs:all>
63
+ </xs:complexType>
64
+ <xs:element name="Insurance-Details" type="Insurance-Details"/>
65
+ <xs:complexType name="Insurance-Details">
66
+ <xs:annotation>
67
+ <xs:documentation>Details of the Professional Indemnity Insurance policy used to provide cover against a compensation claim against any particular Home Condition Report.
68
+
69
+ A particular Home Condition Report may be covered by an Professional Indemnity Insurance policy in one of three different ways:
70
+ * The Home Inspector has personal Professional Indemnity Insurance and the Home Condition Report is covered by this.
71
+ * 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.
72
+ * 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.
73
+
74
+ 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.
75
+ </xs:documentation>
76
+ </xs:annotation>
77
+ <xs:all>
78
+ <xs:element name="Insurer" type="xs:string">
79
+ <xs:annotation>
80
+ <xs:documentation>The name of the insurance company that underwrites / issued the insurance policy</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:element>
83
+ <xs:element name="Policy-No" type="xs:string">
84
+ <xs:annotation>
85
+ <xs:documentation>The policy number of the insurance policy</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:element>
88
+ <xs:element name="Effective-Date" type="xs:date">
89
+ <xs:annotation>
90
+ <xs:documentation>The date that the insurance policy becomes effective (commences cover)</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:element>
93
+ <xs:element name="Expiry-Date" type="xs:date">
94
+ <xs:annotation>
95
+ <xs:documentation>The date that the insurance policy is supposed to expire.</xs:documentation>
96
+ </xs:annotation>
97
+ </xs:element>
98
+ <xs:element name="PI-Limit" type="Money">
99
+ <xs:annotation>
100
+ <xs:documentation>The upper limit of the Professional Indemnity cover provided by the insurance policy.</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:element>
103
+ </xs:all>
104
+ </xs:complexType>
105
+ <xs:element name="Report-Header" type="Report-Header"/>
106
+ <xs:complexType name="Report-Header">
107
+ <xs:annotation>
108
+ <xs:documentation>Report Header contains all the identification and searchable details for the Report.</xs:documentation>
109
+ </xs:annotation>
110
+ <xs:all>
111
+ <xs:element name="RRN" type="RRNType">
112
+ <xs:annotation>
113
+ <xs:documentation>Report Reference Number is the unique report Identifier shown on the EPC.</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:element>
116
+ <xs:element name="Inspection-Date" type="xs:date">
117
+ <xs:annotation>
118
+ <xs:documentation>Date of site visit.</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:element>
121
+ <xs:element name="Report-Type" type="ReportTypeCode">
122
+ <xs:annotation>
123
+ <xs:documentation>The type of assessment that was carried out.</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:element>
126
+ <xs:element name="Completion-Date" type="xs:date">
127
+ <xs:annotation>
128
+ <xs:documentation>Date of completion of report. Equal to or later than Inspection-Date and before or equal to Registration-Date.</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ <xs:element name="Registration-Date" type="xs:date">
132
+ <xs:annotation>
133
+ <xs:documentation>Date when report submitted to register.</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:element>
136
+ <xs:element name="Status" type="ReportStatusCode"/>
137
+ <xs:element name="Language-Code" type="LanguageCode">
138
+ <xs:annotation>
139
+ <xs:documentation>The language that the report is written in. </xs:documentation>
140
+ </xs:annotation>
141
+ </xs:element>
142
+ <xs:element name="Property-Type" type="PropertyTypeCode">
143
+ <xs:annotation>
144
+ <xs:documentation>The type of property that is being assessed. This should be the same as the Property-Type recorded in the Property-Details section.</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:element>
147
+ <xs:element name="Region-Code" type="UKRegionCode">
148
+ <xs:annotation>
149
+ <xs:documentation>Region within the UK.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:element>
152
+ <xs:element name="Country-Code" type="UKCountryCode">
153
+ <xs:annotation>
154
+ <xs:documentation>Country within the UK.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ <xs:element name="Transaction-Type" type="TransactionType"/>
158
+ <xs:element name="Tenure" type="TenureCode"/>
159
+ <xs:element name="Energy-Assessor" type="Energy-Assessor"/>
160
+ <xs:element name="Property" type="Property"/>
161
+ <xs:element name="Related-Party-Disclosure">
162
+ <xs:complexType>
163
+ <xs:choice>
164
+ <xs:element name="Related-Party-Disclosure-Number" type="DisclosureCode">
165
+ <xs:annotation>
166
+ <xs:documentation>Code indicating any potential conflicts of interest or commercial relationships with other parties.</xs:documentation>
167
+ </xs:annotation>
168
+ </xs:element>
169
+ <xs:element name="Related-Party-Disclosure-Text" type="Sentence">
170
+ <xs:annotation>
171
+ <xs:documentation>For backward compatibility only</xs:documentation>
172
+ </xs:annotation>
173
+ </xs:element>
174
+ </xs:choice>
175
+ </xs:complexType>
176
+ </xs:element>
177
+ </xs:all>
178
+ </xs:complexType>
179
+ </xs:schema>