epb_view_models 2.1.8 → 2.2.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 (202) hide show
  1. checksums.yaml +4 -4
  2. data/.buildspec.yml +1 -1
  3. data/api/schemas/data/orchestrate.json +4 -0
  4. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/ExternalDefinitions.xml +1735 -0
  5. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/ExternalDefinitions.xsd +313 -0
  6. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/AssessorManagement.xsd +275 -0
  7. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/EPC-Certificate.xsd +632 -0
  8. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/ExceptionList.xsd +20 -0
  9. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/Property.xsd +85 -0
  10. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/ReportList.xsd +27 -0
  11. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/SAP-CollectedData.xsd +2516 -0
  12. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/SAP-Compliance-Report.xsd +51 -0
  13. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/Templates/SAP-Report.xsd +277 -0
  14. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/UDT/EPC-Domains.xsd +646 -0
  15. data/api/schemas/xml/SAP-Schema-19.2.0/SAP/UDT/SAP-Domains.xsd +3154 -0
  16. data/lib/epb_view_models.rb +1 -1
  17. data/lib/helper/xml_enums_to_output.rb +3 -0
  18. data/lib/view_model/factory.rb +1 -0
  19. data/lib/view_model/sap_schema_1920/common_schema.rb +600 -0
  20. data/lib/view_model/sap_wrapper.rb +2 -0
  21. metadata +20 -184
  22. data/api/schemas/xml/SAP-Schema-14.1/._CommonFiles +0 -0
  23. data/api/schemas/xml/SAP-Schema-14.1/._SAP-EPC +0 -0
  24. data/api/schemas/xml/SAP-Schema-14.1/._Templates +0 -0
  25. data/api/schemas/xml/SAP-Schema-14.1/CommonFiles/._CommonStructures.xsd +0 -0
  26. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  27. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  28. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  29. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  30. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  31. data/api/schemas/xml/SAP-Schema-14.1/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  32. data/api/schemas/xml/SAP-Schema-14.1/Messages/._HomeInspectorRegisterUpdateRequest_1.xsd +0 -0
  33. data/api/schemas/xml/SAP-Schema-14.1/Messages/._HomeInspectorRegisterUpdateResponse_1.xsd +0 -0
  34. data/api/schemas/xml/SAP-Schema-14.1/Messages/._HomeInspectorRegisterUpdateStatusResponse_1.xsd +0 -0
  35. data/api/schemas/xml/SAP-Schema-14.1/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  36. data/api/schemas/xml/SAP-Schema-14.1/SAP-EPC/._Templates +0 -0
  37. data/api/schemas/xml/SAP-Schema-14.1/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  38. data/api/schemas/xml/SAP-Schema-14.1/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  39. data/api/schemas/xml/SAP-Schema-14.1/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  40. data/api/schemas/xml/SAP-Schema-14.1/SAP-EPC/UDT/._SAP05-Domains.xsd +0 -0
  41. data/api/schemas/xml/SAP-Schema-14.1/Templates/._EPC-Certificate.xsd +0 -0
  42. data/api/schemas/xml/SAP-Schema-14.1/Templates/._EPC-CollectedData.xsd +0 -0
  43. data/api/schemas/xml/SAP-Schema-14.1/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  44. data/api/schemas/xml/SAP-Schema-14.1/Templates/._HCR-PropertyDetails.xsd +0 -0
  45. data/api/schemas/xml/SAP-Schema-14.1/Templates/._HCR-RiskAssessment.xsd +0 -0
  46. data/api/schemas/xml/SAP-Schema-14.1/Templates/._HIP-Reports.xsd +0 -0
  47. data/api/schemas/xml/SAP-Schema-14.1/Templates/._UserManagement.xsd +0 -0
  48. data/api/schemas/xml/SAP-Schema-14.1/UDT/._BaseDataTypes.xsd +0 -0
  49. data/api/schemas/xml/SAP-Schema-14.1/UDT/._HCR-Domains.xsd +0 -0
  50. data/api/schemas/xml/SAP-Schema-14.1/UDT/._SAP-Domains.xsd +0 -0
  51. data/api/schemas/xml/SAP-Schema-14.1/UDT/._TypeDefinitions.xsd +0 -0
  52. data/api/schemas/xml/SAP-Schema-14.2/._CommonFiles +0 -0
  53. data/api/schemas/xml/SAP-Schema-14.2/._SAP-EPC +0 -0
  54. data/api/schemas/xml/SAP-Schema-14.2/._Templates +0 -0
  55. data/api/schemas/xml/SAP-Schema-14.2/CommonFiles/._CommonStructures.xsd +0 -0
  56. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  57. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  58. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  59. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  60. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  61. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  62. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ExternalDefinitions.xml +0 -0
  63. data/api/schemas/xml/SAP-Schema-14.2/Messages/._ExternalDefinitions.xsd +0 -0
  64. data/api/schemas/xml/SAP-Schema-14.2/Messages/._HomeInspectorRegisterUpdateRequest_1.xsd +0 -0
  65. data/api/schemas/xml/SAP-Schema-14.2/Messages/._HomeInspectorRegisterUpdateResponse_1.xsd +0 -0
  66. data/api/schemas/xml/SAP-Schema-14.2/Messages/._HomeInspectorRegisterUpdateStatusResponse_1.xsd +0 -0
  67. data/api/schemas/xml/SAP-Schema-14.2/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  68. data/api/schemas/xml/SAP-Schema-14.2/SAP-EPC/._Templates +0 -0
  69. data/api/schemas/xml/SAP-Schema-14.2/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  70. data/api/schemas/xml/SAP-Schema-14.2/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  71. data/api/schemas/xml/SAP-Schema-14.2/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  72. data/api/schemas/xml/SAP-Schema-14.2/SAP-EPC/UDT/._SAP05-Domains.xsd +0 -0
  73. data/api/schemas/xml/SAP-Schema-14.2/Templates/._EPC-Certificate.xsd +0 -0
  74. data/api/schemas/xml/SAP-Schema-14.2/Templates/._EPC-CollectedData.xsd +0 -0
  75. data/api/schemas/xml/SAP-Schema-14.2/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  76. data/api/schemas/xml/SAP-Schema-14.2/Templates/._HCR-PropertyDetails.xsd +0 -0
  77. data/api/schemas/xml/SAP-Schema-14.2/Templates/._HCR-RiskAssessment.xsd +0 -0
  78. data/api/schemas/xml/SAP-Schema-14.2/Templates/._HIP-Reports.xsd +0 -0
  79. data/api/schemas/xml/SAP-Schema-14.2/Templates/._UserManagement.xsd +0 -0
  80. data/api/schemas/xml/SAP-Schema-14.2/UDT/._BaseDataTypes.xsd +0 -0
  81. data/api/schemas/xml/SAP-Schema-14.2/UDT/._HCR-Domains.xsd +0 -0
  82. data/api/schemas/xml/SAP-Schema-14.2/UDT/._SAP-Domains.xsd +0 -0
  83. data/api/schemas/xml/SAP-Schema-14.2/UDT/._TypeDefinitions.xsd +0 -0
  84. data/api/schemas/xml/SAP-Schema-15.0/._CommonFiles +0 -0
  85. data/api/schemas/xml/SAP-Schema-15.0/._SAP-EPC +0 -0
  86. data/api/schemas/xml/SAP-Schema-15.0/._Templates +0 -0
  87. data/api/schemas/xml/SAP-Schema-15.0/CommonFiles/._CommonStructures.xsd +0 -0
  88. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  89. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  90. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  91. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  92. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  93. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  94. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ExternalDefinitions.xml +0 -0
  95. data/api/schemas/xml/SAP-Schema-15.0/Messages/._ExternalDefinitions.xsd +0 -0
  96. data/api/schemas/xml/SAP-Schema-15.0/Messages/._HomeInspectorRegisterUpdateRequest_1.xsd +0 -0
  97. data/api/schemas/xml/SAP-Schema-15.0/Messages/._HomeInspectorRegisterUpdateResponse_1.xsd +0 -0
  98. data/api/schemas/xml/SAP-Schema-15.0/Messages/._HomeInspectorRegisterUpdateStatusResponse_1.xsd +0 -0
  99. data/api/schemas/xml/SAP-Schema-15.0/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  100. data/api/schemas/xml/SAP-Schema-15.0/SAP-EPC/._Templates +0 -0
  101. data/api/schemas/xml/SAP-Schema-15.0/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  102. data/api/schemas/xml/SAP-Schema-15.0/SAP-EPC/Templates/._SAP09-Report.xsd +0 -0
  103. data/api/schemas/xml/SAP-Schema-15.0/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  104. data/api/schemas/xml/SAP-Schema-15.0/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  105. data/api/schemas/xml/SAP-Schema-15.0/Templates/._EPC-Certificate.xsd +0 -0
  106. data/api/schemas/xml/SAP-Schema-15.0/Templates/._EPC-CollectedData.xsd +0 -0
  107. data/api/schemas/xml/SAP-Schema-15.0/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  108. data/api/schemas/xml/SAP-Schema-15.0/Templates/._HCR-PropertyDetails.xsd +0 -0
  109. data/api/schemas/xml/SAP-Schema-15.0/Templates/._HCR-RiskAssessment.xsd +0 -0
  110. data/api/schemas/xml/SAP-Schema-15.0/Templates/._HIP-Reports.xsd +0 -0
  111. data/api/schemas/xml/SAP-Schema-15.0/Templates/._UserManagement.xsd +0 -0
  112. data/api/schemas/xml/SAP-Schema-15.0/UDT/._BaseDataTypes.xsd +0 -0
  113. data/api/schemas/xml/SAP-Schema-15.0/UDT/._HCR-Domains.xsd +0 -0
  114. data/api/schemas/xml/SAP-Schema-15.0/UDT/._SAP-Domains.xsd +0 -0
  115. data/api/schemas/xml/SAP-Schema-15.0/UDT/._TypeDefinitions.xsd +0 -0
  116. data/api/schemas/xml/SAP-Schema-16.0/._CommonFiles +0 -0
  117. data/api/schemas/xml/SAP-Schema-16.0/._SAP-EPC +0 -0
  118. data/api/schemas/xml/SAP-Schema-16.0/._Templates +0 -0
  119. data/api/schemas/xml/SAP-Schema-16.0/CommonFiles/._CommonStructures.xsd +0 -0
  120. data/api/schemas/xml/SAP-Schema-16.0/Messages/._Assessor.xsd +0 -0
  121. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  122. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  123. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  124. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  125. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  126. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  127. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ExternalDefinitions.xml +0 -0
  128. data/api/schemas/xml/SAP-Schema-16.0/Messages/._ExternalDefinitions.xsd +0 -0
  129. data/api/schemas/xml/SAP-Schema-16.0/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  130. data/api/schemas/xml/SAP-Schema-16.0/SAP-EPC/._Templates +0 -0
  131. data/api/schemas/xml/SAP-Schema-16.0/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  132. data/api/schemas/xml/SAP-Schema-16.0/SAP-EPC/Templates/._SAP09-Report.xsd +0 -0
  133. data/api/schemas/xml/SAP-Schema-16.0/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  134. data/api/schemas/xml/SAP-Schema-16.0/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  135. data/api/schemas/xml/SAP-Schema-16.0/Templates/._EPC-Certificate.xsd +0 -0
  136. data/api/schemas/xml/SAP-Schema-16.0/Templates/._EPC-CollectedData.xsd +0 -0
  137. data/api/schemas/xml/SAP-Schema-16.0/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  138. data/api/schemas/xml/SAP-Schema-16.0/Templates/._HCR-PropertyDetails.xsd +0 -0
  139. data/api/schemas/xml/SAP-Schema-16.0/Templates/._HCR-RiskAssessment.xsd +0 -0
  140. data/api/schemas/xml/SAP-Schema-16.0/Templates/._HIP-Reports.xsd +0 -0
  141. data/api/schemas/xml/SAP-Schema-16.0/Templates/._UserManagement.xsd +0 -0
  142. data/api/schemas/xml/SAP-Schema-16.0/UDT/._BaseDataTypes.xsd +0 -0
  143. data/api/schemas/xml/SAP-Schema-16.0/UDT/._HCR-Domains.xsd +0 -0
  144. data/api/schemas/xml/SAP-Schema-16.0/UDT/._SAP-Domains.xsd +0 -0
  145. data/api/schemas/xml/SAP-Schema-16.0/UDT/._TypeDefinitions.xsd +0 -0
  146. data/api/schemas/xml/SAP-Schema-16.1/CommonFiles/._CommonStructures.xsd +0 -0
  147. data/api/schemas/xml/SAP-Schema-16.1/Messages/._Assessor.xsd +0 -0
  148. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  149. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  150. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  151. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  152. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  153. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  154. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ExternalDefinitions.xml +0 -0
  155. data/api/schemas/xml/SAP-Schema-16.1/Messages/._ExternalDefinitions.xsd +0 -0
  156. data/api/schemas/xml/SAP-Schema-16.1/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  157. data/api/schemas/xml/SAP-Schema-16.1/SAP-EPC/._Templates +0 -0
  158. data/api/schemas/xml/SAP-Schema-16.1/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  159. data/api/schemas/xml/SAP-Schema-16.1/SAP-EPC/Templates/._SAP09-Report.xsd +0 -0
  160. data/api/schemas/xml/SAP-Schema-16.1/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  161. data/api/schemas/xml/SAP-Schema-16.1/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  162. data/api/schemas/xml/SAP-Schema-16.1/Templates/._EPC-Certificate.xsd +0 -0
  163. data/api/schemas/xml/SAP-Schema-16.1/Templates/._EPC-CollectedData.xsd +0 -0
  164. data/api/schemas/xml/SAP-Schema-16.1/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  165. data/api/schemas/xml/SAP-Schema-16.1/Templates/._HCR-PropertyDetails.xsd +0 -0
  166. data/api/schemas/xml/SAP-Schema-16.1/Templates/._HCR-RiskAssessment.xsd +0 -0
  167. data/api/schemas/xml/SAP-Schema-16.1/Templates/._HIP-Reports.xsd +0 -0
  168. data/api/schemas/xml/SAP-Schema-16.1/Templates/._UserManagement.xsd +0 -0
  169. data/api/schemas/xml/SAP-Schema-16.1/UDT/._BaseDataTypes.xsd +0 -0
  170. data/api/schemas/xml/SAP-Schema-16.1/UDT/._HCR-Domains.xsd +0 -0
  171. data/api/schemas/xml/SAP-Schema-16.1/UDT/._SAP-Domains.xsd +0 -0
  172. data/api/schemas/xml/SAP-Schema-16.1/UDT/._TypeDefinitions.xsd +0 -0
  173. data/api/schemas/xml/SAP-Schema-16.2/._CommonFiles +0 -0
  174. data/api/schemas/xml/SAP-Schema-16.2/._SAP-EPC +0 -0
  175. data/api/schemas/xml/SAP-Schema-16.2/._Templates +0 -0
  176. data/api/schemas/xml/SAP-Schema-16.2/CommonFiles/._CommonStructures.xsd +0 -0
  177. data/api/schemas/xml/SAP-Schema-16.2/Messages/._Assessor.xsd +0 -0
  178. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportChangeAccessRequest_1.xsd +0 -0
  179. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportChangeAccessResponse_1.xsd +0 -0
  180. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportChangeStatusRequest_1.xsd +0 -0
  181. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportChangeStatusResponse_1.xsd +0 -0
  182. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportCreateRequest_1.xsd +0 -0
  183. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ConditionReportRetrieveResponse_1.xsd +0 -0
  184. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ExternalDefinitions.xml +0 -0
  185. data/api/schemas/xml/SAP-Schema-16.2/Messages/._ExternalDefinitions.xsd +0 -0
  186. data/api/schemas/xml/SAP-Schema-16.2/Messages/._PropertyUPRNValidationResponse_1.xsd +0 -0
  187. data/api/schemas/xml/SAP-Schema-16.2/SAP-EPC/._Templates +0 -0
  188. data/api/schemas/xml/SAP-Schema-16.2/SAP-EPC/Templates/._EPC-Certificate.xsd +0 -0
  189. data/api/schemas/xml/SAP-Schema-16.2/SAP-EPC/Templates/._SAP09-Report.xsd +0 -0
  190. data/api/schemas/xml/SAP-Schema-16.2/SAP-EPC/Templates/._UserManagement.xsd +0 -0
  191. data/api/schemas/xml/SAP-Schema-16.2/SAP-EPC/UDT/._BaseDataTypes.xsd +0 -0
  192. data/api/schemas/xml/SAP-Schema-16.2/Templates/._EPC-Certificate.xsd +0 -0
  193. data/api/schemas/xml/SAP-Schema-16.2/Templates/._EPC-CollectedData.xsd +0 -0
  194. data/api/schemas/xml/SAP-Schema-16.2/Templates/._HCR-FeaturesGrounds.xsd +0 -0
  195. data/api/schemas/xml/SAP-Schema-16.2/Templates/._HCR-PropertyDetails.xsd +0 -0
  196. data/api/schemas/xml/SAP-Schema-16.2/Templates/._HCR-RiskAssessment.xsd +0 -0
  197. data/api/schemas/xml/SAP-Schema-16.2/Templates/._HIP-Reports.xsd +0 -0
  198. data/api/schemas/xml/SAP-Schema-16.2/Templates/._UserManagement.xsd +0 -0
  199. data/api/schemas/xml/SAP-Schema-16.2/UDT/._BaseDataTypes.xsd +0 -0
  200. data/api/schemas/xml/SAP-Schema-16.2/UDT/._HCR-Domains.xsd +0 -0
  201. data/api/schemas/xml/SAP-Schema-16.2/UDT/._SAP-Domains.xsd +0 -0
  202. data/api/schemas/xml/SAP-Schema-16.2/UDT/._TypeDefinitions.xsd +0 -0
@@ -0,0 +1,85 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap"
5
+ elementFormDefault="qualified"
6
+ attributeFormDefault="unqualified"
7
+ version="19.2.0"
8
+ >
9
+ <xs:element name="Property" type="Property"/>
10
+ <xs:complexType name="Property">
11
+ <xs:annotation>
12
+ <xs:documentation>A discrete identifiable possession, such as a piece of
13
+ real-estate, to which its owner has legal title. For the Home
14
+ Information Pack legislation the types of property are restricted to
15
+ residential properties.
16
+
17
+ It should be observed that "a property is a property is a property" and
18
+ all real-estate properties, whether residential or commercial or whether
19
+ being sold for the first or the nth time will have a very similar
20
+ conceptual structure and similar rules and constraints.
21
+
22
+ As such the broad description of a Property can be regarded as a
23
+ framework, containing a set of extension points, that can be expanded as
24
+ necessary to cover additional detail.
25
+ </xs:documentation>
26
+ </xs:annotation>
27
+ <xs:all>
28
+ <xs:element name="Address" type="AddressType">
29
+ <xs:annotation>
30
+ <xs:documentation>Address for the property.</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="UPRN" type="UPRNType" minOccurs="0">
34
+ <xs:annotation>
35
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="Site-Reference" type="xs:string" minOccurs="0">
39
+ <xs:annotation>
40
+ <xs:documentation>A site reference</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ <xs:element name="Plot-Reference" type="xs:string" minOccurs="0">
44
+ <xs:annotation>
45
+ <xs:documentation>A plot reference</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ </xs:all>
49
+ </xs:complexType>
50
+ <xs:element name="AddressType" type="AddressType"/>
51
+ <xs:complexType name="AddressType">
52
+ <xs:annotation>
53
+ <xs:documentation>An address is composed of a number of structured
54
+ elements such as Postcode, Post-Town, Street etc.
55
+
56
+ </xs:documentation>
57
+ </xs:annotation>
58
+ <xs:sequence>
59
+ <xs:element name="Address-Line-1" type="xs:string"/>
60
+ <xs:element name="Address-Line-2" type="xs:string" minOccurs="0"/>
61
+ <xs:element name="Address-Line-3" type="xs:string" minOccurs="0"/>
62
+ <xs:element name="Post-Town" type="xs:string"/>
63
+ <xs:element name="Postcode" type="PostcodeType">
64
+ <xs:annotation>
65
+ <xs:documentation>The Postcode for the Address
66
+ </xs:documentation>
67
+ </xs:annotation>
68
+ </xs:element>
69
+ </xs:sequence>
70
+ </xs:complexType>
71
+ <xs:simpleType name="UPRNType">
72
+ <xs:annotation>
73
+ <xs:documentation>Unique Property Reference Number</xs:documentation>
74
+ </xs:annotation>
75
+ <xs:restriction base="xs:string">
76
+ <xs:pattern
77
+ value="UPRN-[0-9]{10,12}|RRN-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}"/>
78
+ </xs:restriction>
79
+ </xs:simpleType>
80
+ <xs:simpleType name="PostcodeType">
81
+ <xs:restriction base="xs:string">
82
+ <xs:pattern value="[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][A-Z]{2}"/>
83
+ </xs:restriction>
84
+ </xs:simpleType>
85
+ </xs:schema>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/sap"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/sap"
5
+ elementFormDefault="qualified"
6
+ attributeFormDefault="unqualified" version="19.2.0">
7
+ <xs:include schemaLocation="AssessorManagement.xsd"/>
8
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
9
+
10
+ <xs:element name="ReportList">
11
+ <xs:complexType>
12
+ <xs:sequence>
13
+ <xs:element name="Report-Summary" maxOccurs="unbounded">
14
+ <xs:complexType>
15
+ <xs:all>
16
+ <xs:element name="RRN" type="RRNType"/>
17
+ <xs:element name="Inspection-Date" type="xs:date"/>
18
+ <xs:element name="HI-Name" type="PersonNameType"/>
19
+ <xs:element name="HI-Certificate" type="CertificateNumberType"/>
20
+ <xs:element name="Report-Status" type="ReportStatusCode"/>
21
+ </xs:all>
22
+ </xs:complexType>
23
+ </xs:element>
24
+ </xs:sequence>
25
+ </xs:complexType>
26
+ </xs:element>
27
+ </xs:schema>