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,205 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" 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" version="LIG-14.0">
3
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
5
+ <xs:element name="Built-In-Fitting" type="Built-In-Fitting"/>
6
+ <xs:complexType name="Built-In-Fitting">
7
+ <xs:annotation>
8
+ <xs:documentation>Details of built-in kitchen or other fittings but excluding appliances.</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:all>
11
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
12
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
13
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
14
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
15
+ <xs:annotation>
16
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
17
+
18
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
19
+ </xs:documentation>
20
+ </xs:annotation>
21
+ </xs:element>
22
+ </xs:all>
23
+ </xs:complexType>
24
+ <xs:element name="Internal-Feature" type="Internal-Feature"/>
25
+ <xs:complexType name="Internal-Feature" abstract="true">
26
+ <xs:annotation>
27
+ <xs:documentation>Any Structural Feature that is inside, and part of, one of the Habitable Areas.</xs:documentation>
28
+ </xs:annotation>
29
+ <xs:all>
30
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
31
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
32
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
33
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
34
+ <xs:annotation>
35
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
36
+
37
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
38
+ </xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ </xs:all>
42
+ </xs:complexType>
43
+ <xs:element name="Floor" type="Floor"/>
44
+ <xs:complexType name="Floor">
45
+ <xs:all>
46
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
47
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
48
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
49
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
50
+ <xs:annotation>
51
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
52
+
53
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
54
+ </xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ </xs:all>
58
+ </xs:complexType>
59
+ <xs:element name="Fireplace" type="Fireplace"/>
60
+ <xs:complexType name="Fireplace">
61
+ <xs:annotation>
62
+ <xs:documentation>Details of Fireplaces, Chimney Breasts and the outside of flues.</xs:documentation>
63
+ </xs:annotation>
64
+ <xs:all>
65
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
66
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
67
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
68
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
69
+ <xs:annotation>
70
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
71
+
72
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
73
+ </xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ </xs:all>
77
+ </xs:complexType>
78
+ <xs:element name="Dampness" type="Dampness"/>
79
+ <xs:complexType name="Dampness">
80
+ <xs:all>
81
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
82
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
83
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
84
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
85
+ <xs:annotation>
86
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
87
+
88
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
89
+ </xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ </xs:all>
93
+ </xs:complexType>
94
+ <xs:element name="Other-Internal-Detail" type="Other-Internal-Detail"/>
95
+ <xs:complexType name="Other-Internal-Detail">
96
+ <xs:all>
97
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
98
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
99
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
100
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
101
+ <xs:annotation>
102
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
103
+
104
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
105
+ </xs:documentation>
106
+ </xs:annotation>
107
+ </xs:element>
108
+ </xs:all>
109
+ </xs:complexType>
110
+ <xs:element name="Ceiling" type="Ceiling"/>
111
+ <xs:complexType name="Ceiling">
112
+ <xs:all>
113
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
114
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
115
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
116
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
117
+ <xs:annotation>
118
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
119
+
120
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
121
+ </xs:documentation>
122
+ </xs:annotation>
123
+ </xs:element>
124
+ </xs:all>
125
+ </xs:complexType>
126
+ <xs:element name="Roof-Structure" type="Roof-Structure"/>
127
+ <xs:complexType name="Roof-Structure">
128
+ <xs:all>
129
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
130
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
131
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
132
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
133
+ <xs:annotation>
134
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
135
+
136
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
137
+ </xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ </xs:all>
141
+ </xs:complexType>
142
+ <xs:element name="Internal-Woodwork" type="Internal-Woodwork"/>
143
+ <xs:complexType name="Internal-Woodwork">
144
+ <xs:all>
145
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
146
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
147
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
148
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
149
+ <xs:annotation>
150
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
151
+
152
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
153
+ </xs:documentation>
154
+ </xs:annotation>
155
+ </xs:element>
156
+ </xs:all>
157
+ </xs:complexType>
158
+ <xs:element name="Internal-Wall" type="Internal-Wall"/>
159
+ <xs:complexType name="Internal-Wall">
160
+ <xs:all>
161
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
162
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
163
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
164
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
165
+ <xs:annotation>
166
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
167
+
168
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
169
+ </xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ </xs:all>
173
+ </xs:complexType>
174
+ <xs:element name="Bathroom-Fitting" type="Bathroom-Fitting"/>
175
+ <xs:complexType name="Bathroom-Fitting">
176
+ <xs:all>
177
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1"/>
178
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1"/>
179
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1"/>
180
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
181
+ <xs:annotation>
182
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
183
+
184
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
185
+ </xs:documentation>
186
+ </xs:annotation>
187
+ </xs:element>
188
+ </xs:all>
189
+ </xs:complexType>
190
+ <xs:element name="Internal-Features" type="Internal-Features"/>
191
+ <xs:complexType name="Internal-Features">
192
+ <xs:choice maxOccurs="unbounded">
193
+ <xs:element name="Roof-Structure" type="Roof-Structure" minOccurs="1" maxOccurs="1"/>
194
+ <xs:element name="Ceiling" type="Ceiling" minOccurs="1" maxOccurs="1"/>
195
+ <xs:element name="Internal-Wall" type="Internal-Wall" minOccurs="1" maxOccurs="1"/>
196
+ <xs:element name="Floor" type="Floor" minOccurs="1" maxOccurs="1"/>
197
+ <xs:element name="Fireplace" type="Fireplace" minOccurs="1" maxOccurs="1"/>
198
+ <xs:element name="Built-In-Fitting" type="Built-In-Fitting" minOccurs="1" maxOccurs="1"/>
199
+ <xs:element name="Internal-Woodwork" type="Internal-Woodwork" minOccurs="1" maxOccurs="1"/>
200
+ <xs:element name="Bathroom-Fitting" type="Bathroom-Fitting" minOccurs="1" maxOccurs="1"/>
201
+ <xs:element name="Dampness" type="Dampness" minOccurs="1" maxOccurs="1"/>
202
+ <xs:element name="Other-Internal-Detail" type="Other-Internal-Detail" minOccurs="1" maxOccurs="1"/>
203
+ </xs:choice>
204
+ </xs:complexType>
205
+ </xs:schema>
@@ -0,0 +1,311 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" 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" version="LIG-14.0">
3
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/SharedDomains.xsd"/>
5
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
6
+ <xs:element name="Utility-Service" type="Utility-Service"/>
7
+ <xs:complexType name="Utility-Service">
8
+ <xs:annotation>
9
+ <xs:documentation>A commodity or essential service, such as electricity, gas or water that is provided by a public or private company under government regulation. </xs:documentation>
10
+ </xs:annotation>
11
+ <xs:all>
12
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
13
+ <xs:annotation>
14
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
15
+ </xs:annotation>
16
+ </xs:element>
17
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
18
+ <xs:annotation>
19
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
20
+ </xs:annotation>
21
+ </xs:element>
22
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
23
+ <xs:annotation>
24
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
25
+
26
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
27
+
28
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
29
+ </xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
33
+ <xs:annotation>
34
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
35
+
36
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
37
+ </xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ </xs:all>
41
+ </xs:complexType>
42
+ <xs:element name="Gas" type="Gas"/>
43
+ <xs:complexType name="Gas">
44
+ <xs:annotation>
45
+ <xs:documentation>Details of the main Gas supply to the Property.</xs:documentation>
46
+ </xs:annotation>
47
+ <xs:all>
48
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
49
+ <xs:annotation>
50
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
54
+ <xs:annotation>
55
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
59
+ <xs:annotation>
60
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
61
+
62
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
63
+
64
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
65
+ </xs:documentation>
66
+ </xs:annotation>
67
+ </xs:element>
68
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
69
+ <xs:annotation>
70
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
71
+
72
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
73
+ </xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode" minOccurs="1" maxOccurs="1">
77
+ <xs:annotation>
78
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ </xs:all>
82
+ </xs:complexType>
83
+ <xs:element name="Water" type="Water"/>
84
+ <xs:complexType name="Water">
85
+ <xs:annotation>
86
+ <xs:documentation>Details of the main Water supply to the Property. This will generally be a managed service provided by a Water Utility (regulated by Government body) but may include an alternative service particular to the Property.</xs:documentation>
87
+ </xs:annotation>
88
+ <xs:all>
89
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
90
+ <xs:annotation>
91
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
92
+ </xs:annotation>
93
+ </xs:element>
94
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
95
+ <xs:annotation>
96
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
97
+ </xs:annotation>
98
+ </xs:element>
99
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
100
+ <xs:annotation>
101
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
102
+
103
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
104
+
105
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
106
+ </xs:documentation>
107
+ </xs:annotation>
108
+ </xs:element>
109
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
110
+ <xs:annotation>
111
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
112
+
113
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
114
+ </xs:documentation>
115
+ </xs:annotation>
116
+ </xs:element>
117
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode" minOccurs="1" maxOccurs="1">
118
+ <xs:annotation>
119
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:element>
122
+ <xs:element name="Owner" type="WaterOwnerCode" minOccurs="1" maxOccurs="1">
123
+ <xs:annotation>
124
+ <xs:documentation>Identifies the owner of the water supply.</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:element>
127
+ <xs:element name="Water-Risk" type="pfdt:Flag" minOccurs="1" maxOccurs="1">
128
+ <xs:annotation>
129
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the local water supply (including Sewerage).
130
+
131
+ For example there might be a sewer run under the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
132
+ </xs:annotation>
133
+ </xs:element>
134
+ <xs:element name="Location" type="WaterLocationCode" minOccurs="1" maxOccurs="1">
135
+ <xs:annotation>
136
+ <xs:documentation>Identifies the location of the water supply</xs:documentation>
137
+ </xs:annotation>
138
+ </xs:element>
139
+ </xs:all>
140
+ </xs:complexType>
141
+ <xs:element name="Drainage" type="Drainage"/>
142
+ <xs:complexType name="Drainage">
143
+ <xs:annotation>
144
+ <xs:documentation>Details of the Drainage and Sewerage facilities for the Property.</xs:documentation>
145
+ </xs:annotation>
146
+ <xs:all>
147
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
148
+ <xs:annotation>
149
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:element>
152
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
153
+ <xs:annotation>
154
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
158
+ <xs:annotation>
159
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
160
+
161
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
162
+
163
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
164
+ </xs:documentation>
165
+ </xs:annotation>
166
+ </xs:element>
167
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
168
+ <xs:annotation>
169
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
170
+
171
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
172
+ </xs:documentation>
173
+ </xs:annotation>
174
+ </xs:element>
175
+ <xs:element name="Drainage-Risk" type="pfdt:Flag" minOccurs="1" maxOccurs="1">
176
+ <xs:annotation>
177
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to the drainage of the property.
178
+
179
+ For example there might be a main drain or manhole on the property that the local water board has a right to access for maintenance purposes. </xs:documentation>
180
+ </xs:annotation>
181
+ </xs:element>
182
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode" minOccurs="1" maxOccurs="1">
183
+ <xs:annotation>
184
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:element>
187
+ <xs:element name="Owner" type="DrainageOwnerCode" minOccurs="1" maxOccurs="1">
188
+ <xs:annotation>
189
+ <xs:documentation>Identifies the ownership of the drainage system</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:element>
192
+ <xs:element name="Location" type="DrainageLocationCode" minOccurs="1" maxOccurs="1">
193
+ <xs:annotation>
194
+ <xs:documentation>Identifies the location of the drainage system</xs:documentation>
195
+ </xs:annotation>
196
+ </xs:element>
197
+ <xs:element name="Watercourse-Discharge" type="pfdt:Flag" minOccurs="1" maxOccurs="1">
198
+ <xs:annotation>
199
+ <xs:documentation>Indicates that the drainage system may discharge into a local watercourse.</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:element>
202
+ <xs:element name="Drainage-Method" type="DrainageMethodCode" minOccurs="1" maxOccurs="1">
203
+ <xs:annotation>
204
+ <xs:documentation>Identifies the method use for drainage and sewerage if not mains provided</xs:documentation>
205
+ </xs:annotation>
206
+ </xs:element>
207
+ </xs:all>
208
+ </xs:complexType>
209
+ <xs:element name="Electricity" type="Electricity"/>
210
+ <xs:complexType name="Electricity">
211
+ <xs:annotation>
212
+ <xs:documentation>Details of the main Electricity supply to the Property.</xs:documentation>
213
+ </xs:annotation>
214
+ <xs:all>
215
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
216
+ <xs:annotation>
217
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:element>
220
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
221
+ <xs:annotation>
222
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
223
+ </xs:annotation>
224
+ </xs:element>
225
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
226
+ <xs:annotation>
227
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
228
+
229
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
230
+
231
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
232
+ </xs:documentation>
233
+ </xs:annotation>
234
+ </xs:element>
235
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
236
+ <xs:annotation>
237
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
238
+
239
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
240
+ </xs:documentation>
241
+ </xs:annotation>
242
+ </xs:element>
243
+ <xs:element name="Service-Provider" type="UtilityServiceProviderCode" minOccurs="1" maxOccurs="1">
244
+ <xs:annotation>
245
+ <xs:documentation>Indicates whether, for a particular service, a mains service is connected to the property</xs:documentation>
246
+ </xs:annotation>
247
+ </xs:element>
248
+ </xs:all>
249
+ </xs:complexType>
250
+ <xs:element name="Heating" type="Heating"/>
251
+ <xs:complexType name="Heating">
252
+ <xs:annotation>
253
+ <xs:documentation>Details of the means by which the Main Building is heated.</xs:documentation>
254
+ </xs:annotation>
255
+ <xs:all>
256
+ <xs:element name="Identifier" type="pfdt:IDString" minOccurs="1" maxOccurs="1">
257
+ <xs:annotation>
258
+ <xs:documentation>Unique identifier for the property feature being reported on.</xs:documentation>
259
+ </xs:annotation>
260
+ </xs:element>
261
+ <xs:element name="Condition" type="ConditionCode" minOccurs="1" maxOccurs="1">
262
+ <xs:annotation>
263
+ <xs:documentation>The code describing the condition of the inspected feature.</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:element>
266
+ <xs:element name="Justification" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
267
+ <xs:annotation>
268
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
269
+
270
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
271
+
272
+ If the feature is "Not Present" (NP) then the Justification should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
273
+ </xs:documentation>
274
+ </xs:annotation>
275
+ </xs:element>
276
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
277
+ <xs:annotation>
278
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
279
+
280
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if the feature is not present then the value is actually not used in the HCR so can be ignored.
281
+ </xs:documentation>
282
+ </xs:annotation>
283
+ </xs:element>
284
+ <xs:element name="Heating-Scope" type="HeatingScopeCode" minOccurs="1" maxOccurs="1">
285
+ <xs:annotation>
286
+ <xs:documentation>Identifies the scope of the central heating e.g. Full or Partial heating.</xs:documentation>
287
+ </xs:annotation>
288
+ </xs:element>
289
+ <xs:element name="Main-Heating-Type" type="HeatingTypeCode" minOccurs="1" maxOccurs="1">
290
+ <xs:annotation>
291
+ <xs:documentation>The main type of heating system present in the Property e.g. Central Heating, Under-Floor etc.</xs:documentation>
292
+ </xs:annotation>
293
+ </xs:element>
294
+ <xs:element name="Fuel-Type" type="HeatingFuelTypeCode" minOccurs="1" maxOccurs="1">
295
+ <xs:annotation>
296
+ <xs:documentation>The type of fuel used to power the central heating e.g. Gas, Electricity</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:element>
299
+ </xs:all>
300
+ </xs:complexType>
301
+ <xs:element name="Utility-Services" type="Utility-Services"/>
302
+ <xs:complexType name="Utility-Services">
303
+ <xs:choice maxOccurs="unbounded">
304
+ <xs:element name="Heating" type="Heating" minOccurs="1" maxOccurs="1"/>
305
+ <xs:element name="Electricity" type="Electricity" minOccurs="1" maxOccurs="1"/>
306
+ <xs:element name="Gas" type="Gas" minOccurs="1" maxOccurs="1"/>
307
+ <xs:element name="Water" type="Water" minOccurs="1" maxOccurs="1"/>
308
+ <xs:element name="Drainage" type="Drainage" minOccurs="1" maxOccurs="1"/>
309
+ </xs:choice>
310
+ </xs:complexType>
311
+ </xs:schema>