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,298 +1,298 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
3
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
4
- <xs:annotation>
5
- <xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
6
- </xs:annotation>
7
- <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
8
- <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
9
- <xs:element name="Risk-Assessment" type="Risk-Assessment"/>
10
- <xs:complexType name="Risk-Assessment">
11
- <xs:annotation>
12
- <xs:documentation>Part of a Home Condition Report identifying, in the Home Inspectors opinion, the types of risks that may affect the value of the inspected property or place restrictions on the use of the inspected property.</xs:documentation>
13
- </xs:annotation>
14
- <xs:all>
15
- <xs:element name="Conveyancing-Risks" type="Conveyancing-Risks" minOccurs="0"/>
16
- <xs:element name="Environmental-Risks" type="Environmental-Risks" minOccurs="0"/>
17
- <xs:element name="Health-Risks" type="Health-Risks" minOccurs="0"/>
18
- </xs:all>
19
- </xs:complexType>
20
- <xs:element name="Conveyancing-Risks" type="Conveyancing-Risks"/>
21
- <xs:complexType name="Conveyancing-Risks">
22
- <xs:choice maxOccurs="unbounded">
23
- <xs:element name="Highway-Adoption-Risk" type="HighwayAdoptionRiskType" minOccurs="0">
24
- <xs:annotation>
25
- <xs:documentation>Indicates whether the Home Inspector believes that there is a risk of the Highways or Footpaths not being adopted.
26
-
27
- Not being adopted means that the maintenance cost of the road or footpath must be carried by the Owners of the Properties adjoining the highway or footpath.</xs:documentation>
28
- </xs:annotation>
29
- </xs:element>
30
- <xs:element name="Statutory-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
31
- <xs:annotation>
32
- <xs:documentation>A description of the alteration that the Home Inspector believes required a statutory consent to be given.</xs:documentation>
33
- </xs:annotation>
34
- </xs:element>
35
- <xs:element name="Freehold-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
36
- <xs:annotation>
37
- <xs:documentation>A description of the alteration that the Home Inspectors believes required a Freehold Owner Consent to have been obtained.</xs:documentation>
38
- </xs:annotation>
39
- </xs:element>
40
- <xs:element name="Flying-Freehold-Risk" type="pfdt:Flag" minOccurs="0">
41
- <xs:annotation>
42
- <xs:documentation>Indicates that the Home Inspector believes that their may be some risk with Flying Freeholds hat may be associated with the Property.</xs:documentation>
43
- </xs:annotation>
44
- </xs:element>
45
- <xs:element name="Mining-Risk" type="MiningTypeCode" minOccurs="0">
46
- <xs:annotation>
47
- <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to Mining rights in the land.</xs:documentation>
48
- </xs:annotation>
49
- </xs:element>
50
- <xs:element name="Rights-Of-Way-Risk" type="RightsOfWayRiskType" minOccurs="0" maxOccurs="unbounded">
51
- <xs:annotation>
52
- <xs:documentation>Details of any Rights of Way that the Home Inspector believes encroach on the Property.</xs:documentation>
53
- </xs:annotation>
54
- </xs:element>
55
- <xs:element name="Boundary-Risk" type="pfdt:Sentence" minOccurs="0">
56
- <xs:annotation>
57
- <xs:documentation>Indicates that the Home Inspector believes that there may be some risk associated with the boundaries (including Party Walls) of the Property.</xs:documentation>
58
- </xs:annotation>
59
- </xs:element>
60
- <xs:element name="Easements-Risk" type="EasementsRiskType" minOccurs="0" maxOccurs="unbounded">
61
- <xs:annotation>
62
- <xs:documentation>Details of any easements that the Home Inspector believes relate to the Property.</xs:documentation>
63
- </xs:annotation>
64
- </xs:element>
65
- <xs:element name="Structural-Repairs-Risk" type="StructuralWorkRiskType" minOccurs="0">
66
- <xs:annotation>
67
- <xs:documentation>Indicates that the Home Inspector believes that there may be some risk with some of the structural repairs that may previously have been carried out on the Property.</xs:documentation>
68
- </xs:annotation>
69
- </xs:element>
70
- <xs:element name="Property-Warranty-Risk" type="PropertyWarrantyCode" minOccurs="0">
71
- <xs:annotation>
72
- <xs:documentation>Identifies the type of property warranty that the Home Inspector believes is covering the entire property such as an NHBC Buildmark Certificate.</xs:documentation>
73
- </xs:annotation>
74
- </xs:element>
75
- <xs:element name="Building-Insurance-Risk" type="pfdt:Flag" minOccurs="0">
76
- <xs:annotation>
77
- <xs:documentation>Indicates that the Home Inspector believes that their may be some risk with on-going claims against the Property's Building Insurance.</xs:documentation>
78
- </xs:annotation>
79
- </xs:element>
80
- <xs:element name="Tree-Preservation-Risk" type="TreeLocationCode" minOccurs="0">
81
- <xs:annotation>
82
- <xs:documentation>Indicates that the Home Inspector believes that there may be some risk of Tree Preservation Orders affecting the Property.</xs:documentation>
83
- </xs:annotation>
84
- </xs:element>
85
- <xs:element name="Property-Let-Risk" type="pfdt:Flag" minOccurs="0">
86
- <xs:annotation>
87
- <xs:documentation>Indicates that </xs:documentation>
88
- </xs:annotation>
89
- </xs:element>
90
- <xs:element name="Radon-Gas-Risk" type="pfdt:Flag">
91
- <xs:annotation>
92
- <xs:documentation>Indicates that the property is in an area where Radon gas is know yto occur.</xs:documentation>
93
- </xs:annotation>
94
- </xs:element>
95
- <xs:element name="Shared-Parts-Repaired" type="pfdt:Sentence" minOccurs="0">
96
- <xs:annotation>
97
- <xs:documentation>Describes any repairs to shared parts that may have been carried out.</xs:documentation>
98
- </xs:annotation>
99
- </xs:element>
100
- </xs:choice>
101
- </xs:complexType>
102
- <xs:element name="Environmental-Risks" type="Environmental-Risks"/>
103
- <xs:complexType name="Environmental-Risks">
104
- <xs:choice maxOccurs="unbounded">
105
- <xs:element name="Contamination-Risk" type="ContaminationRiskType" minOccurs="0">
106
- <xs:annotation>
107
- <xs:documentation>Indicates whether the Home Inspector believes that there is an existing risk of contamination to the land or property.</xs:documentation>
108
- </xs:annotation>
109
- </xs:element>
110
- <xs:element name="Flooding-Risk" type="FloodingRiskType" minOccurs="0">
111
- <xs:annotation>
112
- <xs:documentation>Indicates whether the Home Inspector believes that there is a risk of flooding of the property in the future.</xs:documentation>
113
- </xs:annotation>
114
- </xs:element>
115
- </xs:choice>
116
- </xs:complexType>
117
- <xs:element name="Health-Risks" type="Health-Risks"/>
118
- <xs:complexType name="Health-Risks">
119
- <xs:choice maxOccurs="unbounded">
120
- <xs:element name="Escape-Windows-Risk" type="EscapeWindowLocationCode" minOccurs="0" maxOccurs="unbounded">
121
- <xs:annotation>
122
- <xs:documentation>Location where the Home Inspector thinks the lack of an escape window poses a fire risk.</xs:documentation>
123
- </xs:annotation>
124
- </xs:element>
125
- <xs:element name="Fire-Control-Risk" type="pfdt:Flag" minOccurs="0" maxOccurs="unbounded">
126
- <xs:annotation>
127
- <xs:documentation>Indicates that the Home Inspector believes that there are inadequate measures to control the spread of fire.</xs:documentation>
128
- </xs:annotation>
129
- </xs:element>
130
- <xs:element name="No-Fire-Doors-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded"/>
131
- <xs:element name="Safety-Glass-Risk" type="SafetyGlassType" minOccurs="0" maxOccurs="unbounded"/>
132
- <xs:element name="Gas-Leak-Detected" type="GasLeakType" minOccurs="0" maxOccurs="unbounded">
133
- <xs:annotation>
134
- <xs:documentation>Indicates that the Home inspector believes that there is a gas leak in the property
135
- </xs:documentation>
136
- </xs:annotation>
137
- </xs:element>
138
- <xs:element name="Handrail-Risk" type="HandrailRiskCode" minOccurs="0" maxOccurs="unbounded">
139
- <xs:annotation>
140
- <xs:documentation>Identifies where the Home Inspector believes a lack of hand-rails may be present and health risk.</xs:documentation>
141
- </xs:annotation>
142
- </xs:element>
143
- <xs:element name="Unsafe-Fitting" type="UnsafeFittingsCode" minOccurs="0" maxOccurs="unbounded">
144
- <xs:annotation>
145
- <xs:documentation>indicates the type of unsafe fittings that may be present at the property.</xs:documentation>
146
- </xs:annotation>
147
- </xs:element>
148
- <xs:element name="Untested-Service" type="UntestedServiceCode" minOccurs="0" maxOccurs="unbounded">
149
- <xs:annotation>
150
- <xs:documentation>Indicates appliances and services that present a safety risk because they have not been recently tested.</xs:documentation>
151
- </xs:annotation>
152
- </xs:element>
153
- <xs:element name="Unsafe-Room" type="UnsafeRoomType" minOccurs="0" maxOccurs="unbounded"/>
154
- <xs:element name="Nest-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded">
155
- <xs:annotation>
156
- <xs:documentation>Location of the Bees / Wasp Hornets nest if one is present at the property.</xs:documentation>
157
- </xs:annotation>
158
- </xs:element>
159
- <xs:element name="Flagged-Health-Risk" type="FlaggedHealthRiskCode" minOccurs="0" maxOccurs="unbounded">
160
- <xs:annotation>
161
- <xs:documentation>Identifies health risks that the inspector believes may exist at the property</xs:documentation>
162
- </xs:annotation>
163
- </xs:element>
164
- </xs:choice>
165
- </xs:complexType>
166
- <xs:element name="FloodingRiskType" type="FloodingRiskType"/>
167
- <xs:complexType name="FloodingRiskType">
168
- <xs:annotation>
169
- <xs:documentation>Details of any flooding risk that may affect a property</xs:documentation>
170
- </xs:annotation>
171
- <xs:all>
172
- <xs:element name="Flooding-Category" type="FloodingRiskCode">
173
- <xs:annotation>
174
- <xs:documentation>The type of flooding that might occur</xs:documentation>
175
- </xs:annotation>
176
- </xs:element>
177
- <xs:element name="Location" type="FloodingLocationCode"/>
178
- </xs:all>
179
- </xs:complexType>
180
- <xs:element name="RightsOfWayRiskType" type="RightsOfWayRiskType"/>
181
- <xs:complexType name="RightsOfWayRiskType">
182
- <xs:all>
183
- <xs:element name="RoW-Access" type="RightOfWayAccessCode">
184
- <xs:annotation>
185
- <xs:documentation>Identifies the type of access for the Right of Way e.g. Shared or Public.</xs:documentation>
186
- </xs:annotation>
187
- </xs:element>
188
- <xs:element name="RoW-Type" type="RightOfWayTypeCode">
189
- <xs:annotation>
190
- <xs:documentation>The type of Right of Way e.g. Bridleway or Footpath</xs:documentation>
191
- </xs:annotation>
192
- </xs:element>
193
- </xs:all>
194
- </xs:complexType>
195
- <xs:element name="EasementsRiskType" type="EasementsRiskType"/>
196
- <xs:complexType name="EasementsRiskType">
197
- <xs:all>
198
- <xs:element name="Location" type="EasementLocationCode"/>
199
- <xs:element name="Easement-Type" type="EasementTypeCode"/>
200
- </xs:all>
201
- </xs:complexType>
202
- <xs:element name="HighwayAdoptionRiskType" type="HighwayAdoptionRiskType"/>
203
- <xs:complexType name="HighwayAdoptionRiskType">
204
- <xs:all>
205
- <xs:element name="Adopted-Scope" type="AdoptedStatusLocationCode">
206
- <xs:annotation>
207
- <xs:documentation>Identifies whether it is the roads, footpaths or both that at adopted.</xs:documentation>
208
- </xs:annotation>
209
- </xs:element>
210
- <xs:element name="Adopted-Status" type="AdoptedStatusCode">
211
- <xs:annotation>
212
- <xs:documentation>Identifies the adopted status of the roads and/or footpaths.</xs:documentation>
213
- </xs:annotation>
214
- </xs:element>
215
- <xs:element name="Location" type="pfdt:Sentence" minOccurs="0">
216
- <xs:annotation>
217
- <xs:documentation>Text description of the location of the unmade roads e.g. "North, South and East", "Front", "Front and Sides" etc.
218
- It is a sentence rather than an enumerated domain because the possible values and combinations required to described the standard scenarios are excessively large.</xs:documentation>
219
- </xs:annotation>
220
- </xs:element>
221
- </xs:all>
222
- </xs:complexType>
223
- <xs:element name="StructuralWorkRiskType" type="StructuralWorkRiskType"/>
224
- <xs:complexType name="StructuralWorkRiskType">
225
- <xs:all>
226
- <xs:element name="Warranty" type="StructuralWarrantyCode">
227
- <xs:annotation>
228
- <xs:documentation>Identifies the type of warranty that applies to the structural work that was carried out.</xs:documentation>
229
- </xs:annotation>
230
- </xs:element>
231
- <xs:element name="Work-Type" type="StructuralWorkCode">
232
- <xs:annotation>
233
- <xs:documentation>Identifies the type of Structural Work that was carried out.</xs:documentation>
234
- </xs:annotation>
235
- </xs:element>
236
- <xs:element name="Other-Work-Description" type="pfdt:Sentence" minOccurs="0">
237
- <xs:annotation>
238
- <xs:documentation>Description of the other work that was carried out if Work-Type = 'other'.</xs:documentation>
239
- </xs:annotation>
240
- </xs:element>
241
- <xs:element name="Work-Scope" type="StructuralWorkScopeCode">
242
- <xs:annotation>
243
- <xs:documentation>Identifies the scope of the building that was affected by the structural work that was carried out e.g. whole building</xs:documentation>
244
- </xs:annotation>
245
- </xs:element>
246
- </xs:all>
247
- </xs:complexType>
248
- <xs:element name="ContaminationRiskType" type="ContaminationRiskType"/>
249
- <xs:complexType name="ContaminationRiskType">
250
- <xs:all>
251
- <xs:element name="Location" type="ContaminationLocationCode">
252
- <xs:annotation>
253
- <xs:documentation>Identifies the location of the contamination risk relative to the Property.</xs:documentation>
254
- </xs:annotation>
255
- </xs:element>
256
- </xs:all>
257
- </xs:complexType>
258
- <xs:element name="UnsafeRoomType" type="UnsafeRoomType"/>
259
- <xs:complexType name="UnsafeRoomType">
260
- <xs:all>
261
- <xs:element name="Location" type="UnsafeRoomCode">
262
- <xs:annotation>
263
- <xs:documentation>Identifies the location of the suspected unsafe room.</xs:documentation>
264
- </xs:annotation>
265
- </xs:element>
266
- <xs:element name="Reason" type="UnsafeRoomReasonCode">
267
- <xs:annotation>
268
- <xs:documentation>Identifies the reason that the Home Inspector suspects the room is unsafe to live in.</xs:documentation>
269
- </xs:annotation>
270
- </xs:element>
271
- </xs:all>
272
- </xs:complexType>
273
- <xs:element name="GasLeakType" type="GasLeakType"/>
274
- <xs:complexType name="GasLeakType">
275
- <xs:all>
276
- <xs:element name="InformedPerson" type="GasLeakInformedCode">
277
- <xs:annotation>
278
- <xs:documentation>Identifies who the Home Inspector informed about the suspected Gas Leak</xs:documentation>
279
- </xs:annotation>
280
- </xs:element>
281
- <xs:element name="Location" type="GasLeakLocationCode">
282
- <xs:annotation>
283
- <xs:documentation>Identifies the location of the suspected Gas Leak.</xs:documentation>
284
- </xs:annotation>
285
- </xs:element>
286
- </xs:all>
287
- </xs:complexType>
288
- <xs:element name="SafetyGlassType" type="SafetyGlassType"/>
289
- <xs:complexType name="SafetyGlassType">
290
- <xs:sequence>
291
- <xs:element name="Location" type="pfdt:Sentence" maxOccurs="unbounded">
292
- <xs:annotation>
293
- <xs:documentation>The location of the property feature that the Home Inspector believes should have safety glass installed.</xs:documentation>
294
- </xs:annotation>
295
- </xs:element>
296
- </xs:sequence>
297
- </xs:complexType>
298
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2007 rel. 3 U (http://www.altova.com) by Graeme McLean (Bridgeall Ltd.) -->
3
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" xmlns:pfdt="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-16.1">
4
+ <xs:annotation>
5
+ <xs:documentation>© Department of Communities and Local Government. © Crown copyright, 2007. The Home Condition Report logo and associated wording is a registered trade mark - any unlicensed use is not permitted. Copyright in the typographical arrangement of this document rests with the Crown. This publication, excluding logos, may be reproduced free of charge in any format or medium for research, private study, for internal circulation within an organisation or by registered scheme users. This is subject to it being reproduced accurately and not used in a misleading context. </xs:documentation>
6
+ </xs:annotation>
7
+ <xs:import namespace="http://www.est.org.uk/epc/estcrV1/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
8
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
9
+ <xs:element name="Risk-Assessment" type="Risk-Assessment"/>
10
+ <xs:complexType name="Risk-Assessment">
11
+ <xs:annotation>
12
+ <xs:documentation>Part of a Home Condition Report identifying, in the Home Inspectors opinion, the types of risks that may affect the value of the inspected property or place restrictions on the use of the inspected property.</xs:documentation>
13
+ </xs:annotation>
14
+ <xs:all>
15
+ <xs:element name="Conveyancing-Risks" type="Conveyancing-Risks" minOccurs="0"/>
16
+ <xs:element name="Environmental-Risks" type="Environmental-Risks" minOccurs="0"/>
17
+ <xs:element name="Health-Risks" type="Health-Risks" minOccurs="0"/>
18
+ </xs:all>
19
+ </xs:complexType>
20
+ <xs:element name="Conveyancing-Risks" type="Conveyancing-Risks"/>
21
+ <xs:complexType name="Conveyancing-Risks">
22
+ <xs:choice maxOccurs="unbounded">
23
+ <xs:element name="Highway-Adoption-Risk" type="HighwayAdoptionRiskType" minOccurs="0">
24
+ <xs:annotation>
25
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a risk of the Highways or Footpaths not being adopted.
26
+
27
+ Not being adopted means that the maintenance cost of the road or footpath must be carried by the Owners of the Properties adjoining the highway or footpath.</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:element>
30
+ <xs:element name="Statutory-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
31
+ <xs:annotation>
32
+ <xs:documentation>A description of the alteration that the Home Inspector believes required a statutory consent to be given.</xs:documentation>
33
+ </xs:annotation>
34
+ </xs:element>
35
+ <xs:element name="Freehold-Consents-Risk" type="pfdt:Sentence" minOccurs="0">
36
+ <xs:annotation>
37
+ <xs:documentation>A description of the alteration that the Home Inspectors believes required a Freehold Owner Consent to have been obtained.</xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ <xs:element name="Flying-Freehold-Risk" type="pfdt:Flag" minOccurs="0">
41
+ <xs:annotation>
42
+ <xs:documentation>Indicates that the Home Inspector believes that their may be some risk with Flying Freeholds hat may be associated with the Property.</xs:documentation>
43
+ </xs:annotation>
44
+ </xs:element>
45
+ <xs:element name="Mining-Risk" type="MiningTypeCode" minOccurs="0">
46
+ <xs:annotation>
47
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a some risk to the Property Owner relating to Mining rights in the land.</xs:documentation>
48
+ </xs:annotation>
49
+ </xs:element>
50
+ <xs:element name="Rights-Of-Way-Risk" type="RightsOfWayRiskType" minOccurs="0" maxOccurs="unbounded">
51
+ <xs:annotation>
52
+ <xs:documentation>Details of any Rights of Way that the Home Inspector believes encroach on the Property.</xs:documentation>
53
+ </xs:annotation>
54
+ </xs:element>
55
+ <xs:element name="Boundary-Risk" type="pfdt:Sentence" minOccurs="0">
56
+ <xs:annotation>
57
+ <xs:documentation>Indicates that the Home Inspector believes that there may be some risk associated with the boundaries (including Party Walls) of the Property.</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="Easements-Risk" type="EasementsRiskType" minOccurs="0" maxOccurs="unbounded">
61
+ <xs:annotation>
62
+ <xs:documentation>Details of any easements that the Home Inspector believes relate to the Property.</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element name="Structural-Repairs-Risk" type="StructuralWorkRiskType" minOccurs="0">
66
+ <xs:annotation>
67
+ <xs:documentation>Indicates that the Home Inspector believes that there may be some risk with some of the structural repairs that may previously have been carried out on the Property.</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="Property-Warranty-Risk" type="PropertyWarrantyCode" minOccurs="0">
71
+ <xs:annotation>
72
+ <xs:documentation>Identifies the type of property warranty that the Home Inspector believes is covering the entire property such as an NHBC Buildmark Certificate.</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="Building-Insurance-Risk" type="pfdt:Flag" minOccurs="0">
76
+ <xs:annotation>
77
+ <xs:documentation>Indicates that the Home Inspector believes that their may be some risk with on-going claims against the Property's Building Insurance.</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="Tree-Preservation-Risk" type="TreeLocationCode" minOccurs="0">
81
+ <xs:annotation>
82
+ <xs:documentation>Indicates that the Home Inspector believes that there may be some risk of Tree Preservation Orders affecting the Property.</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="Property-Let-Risk" type="pfdt:Flag" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>Indicates that </xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ <xs:element name="Radon-Gas-Risk" type="pfdt:Flag">
91
+ <xs:annotation>
92
+ <xs:documentation>Indicates that the property is in an area where Radon gas is know yto occur.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="Shared-Parts-Repaired" type="pfdt:Sentence" minOccurs="0">
96
+ <xs:annotation>
97
+ <xs:documentation>Describes any repairs to shared parts that may have been carried out.</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ </xs:choice>
101
+ </xs:complexType>
102
+ <xs:element name="Environmental-Risks" type="Environmental-Risks"/>
103
+ <xs:complexType name="Environmental-Risks">
104
+ <xs:choice maxOccurs="unbounded">
105
+ <xs:element name="Contamination-Risk" type="ContaminationRiskType" minOccurs="0">
106
+ <xs:annotation>
107
+ <xs:documentation>Indicates whether the Home Inspector believes that there is an existing risk of contamination to the land or property.</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ <xs:element name="Flooding-Risk" type="FloodingRiskType" minOccurs="0">
111
+ <xs:annotation>
112
+ <xs:documentation>Indicates whether the Home Inspector believes that there is a risk of flooding of the property in the future.</xs:documentation>
113
+ </xs:annotation>
114
+ </xs:element>
115
+ </xs:choice>
116
+ </xs:complexType>
117
+ <xs:element name="Health-Risks" type="Health-Risks"/>
118
+ <xs:complexType name="Health-Risks">
119
+ <xs:choice maxOccurs="unbounded">
120
+ <xs:element name="Escape-Windows-Risk" type="EscapeWindowLocationCode" minOccurs="0" maxOccurs="unbounded">
121
+ <xs:annotation>
122
+ <xs:documentation>Location where the Home Inspector thinks the lack of an escape window poses a fire risk.</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ <xs:element name="Fire-Control-Risk" type="pfdt:Flag" minOccurs="0" maxOccurs="unbounded">
126
+ <xs:annotation>
127
+ <xs:documentation>Indicates that the Home Inspector believes that there are inadequate measures to control the spread of fire.</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:element>
130
+ <xs:element name="No-Fire-Doors-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded"/>
131
+ <xs:element name="Safety-Glass-Risk" type="SafetyGlassType" minOccurs="0" maxOccurs="unbounded"/>
132
+ <xs:element name="Gas-Leak-Detected" type="GasLeakType" minOccurs="0" maxOccurs="unbounded">
133
+ <xs:annotation>
134
+ <xs:documentation>Indicates that the Home inspector believes that there is a gas leak in the property
135
+ </xs:documentation>
136
+ </xs:annotation>
137
+ </xs:element>
138
+ <xs:element name="Handrail-Risk" type="HandrailRiskCode" minOccurs="0" maxOccurs="unbounded">
139
+ <xs:annotation>
140
+ <xs:documentation>Identifies where the Home Inspector believes a lack of hand-rails may be present and health risk.</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:element>
143
+ <xs:element name="Unsafe-Fitting" type="UnsafeFittingsCode" minOccurs="0" maxOccurs="unbounded">
144
+ <xs:annotation>
145
+ <xs:documentation>indicates the type of unsafe fittings that may be present at the property.</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:element>
148
+ <xs:element name="Untested-Service" type="UntestedServiceCode" minOccurs="0" maxOccurs="unbounded">
149
+ <xs:annotation>
150
+ <xs:documentation>Indicates appliances and services that present a safety risk because they have not been recently tested.</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:element>
153
+ <xs:element name="Unsafe-Room" type="UnsafeRoomType" minOccurs="0" maxOccurs="unbounded"/>
154
+ <xs:element name="Nest-Location" type="pfdt:Sentence" minOccurs="0" maxOccurs="unbounded">
155
+ <xs:annotation>
156
+ <xs:documentation>Location of the Bees / Wasp Hornets nest if one is present at the property.</xs:documentation>
157
+ </xs:annotation>
158
+ </xs:element>
159
+ <xs:element name="Flagged-Health-Risk" type="FlaggedHealthRiskCode" minOccurs="0" maxOccurs="unbounded">
160
+ <xs:annotation>
161
+ <xs:documentation>Identifies health risks that the inspector believes may exist at the property</xs:documentation>
162
+ </xs:annotation>
163
+ </xs:element>
164
+ </xs:choice>
165
+ </xs:complexType>
166
+ <xs:element name="FloodingRiskType" type="FloodingRiskType"/>
167
+ <xs:complexType name="FloodingRiskType">
168
+ <xs:annotation>
169
+ <xs:documentation>Details of any flooding risk that may affect a property</xs:documentation>
170
+ </xs:annotation>
171
+ <xs:all>
172
+ <xs:element name="Flooding-Category" type="FloodingRiskCode">
173
+ <xs:annotation>
174
+ <xs:documentation>The type of flooding that might occur</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:element>
177
+ <xs:element name="Location" type="FloodingLocationCode"/>
178
+ </xs:all>
179
+ </xs:complexType>
180
+ <xs:element name="RightsOfWayRiskType" type="RightsOfWayRiskType"/>
181
+ <xs:complexType name="RightsOfWayRiskType">
182
+ <xs:all>
183
+ <xs:element name="RoW-Access" type="RightOfWayAccessCode">
184
+ <xs:annotation>
185
+ <xs:documentation>Identifies the type of access for the Right of Way e.g. Shared or Public.</xs:documentation>
186
+ </xs:annotation>
187
+ </xs:element>
188
+ <xs:element name="RoW-Type" type="RightOfWayTypeCode">
189
+ <xs:annotation>
190
+ <xs:documentation>The type of Right of Way e.g. Bridleway or Footpath</xs:documentation>
191
+ </xs:annotation>
192
+ </xs:element>
193
+ </xs:all>
194
+ </xs:complexType>
195
+ <xs:element name="EasementsRiskType" type="EasementsRiskType"/>
196
+ <xs:complexType name="EasementsRiskType">
197
+ <xs:all>
198
+ <xs:element name="Location" type="EasementLocationCode"/>
199
+ <xs:element name="Easement-Type" type="EasementTypeCode"/>
200
+ </xs:all>
201
+ </xs:complexType>
202
+ <xs:element name="HighwayAdoptionRiskType" type="HighwayAdoptionRiskType"/>
203
+ <xs:complexType name="HighwayAdoptionRiskType">
204
+ <xs:all>
205
+ <xs:element name="Adopted-Scope" type="AdoptedStatusLocationCode">
206
+ <xs:annotation>
207
+ <xs:documentation>Identifies whether it is the roads, footpaths or both that at adopted.</xs:documentation>
208
+ </xs:annotation>
209
+ </xs:element>
210
+ <xs:element name="Adopted-Status" type="AdoptedStatusCode">
211
+ <xs:annotation>
212
+ <xs:documentation>Identifies the adopted status of the roads and/or footpaths.</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:element>
215
+ <xs:element name="Location" type="pfdt:Sentence" minOccurs="0">
216
+ <xs:annotation>
217
+ <xs:documentation>Text description of the location of the unmade roads e.g. "North, South and East", "Front", "Front and Sides" etc.
218
+ It is a sentence rather than an enumerated domain because the possible values and combinations required to described the standard scenarios are excessively large.</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ </xs:all>
222
+ </xs:complexType>
223
+ <xs:element name="StructuralWorkRiskType" type="StructuralWorkRiskType"/>
224
+ <xs:complexType name="StructuralWorkRiskType">
225
+ <xs:all>
226
+ <xs:element name="Warranty" type="StructuralWarrantyCode">
227
+ <xs:annotation>
228
+ <xs:documentation>Identifies the type of warranty that applies to the structural work that was carried out.</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:element>
231
+ <xs:element name="Work-Type" type="StructuralWorkCode">
232
+ <xs:annotation>
233
+ <xs:documentation>Identifies the type of Structural Work that was carried out.</xs:documentation>
234
+ </xs:annotation>
235
+ </xs:element>
236
+ <xs:element name="Other-Work-Description" type="pfdt:Sentence" minOccurs="0">
237
+ <xs:annotation>
238
+ <xs:documentation>Description of the other work that was carried out if Work-Type = 'other'.</xs:documentation>
239
+ </xs:annotation>
240
+ </xs:element>
241
+ <xs:element name="Work-Scope" type="StructuralWorkScopeCode">
242
+ <xs:annotation>
243
+ <xs:documentation>Identifies the scope of the building that was affected by the structural work that was carried out e.g. whole building</xs:documentation>
244
+ </xs:annotation>
245
+ </xs:element>
246
+ </xs:all>
247
+ </xs:complexType>
248
+ <xs:element name="ContaminationRiskType" type="ContaminationRiskType"/>
249
+ <xs:complexType name="ContaminationRiskType">
250
+ <xs:all>
251
+ <xs:element name="Location" type="ContaminationLocationCode">
252
+ <xs:annotation>
253
+ <xs:documentation>Identifies the location of the contamination risk relative to the Property.</xs:documentation>
254
+ </xs:annotation>
255
+ </xs:element>
256
+ </xs:all>
257
+ </xs:complexType>
258
+ <xs:element name="UnsafeRoomType" type="UnsafeRoomType"/>
259
+ <xs:complexType name="UnsafeRoomType">
260
+ <xs:all>
261
+ <xs:element name="Location" type="UnsafeRoomCode">
262
+ <xs:annotation>
263
+ <xs:documentation>Identifies the location of the suspected unsafe room.</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:element>
266
+ <xs:element name="Reason" type="UnsafeRoomReasonCode">
267
+ <xs:annotation>
268
+ <xs:documentation>Identifies the reason that the Home Inspector suspects the room is unsafe to live in.</xs:documentation>
269
+ </xs:annotation>
270
+ </xs:element>
271
+ </xs:all>
272
+ </xs:complexType>
273
+ <xs:element name="GasLeakType" type="GasLeakType"/>
274
+ <xs:complexType name="GasLeakType">
275
+ <xs:all>
276
+ <xs:element name="InformedPerson" type="GasLeakInformedCode">
277
+ <xs:annotation>
278
+ <xs:documentation>Identifies who the Home Inspector informed about the suspected Gas Leak</xs:documentation>
279
+ </xs:annotation>
280
+ </xs:element>
281
+ <xs:element name="Location" type="GasLeakLocationCode">
282
+ <xs:annotation>
283
+ <xs:documentation>Identifies the location of the suspected Gas Leak.</xs:documentation>
284
+ </xs:annotation>
285
+ </xs:element>
286
+ </xs:all>
287
+ </xs:complexType>
288
+ <xs:element name="SafetyGlassType" type="SafetyGlassType"/>
289
+ <xs:complexType name="SafetyGlassType">
290
+ <xs:sequence>
291
+ <xs:element name="Location" type="pfdt:Sentence" maxOccurs="unbounded">
292
+ <xs:annotation>
293
+ <xs:documentation>The location of the property feature that the Home Inspector believes should have safety glass installed.</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:element>
296
+ </xs:sequence>
297
+ </xs:complexType>
298
+ </xs:schema>