epb_view_models 2.2.14 → 2.2.15
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-21.0/RdSAP/ExternalDefinitions.xml +1832 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/ExternalDefinitions.xsd +267 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/AssessorManagement.xsd +212 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/EPC-Certificate.xsd +399 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/EPC-CollectedData.xsd +1453 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/Property.xsd +67 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.xsd +179 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/UDT/EPC-Domains.xsd +940 -0
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/UDT/SAP-Domains.xsd +3557 -0
- data/lib/epb_view_models.rb +1 -1
- data/lib/view_model/factory.rb +1 -0
- data/lib/view_model/rd_sap_schema_s_210/common_schema.rb +669 -0
- data/lib/view_model/rd_sap_wrapper.rb +2 -0
- metadata +12 -1
|
@@ -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.1"
|
|
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>
|