epb_view_models 2.3.0 → 2.5.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 (156) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -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-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +2 -2
  41. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/CommonStructures.xsd +166 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/CommonFiles/Exceptions.xsd +77 -0
  43. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessRequest_1.xsd +53 -44
  44. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeAccessResponse_1.xsd +58 -47
  45. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusRequest_1.xsd +54 -44
  46. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportChangeStatusResponse_1.xsd +58 -47
  47. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +52 -0
  48. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportCreateResponse_1.xsd +63 -52
  49. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveRequest_1.xsd +63 -52
  50. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/ConditionReportRetrieveResponse_1.xsd +99 -87
  51. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Messages/ExternalDefinitions.xml +907 -0
  52. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP → RdSAP-Schema-S-15.0/RdSAP/Messages}/ExternalDefinitions.xsd +147 -147
  53. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateRequest_1.xsd +55 -44
  54. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateResponse_1.xsd +39 -28
  55. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusRequest_1.xsd +41 -30
  56. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/HomeInspectorRegisterUpdateStatusResponse_1.xsd +64 -52
  57. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationRequest_1.xsd +55 -44
  58. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/Messages/PropertyUPRNValidationResponse_1.xsd +57 -46
  59. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/EPC-Certificate.xsd +337 -270
  60. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/Property.xsd +76 -68
  61. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-CollectedData.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-CollectedData.xsd} +1334 -1188
  62. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/Templates/SAP05-Report.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/Templates/SAP09-Report.xsd} +209 -195
  63. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/Templates/UserManagement.xsd +225 -215
  64. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/BaseDataTypes.xsd +181 -175
  65. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +725 -0
  66. data/api/schemas/xml/{RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/SAP05-Domains.xsd → RdSAP-Schema-S-15.0/RdSAP/SAP-EPC/UDT/SAP09-Domains.xsd} +3397 -3007
  67. data/api/schemas/xml/{RdSAP-Schema-S-14.0 → RdSAP-Schema-S-15.0}/RdSAP/SAP-EPC/UDT/SharedDomains.xsd +323 -311
  68. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-Certificate.xsd +298 -0
  69. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/EPC-CollectedData.xsd +549 -0
  70. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +290 -0
  71. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +229 -0
  72. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +212 -0
  73. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-FeaturesServices.xsd +318 -0
  74. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-PropertyDetails.xsd +387 -0
  75. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HCR-RiskAssessment.xsd +306 -0
  76. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/HIP-Reports.xsd +228 -0
  77. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/Property.xsd +79 -0
  78. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/Templates/UserManagement.xsd +265 -0
  79. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/BaseDataTypes.xsd +182 -0
  80. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/EPC-Domains.xsd +778 -0
  81. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/HCR-Domains.xsd +1786 -0
  82. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SAP-Domains.xsd +1397 -0
  83. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/SharedDomains.xsd +774 -0
  84. data/api/schemas/xml/RdSAP-Schema-S-15.0/RdSAP/UDT/TypeDefinitions.xsd +26 -0
  85. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  86. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  87. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  88. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  89. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  90. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  91. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  92. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  93. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  94. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  95. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  96. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  97. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  98. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  99. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  100. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  101. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  102. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  103. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  104. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  105. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  106. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  107. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  108. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  109. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  110. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  111. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  112. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  113. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  114. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  115. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  116. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  117. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  118. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  119. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  120. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  121. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  122. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  123. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  124. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  125. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  126. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  127. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  128. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  129. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  130. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  131. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  132. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  133. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  134. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  135. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  136. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  137. data/lib/epb_view_models/version.rb +5 -0
  138. data/lib/epb_view_models.rb +1 -3
  139. data/lib/helper/rrn_helper.rb +4 -4
  140. data/lib/view_model/cs63/common_schema.rb +18 -18
  141. data/lib/view_model/factory.rb +2 -0
  142. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  143. data/lib/view_model/rd_sap_schema_s_150/common_schema.rb +517 -0
  144. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  145. metadata +71 -36
  146. data/.buildspec.yml +0 -13
  147. data/.gitignore +0 -19
  148. data/.rspec +0 -2
  149. data/.rubocop.yml +0 -8
  150. data/.ruby-version +0 -1
  151. data/Gemfile +0 -15
  152. data/Gemfile.lock +0 -122
  153. data/Makefile +0 -17
  154. data/Rakefile +0 -12
  155. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/SAP-EPC/UDT/EPC-Domains.xsd +0 -703
  156. data/epb_view_models.gemspec +0 -27
@@ -1,47 +1,58 @@
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>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions"
7
+ xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes"
8
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
9
+ xmlns:REG="http://www.hcrregister.com"
10
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
11
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
12
+ elementFormDefault="qualified"
13
+ attributeFormDefault="unqualified" version="LIG-15.0">
14
+ <!--
15
+ © 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.
16
+
17
+ -->
18
+ <!--***************************************************************************
19
+ Imports and Inclusions
20
+ *************************************************************************** -->
21
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
22
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
25
+ <!-- Include templates for all Business Entities used by the message -->
26
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
27
+ <!--***************************************************************************
28
+ Message Definition
29
+ *************************************************************************** -->
30
+ <xs:element name="ConditionReportChangeStatusResponse_1">
31
+ <xs:complexType>
32
+ <xs:sequence>
33
+ <xs:element name="Identification">
34
+ <xs:complexType>
35
+ <xs:complexContent>
36
+ <xs:extension base="CS:DefaultIdBlock">
37
+ <xs:sequence>
38
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
39
+ </xs:sequence>
40
+ </xs:extension>
41
+ </xs:complexContent>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock" minOccurs="0"/>
45
+ <xs:element name="Content">
46
+ <xs:complexType>
47
+ <xs:choice>
48
+ <!-- If everything is OK then no response is actually required but a success flag doesn't hurt! -->
49
+ <xs:element name="Success" type="pfdt:Flag" fixed="Y"/>
50
+ <!-- This is the response if anything is wrong with the actual data in the message -->
51
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
52
+ </xs:choice>
53
+ </xs:complexType>
54
+ </xs:element>
55
+ </xs:sequence>
56
+ </xs:complexType>
57
+ </xs:element>
58
+ </xs:schema>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:SAP09="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
7
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
8
+ xmlns:REG="http://www.hcrregister.com"
9
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
10
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
11
+ elementFormDefault="qualified"
12
+ attributeFormDefault="unqualified"
13
+ version="LIG-15.0">
14
+ <!--
15
+ © 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.
16
+
17
+ -->
18
+ <!--***************************************************************************
19
+ Imports and Inclusions
20
+ *************************************************************************** -->
21
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
22
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
25
+ <!-- Include templates for all Business Entities used by the message -->
26
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
27
+ <!-- Add the New build SAP-EPC data model -->
28
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09" schemaLocation="../SAP-EPC/Templates/SAP09-Report.xsd"/>
29
+ <!--***************************************************************************
30
+ Message Definition
31
+ *************************************************************************** -->
32
+ <xs:element name="ConditionReportCreateRequest_1">
33
+ <xs:complexType>
34
+ <xs:sequence>
35
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
36
+ <xs:element name="Configuration" type="CS:CreateRequestConfigBlock"/>
37
+ <xs:element name="Content">
38
+ <xs:complexType>
39
+ <xs:sequence>
40
+ <xs:choice>
41
+ <xs:element name="SAP-EPC-Data" type="SAP09:Energy-Performance-Certificate"/>
42
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
43
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
44
+ </xs:choice>
45
+ <xs:element name="PDF" type="xs:base64Binary"/>
46
+ </xs:sequence>
47
+ </xs:complexType>
48
+ </xs:element>
49
+ </xs:sequence>
50
+ </xs:complexType>
51
+ </xs:element>
52
+ </xs:schema>
@@ -1,52 +1,63 @@
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>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions"
7
+ xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes"
8
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
9
+ xmlns:REG="http://www.est.org.uk/epc/lodgement"
10
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
11
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
12
+ elementFormDefault="qualified"
13
+ attributeFormDefault="unqualified" version="LIG-15.0">
14
+ <!--
15
+ © 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.
16
+
17
+ -->
18
+ <!--***************************************************************************
19
+ Imports and Inclusions
20
+ *************************************************************************** -->
21
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
22
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
25
+ <!-- Include templates for all Business Entities used by the message -->
26
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
27
+ <!--***************************************************************************
28
+ Message Definition
29
+ *************************************************************************** -->
30
+ <xs:element name="ConditionReportCreateResponse_1">
31
+ <xs:complexType>
32
+ <xs:sequence>
33
+ <xs:element name="Identification">
34
+ <xs:complexType>
35
+ <xs:complexContent>
36
+ <xs:extension base="CS:DefaultIdBlock">
37
+ <xs:sequence>
38
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
39
+ </xs:sequence>
40
+ </xs:extension>
41
+ </xs:complexContent>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ <xs:element name="Configuration" type="CS:UpdateRequestConfigBlock"/>
45
+ <xs:choice>
46
+ <!-- This is the valid response if everything is OK -->
47
+ <xs:element name="Content">
48
+ <xs:complexType>
49
+ <xs:sequence>
50
+ <xs:element name="RRN" type="pfdt:RRNType"/>
51
+ </xs:sequence>
52
+ </xs:complexType>
53
+ </xs:element>
54
+ <!-- This is the response if anything is wrong with the actual data in the message -->
55
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
56
+ </xs:choice>
57
+ </xs:sequence>
58
+ </xs:complexType>
59
+ </xs:element>
60
+ <!--***************************************************************************
61
+ Exception Message Definition
62
+ *************************************************************************** -->
63
+ </xs:schema>
@@ -1,52 +1,63 @@
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>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions"
7
+ xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes"
8
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
9
+ xmlns:REG="http://www.est.org.uk/epc/lodgement"
10
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
11
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
12
+ elementFormDefault="qualified"
13
+ attributeFormDefault="unqualified" version="LIG-15.0">
14
+ <!--
15
+ © 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.
16
+
17
+ -->
18
+ <!--***************************************************************************
19
+ Imports and Inclusions
20
+ *************************************************************************** -->
21
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
22
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
25
+ <!-- Include templates for all Business Entities used by the message -->
26
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
27
+ <!--***************************************************************************
28
+ Request Message Definition
29
+ *************************************************************************** -->
30
+ <xs:element name="ConditionReportRetrieveRequest_1">
31
+ <xs:complexType>
32
+ <xs:sequence>
33
+ <xs:element name="Identification">
34
+ <xs:complexType>
35
+ <xs:complexContent>
36
+ <xs:extension base="CS:DefaultIdBlock">
37
+ <xs:sequence>
38
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
39
+ </xs:sequence>
40
+ </xs:extension>
41
+ </xs:complexContent>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ <xs:element name="Configuration">
45
+ <xs:complexType>
46
+ <xs:complexContent>
47
+ <xs:extension base="CS:RetrieveRequestConfigBlock">
48
+ <xs:sequence>
49
+ <xs:element name="RetrieveLatest" type="pfdt:Flag"/>
50
+ <xs:element name="Assessor-Id" type="HIP:CertificateNumberType" minOccurs="0">
51
+ <xs:annotation>
52
+ <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>
53
+ </xs:annotation>
54
+ </xs:element>
55
+ </xs:sequence>
56
+ </xs:extension>
57
+ </xs:complexContent>
58
+ </xs:complexType>
59
+ </xs:element>
60
+ </xs:sequence>
61
+ </xs:complexType>
62
+ </xs:element>
63
+ </xs:schema>
@@ -1,87 +1,99 @@
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>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures"
6
+ xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions"
7
+ xmlns:SAP09="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09"
8
+ xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes"
9
+ xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
10
+ xmlns:REG="http://www.hcrregister.com"
11
+ xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP"
12
+ targetNamespace="http://www.est.org.uk/epc/lodgement"
13
+ elementFormDefault="qualified"
14
+ attributeFormDefault="unqualified" version="LIG-15.0">
15
+ <!--
16
+ © 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.
17
+
18
+ -->
19
+ <!--***************************************************************************
20
+ Imports and Inclusions
21
+ *************************************************************************** -->
22
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
23
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
24
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
25
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
26
+ <!-- Include templates for all Business Entities used by the message -->
27
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
28
+ <!-- Add the New build SAP-EPC data model -->
29
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP09" schemaLocation="../SAP-EPC/Templates/SAP09-Report.xsd"/>
30
+ <!--***************************************************************************
31
+ Response Message Definition
32
+ The response from the service may be:
33
+ * A summary list of available Reports
34
+ * A PDF of one of the Reports
35
+ * A list of exceptions
36
+ *************************************************************************** -->
37
+ <xs:element name="ConditionReportRetrieveResponse_1">
38
+ <xs:complexType>
39
+ <xs:sequence>
40
+ <xs:element name="Identification">
41
+ <xs:complexType>
42
+ <xs:complexContent>
43
+ <xs:extension base="CS:DefaultIdBlock">
44
+ <xs:sequence>
45
+ <xs:element name="Identifier" type="HIP:ReportKeyFields"/>
46
+ </xs:sequence>
47
+ </xs:extension>
48
+ </xs:complexContent>
49
+ </xs:complexType>
50
+ </xs:element>
51
+ <xs:element name="Configuration">
52
+ <xs:complexType>
53
+ <xs:complexContent>
54
+ <xs:extension base="CS:SearchResponseConfigBlock">
55
+ <xs:sequence>
56
+ <xs:element name="LatestRetrieved" type="pfdt:Flag"/>
57
+ </xs:sequence>
58
+ </xs:extension>
59
+ </xs:complexContent>
60
+ </xs:complexType>
61
+ </xs:element>
62
+ <xs:choice>
63
+ <!-- This is the valid response if everthing is OK -->
64
+ <xs:element name="Content">
65
+ <xs:complexType>
66
+ <xs:choice>
67
+ <xs:element name="Report-List" maxOccurs="unbounded">
68
+ <xs:complexType>
69
+ <xs:all>
70
+ <xs:element name="Report-Summary">
71
+ <xs:complexType>
72
+ <xs:all>
73
+ <xs:element name="RRN" type="pfdt:RRNType"/>
74
+ <xs:element name="Inspection-Date" type="xs:date"/>
75
+ <xs:element name="HI-Name" type="HIP:PersonNameType"/>
76
+ <xs:element name="HI-Certificate" type="HIP:CertificateNumberType"/>
77
+ <xs:element name="Restricted-Access" type="HIP:RestrictedAccessCode"/>
78
+ <xs:element name="Report-Status" type="HIP:ReportStatusCode"/>
79
+ </xs:all>
80
+ </xs:complexType>
81
+ </xs:element>
82
+ </xs:all>
83
+ </xs:complexType>
84
+ </xs:element>
85
+ <xs:element name="PDF" type="xs:base64Binary"/>
86
+ <xs:element name="HCR-Header" type="HIP:Report-Header"/>
87
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
88
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
89
+ <xs:element name="SAP-EPC-Data" type="SAP09:Energy-Performance-Certificate"/>
90
+ </xs:choice>
91
+ </xs:complexType>
92
+ </xs:element>
93
+ <!-- This is the response if anything is wrong with the actual data in the message -->
94
+ <xs:element name="ExceptionList" type="ERR:ExceptionList"/>
95
+ </xs:choice>
96
+ </xs:sequence>
97
+ </xs:complexType>
98
+ </xs:element>
99
+ </xs:schema>