epb_view_models 2.2.21 → 2.4.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 (130) hide show
  1. checksums.yaml +4 -4
  2. data/api/schemas/data/orchestrate.json +8 -0
  3. data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
  4. data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
  5. data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
  6. data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
  7. data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
  8. data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
  9. data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
  10. data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
  11. data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
  12. data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
  13. data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
  14. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
  15. data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
  16. data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
  17. data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
  18. data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
  19. data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
  20. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  21. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  22. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
  23. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
  24. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
  25. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  26. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  27. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  28. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  29. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  30. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  31. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
  32. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
  33. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
  34. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
  35. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
  36. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  37. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
  38. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
  39. data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  40. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
  41. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
  42. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
  43. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
  44. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
  45. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
  46. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
  47. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
  48. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
  49. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
  50. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
  51. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
  52. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
  53. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
  54. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
  55. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
  56. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
  57. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
  58. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
  59. data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
  60. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
  61. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
  62. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
  63. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
  64. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
  65. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
  66. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
  67. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
  68. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
  69. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
  70. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
  71. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
  72. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
  73. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
  74. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
  75. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
  76. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
  77. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
  78. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
  79. data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
  80. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
  81. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
  82. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
  83. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  84. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
  85. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
  86. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
  87. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
  88. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
  89. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
  90. data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
  91. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
  92. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
  93. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  94. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  95. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
  96. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
  97. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
  98. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
  99. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
  100. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
  101. data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
  102. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
  103. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
  104. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
  105. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
  106. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
  107. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
  108. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
  109. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
  110. data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
  111. data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
  112. data/lib/epb_view_models/version.rb +5 -0
  113. data/lib/epb_view_models.rb +1 -3
  114. data/lib/helper/rrn_helper.rb +4 -4
  115. data/lib/view_model/cs63/common_schema.rb +18 -18
  116. data/lib/view_model/factory.rb +2 -0
  117. data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
  118. data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
  119. data/lib/view_model/rd_sap_wrapper.rb +4 -0
  120. metadata +47 -13
  121. data/.buildspec.yml +0 -13
  122. data/.gitignore +0 -19
  123. data/.rspec +0 -2
  124. data/.rubocop.yml +0 -8
  125. data/.ruby-version +0 -1
  126. data/Gemfile +0 -15
  127. data/Gemfile.lock +0 -122
  128. data/Makefile +0 -17
  129. data/Rakefile +0 -12
  130. data/epb_view_models.gemspec +0 -27
@@ -1,283 +1,283 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="DCLG-HIP" xmlns:pfdt="DCLG-HIP/BaseDataTypes" xmlns:HIP="DCLG-HIP" targetNamespace="DCLG-HIP" elementFormDefault="qualified" version="LIG-16.1">
3
- <xs:import namespace="DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
- <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
5
- <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
6
- <xs:element name="External-Feature" type="External-Feature"/>
7
- <xs:complexType name="External-Feature">
8
- <xs:annotation>
9
- <xs:documentation>Any Structural Feature that is outside, but part of, one of the Habitable Areas such as a Window or Door or Chimney Stack. Does not cover the grounds of the property.</xs:documentation>
10
- </xs:annotation>
11
- <xs:all>
12
- <xs:element name="Identifier" type="pfdt:IDString"/>
13
- <xs:element name="Condition" type="ConditionCode"/>
14
- <xs:element name="Justification" type="pfdt:Sentence">
15
- <xs:annotation>
16
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
17
-
18
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
19
-
20
- 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.
21
- </xs:documentation>
22
- </xs:annotation>
23
- </xs:element>
24
- <xs:element name="Description" type="pfdt:Sentence">
25
- <xs:annotation>
26
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
27
-
28
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
29
- </xs:annotation>
30
- </xs:element>
31
- </xs:all>
32
- </xs:complexType>
33
- <xs:element name="External-Door" type="External-Door"/>
34
- <xs:complexType name="External-Door">
35
- <xs:all>
36
- <xs:element name="Identifier" type="pfdt:IDString"/>
37
- <xs:element name="Condition" type="ConditionCode"/>
38
- <xs:element name="Justification" type="pfdt:Sentence">
39
- <xs:annotation>
40
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
41
-
42
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
43
-
44
- 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.
45
- </xs:documentation>
46
- </xs:annotation>
47
- </xs:element>
48
- <xs:element name="Description" type="pfdt:Sentence">
49
- <xs:annotation>
50
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
51
-
52
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
53
- </xs:annotation>
54
- </xs:element>
55
- </xs:all>
56
- </xs:complexType>
57
- <xs:element name="Roof-Covering" type="Roof-Covering"/>
58
- <xs:complexType name="Roof-Covering">
59
- <xs:all>
60
- <xs:element name="Identifier" type="pfdt:IDString"/>
61
- <xs:element name="Condition" type="ConditionCode"/>
62
- <xs:element name="Justification" type="pfdt:Sentence">
63
- <xs:annotation>
64
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
65
-
66
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
67
-
68
- 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.
69
- </xs:documentation>
70
- </xs:annotation>
71
- </xs:element>
72
- <xs:element name="Description" type="pfdt:Sentence">
73
- <xs:annotation>
74
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
75
-
76
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
77
- </xs:annotation>
78
- </xs:element>
79
- </xs:all>
80
- </xs:complexType>
81
- <xs:element name="Main-Wall" type="Main-Wall"/>
82
- <xs:complexType name="Main-Wall">
83
- <xs:all>
84
- <xs:element name="Identifier" type="pfdt:IDString"/>
85
- <xs:element name="Condition" type="ConditionCode"/>
86
- <xs:element name="Justification" type="pfdt:Sentence">
87
- <xs:annotation>
88
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
89
-
90
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
91
-
92
- 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.
93
- </xs:documentation>
94
- </xs:annotation>
95
- </xs:element>
96
- <xs:element name="Description" type="pfdt:Sentence">
97
- <xs:annotation>
98
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
99
-
100
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
101
- </xs:annotation>
102
- </xs:element>
103
- </xs:all>
104
- </xs:complexType>
105
- <xs:element name="Other-Detail" type="Other-Detail"/>
106
- <xs:complexType name="Other-Detail">
107
- <xs:all>
108
- <xs:element name="Identifier" type="pfdt:IDString"/>
109
- <xs:element name="Condition" type="ConditionCode"/>
110
- <xs:element name="Justification" type="pfdt:Sentence">
111
- <xs:annotation>
112
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
113
-
114
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
115
-
116
- 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.
117
- </xs:documentation>
118
- </xs:annotation>
119
- </xs:element>
120
- <xs:element name="Description" type="pfdt:Sentence">
121
- <xs:annotation>
122
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
123
-
124
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
125
- </xs:annotation>
126
- </xs:element>
127
- </xs:all>
128
- </xs:complexType>
129
- <xs:element name="Other-Woodwork" type="Other-Woodwork"/>
130
- <xs:complexType name="Other-Woodwork">
131
- <xs:all>
132
- <xs:element name="Identifier" type="pfdt:IDString"/>
133
- <xs:element name="Condition" type="ConditionCode"/>
134
- <xs:element name="Justification" type="pfdt:Sentence">
135
- <xs:annotation>
136
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
137
-
138
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
139
-
140
- 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.
141
- </xs:documentation>
142
- </xs:annotation>
143
- </xs:element>
144
- <xs:element name="Description" type="pfdt:Sentence">
145
- <xs:annotation>
146
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
147
-
148
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
149
- </xs:annotation>
150
- </xs:element>
151
- </xs:all>
152
- </xs:complexType>
153
- <xs:element name="Decoration" type="Decoration"/>
154
- <xs:complexType name="Decoration">
155
- <xs:all>
156
- <xs:element name="Identifier" type="pfdt:IDString"/>
157
- <xs:element name="Condition" type="ConditionCode"/>
158
- <xs:element name="Justification" type="pfdt:Sentence">
159
- <xs:annotation>
160
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
161
-
162
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
163
-
164
- 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.
165
- </xs:documentation>
166
- </xs:annotation>
167
- </xs:element>
168
- <xs:element name="Description" type="pfdt:Sentence">
169
- <xs:annotation>
170
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
171
-
172
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
173
- </xs:annotation>
174
- </xs:element>
175
- </xs:all>
176
- </xs:complexType>
177
- <xs:element name="Rainwater-Fittings" type="Rainwater-Fittings"/>
178
- <xs:complexType name="Rainwater-Fittings">
179
- <xs:all>
180
- <xs:element name="Identifier" type="pfdt:IDString"/>
181
- <xs:element name="Condition" type="ConditionCode"/>
182
- <xs:element name="Justification" type="pfdt:Sentence">
183
- <xs:annotation>
184
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
185
-
186
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
187
-
188
- 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.
189
- </xs:documentation>
190
- </xs:annotation>
191
- </xs:element>
192
- <xs:element name="Description" type="pfdt:Sentence">
193
- <xs:annotation>
194
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
195
-
196
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
197
- </xs:annotation>
198
- </xs:element>
199
- </xs:all>
200
- </xs:complexType>
201
- <xs:element name="Window" type="Window"/>
202
- <xs:complexType name="Window">
203
- <xs:all>
204
- <xs:element name="Identifier" type="pfdt:IDString"/>
205
- <xs:element name="Condition" type="ConditionCode"/>
206
- <xs:element name="Justification" type="pfdt:Sentence">
207
- <xs:annotation>
208
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
209
-
210
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
211
-
212
- 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.
213
- </xs:documentation>
214
- </xs:annotation>
215
- </xs:element>
216
- <xs:element name="Description" type="pfdt:Sentence">
217
- <xs:annotation>
218
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
219
-
220
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
221
- </xs:annotation>
222
- </xs:element>
223
- <xs:element name="Area" type="pfdt:Measurement">
224
- <xs:annotation>
225
- <xs:documentation>Estimated area of the window</xs:documentation>
226
- </xs:annotation>
227
- </xs:element>
228
- <xs:element name="Glazing-Age" type="SAP-GlazingTypeCode">
229
- <xs:annotation>
230
- <xs:documentation>Describes the type of glazing in the window.</xs:documentation>
231
- </xs:annotation>
232
- </xs:element>
233
- <xs:element name="Location" type="pfdt:Sentence">
234
- <xs:annotation>
235
- <xs:documentation>Describes the location of the window</xs:documentation>
236
- </xs:annotation>
237
- </xs:element>
238
- <xs:element name="Glazing-Type" type="GlazingTypeCode">
239
- <xs:annotation>
240
- <xs:documentation>Indentifies the type of Glazing installed in the window</xs:documentation>
241
- </xs:annotation>
242
- </xs:element>
243
- </xs:all>
244
- </xs:complexType>
245
- <xs:element name="Chimney-Stack" type="Chimney-Stack"/>
246
- <xs:complexType name="Chimney-Stack">
247
- <xs:all>
248
- <xs:element name="Identifier" type="pfdt:IDString"/>
249
- <xs:element name="Condition" type="ConditionCode"/>
250
- <xs:element name="Justification" type="pfdt:Sentence">
251
- <xs:annotation>
252
- <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
253
-
254
- If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
255
-
256
- 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.
257
- </xs:documentation>
258
- </xs:annotation>
259
- </xs:element>
260
- <xs:element name="Description" type="pfdt:Sentence">
261
- <xs:annotation>
262
- <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
263
-
264
- If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
265
- </xs:annotation>
266
- </xs:element>
267
- </xs:all>
268
- </xs:complexType>
269
- <xs:element name="External-Features" type="External-Features"/>
270
- <xs:complexType name="External-Features">
271
- <xs:choice maxOccurs="unbounded">
272
- <xs:element name="Chimney-Stack" type="Chimney-Stack"/>
273
- <xs:element name="Decoration" type="Decoration"/>
274
- <xs:element name="External-Door" type="External-Door"/>
275
- <xs:element name="Rainwater-Fittings" type="Rainwater-Fittings"/>
276
- <xs:element name="Main-Wall" type="Main-Wall"/>
277
- <xs:element name="Other-Detail" type="Other-Detail"/>
278
- <xs:element name="Other-Woodwork" type="Other-Woodwork"/>
279
- <xs:element name="Window" type="Window"/>
280
- <xs:element name="Roof-Covering" type="Roof-Covering"/>
281
- </xs:choice>
282
- </xs:complexType>
283
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="DCLG-HIP" xmlns:pfdt="DCLG-HIP/BaseDataTypes" xmlns:HIP="DCLG-HIP" targetNamespace="DCLG-HIP" elementFormDefault="qualified" version="LIG-16.1">
3
+ <xs:import namespace="DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
4
+ <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
5
+ <xs:include schemaLocation="../UDT/HCR-Domains.xsd"/>
6
+ <xs:element name="External-Feature" type="External-Feature"/>
7
+ <xs:complexType name="External-Feature">
8
+ <xs:annotation>
9
+ <xs:documentation>Any Structural Feature that is outside, but part of, one of the Habitable Areas such as a Window or Door or Chimney Stack. Does not cover the grounds of the property.</xs:documentation>
10
+ </xs:annotation>
11
+ <xs:all>
12
+ <xs:element name="Identifier" type="pfdt:IDString"/>
13
+ <xs:element name="Condition" type="ConditionCode"/>
14
+ <xs:element name="Justification" type="pfdt:Sentence">
15
+ <xs:annotation>
16
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
17
+
18
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
19
+
20
+ 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.
21
+ </xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ <xs:element name="Description" type="pfdt:Sentence">
25
+ <xs:annotation>
26
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
27
+
28
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ </xs:all>
32
+ </xs:complexType>
33
+ <xs:element name="External-Door" type="External-Door"/>
34
+ <xs:complexType name="External-Door">
35
+ <xs:all>
36
+ <xs:element name="Identifier" type="pfdt:IDString"/>
37
+ <xs:element name="Condition" type="ConditionCode"/>
38
+ <xs:element name="Justification" type="pfdt:Sentence">
39
+ <xs:annotation>
40
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
41
+
42
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
43
+
44
+ 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.
45
+ </xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Description" type="pfdt:Sentence">
49
+ <xs:annotation>
50
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
51
+
52
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
53
+ </xs:annotation>
54
+ </xs:element>
55
+ </xs:all>
56
+ </xs:complexType>
57
+ <xs:element name="Roof-Covering" type="Roof-Covering"/>
58
+ <xs:complexType name="Roof-Covering">
59
+ <xs:all>
60
+ <xs:element name="Identifier" type="pfdt:IDString"/>
61
+ <xs:element name="Condition" type="ConditionCode"/>
62
+ <xs:element name="Justification" type="pfdt:Sentence">
63
+ <xs:annotation>
64
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
65
+
66
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
67
+
68
+ 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.
69
+ </xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:element name="Description" type="pfdt:Sentence">
73
+ <xs:annotation>
74
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
75
+
76
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
77
+ </xs:annotation>
78
+ </xs:element>
79
+ </xs:all>
80
+ </xs:complexType>
81
+ <xs:element name="Main-Wall" type="Main-Wall"/>
82
+ <xs:complexType name="Main-Wall">
83
+ <xs:all>
84
+ <xs:element name="Identifier" type="pfdt:IDString"/>
85
+ <xs:element name="Condition" type="ConditionCode"/>
86
+ <xs:element name="Justification" type="pfdt:Sentence">
87
+ <xs:annotation>
88
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
89
+
90
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
91
+
92
+ 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.
93
+ </xs:documentation>
94
+ </xs:annotation>
95
+ </xs:element>
96
+ <xs:element name="Description" type="pfdt:Sentence">
97
+ <xs:annotation>
98
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
99
+
100
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
101
+ </xs:annotation>
102
+ </xs:element>
103
+ </xs:all>
104
+ </xs:complexType>
105
+ <xs:element name="Other-Detail" type="Other-Detail"/>
106
+ <xs:complexType name="Other-Detail">
107
+ <xs:all>
108
+ <xs:element name="Identifier" type="pfdt:IDString"/>
109
+ <xs:element name="Condition" type="ConditionCode"/>
110
+ <xs:element name="Justification" type="pfdt:Sentence">
111
+ <xs:annotation>
112
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
113
+
114
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
115
+
116
+ 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.
117
+ </xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="Description" type="pfdt:Sentence">
121
+ <xs:annotation>
122
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
123
+
124
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
125
+ </xs:annotation>
126
+ </xs:element>
127
+ </xs:all>
128
+ </xs:complexType>
129
+ <xs:element name="Other-Woodwork" type="Other-Woodwork"/>
130
+ <xs:complexType name="Other-Woodwork">
131
+ <xs:all>
132
+ <xs:element name="Identifier" type="pfdt:IDString"/>
133
+ <xs:element name="Condition" type="ConditionCode"/>
134
+ <xs:element name="Justification" type="pfdt:Sentence">
135
+ <xs:annotation>
136
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
137
+
138
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
139
+
140
+ 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.
141
+ </xs:documentation>
142
+ </xs:annotation>
143
+ </xs:element>
144
+ <xs:element name="Description" type="pfdt:Sentence">
145
+ <xs:annotation>
146
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
147
+
148
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
149
+ </xs:annotation>
150
+ </xs:element>
151
+ </xs:all>
152
+ </xs:complexType>
153
+ <xs:element name="Decoration" type="Decoration"/>
154
+ <xs:complexType name="Decoration">
155
+ <xs:all>
156
+ <xs:element name="Identifier" type="pfdt:IDString"/>
157
+ <xs:element name="Condition" type="ConditionCode"/>
158
+ <xs:element name="Justification" type="pfdt:Sentence">
159
+ <xs:annotation>
160
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
161
+
162
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
163
+
164
+ 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.
165
+ </xs:documentation>
166
+ </xs:annotation>
167
+ </xs:element>
168
+ <xs:element name="Description" type="pfdt:Sentence">
169
+ <xs:annotation>
170
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
171
+
172
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
173
+ </xs:annotation>
174
+ </xs:element>
175
+ </xs:all>
176
+ </xs:complexType>
177
+ <xs:element name="Rainwater-Fittings" type="Rainwater-Fittings"/>
178
+ <xs:complexType name="Rainwater-Fittings">
179
+ <xs:all>
180
+ <xs:element name="Identifier" type="pfdt:IDString"/>
181
+ <xs:element name="Condition" type="ConditionCode"/>
182
+ <xs:element name="Justification" type="pfdt:Sentence">
183
+ <xs:annotation>
184
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
185
+
186
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
187
+
188
+ 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.
189
+ </xs:documentation>
190
+ </xs:annotation>
191
+ </xs:element>
192
+ <xs:element name="Description" type="pfdt:Sentence">
193
+ <xs:annotation>
194
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
195
+
196
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
197
+ </xs:annotation>
198
+ </xs:element>
199
+ </xs:all>
200
+ </xs:complexType>
201
+ <xs:element name="Window" type="Window"/>
202
+ <xs:complexType name="Window">
203
+ <xs:all>
204
+ <xs:element name="Identifier" type="pfdt:IDString"/>
205
+ <xs:element name="Condition" type="ConditionCode"/>
206
+ <xs:element name="Justification" type="pfdt:Sentence">
207
+ <xs:annotation>
208
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
209
+
210
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
211
+
212
+ 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.
213
+ </xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="Description" type="pfdt:Sentence">
217
+ <xs:annotation>
218
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
219
+
220
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
221
+ </xs:annotation>
222
+ </xs:element>
223
+ <xs:element name="Area" type="pfdt:Measurement">
224
+ <xs:annotation>
225
+ <xs:documentation>Estimated area of the window</xs:documentation>
226
+ </xs:annotation>
227
+ </xs:element>
228
+ <xs:element name="Glazing-Age" type="SAP-GlazingTypeCode">
229
+ <xs:annotation>
230
+ <xs:documentation>Describes the type of glazing in the window.</xs:documentation>
231
+ </xs:annotation>
232
+ </xs:element>
233
+ <xs:element name="Location" type="pfdt:Sentence">
234
+ <xs:annotation>
235
+ <xs:documentation>Describes the location of the window</xs:documentation>
236
+ </xs:annotation>
237
+ </xs:element>
238
+ <xs:element name="Glazing-Type" type="GlazingTypeCode">
239
+ <xs:annotation>
240
+ <xs:documentation>Indentifies the type of Glazing installed in the window</xs:documentation>
241
+ </xs:annotation>
242
+ </xs:element>
243
+ </xs:all>
244
+ </xs:complexType>
245
+ <xs:element name="Chimney-Stack" type="Chimney-Stack"/>
246
+ <xs:complexType name="Chimney-Stack">
247
+ <xs:all>
248
+ <xs:element name="Identifier" type="pfdt:IDString"/>
249
+ <xs:element name="Condition" type="ConditionCode"/>
250
+ <xs:element name="Justification" type="pfdt:Sentence">
251
+ <xs:annotation>
252
+ <xs:documentation>The Home Inspectors justification for the Condition Code they have assigned to the feature.
253
+
254
+ If Condition Code is "Not Inspected" (NI) then the Justification is an explanation for why they could not inspect the feature.
255
+
256
+ 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.
257
+ </xs:documentation>
258
+ </xs:annotation>
259
+ </xs:element>
260
+ <xs:element name="Description" type="pfdt:Sentence">
261
+ <xs:annotation>
262
+ <xs:documentation>A description - taken from the Preferred Text statements - of the individual Property Feature being inspected.
263
+
264
+ If the feature is "Not Present" (NP) then the Description should say "Not present" though if "Not Present" then the value is actually not used in the HCR so can be ignored. </xs:documentation>
265
+ </xs:annotation>
266
+ </xs:element>
267
+ </xs:all>
268
+ </xs:complexType>
269
+ <xs:element name="External-Features" type="External-Features"/>
270
+ <xs:complexType name="External-Features">
271
+ <xs:choice maxOccurs="unbounded">
272
+ <xs:element name="Chimney-Stack" type="Chimney-Stack"/>
273
+ <xs:element name="Decoration" type="Decoration"/>
274
+ <xs:element name="External-Door" type="External-Door"/>
275
+ <xs:element name="Rainwater-Fittings" type="Rainwater-Fittings"/>
276
+ <xs:element name="Main-Wall" type="Main-Wall"/>
277
+ <xs:element name="Other-Detail" type="Other-Detail"/>
278
+ <xs:element name="Other-Woodwork" type="Other-Woodwork"/>
279
+ <xs:element name="Window" type="Window"/>
280
+ <xs:element name="Roof-Covering" type="Roof-Covering"/>
281
+ </xs:choice>
282
+ </xs:complexType>
283
+ </xs:schema>