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
@@ -1,222 +1,222 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" version="LIG-16.0">
3
- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
- <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
5
- <xs:element name="Garden" type="Garden"/>
6
- <xs:complexType name="Garden">
7
- <xs:all>
8
- <xs:element name="Location" type="GardenLocationCode">
9
- <xs:annotation>
10
- <xs:documentation>The location of the garden relative to the main building of the Property - taken from a pre-defined list of values.</xs:documentation>
11
- </xs:annotation>
12
- </xs:element>
13
- <xs:element name="Garden-Type" type="GardenTypeCode">
14
- <xs:annotation>
15
- <xs:documentation>The type of garden attached to the property</xs:documentation>
16
- </xs:annotation>
17
- </xs:element>
18
- </xs:all>
19
- </xs:complexType>
20
- <xs:element name="Grounds-Feature" type="Grounds-Feature"/>
21
- <xs:complexType name="Grounds-Feature">
22
- <xs:annotation>
23
- <xs:documentation>A tract of land, forming part of the Property, that has been cleared or developed for a particular purpose such as a Garden or Garage.
24
-
25
- Each Grounds Feature provides a summary of the general condition of any garden walls, fences, and permanent outbuildings. Conservatories with translucent or clear roofs attached to the main buildings are treated as outbuildings, as are garages and permanent store sheds.
26
-
27
- Buildings containing swimming pools and sports facilities are also treated as outbuildings, but the Home Inspector does not report on the leisure facilities, such as the pool itself and its equipment.
28
-
29
- To inspect these areas the Home Inspector walked around the grounds. </xs:documentation>
30
- </xs:annotation>
31
- <xs:all>
32
- <xs:element name="Identifier" type="pfdt:IDString"/>
33
- <xs:element name="Description" type="pfdt:Sentence">
34
- <xs:annotation>
35
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
36
- </xs:documentation>
37
- </xs:annotation>
38
- </xs:element>
39
- <xs:element name="Justification" type="pfdt:Sentence"/>
40
- </xs:all>
41
- </xs:complexType>
42
- <xs:element name="Gardens" type="Gardens"/>
43
- <xs:complexType name="Gardens">
44
- <xs:sequence>
45
- <xs:element name="Identifier" type="pfdt:IDString"/>
46
- <xs:element name="Description" type="pfdt:Sentence">
47
- <xs:annotation>
48
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
49
- </xs:documentation>
50
- </xs:annotation>
51
- </xs:element>
52
- <xs:element name="Justification" type="pfdt:Sentence"/>
53
- <xs:element name="OverOneAcre" type="pfdt:Flag">
54
- <xs:annotation>
55
- <xs:documentation>Indicates whether the total gardens are in excess of one acre or not.</xs:documentation>
56
- </xs:annotation>
57
- </xs:element>
58
- <xs:element name="Garden" type="Garden" minOccurs="0" maxOccurs="unbounded"/>
59
- </xs:sequence>
60
- </xs:complexType>
61
- <xs:element name="Paved-Area" type="Paved-Area"/>
62
- <xs:complexType name="Paved-Area">
63
- <xs:all>
64
- <xs:element name="Identifier" type="pfdt:IDString"/>
65
- <xs:element name="Description" type="pfdt:Sentence">
66
- <xs:annotation>
67
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
68
- </xs:documentation>
69
- </xs:annotation>
70
- </xs:element>
71
- <xs:element name="Justification" type="pfdt:Sentence"/>
72
- </xs:all>
73
- </xs:complexType>
74
- <xs:element name="Car-Port" type="Car-Port"/>
75
- <xs:complexType name="Car-Port">
76
- <xs:all>
77
- <xs:element name="Identifier" type="pfdt:IDString"/>
78
- <xs:element name="Description" type="pfdt:Sentence">
79
- <xs:annotation>
80
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
81
- </xs:documentation>
82
- </xs:annotation>
83
- </xs:element>
84
- <xs:element name="Justification" type="pfdt:Sentence"/>
85
- <xs:element name="Carport-Type" type="CarPortTypeCode">
86
- <xs:annotation>
87
- <xs:documentation>The type of car parking allocated to the property</xs:documentation>
88
- </xs:annotation>
89
- </xs:element>
90
- <xs:element name="Allocated-Spaces" type="GarageSizeTypeCode">
91
- <xs:annotation>
92
- <xs:documentation>Number of car parking spaces within the car port allocated to the Property. A car Port may be shared by two or more properties therefore not all available spaces may be for the sole use of the Property.</xs:documentation>
93
- </xs:annotation>
94
- </xs:element>
95
- <xs:element name="Location" type="CarPortLocationCode">
96
- <xs:annotation>
97
- <xs:documentation>Describes the location of the Car Port e.g. attached to Property, detached etc.</xs:documentation>
98
- </xs:annotation>
99
- </xs:element>
100
- </xs:all>
101
- </xs:complexType>
102
- <xs:element name="Garage" type="Garage"/>
103
- <xs:complexType name="Garage">
104
- <xs:all>
105
- <xs:element name="Identifier" type="pfdt:IDString"/>
106
- <xs:element name="Description" type="pfdt:Sentence">
107
- <xs:annotation>
108
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
109
- </xs:documentation>
110
- </xs:annotation>
111
- </xs:element>
112
- <xs:element name="Justification" type="pfdt:Sentence"/>
113
- <xs:element name="Garage-Size" type="GarageSizeTypeCode">
114
- <xs:annotation>
115
- <xs:documentation>The nominal size of the garage expressed as the number of vehicles it will contain e.g. "single", "double" etc.</xs:documentation>
116
- </xs:annotation>
117
- </xs:element>
118
- <xs:element name="Location" type="GarageLocationCode">
119
- <xs:annotation>
120
- <xs:documentation>The location of the garage relative to the main building e.g. attached or detached</xs:documentation>
121
- </xs:annotation>
122
- </xs:element>
123
- </xs:all>
124
- </xs:complexType>
125
- <xs:element name="Outbuilding" type="Outbuilding"/>
126
- <xs:complexType name="Outbuilding">
127
- <xs:annotation>
128
- <xs:documentation>Any other non-Habitable Building that is associated with, but separate from, the main building such as a store-room. Excludes Garages and Conservatories which are separately detailed.</xs:documentation>
129
- </xs:annotation>
130
- <xs:all>
131
- <xs:element name="Identifier" type="pfdt:IDString"/>
132
- <xs:element name="Description" type="pfdt:Sentence">
133
- <xs:annotation>
134
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
135
- </xs:documentation>
136
- </xs:annotation>
137
- </xs:element>
138
- <xs:element name="Justification" type="pfdt:Sentence"/>
139
- <xs:element name="Outbuilding-Count" type="pfdt:Count">
140
- <xs:annotation>
141
- <xs:documentation>Number of outbuilding present in the property grounds</xs:documentation>
142
- </xs:annotation>
143
- </xs:element>
144
- <xs:element name="Outbuilding-Use" type="pfdt:Sentence">
145
- <xs:annotation>
146
- <xs:documentation>Describes the type of each Outbuilding identifying its apparent use e.g. "Playhouse". Where there are multiple Other Outbuildings then the Outbuilding Types are entered as a comma separated list e.g. "Playhouse, Swimming Pool".
147
-
148
- Being nouns the Outbuilding Types should of course be entered in the language that the overall report is being presented in.</xs:documentation>
149
- </xs:annotation>
150
- </xs:element>
151
- </xs:all>
152
- </xs:complexType>
153
- <xs:element name="Shared-Facility" type="Shared-Facility"/>
154
- <xs:complexType name="Shared-Facility">
155
- <xs:all>
156
- <xs:element name="Identifier" type="pfdt:IDString"/>
157
- <xs:element name="Description" type="pfdt:Sentence">
158
- <xs:annotation>
159
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
160
- </xs:documentation>
161
- </xs:annotation>
162
- </xs:element>
163
- <xs:element name="Justification" type="pfdt:Sentence"/>
164
- </xs:all>
165
- </xs:complexType>
166
- <xs:element name="Boundary-Wall" type="Boundary-Wall"/>
167
- <xs:complexType name="Boundary-Wall">
168
- <xs:annotation>
169
- <xs:documentation>Details of boundary and retaining walls that may be present in the Property.</xs:documentation>
170
- </xs:annotation>
171
- <xs:all>
172
- <xs:element name="Identifier" type="pfdt:IDString"/>
173
- <xs:element name="Description" type="pfdt:Sentence">
174
- <xs:annotation>
175
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
176
- </xs:documentation>
177
- </xs:annotation>
178
- </xs:element>
179
- <xs:element name="Justification" type="pfdt:Sentence"/>
180
- </xs:all>
181
- </xs:complexType>
182
- <xs:element name="Other-Grounds" type="Other-Grounds"/>
183
- <xs:complexType name="Other-Grounds">
184
- <xs:all>
185
- <xs:element name="Identifier" type="pfdt:IDString"/>
186
- <xs:element name="Description" type="pfdt:Sentence">
187
- <xs:annotation>
188
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
189
- </xs:documentation>
190
- </xs:annotation>
191
- </xs:element>
192
- <xs:element name="Justification" type="pfdt:Sentence"/>
193
- </xs:all>
194
- </xs:complexType>
195
- <xs:element name="Detached-Conservatory" type="Detached-Conservatory"/>
196
- <xs:complexType name="Detached-Conservatory">
197
- <xs:all>
198
- <xs:element name="Identifier" type="pfdt:IDString"/>
199
- <xs:element name="Description" type="pfdt:Sentence">
200
- <xs:annotation>
201
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
202
- </xs:documentation>
203
- </xs:annotation>
204
- </xs:element>
205
- <xs:element name="Justification" type="pfdt:Sentence"/>
206
- </xs:all>
207
- </xs:complexType>
208
- <xs:element name="Grounds" type="Grounds"/>
209
- <xs:complexType name="Grounds">
210
- <xs:choice maxOccurs="unbounded">
211
- <xs:element name="Boundary-Wall" type="Boundary-Wall"/>
212
- <xs:element name="Car-Port" type="Car-Port"/>
213
- <xs:element name="Detached-Conservatory" type="Detached-Conservatory"/>
214
- <xs:element name="Garage" type="Garage"/>
215
- <xs:element name="Other-Grounds" type="Other-Grounds"/>
216
- <xs:element name="Outbuilding" type="Outbuilding"/>
217
- <xs:element name="Paved-Area" type="Paved-Area"/>
218
- <xs:element name="Shared-Facility" type="Shared-Facility"/>
219
- <xs:element name="Gardens" type="Gardens"/>
220
- </xs:choice>
221
- </xs:complexType>
222
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" version="LIG-16.0">
3
+ <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
5
+ <xs:element name="Garden" type="Garden"/>
6
+ <xs:complexType name="Garden">
7
+ <xs:all>
8
+ <xs:element name="Location" type="GardenLocationCode">
9
+ <xs:annotation>
10
+ <xs:documentation>The location of the garden relative to the main building of the Property - taken from a pre-defined list of values.</xs:documentation>
11
+ </xs:annotation>
12
+ </xs:element>
13
+ <xs:element name="Garden-Type" type="GardenTypeCode">
14
+ <xs:annotation>
15
+ <xs:documentation>The type of garden attached to the property</xs:documentation>
16
+ </xs:annotation>
17
+ </xs:element>
18
+ </xs:all>
19
+ </xs:complexType>
20
+ <xs:element name="Grounds-Feature" type="Grounds-Feature"/>
21
+ <xs:complexType name="Grounds-Feature">
22
+ <xs:annotation>
23
+ <xs:documentation>A tract of land, forming part of the Property, that has been cleared or developed for a particular purpose such as a Garden or Garage.
24
+
25
+ Each Grounds Feature provides a summary of the general condition of any garden walls, fences, and permanent outbuildings. Conservatories with translucent or clear roofs attached to the main buildings are treated as outbuildings, as are garages and permanent store sheds.
26
+
27
+ Buildings containing swimming pools and sports facilities are also treated as outbuildings, but the Home Inspector does not report on the leisure facilities, such as the pool itself and its equipment.
28
+
29
+ To inspect these areas the Home Inspector walked around the grounds. </xs:documentation>
30
+ </xs:annotation>
31
+ <xs:all>
32
+ <xs:element name="Identifier" type="pfdt:IDString"/>
33
+ <xs:element name="Description" type="pfdt:Sentence">
34
+ <xs:annotation>
35
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
36
+ </xs:documentation>
37
+ </xs:annotation>
38
+ </xs:element>
39
+ <xs:element name="Justification" type="pfdt:Sentence"/>
40
+ </xs:all>
41
+ </xs:complexType>
42
+ <xs:element name="Gardens" type="Gardens"/>
43
+ <xs:complexType name="Gardens">
44
+ <xs:sequence>
45
+ <xs:element name="Identifier" type="pfdt:IDString"/>
46
+ <xs:element name="Description" type="pfdt:Sentence">
47
+ <xs:annotation>
48
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
49
+ </xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="Justification" type="pfdt:Sentence"/>
53
+ <xs:element name="OverOneAcre" type="pfdt:Flag">
54
+ <xs:annotation>
55
+ <xs:documentation>Indicates whether the total gardens are in excess of one acre or not.</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Garden" type="Garden" minOccurs="0" maxOccurs="unbounded"/>
59
+ </xs:sequence>
60
+ </xs:complexType>
61
+ <xs:element name="Paved-Area" type="Paved-Area"/>
62
+ <xs:complexType name="Paved-Area">
63
+ <xs:all>
64
+ <xs:element name="Identifier" type="pfdt:IDString"/>
65
+ <xs:element name="Description" type="pfdt:Sentence">
66
+ <xs:annotation>
67
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
68
+ </xs:documentation>
69
+ </xs:annotation>
70
+ </xs:element>
71
+ <xs:element name="Justification" type="pfdt:Sentence"/>
72
+ </xs:all>
73
+ </xs:complexType>
74
+ <xs:element name="Car-Port" type="Car-Port"/>
75
+ <xs:complexType name="Car-Port">
76
+ <xs:all>
77
+ <xs:element name="Identifier" type="pfdt:IDString"/>
78
+ <xs:element name="Description" type="pfdt:Sentence">
79
+ <xs:annotation>
80
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
81
+ </xs:documentation>
82
+ </xs:annotation>
83
+ </xs:element>
84
+ <xs:element name="Justification" type="pfdt:Sentence"/>
85
+ <xs:element name="Carport-Type" type="CarPortTypeCode">
86
+ <xs:annotation>
87
+ <xs:documentation>The type of car parking allocated to the property</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ <xs:element name="Allocated-Spaces" type="GarageSizeTypeCode">
91
+ <xs:annotation>
92
+ <xs:documentation>Number of car parking spaces within the car port allocated to the Property. A car Port may be shared by two or more properties therefore not all available spaces may be for the sole use of the Property.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="Location" type="CarPortLocationCode">
96
+ <xs:annotation>
97
+ <xs:documentation>Describes the location of the Car Port e.g. attached to Property, detached etc.</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ </xs:all>
101
+ </xs:complexType>
102
+ <xs:element name="Garage" type="Garage"/>
103
+ <xs:complexType name="Garage">
104
+ <xs:all>
105
+ <xs:element name="Identifier" type="pfdt:IDString"/>
106
+ <xs:element name="Description" type="pfdt:Sentence">
107
+ <xs:annotation>
108
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
109
+ </xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ <xs:element name="Justification" type="pfdt:Sentence"/>
113
+ <xs:element name="Garage-Size" type="GarageSizeTypeCode">
114
+ <xs:annotation>
115
+ <xs:documentation>The nominal size of the garage expressed as the number of vehicles it will contain e.g. "single", "double" etc.</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:element>
118
+ <xs:element name="Location" type="GarageLocationCode">
119
+ <xs:annotation>
120
+ <xs:documentation>The location of the garage relative to the main building e.g. attached or detached</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:element>
123
+ </xs:all>
124
+ </xs:complexType>
125
+ <xs:element name="Outbuilding" type="Outbuilding"/>
126
+ <xs:complexType name="Outbuilding">
127
+ <xs:annotation>
128
+ <xs:documentation>Any other non-Habitable Building that is associated with, but separate from, the main building such as a store-room. Excludes Garages and Conservatories which are separately detailed.</xs:documentation>
129
+ </xs:annotation>
130
+ <xs:all>
131
+ <xs:element name="Identifier" type="pfdt:IDString"/>
132
+ <xs:element name="Description" type="pfdt:Sentence">
133
+ <xs:annotation>
134
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
135
+ </xs:documentation>
136
+ </xs:annotation>
137
+ </xs:element>
138
+ <xs:element name="Justification" type="pfdt:Sentence"/>
139
+ <xs:element name="Outbuilding-Count" type="pfdt:Count">
140
+ <xs:annotation>
141
+ <xs:documentation>Number of outbuilding present in the property grounds</xs:documentation>
142
+ </xs:annotation>
143
+ </xs:element>
144
+ <xs:element name="Outbuilding-Use" type="pfdt:Sentence">
145
+ <xs:annotation>
146
+ <xs:documentation>Describes the type of each Outbuilding identifying its apparent use e.g. "Playhouse". Where there are multiple Other Outbuildings then the Outbuilding Types are entered as a comma separated list e.g. "Playhouse, Swimming Pool".
147
+
148
+ Being nouns the Outbuilding Types should of course be entered in the language that the overall report is being presented in.</xs:documentation>
149
+ </xs:annotation>
150
+ </xs:element>
151
+ </xs:all>
152
+ </xs:complexType>
153
+ <xs:element name="Shared-Facility" type="Shared-Facility"/>
154
+ <xs:complexType name="Shared-Facility">
155
+ <xs:all>
156
+ <xs:element name="Identifier" type="pfdt:IDString"/>
157
+ <xs:element name="Description" type="pfdt:Sentence">
158
+ <xs:annotation>
159
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
160
+ </xs:documentation>
161
+ </xs:annotation>
162
+ </xs:element>
163
+ <xs:element name="Justification" type="pfdt:Sentence"/>
164
+ </xs:all>
165
+ </xs:complexType>
166
+ <xs:element name="Boundary-Wall" type="Boundary-Wall"/>
167
+ <xs:complexType name="Boundary-Wall">
168
+ <xs:annotation>
169
+ <xs:documentation>Details of boundary and retaining walls that may be present in the Property.</xs:documentation>
170
+ </xs:annotation>
171
+ <xs:all>
172
+ <xs:element name="Identifier" type="pfdt:IDString"/>
173
+ <xs:element name="Description" type="pfdt:Sentence">
174
+ <xs:annotation>
175
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
176
+ </xs:documentation>
177
+ </xs:annotation>
178
+ </xs:element>
179
+ <xs:element name="Justification" type="pfdt:Sentence"/>
180
+ </xs:all>
181
+ </xs:complexType>
182
+ <xs:element name="Other-Grounds" type="Other-Grounds"/>
183
+ <xs:complexType name="Other-Grounds">
184
+ <xs:all>
185
+ <xs:element name="Identifier" type="pfdt:IDString"/>
186
+ <xs:element name="Description" type="pfdt:Sentence">
187
+ <xs:annotation>
188
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
189
+ </xs:documentation>
190
+ </xs:annotation>
191
+ </xs:element>
192
+ <xs:element name="Justification" type="pfdt:Sentence"/>
193
+ </xs:all>
194
+ </xs:complexType>
195
+ <xs:element name="Detached-Conservatory" type="Detached-Conservatory"/>
196
+ <xs:complexType name="Detached-Conservatory">
197
+ <xs:all>
198
+ <xs:element name="Identifier" type="pfdt:IDString"/>
199
+ <xs:element name="Description" type="pfdt:Sentence">
200
+ <xs:annotation>
201
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
202
+ </xs:documentation>
203
+ </xs:annotation>
204
+ </xs:element>
205
+ <xs:element name="Justification" type="pfdt:Sentence"/>
206
+ </xs:all>
207
+ </xs:complexType>
208
+ <xs:element name="Grounds" type="Grounds"/>
209
+ <xs:complexType name="Grounds">
210
+ <xs:choice maxOccurs="unbounded">
211
+ <xs:element name="Boundary-Wall" type="Boundary-Wall"/>
212
+ <xs:element name="Car-Port" type="Car-Port"/>
213
+ <xs:element name="Detached-Conservatory" type="Detached-Conservatory"/>
214
+ <xs:element name="Garage" type="Garage"/>
215
+ <xs:element name="Other-Grounds" type="Other-Grounds"/>
216
+ <xs:element name="Outbuilding" type="Outbuilding"/>
217
+ <xs:element name="Paved-Area" type="Paved-Area"/>
218
+ <xs:element name="Shared-Facility" type="Shared-Facility"/>
219
+ <xs:element name="Gardens" type="Gardens"/>
220
+ </xs:choice>
221
+ </xs:complexType>
222
+ </xs:schema>