epb_view_models 2.2.21 → 2.3.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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +4 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/ExternalDefinitions.xsd +147 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +44 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +47 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +44 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +47 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +52 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +52 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +87 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +44 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +28 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +30 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +52 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +44 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +46 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +270 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/Property.xsd +68 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd +1188 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd +195 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/UserManagement.xsd +215 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +175 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +703 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd +3007 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +311 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  61. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  62. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  63. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  80. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  81. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  82. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  83. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  91. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  92. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  93. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  94. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  102. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  103. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  104. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  105. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  111. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  112. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  113. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  114. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  115. data/lib/epb_view_models.rb +1 -1
  116. data/lib/view_model/factory.rb +1 -0
  117. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  118. data/lib/view_model/rd_sap_wrapper.rb +2 -0
  119. metadata +45 -1
@@ -0,0 +1,147 @@
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">
3
+ <xs:annotation>
4
+ <xs:documentation>
5
+ This schema is used to provide
6
+ (a) the texts of recommendations on EPCs
7
+ (b) addenda that may appear on RdSAP EPCs
8
+ (c) the options for Related Party Disclosure
9
+ </xs:documentation>
10
+ </xs:annotation>
11
+ <xs:element name="ExternalDefinitions" type="ExternalDefinitions"/>
12
+ <xs:complexType name="ExternalDefinitions">
13
+ <xs:sequence>
14
+ <xs:element name="Revision-Number" type="xs:string">
15
+ <xs:annotation>
16
+ <xs:documentation>The version number of the latest revision to any of the texts</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="Revision-Date" type="xs:date">
20
+ <xs:annotation>
21
+ <xs:documentation>The date of the latest revision to any of the texts</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ <xs:element name="Country" type="Country" maxOccurs="3"/>
25
+ <xs:element name="Addendum" type="Addendum" minOccurs="0" maxOccurs="unbounded"/>
26
+ <xs:element name="Related-Party-Disclosure" type="Related-Party-Disclosure" minOccurs="0" maxOccurs="unbounded"/>
27
+ </xs:sequence>
28
+ </xs:complexType>
29
+ <xs:complexType name="Country">
30
+ <xs:sequence>
31
+ <xs:element name="Country-Code" type="UKCountryCode"/>
32
+ <xs:element name="Recommendation" type="Recommendation" maxOccurs="unbounded"/>
33
+ <xs:element name="Footnote-Text" type="Sentence" minOccurs="0" maxOccurs="2"/>
34
+ </xs:sequence>
35
+ </xs:complexType>
36
+ <xs:complexType name="Recommendation">
37
+ <xs:sequence>
38
+ <xs:element name="Improvement-Number" type="xs:positiveInteger">
39
+ <xs:annotation>
40
+ <xs:documentation>Recommendations are selected by recommendation number according to the criteria in Appendix T of the SAP specification.</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ <xs:element name="Improvement-Summary" type="Sentence" maxOccurs="2">
44
+ <xs:annotation>
45
+ <xs:documentation>A short description of the improvement. English only, or English and Welsh</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Improvement-Heading" type="Sentence" maxOccurs="2">
49
+ <xs:annotation>
50
+ <xs:documentation>Text to precede the improvement description. English only, or English and Welsh</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Improvement-Description" type="Sentence" maxOccurs="2">
54
+ <xs:annotation>
55
+ <xs:documentation>Detailed description of the improvement. English only, or English and Welsh</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Has-Footnote" type="xs:boolean" default="false" minOccurs="0">
59
+ <xs:annotation>
60
+ <xs:documentation>If true the Footnote-Text appears at the bottom of the page.</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ </xs:sequence>
64
+ </xs:complexType>
65
+ <xs:complexType name="Addendum">
66
+ <xs:annotation>
67
+ <xs:documentation>Addendum-Number is unique for the text concerned. If an addendum is deleted the number will not be re-used.</xs:documentation>
68
+ </xs:annotation>
69
+ <xs:sequence>
70
+ <xs:element name="Addendum-Number" type="xs:positiveInteger">
71
+ <xs:annotation>
72
+ <xs:documentation>The text of an addendum is picked up via the Addendum-Number.</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Circumstances" type="xs:string">
76
+ <xs:annotation>
77
+ <xs:documentation>The circumstances under which this addendum should be included.</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="Addendum-Text" type="Sentence" minOccurs="2" maxOccurs="2">
81
+ <xs:annotation>
82
+ <xs:documentation>Text to be included on the EPC (English and Welsh versions).</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ </xs:sequence>
86
+ </xs:complexType>
87
+ <xs:complexType name="Related-Party-Disclosure">
88
+ <xs:annotation>
89
+ <xs:documentation>List of possible texts for Related Party Disclosure on EPCs</xs:documentation>
90
+ </xs:annotation>
91
+ <xs:sequence>
92
+ <xs:element name="Disclosure-Code" type="xs:positiveInteger"/>
93
+ <xs:element name="Disclosure-Text" type="Sentence" minOccurs="2" maxOccurs="2"/>
94
+ </xs:sequence>
95
+ </xs:complexType>
96
+ <xs:simpleType name="LanguageCode">
97
+ <xs:restriction base="xs:string">
98
+ <xs:enumeration value="1">
99
+ <xs:annotation>
100
+ <xs:documentation>English</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:enumeration>
103
+ <xs:enumeration value="2">
104
+ <xs:annotation>
105
+ <xs:documentation>Welsh</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:enumeration>
108
+ </xs:restriction>
109
+ </xs:simpleType>
110
+ <xs:simpleType name="UKCountryCode">
111
+ <xs:annotation>
112
+ <xs:documentation>Code which indicates the country within the UK, taken from BS 6879.</xs:documentation>
113
+ </xs:annotation>
114
+ <xs:restriction base="xs:string">
115
+ <xs:enumeration value="EAW">
116
+ <xs:annotation>
117
+ <xs:documentation>England and Wales</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:enumeration>
120
+ <xs:enumeration value="SCT">
121
+ <xs:annotation>
122
+ <xs:documentation>Scotland</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:enumeration>
125
+ <xs:enumeration value="NIR">
126
+ <xs:annotation>
127
+ <xs:documentation>Northern Ireland</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:enumeration>
130
+ </xs:restriction>
131
+ </xs:simpleType>
132
+ <xs:element name="Sentence" type="Sentence"/>
133
+ <xs:complexType name="Sentence">
134
+ <xs:annotation>
135
+ <xs:documentation>String value with a language code for natural-language text.</xs:documentation>
136
+ </xs:annotation>
137
+ <xs:simpleContent>
138
+ <xs:extension base="xs:string">
139
+ <xs:attribute name="language" type="LanguageCode" use="required">
140
+ <xs:annotation>
141
+ <xs:documentation>Identifies the language that the sentence is recorded in.</xs:documentation>
142
+ </xs:annotation>
143
+ </xs:attribute>
144
+ </xs:extension>
145
+ </xs:simpleContent>
146
+ </xs:complexType>
147
+ </xs:schema>
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <!-- Include templates for all Business Entities used by the message -->
14
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
15
+ <!--***************************************************************************
16
+ Message Definition
17
+ *************************************************************************** -->
18
+ <xs:element name="ConditionReportChangeAccessRequest_1">
19
+ <xs:complexType>
20
+ <xs:sequence>
21
+ <xs:element name="Identification">
22
+ <xs:complexType>
23
+ <xs:complexContent>
24
+ <xs:extension base="CS:DefaultIdBlock">
25
+ <xs:sequence>
26
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
27
+ </xs:sequence>
28
+ </xs:extension>
29
+ </xs:complexContent>
30
+ </xs:complexType>
31
+ </xs:element>
32
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock"/>
33
+ <xs:element name="Content">
34
+ <xs:complexType>
35
+ <xs:sequence>
36
+ <xs:element name="OldCode" type="HIP:RestrictedAccessCode"/>
37
+ <xs:element name="NewCode" type="HIP:RestrictedAccessCode"/>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:schema>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="ConditionReportChangeAccessResponse_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock" minOccurs="0"/>
34
+ <xs:element name="Content">
35
+ <xs:complexType>
36
+ <xs:choice>
37
+ <!-- If everything is OK then no response is actually required but a success flag doesn't hurt! -->
38
+ <xs:element name="Success" type="pfdt:Flag" fixed="Y"/>
39
+ <!-- This is the response if anything is wrong with the actual data in the message -->
40
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
41
+ </xs:choice>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ </xs:element>
47
+ </xs:schema>
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <!-- Include templates for all Business Entities used by the message -->
14
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
15
+ <!--***************************************************************************
16
+ Message Definition
17
+ *************************************************************************** -->
18
+ <xs:element name="ConditionReportChangeStatusRequest_1">
19
+ <xs:complexType>
20
+ <xs:sequence>
21
+ <xs:element name="Identification">
22
+ <xs:complexType>
23
+ <xs:complexContent>
24
+ <xs:extension base="CS:DefaultIdBlock">
25
+ <xs:sequence>
26
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
27
+ </xs:sequence>
28
+ </xs:extension>
29
+ </xs:complexContent>
30
+ </xs:complexType>
31
+ </xs:element>
32
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock"/>
33
+ <xs:element name="Content">
34
+ <xs:complexType>
35
+ <xs:sequence>
36
+ <xs:element name="OldStatus" type="HIP:ReportStatusCode"/>
37
+ <xs:element name="NewStatus" type="HIP:ReportStatusCode"/>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:schema>
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="ConditionReportChangeStatusResponse_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock" minOccurs="0"/>
34
+ <xs:element name="Content">
35
+ <xs:complexType>
36
+ <xs:choice>
37
+ <!-- If everything is OK then no response is actually required but a success flag doesn't hurt! -->
38
+ <xs:element name="Success" type="pfdt:Flag" fixed="Y"/>
39
+ <!-- This is the response if anything is wrong with the actual data in the message -->
40
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
41
+ </xs:choice>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ </xs:element>
47
+ </xs:schema>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!-- Add the New build SAP-EPC data model -->
17
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" schemaLocation="../SAP-EPC/Templates/SAP05-Report.xsd"/>
18
+ <!--***************************************************************************
19
+ Message Definition
20
+ *************************************************************************** -->
21
+ <xs:element name="ConditionReportCreateRequest_1">
22
+ <xs:complexType>
23
+ <xs:sequence>
24
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
25
+ <xs:element name="Configuration" type="CS:CreateRequestConfigBlock"/>
26
+ <xs:element name="Content">
27
+ <xs:complexType>
28
+ <xs:sequence>
29
+ <xs:choice>
30
+ <xs:element name="SAP-EPC-Data" type="SAP05:Energy-Performance-Certificate"/>
31
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
32
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
33
+ </xs:choice>
34
+ <xs:element name="PDF" type="xs:base64Binary"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:schema>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="ConditionReportCreateResponse_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock"/>
34
+ <xs:choice>
35
+ <!-- This is the valid response if everything is OK -->
36
+ <xs:element name="Content">
37
+ <xs:complexType>
38
+ <xs:sequence>
39
+ <xs:element name="RRN" type="pfdt:RRNType"/>
40
+ </xs:sequence>
41
+ </xs:complexType>
42
+ </xs:element>
43
+ <!-- This is the response if anything is wrong with the actual data in the message -->
44
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
45
+ </xs:choice>
46
+ </xs:sequence>
47
+ </xs:complexType>
48
+ </xs:element>
49
+ <!--***************************************************************************
50
+ Exception Message Definition
51
+ *************************************************************************** -->
52
+ </xs:schema>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!--***************************************************************************
17
+ Request Message Definition
18
+ *************************************************************************** -->
19
+ <xs:element name="ConditionReportRetrieveRequest_1">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="Identification">
23
+ <xs:complexType>
24
+ <xs:complexContent>
25
+ <xs:extension base="CS:DefaultIdBlock">
26
+ <xs:sequence>
27
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
28
+ </xs:sequence>
29
+ </xs:extension>
30
+ </xs:complexContent>
31
+ </xs:complexType>
32
+ </xs:element>
33
+ <xs:element name="Configuration">
34
+ <xs:complexType>
35
+ <xs:complexContent>
36
+ <xs:extension base="CS:RetrieveRequestConfigBlock">
37
+ <xs:sequence>
38
+ <xs:element name="RetrieveLatest" type="pfdt:Flag"/>
39
+ <xs:element name="Assessor-Id" type="xs:string" minOccurs="0">
40
+ <xs:annotation>
41
+ <xs:documentation>If the message is requesting SAP-EPC Input Data, then this element must be populated, so that the register may verify that the Assessor request the data is allowed to view such data.</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:extension>
46
+ </xs:complexContent>
47
+ </xs:complexType>
48
+ </xs:element>
49
+ </xs:sequence>
50
+ </xs:complexType>
51
+ </xs:element>
52
+ </xs:schema>
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!--***************************************************************************
8
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!-- Add the New build SAP-EPC data model -->
17
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" schemaLocation="../SAP-EPC/Templates/SAP05-Report.xsd"/>
18
+ <!--***************************************************************************
19
+ Response Message Definition
20
+ The response from the service may be:
21
+ * A summary list of available Reports
22
+ * A PDF of one of the Reports
23
+ * A list of exceptions
24
+ *************************************************************************** -->
25
+ <xs:element name="ConditionReportRetrieveResponse_1">
26
+ <xs:complexType>
27
+ <xs:sequence>
28
+ <xs:element name="Identification">
29
+ <xs:complexType>
30
+ <xs:complexContent>
31
+ <xs:extension base="CS:DefaultIdBlock">
32
+ <xs:sequence>
33
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
34
+ </xs:sequence>
35
+ </xs:extension>
36
+ </xs:complexContent>
37
+ </xs:complexType>
38
+ </xs:element>
39
+ <xs:element name="Configuration">
40
+ <xs:complexType>
41
+ <xs:complexContent>
42
+ <xs:extension base="CS:SearchResponseConfigBlock">
43
+ <xs:sequence>
44
+ <xs:element name="LatestRetrieved" type="pfdt:Flag"/>
45
+ </xs:sequence>
46
+ </xs:extension>
47
+ </xs:complexContent>
48
+ </xs:complexType>
49
+ </xs:element>
50
+ <xs:choice>
51
+ <!-- This is the valid response if everthing is OK -->
52
+ <xs:element name="Content">
53
+ <xs:complexType>
54
+ <xs:choice>
55
+ <xs:element name="Report-List" maxOccurs="unbounded">
56
+ <xs:complexType>
57
+ <xs:all>
58
+ <xs:element name="Report-Summary">
59
+ <xs:complexType>
60
+ <xs:all>
61
+ <xs:element name="RRN" type="pfdt:RRNType"/>
62
+ <xs:element name="Inspection-Date" type="xs:date"/>
63
+ <xs:element name="HI-Name" type="HIP:PersonNameType"/>
64
+ <xs:element name="HI-Certificate" type="HIP:CertificateNumberType"/>
65
+ <xs:element name="Restricted-Access" type="HIP:RestrictedAccessCode"/>
66
+ <xs:element name="Report-Status" type="HIP:ReportStatusCode"/>
67
+ </xs:all>
68
+ </xs:complexType>
69
+ </xs:element>
70
+ </xs:all>
71
+ </xs:complexType>
72
+ </xs:element>
73
+ <xs:element name="PDF" type="xs:base64Binary"/>
74
+ <xs:element name="HCR-Header" type="HIP:Report-Header"/>
75
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
76
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
77
+ <xs:element name="SAP-EPC-Data" type="SAP05:Energy-Performance-Certificate"/>
78
+ </xs:choice>
79
+ </xs:complexType>
80
+ </xs:element>
81
+ <!-- This is the response if anything is wrong with the actual data in the message -->
82
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
83
+ </xs:choice>
84
+ </xs:sequence>
85
+ </xs:complexType>
86
+ </xs:element>
87
+ </xs:schema>
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
8
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
9
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
10
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
11
+ <!-- Include templates for all Business Entities used by the message -->
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
13
+ <xs:element name="HomeInspectorRegisterUpdateRequest_1">
14
+ <xs:complexType>
15
+ <xs:sequence>
16
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
17
+ <xs:element name="Configuration">
18
+ <xs:complexType>
19
+ <xs:complexContent>
20
+ <xs:extension base="CS:UpdateRequestConfigBlock">
21
+ <xs:sequence>
22
+ <xs:element name="NumberOfRecords" type="pfdt:Count"/>
23
+ </xs:sequence>
24
+ </xs:extension>
25
+ </xs:complexContent>
26
+ </xs:complexType>
27
+ </xs:element>
28
+ <xs:element name="Content">
29
+ <xs:complexType>
30
+ <xs:sequence>
31
+ <xs:element name="Home-Inspector-List">
32
+ <xs:complexType>
33
+ <xs:sequence>
34
+ <xs:element name="Home-Inspector" type="HIP:Home-Inspector" minOccurs="0" maxOccurs="unbounded"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </xs:schema>