epb_view_models 2.7.1 → 2.8.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 (149) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +19 -2
  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/CEPC-S-8.0.0/Reports/BaseDataTypes.xsd +302 -0
  21. data/api/schemas/xml/CEPC-S-8.0.0/Reports/CEPC-Reports.xsd +69 -0
  22. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Input-Data.xsd +39 -0
  23. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Performance-Summary.xsd +130 -0
  24. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Property.xsd +72 -0
  25. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Report-Header.xsd +182 -0
  26. data/api/schemas/xml/CEPC-S-8.0.0/Reports/Reported-Data.xsd +411 -0
  27. data/api/schemas/xml/CEPC-S-8.0.0/Reports/UserManagement.xsd +175 -0
  28. data/api/schemas/xml/CS63-S-8.0.0/ActionPlan.xsd +822 -0
  29. data/api/schemas/xml/DECAR-S-8.0.0/DEC-Summary.xsd +399 -0
  30. data/api/schemas/xml/DECAR-S-8.0.0/Reports/BaseDataTypes.xsd +187 -0
  31. data/api/schemas/xml/DECAR-S-8.0.0/Reports/CEPC-Reports.xsd +78 -0
  32. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Input-Data.xsd +313 -0
  33. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Performance-Summary.xsd +111 -0
  34. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Report-Header.xsd +455 -0
  35. data/api/schemas/xml/DECAR-S-8.0.0/Reports/Reported-Data.xsd +408 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  37. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  38. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  39. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  40. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  41. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  42. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  43. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  44. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  45. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  46. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  47. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  48. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  49. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  50. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  51. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  52. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  53. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  54. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  55. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  56. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  57. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  58. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  59. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  60. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  61. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  62. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  63. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  64. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  65. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  66. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  67. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  68. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  69. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  70. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  71. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  72. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  73. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  74. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  75. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  76. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  77. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  78. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  79. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  80. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  81. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  82. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  83. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  84. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  85. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  86. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  87. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  88. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xml +1832 -0
  89. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/ExternalDefinitions.xsd +267 -0
  90. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/AssessorManagement.xsd +212 -0
  91. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-Certificate.xsd +399 -0
  92. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/EPC-CollectedData.xsd +1453 -0
  93. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/Property.xsd +67 -0
  94. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/Templates/RdSAP-Report.xsd +179 -0
  95. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/EPC-Domains.xsd +943 -0
  96. data/api/schemas/xml/RdSAP-Schema-S-22.0.0/RdSAP/UDT/SAP-Domains.xsd +3557 -0
  97. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.txt +236 -236
  98. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/ExternalDefinitions.xml +1456 -1456
  99. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/EPC-Certificate.xsd +433 -433
  100. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/Property.xsd +69 -69
  101. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-CollectedData.xsd +1326 -1326
  102. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/SAP09-Report.xsd +196 -196
  103. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/Templates/UserManagement.xsd +217 -217
  104. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/BaseDataTypes.xsd +175 -175
  105. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/EPC-Domains.xsd +813 -813
  106. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SAP09-Domains.xsd +3457 -3457
  107. data/api/schemas/xml/SAP-Schema-S-16.1/SAP/UDT/SharedDomains.xsd +317 -317
  108. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xml +1456 -1456
  109. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/ExternalDefinitions.xsd +236 -236
  110. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/AssessorManagement.xsd +216 -216
  111. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/EPC-Certificate.xsd +457 -457
  112. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ExceptionList.xsd +18 -18
  113. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/Property.xsd +62 -62
  114. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/ReportList.xsd +26 -26
  115. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-CollectedData.xsd +1444 -1444
  116. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/Templates/SAP-Report.xsd +193 -193
  117. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/EPC-Domains.xsd +558 -558
  118. data/api/schemas/xml/SAP-Schema-S-17.0/SAP/UDT/SAP-Domains.xsd +2975 -2975
  119. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xml +1352 -0
  120. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/ExternalDefinitions.xsd +242 -0
  121. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/AssessorManagement.xsd +210 -0
  122. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/EPC-Certificate.xsd +495 -0
  123. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ExceptionList.xsd +23 -0
  124. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/Property.xsd +77 -0
  125. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/ReportList.xsd +30 -0
  126. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-CollectedData.xsd +1800 -0
  127. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Compliance-Report.xsd +40 -0
  128. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/Templates/SAP-Report.xsd +206 -0
  129. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/EPC-Domains.xsd +564 -0
  130. data/api/schemas/xml/SAP-Schema-S-20.0.0/SAP/UDT/SAP-Domains.xsd +3140 -0
  131. data/lib/epb_view_models/version.rb +1 -1
  132. data/lib/view_model/cepc800/common_schema.rb +7 -7
  133. data/lib/view_model/cepc_s_800/cepc.rb +184 -0
  134. data/lib/view_model/cepc_wrapper.rb +2 -0
  135. data/lib/view_model/{cs63 → cs63_70}/common_schema.rb +1 -1
  136. data/lib/view_model/cs63_800/common_schema.rb +211 -0
  137. data/lib/view_model/cs63_wrapper.rb +15 -3
  138. data/lib/view_model/dec_rr_wrapper.rb +2 -0
  139. data/lib/view_model/dec_summary_wrapper.rb +2 -0
  140. data/lib/view_model/dec_wrapper.rb +2 -0
  141. data/lib/view_model/decar_s_800/common_schema.rb +109 -0
  142. data/lib/view_model/decar_s_800/dec.rb +235 -0
  143. data/lib/view_model/decar_s_800/dec_rr.rb +102 -0
  144. data/lib/view_model/factory.rb +6 -1
  145. data/lib/view_model/rd_sap_schema_s_2200/common_schema.rb +685 -0
  146. data/lib/view_model/rd_sap_wrapper.rb +4 -2
  147. data/lib/view_model/sap_schema_s_2000/common_schema.rb +619 -0
  148. data/lib/view_model/sap_wrapper.rb +2 -0
  149. metadata +46 -2
@@ -1,236 +1,236 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns="EPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="EPC" attributeFormDefault="unqualified" version="EPC-1.4">
3
- <xs:annotation>
4
- <xs:documentation>
5
- This schema is used to provide
6
- (a) the texts of recommendations on EPCs (by country)
7
- (b) addenda that may appear on RdSAP EPCs (same for all countries)
8
- (c) the options for Related Party Disclosure (same for all countries)
9
- (d) the options for Tenure (same for all countries)
10
- (e) the options for Transaction Type (by country)
11
- </xs:documentation>
12
- </xs:annotation>
13
- <xs:element name="ExternalDefinitions" type="ExternalDefinitions"/>
14
- <xs:complexType name="ExternalDefinitions">
15
- <xs:sequence>
16
- <xs:element name="Revision-Number" type="xs:string">
17
- <xs:annotation>
18
- <xs:documentation>The version number of the latest revision to any of the texts</xs:documentation>
19
- </xs:annotation>
20
- </xs:element>
21
- <xs:element name="Revision-Date" type="xs:date">
22
- <xs:annotation>
23
- <xs:documentation>The date of the latest revision to any of the texts</xs:documentation>
24
- </xs:annotation>
25
- </xs:element>
26
- <xs:element name="Country" type="Country" maxOccurs="3"/>
27
- <xs:element name="Addendum" type="Addendum" minOccurs="0" maxOccurs="unbounded"/>
28
- <xs:element name="Tenure" type="Tenure" minOccurs="0" maxOccurs="unbounded"></xs:element>
29
- <xs:element name="Related-Party-Disclosure" type="Related-Party-Disclosure" minOccurs="0" maxOccurs="unbounded">
30
- <xs:annotation>
31
- <xs:documentation>List of possible texts for Related Party Disclosure on EPCs</xs:documentation>
32
- </xs:annotation>
33
- </xs:element>
34
- </xs:sequence>
35
- </xs:complexType>
36
- <xs:complexType name="Country">
37
- <xs:sequence>
38
- <xs:element name="Country-Code" type="UKCountryCode"/>
39
- <xs:element name="Average-SAP-Rating" type="EnergyRatingType">
40
- <xs:annotation>
41
- <xs:documentation>The average SAP rating for the country, to be shown on the EPC. If not used on the EPC, it may be 0</xs:documentation>
42
- </xs:annotation>
43
- </xs:element>
44
- <xs:element name="Average-EI-Rating" type="EnergyRatingType" minOccurs="0">
45
- <xs:annotation>
46
- <xs:documentation>The average Environmental Impact rating for the country, to be shown on the EPC. If not used on the EPC, it may be 0 or omitted</xs:documentation>
47
- </xs:annotation>
48
- </xs:element>
49
- <xs:element name="Recommendation" type="Recommendation" maxOccurs="unbounded"/>
50
- <xs:element name="Footnote-Text" type="Sentence" minOccurs="0" maxOccurs="2"/>
51
- <xs:element name="Transaction-Type" type="Transaction-Type" maxOccurs="unbounded">
52
- <xs:annotation>
53
- <xs:documentation>Transaction types are given separately for each country since the list may differ</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- </xs:sequence>
57
- </xs:complexType>
58
- <xs:complexType name="Recommendation">
59
- <xs:sequence>
60
- <xs:element name="Improvement-Number" type="xs:positiveInteger">
61
- <xs:annotation>
62
- <xs:documentation>Recommendations are selected by recommendation number according to the criteria in Appendix T of the SAP specification.</xs:documentation>
63
- </xs:annotation>
64
- </xs:element>
65
- <xs:element name="Improvement-Summary" type="Sentence" maxOccurs="2">
66
- <xs:annotation>
67
- <xs:documentation>A short description of the improvement. English only, or English and Welsh</xs:documentation>
68
- </xs:annotation>
69
- </xs:element>
70
- <xs:element name="Improvement-Summary-2" type="Sentence" minOccurs="0" maxOccurs="2">
71
- <xs:annotation>
72
- <xs:documentation>A short description of the improvement. English only, or English and Welsh</xs:documentation>
73
- </xs:annotation>
74
- </xs:element>
75
- <xs:element name="Improvement-Heading" type="Sentence" maxOccurs="2">
76
- <xs:annotation>
77
- <xs:documentation>Text to precede the improvement description. English only, or English and Welsh</xs:documentation>
78
- </xs:annotation>
79
- </xs:element>
80
- <xs:element name="Improvement-Description" type="Sentence" maxOccurs="2">
81
- <xs:annotation>
82
- <xs:documentation>Detailed description of the improvement. English only, or English and Welsh</xs:documentation>
83
- </xs:annotation>
84
- </xs:element>
85
- <xs:element name="Has-Footnote" type="xs:boolean" default="false" minOccurs="0">
86
- <xs:annotation>
87
- <xs:documentation>If true the Footnote-Text appears at the bottom of the page.</xs:documentation>
88
- </xs:annotation>
89
- </xs:element>
90
- </xs:sequence>
91
- </xs:complexType>
92
- <xs:complexType name="Addendum">
93
- <xs:annotation>
94
- <xs:documentation>Addendum-Number is unique for the text concerned. If an addendum is deleted the number will not be re-used.</xs:documentation>
95
- </xs:annotation>
96
- <xs:sequence>
97
- <xs:element name="Addendum-Number" type="xs:positiveInteger">
98
- <xs:annotation>
99
- <xs:documentation>The text of an addendum is picked up via the Addendum-Number.</xs:documentation>
100
- </xs:annotation>
101
- </xs:element>
102
- <xs:element name="Circumstances" type="xs:string">
103
- <xs:annotation>
104
- <xs:documentation>The circumstances under which this addendum should be included.</xs:documentation>
105
- </xs:annotation>
106
- </xs:element>
107
- <xs:element name="Addendum-Text" type="Sentence" minOccurs="2" maxOccurs="2">
108
- <xs:annotation>
109
- <xs:documentation>Text to be included on the EPC (English and Welsh versions).</xs:documentation>
110
- </xs:annotation>
111
- </xs:element>
112
- </xs:sequence>
113
- </xs:complexType>
114
- <xs:complexType name="Tenure">
115
- <xs:sequence>
116
- <xs:element name="Tenure-Code" type="TenureCode"></xs:element>
117
- <xs:element name="Tenure-Text" type="xs:string"></xs:element>
118
- </xs:sequence>
119
- </xs:complexType>
120
- <xs:simpleType name="TenureCode">
121
- <xs:annotation>
122
- <xs:documentation>TenureCode = 0 (unknown) is applicable only in the case of a new dwelling for which the intended tenure in not known. It is not to be used for an existing dwelling</xs:documentation>
123
- </xs:annotation>
124
- <xs:restriction base="xs:string">
125
- <xs:enumeration value="1">
126
- <xs:annotation>
127
- <xs:documentation>Owner-occupied</xs:documentation>
128
- </xs:annotation>
129
- </xs:enumeration>
130
- <xs:enumeration value="2">
131
- <xs:annotation>
132
- <xs:documentation>Rented (social)</xs:documentation>
133
- </xs:annotation>
134
- </xs:enumeration>
135
- <xs:enumeration value="3">
136
- <xs:annotation>
137
- <xs:documentation>Rented (private)</xs:documentation>
138
- </xs:annotation>
139
- </xs:enumeration>
140
- <xs:enumeration value="ND">
141
- <xs:annotation>
142
- <xs:documentation>Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is not to be used for an existing dwelling</xs:documentation>
143
- </xs:annotation>
144
- </xs:enumeration>
145
- </xs:restriction>
146
- </xs:simpleType>
147
- <xs:complexType name="Related-Party-Disclosure">
148
- <xs:annotation>
149
- <xs:documentation>List of possible texts for Related Party Disclosure on EPCs</xs:documentation>
150
- </xs:annotation>
151
- <xs:sequence>
152
- <xs:element name="Disclosure-Code" type="xs:positiveInteger"/>
153
- <xs:element name="Disclosure-Text" type="Sentence" minOccurs="2" maxOccurs="2"/>
154
- </xs:sequence>
155
- </xs:complexType>
156
- <xs:complexType name="Transaction-Type">
157
- <xs:annotation>
158
- <xs:documentation>List of possible Transaction Types for EPCs. The transaction type indicates the reason for creating the EPC</xs:documentation>
159
- </xs:annotation>
160
- <xs:sequence>
161
- <xs:element name="Display-Order" type="xs:positiveInteger">
162
- <xs:annotation>
163
- <xs:documentation>Number indicating the order in which the transaction types are to be presented to a software user.
164
- These numbers might not be consecutive. The transaction types are to be shown with the lowest display number first through to the highest shown last</xs:documentation>
165
- </xs:annotation>
166
- </xs:element>
167
- <xs:element name="Transaction-Code" type="xs:positiveInteger">
168
- <xs:annotation>
169
- <xs:documentation>Code to be used for Transaction-Type in the lodgement XML</xs:documentation>
170
- </xs:annotation>
171
- </xs:element>
172
- <xs:element name="Transaction-Text" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
173
- <xs:element name="In-RdSAP" type="xs:boolean">
174
- <xs:annotation>
175
- <xs:documentation>If false, transaction type is to be omitted when RdSAP is being used</xs:documentation>
176
- </xs:annotation>
177
- </xs:element>
178
- </xs:sequence>
179
- </xs:complexType>
180
- <xs:simpleType name="LanguageCode">
181
- <xs:restriction base="xs:string">
182
- <xs:enumeration value="1">
183
- <xs:annotation>
184
- <xs:documentation>English</xs:documentation>
185
- </xs:annotation>
186
- </xs:enumeration>
187
- <xs:enumeration value="2">
188
- <xs:annotation>
189
- <xs:documentation>Welsh</xs:documentation>
190
- </xs:annotation>
191
- </xs:enumeration>
192
- </xs:restriction>
193
- </xs:simpleType>
194
- <xs:simpleType name="UKCountryCode">
195
- <xs:annotation>
196
- <xs:documentation>Code which indicates the country within the UK, taken from BS 6879.</xs:documentation>
197
- </xs:annotation>
198
- <xs:restriction base="xs:string">
199
- <xs:enumeration value="EAW">
200
- <xs:annotation>
201
- <xs:documentation>England and Wales</xs:documentation>
202
- </xs:annotation>
203
- </xs:enumeration>
204
- <xs:enumeration value="SCT">
205
- <xs:annotation>
206
- <xs:documentation>Scotland</xs:documentation>
207
- </xs:annotation>
208
- </xs:enumeration>
209
- <xs:enumeration value="NIR">
210
- <xs:annotation>
211
- <xs:documentation>Northern Ireland</xs:documentation>
212
- </xs:annotation>
213
- </xs:enumeration>
214
- </xs:restriction>
215
- </xs:simpleType>
216
- <xs:element name="Sentence" type="Sentence"/>
217
- <xs:complexType name="Sentence">
218
- <xs:annotation>
219
- <xs:documentation>String value with a language code for natural-language text.</xs:documentation>
220
- </xs:annotation>
221
- <xs:simpleContent>
222
- <xs:extension base="xs:string">
223
- <xs:attribute name="language" type="LanguageCode" use="required">
224
- <xs:annotation>
225
- <xs:documentation>Identifies the language that the sentence is recorded in.</xs:documentation>
226
- </xs:annotation>
227
- </xs:attribute>
228
- </xs:extension>
229
- </xs:simpleContent>
230
- </xs:complexType>
231
- <xs:simpleType name="EnergyRatingType">
232
- <xs:restriction base="xs:integer">
233
- <xs:minInclusive value="0"/>
234
- </xs:restriction>
235
- </xs:simpleType>
236
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="EPC" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="EPC" attributeFormDefault="unqualified" version="EPC-1.4">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ This schema is used to provide
6
+ (a) the texts of recommendations on EPCs (by country)
7
+ (b) addenda that may appear on RdSAP EPCs (same for all countries)
8
+ (c) the options for Related Party Disclosure (same for all countries)
9
+ (d) the options for Tenure (same for all countries)
10
+ (e) the options for Transaction Type (by country)
11
+ </xs:documentation>
12
+ </xs:annotation>
13
+ <xs:element name="ExternalDefinitions" type="ExternalDefinitions"/>
14
+ <xs:complexType name="ExternalDefinitions">
15
+ <xs:sequence>
16
+ <xs:element name="Revision-Number" type="xs:string">
17
+ <xs:annotation>
18
+ <xs:documentation>The version number of the latest revision to any of the texts</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ <xs:element name="Revision-Date" type="xs:date">
22
+ <xs:annotation>
23
+ <xs:documentation>The date of the latest revision to any of the texts</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:element name="Country" type="Country" maxOccurs="3"/>
27
+ <xs:element name="Addendum" type="Addendum" minOccurs="0" maxOccurs="unbounded"/>
28
+ <xs:element name="Tenure" type="Tenure" minOccurs="0" maxOccurs="unbounded"></xs:element>
29
+ <xs:element name="Related-Party-Disclosure" type="Related-Party-Disclosure" minOccurs="0" maxOccurs="unbounded">
30
+ <xs:annotation>
31
+ <xs:documentation>List of possible texts for Related Party Disclosure on EPCs</xs:documentation>
32
+ </xs:annotation>
33
+ </xs:element>
34
+ </xs:sequence>
35
+ </xs:complexType>
36
+ <xs:complexType name="Country">
37
+ <xs:sequence>
38
+ <xs:element name="Country-Code" type="UKCountryCode"/>
39
+ <xs:element name="Average-SAP-Rating" type="EnergyRatingType">
40
+ <xs:annotation>
41
+ <xs:documentation>The average SAP rating for the country, to be shown on the EPC. If not used on the EPC, it may be 0</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ <xs:element name="Average-EI-Rating" type="EnergyRatingType" minOccurs="0">
45
+ <xs:annotation>
46
+ <xs:documentation>The average Environmental Impact rating for the country, to be shown on the EPC. If not used on the EPC, it may be 0 or omitted</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:element>
49
+ <xs:element name="Recommendation" type="Recommendation" maxOccurs="unbounded"/>
50
+ <xs:element name="Footnote-Text" type="Sentence" minOccurs="0" maxOccurs="2"/>
51
+ <xs:element name="Transaction-Type" type="Transaction-Type" maxOccurs="unbounded">
52
+ <xs:annotation>
53
+ <xs:documentation>Transaction types are given separately for each country since the list may differ</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ </xs:sequence>
57
+ </xs:complexType>
58
+ <xs:complexType name="Recommendation">
59
+ <xs:sequence>
60
+ <xs:element name="Improvement-Number" type="xs:positiveInteger">
61
+ <xs:annotation>
62
+ <xs:documentation>Recommendations are selected by recommendation number according to the criteria in Appendix T of the SAP specification.</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element name="Improvement-Summary" type="Sentence" maxOccurs="2">
66
+ <xs:annotation>
67
+ <xs:documentation>A short description of the improvement. English only, or English and Welsh</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="Improvement-Summary-2" type="Sentence" minOccurs="0" maxOccurs="2">
71
+ <xs:annotation>
72
+ <xs:documentation>A short description of the improvement. English only, or English and Welsh</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Improvement-Heading" type="Sentence" maxOccurs="2">
76
+ <xs:annotation>
77
+ <xs:documentation>Text to precede the improvement description. English only, or English and Welsh</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="Improvement-Description" type="Sentence" maxOccurs="2">
81
+ <xs:annotation>
82
+ <xs:documentation>Detailed description of the improvement. English only, or English and Welsh</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="Has-Footnote" type="xs:boolean" default="false" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>If true the Footnote-Text appears at the bottom of the page.</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ </xs:sequence>
91
+ </xs:complexType>
92
+ <xs:complexType name="Addendum">
93
+ <xs:annotation>
94
+ <xs:documentation>Addendum-Number is unique for the text concerned. If an addendum is deleted the number will not be re-used.</xs:documentation>
95
+ </xs:annotation>
96
+ <xs:sequence>
97
+ <xs:element name="Addendum-Number" type="xs:positiveInteger">
98
+ <xs:annotation>
99
+ <xs:documentation>The text of an addendum is picked up via the Addendum-Number.</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:element>
102
+ <xs:element name="Circumstances" type="xs:string">
103
+ <xs:annotation>
104
+ <xs:documentation>The circumstances under which this addendum should be included.</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="Addendum-Text" type="Sentence" minOccurs="2" maxOccurs="2">
108
+ <xs:annotation>
109
+ <xs:documentation>Text to be included on the EPC (English and Welsh versions).</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ <xs:complexType name="Tenure">
115
+ <xs:sequence>
116
+ <xs:element name="Tenure-Code" type="TenureCode"></xs:element>
117
+ <xs:element name="Tenure-Text" type="xs:string"></xs:element>
118
+ </xs:sequence>
119
+ </xs:complexType>
120
+ <xs:simpleType name="TenureCode">
121
+ <xs:annotation>
122
+ <xs:documentation>TenureCode = 0 (unknown) is applicable only in the case of a new dwelling for which the intended tenure in not known. It is not to be used for an existing dwelling</xs:documentation>
123
+ </xs:annotation>
124
+ <xs:restriction base="xs:string">
125
+ <xs:enumeration value="1">
126
+ <xs:annotation>
127
+ <xs:documentation>Owner-occupied</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:enumeration>
130
+ <xs:enumeration value="2">
131
+ <xs:annotation>
132
+ <xs:documentation>Rented (social)</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:enumeration>
135
+ <xs:enumeration value="3">
136
+ <xs:annotation>
137
+ <xs:documentation>Rented (private)</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:enumeration>
140
+ <xs:enumeration value="ND">
141
+ <xs:annotation>
142
+ <xs:documentation>Not defined - use in the case of a new dwelling for which the intended tenure in not known. It is not to be used for an existing dwelling</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:enumeration>
145
+ </xs:restriction>
146
+ </xs:simpleType>
147
+ <xs:complexType name="Related-Party-Disclosure">
148
+ <xs:annotation>
149
+ <xs:documentation>List of possible texts for Related Party Disclosure on EPCs</xs:documentation>
150
+ </xs:annotation>
151
+ <xs:sequence>
152
+ <xs:element name="Disclosure-Code" type="xs:positiveInteger"/>
153
+ <xs:element name="Disclosure-Text" type="Sentence" minOccurs="2" maxOccurs="2"/>
154
+ </xs:sequence>
155
+ </xs:complexType>
156
+ <xs:complexType name="Transaction-Type">
157
+ <xs:annotation>
158
+ <xs:documentation>List of possible Transaction Types for EPCs. The transaction type indicates the reason for creating the EPC</xs:documentation>
159
+ </xs:annotation>
160
+ <xs:sequence>
161
+ <xs:element name="Display-Order" type="xs:positiveInteger">
162
+ <xs:annotation>
163
+ <xs:documentation>Number indicating the order in which the transaction types are to be presented to a software user.
164
+ These numbers might not be consecutive. The transaction types are to be shown with the lowest display number first through to the highest shown last</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:element>
167
+ <xs:element name="Transaction-Code" type="xs:positiveInteger">
168
+ <xs:annotation>
169
+ <xs:documentation>Code to be used for Transaction-Type in the lodgement XML</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ <xs:element name="Transaction-Text" type="xs:string" minOccurs="1" maxOccurs="1"></xs:element>
173
+ <xs:element name="In-RdSAP" type="xs:boolean">
174
+ <xs:annotation>
175
+ <xs:documentation>If false, transaction type is to be omitted when RdSAP is being used</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:element>
178
+ </xs:sequence>
179
+ </xs:complexType>
180
+ <xs:simpleType name="LanguageCode">
181
+ <xs:restriction base="xs:string">
182
+ <xs:enumeration value="1">
183
+ <xs:annotation>
184
+ <xs:documentation>English</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:enumeration>
187
+ <xs:enumeration value="2">
188
+ <xs:annotation>
189
+ <xs:documentation>Welsh</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:enumeration>
192
+ </xs:restriction>
193
+ </xs:simpleType>
194
+ <xs:simpleType name="UKCountryCode">
195
+ <xs:annotation>
196
+ <xs:documentation>Code which indicates the country within the UK, taken from BS 6879.</xs:documentation>
197
+ </xs:annotation>
198
+ <xs:restriction base="xs:string">
199
+ <xs:enumeration value="EAW">
200
+ <xs:annotation>
201
+ <xs:documentation>England and Wales</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:enumeration>
204
+ <xs:enumeration value="SCT">
205
+ <xs:annotation>
206
+ <xs:documentation>Scotland</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:enumeration>
209
+ <xs:enumeration value="NIR">
210
+ <xs:annotation>
211
+ <xs:documentation>Northern Ireland</xs:documentation>
212
+ </xs:annotation>
213
+ </xs:enumeration>
214
+ </xs:restriction>
215
+ </xs:simpleType>
216
+ <xs:element name="Sentence" type="Sentence"/>
217
+ <xs:complexType name="Sentence">
218
+ <xs:annotation>
219
+ <xs:documentation>String value with a language code for natural-language text.</xs:documentation>
220
+ </xs:annotation>
221
+ <xs:simpleContent>
222
+ <xs:extension base="xs:string">
223
+ <xs:attribute name="language" type="LanguageCode" use="required">
224
+ <xs:annotation>
225
+ <xs:documentation>Identifies the language that the sentence is recorded in.</xs:documentation>
226
+ </xs:annotation>
227
+ </xs:attribute>
228
+ </xs:extension>
229
+ </xs:simpleContent>
230
+ </xs:complexType>
231
+ <xs:simpleType name="EnergyRatingType">
232
+ <xs:restriction base="xs:integer">
233
+ <xs:minInclusive value="0"/>
234
+ </xs:restriction>
235
+ </xs:simpleType>
236
+ </xs:schema>
@@ -1,16 +1,16 @@
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="http://www.est.org.uk/epc/estcrV1/DCLG-SAP" xmlns:xs="http://www.w3.org/2001/XMLSchema" 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-SAP" 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:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
8
- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/Property.xsd"/>
9
- <xs:element name="Home-Inspector" type="Home-Inspector"/>
10
- <xs:complexType name="Home-Inspector">
11
- <xs:annotation>
12
- <xs:documentation>Assessor Details</xs:documentation>
13
- </xs:annotation>
14
- <xs:all/>
15
- </xs:complexType>
16
- </xs:schema>
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="http://www.est.org.uk/epc/estcrV1/DCLG-SAP" xmlns:xs="http://www.w3.org/2001/XMLSchema" 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-SAP" 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:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
8
+ <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" schemaLocation="../Templates/Property.xsd"/>
9
+ <xs:element name="Home-Inspector" type="Home-Inspector"/>
10
+ <xs:complexType name="Home-Inspector">
11
+ <xs:annotation>
12
+ <xs:documentation>Assessor Details</xs:documentation>
13
+ </xs:annotation>
14
+ <xs:all/>
15
+ </xs:complexType>
16
+ </xs:schema>