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,174 +1,174 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
3
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
5
- elementFormDefault="qualified" version="LIG-16.0">
6
- <xs:annotation>
7
- <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>
8
- </xs:annotation>
9
- <xs:include schemaLocation="./BaseDataTypes.xsd"/>
10
- <!--xs:include schemaLocation="./HCR-Domains.xsd"/-->
11
- <!--<xs:include schemaLocation="../Templates/Property.xsd"/>-->
12
- <xs:include schemaLocation="./Property.xsd"/>
13
- <xs:element name="Energy-Assessor" type="Energy-Assessor"/>
14
- <xs:complexType name="Energy-Assessor">
15
- <xs:annotation>
16
- <xs:documentation>
17
- A Energy-Assessor is a person certified by a Accrediation Scheme as being qualified to carry out an Energy Assessment and produce an Energy Performance Certificate.
18
- </xs:documentation>
19
- </xs:annotation>
20
- <xs:sequence>
21
- <xs:element name="Membership-Number" type="xs:string" minOccurs="1" maxOccurs="1">
22
- <xs:annotation>
23
- <xs:documentation>The unique identifier assigned to the Energy Assessor by the Approved Organisation by which they can be identified throughout their membership of the scheme.</xs:documentation>
24
- </xs:annotation>
25
- </xs:element>
26
- <xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1">
27
- <xs:annotation>
28
- <xs:documentation>The name by which the Energy Assessor is registered. This is a structured name containing prefix, first name + surname.</xs:documentation>
29
- </xs:annotation>
30
- </xs:element>
31
- <xs:element name="Approved-Organisation-Name" type="xs:string" minOccurs="1" maxOccurs="1">
32
- <xs:annotation>
33
- <xs:documentation>The name of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
34
- </xs:annotation>
35
- </xs:element>
36
- <xs:element name="Approved-Organisation-Web-Address" type="xs:string" minOccurs="1" maxOccurs="1">
37
- <xs:annotation>
38
- <xs:documentation>The web address of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
39
- </xs:annotation>
40
- </xs:element>
41
- <xs:element name="Trading-Address" type="xs:string" minOccurs="0" maxOccurs="1">
42
- <xs:annotation>
43
- <xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="Company-Name" type="xs:string" minOccurs="0" maxOccurs="1">
47
- <xs:annotation>
48
- <xs:documentation>The Name of the Company that the Energy Assessor is empolyed by.</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- <xs:element name="Status" type="EAStatusCode" minOccurs="0" maxOccurs="1">
52
- <xs:annotation>
53
- <xs:documentation>The Status of the Energy Assessor - at the time of producing and lodging a report this shoudl be "Registered" but any of the values can be present on the EA Register itself.</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- <xs:element name="E-Mail" type="xs:string" minOccurs="0" maxOccurs="1">
57
- <xs:annotation>
58
- <xs:documentation>Optional e-mail address for the Energy Assessor</xs:documentation>
59
- </xs:annotation>
60
- </xs:element>
61
- <xs:element name="Telephone-Number" type="xs:string" minOccurs="0" maxOccurs="1"/>
62
- <xs:element name="Base-Postcode-Location" type="PostcodeType" minOccurs="0" maxOccurs="1">
63
- <xs:annotation>
64
- <xs:documentation>The full postcode that the Energy Assessor works from.</xs:documentation>
65
- </xs:annotation>
66
- </xs:element>
67
- </xs:sequence>
68
- </xs:complexType>
69
- <xs:simpleType name="EAStatusCode">
70
- <xs:restriction base="xs:string">
71
- <xs:enumeration value="Inactive">
72
- <xs:annotation>
73
- <xs:documentation>Inactive</xs:documentation>
74
- </xs:annotation>
75
- </xs:enumeration>
76
- <xs:enumeration value="Registered">
77
- <xs:annotation>
78
- <xs:documentation>Registered</xs:documentation>
79
- </xs:annotation>
80
- </xs:enumeration>
81
- <xs:enumeration value="Struck-Off">
82
- <xs:annotation>
83
- <xs:documentation>Struck Off</xs:documentation>
84
- </xs:annotation>
85
- </xs:enumeration>
86
- <xs:enumeration value="Suspended">
87
- <xs:annotation>
88
- <xs:documentation>Suspended</xs:documentation>
89
- </xs:annotation>
90
- </xs:enumeration>
91
- </xs:restriction>
92
- </xs:simpleType>
93
- <xs:simpleType name="InspectorTypeCode">
94
- <xs:restriction base="xs:string">
95
- <xs:enumeration value="1">
96
- <xs:annotation>
97
- <xs:documentation>Home Inspector</xs:documentation>
98
- </xs:annotation>
99
- </xs:enumeration>
100
- <xs:enumeration value="2">
101
- <xs:annotation>
102
- <xs:documentation>Domestic Energy Assessor</xs:documentation>
103
- </xs:annotation>
104
- </xs:enumeration>
105
- </xs:restriction>
106
- </xs:simpleType>
107
- <xs:element name="Mortgage-Lender" type="Mortgage-Lender"/>
108
- <xs:complexType name="Mortgage-Lender">
109
- <xs:annotation>
110
- <xs:documentation>A Mortgage Lender is an organisation that may lend money to the Buyer for the purpose of purchasing the Property.
111
-
112
- As part of this decision making the Mortgage Lender may use an Automated Valuation Model (AVM) to value the Property and requires access to the underlying data in the Home Condition Report or the content of the Energy Performance Certificate in order to complete this valuation.</xs:documentation>
113
- </xs:annotation>
114
- <xs:all/>
115
- </xs:complexType>
116
- <xs:simpleType name="Postcode-CoverageType">
117
- <xs:restriction base="xs:string">
118
- <xs:maxLength value="500"/>
119
- <xs:pattern value="[A-Z]{1,2}[0-9]{0,2}(,[A-Z]{1,2}[0-9]{0,2})*"/>
120
- </xs:restriction>
121
- </xs:simpleType>
122
- <xs:element name="Certification-Scheme" type="Certification-Scheme"/>
123
- <xs:complexType name="Certification-Scheme">
124
- <xs:annotation>
125
- <xs:documentation>The Certification Scheme is the "regulatory" body responsible for regulating the activities of the Home Inspectors.
126
-
127
- A Certification Scheme will carry out certain primary functions in accordance with the standards, focussed around certifying, managing and regulating Home Inspectors and registering Home Condition Reports.
128
-
129
- Although covered by a different regulatory regime a Certification Scheme is synonymous with the role of an Accreditation Body in the production of an Energy Performance Certificate.</xs:documentation>
130
- </xs:annotation>
131
- <xs:all>
132
- <xs:element name="Scheme-Name" type="xs:string"/>
133
- <xs:element name="Complaints-Address" type="AddressType" minOccurs="0">
134
- <xs:annotation>
135
- <xs:documentation>The address to which any complaints should be sent.</xs:documentation>
136
- </xs:annotation>
137
- </xs:element>
138
- <xs:element name="Contact-Address" type="AddressType" minOccurs="0">
139
- <xs:annotation>
140
- <xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
141
- </xs:annotation>
142
- </xs:element>
143
- <xs:element name="Web-Site" type="xs:string"/>
144
- <xs:element name="E-Mail" type="xs:string">
145
- <xs:annotation>
146
- <xs:documentation>the E-Mail address that the Authorised User can be contacted at.</xs:documentation>
147
- </xs:annotation>
148
- </xs:element>
149
- <xs:element name="Registered-Name" type="xs:string">
150
- <xs:annotation>
151
- <xs:documentation>The public name by which the Authorised User is known by - this is either a personal name (e.g. "Mr John Smith") built up from the components of the Person Name if the Authorised User is an individual such as a Home Inspector or a Company Name if the Authorised User is an organisation.
152
-
153
- In the case of a individual the name may not be unique (e.g. there may be many thousands of people called "Mr John Smith") so this is information about the Authorised User rather than an identifier.</xs:documentation>
154
- </xs:annotation>
155
- </xs:element>
156
- <xs:element name="Fax" type="PhoneNumberType"/>
157
- <xs:element name="Telephone" type="PhoneNumberType"/>
158
- </xs:all>
159
- </xs:complexType>
160
- <xs:element name="CertificationSchemeKeyFields" type="CertificationSchemeKeyFields"/>
161
- <xs:complexType name="CertificationSchemeKeyFields">
162
- <xs:annotation>
163
- <xs:documentation>Key field definition for the Certification Scheme class.</xs:documentation>
164
- </xs:annotation>
165
- <xs:sequence>
166
- <xs:element name="Registered-Name" type="xs:string"/>
167
- </xs:sequence>
168
- </xs:complexType>
169
- <xs:simpleType name="PhoneNumberType">
170
- <xs:restriction base="xs:string">
171
- <xs:pattern value="[0-9\-\.\)\(\+ ]+"/>
172
- </xs:restriction>
173
- </xs:simpleType>
174
- </xs:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
3
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
+ targetNamespace="http://www.est.org.uk/epc/estcrV1/DCLG-CEPC"
5
+ elementFormDefault="qualified" version="LIG-16.0">
6
+ <xs:annotation>
7
+ <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>
8
+ </xs:annotation>
9
+ <xs:include schemaLocation="./BaseDataTypes.xsd"/>
10
+ <!--xs:include schemaLocation="./HCR-Domains.xsd"/-->
11
+ <!--<xs:include schemaLocation="../Templates/Property.xsd"/>-->
12
+ <xs:include schemaLocation="./Property.xsd"/>
13
+ <xs:element name="Energy-Assessor" type="Energy-Assessor"/>
14
+ <xs:complexType name="Energy-Assessor">
15
+ <xs:annotation>
16
+ <xs:documentation>
17
+ A Energy-Assessor is a person certified by a Accrediation Scheme as being qualified to carry out an Energy Assessment and produce an Energy Performance Certificate.
18
+ </xs:documentation>
19
+ </xs:annotation>
20
+ <xs:sequence>
21
+ <xs:element name="Membership-Number" type="xs:string" minOccurs="1" maxOccurs="1">
22
+ <xs:annotation>
23
+ <xs:documentation>The unique identifier assigned to the Energy Assessor by the Approved Organisation by which they can be identified throughout their membership of the scheme.</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1">
27
+ <xs:annotation>
28
+ <xs:documentation>The name by which the Energy Assessor is registered. This is a structured name containing prefix, first name + surname.</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Approved-Organisation-Name" type="xs:string" minOccurs="1" maxOccurs="1">
32
+ <xs:annotation>
33
+ <xs:documentation>The name of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="Approved-Organisation-Web-Address" type="xs:string" minOccurs="1" maxOccurs="1">
37
+ <xs:annotation>
38
+ <xs:documentation>The web address of the Approved Organisation that certified the Energy Assessor.</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="Trading-Address" type="xs:string" minOccurs="0" maxOccurs="1">
42
+ <xs:annotation>
43
+ <xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="Company-Name" type="xs:string" minOccurs="0" maxOccurs="1">
47
+ <xs:annotation>
48
+ <xs:documentation>The Name of the Company that the Energy Assessor is empolyed by.</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="Status" type="EAStatusCode" minOccurs="0" maxOccurs="1">
52
+ <xs:annotation>
53
+ <xs:documentation>The Status of the Energy Assessor - at the time of producing and lodging a report this shoudl be "Registered" but any of the values can be present on the EA Register itself.</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:element>
56
+ <xs:element name="E-Mail" type="xs:string" minOccurs="0" maxOccurs="1">
57
+ <xs:annotation>
58
+ <xs:documentation>Optional e-mail address for the Energy Assessor</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:element>
61
+ <xs:element name="Telephone-Number" type="xs:string" minOccurs="0" maxOccurs="1"/>
62
+ <xs:element name="Base-Postcode-Location" type="PostcodeType" minOccurs="0" maxOccurs="1">
63
+ <xs:annotation>
64
+ <xs:documentation>The full postcode that the Energy Assessor works from.</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ </xs:sequence>
68
+ </xs:complexType>
69
+ <xs:simpleType name="EAStatusCode">
70
+ <xs:restriction base="xs:string">
71
+ <xs:enumeration value="Inactive">
72
+ <xs:annotation>
73
+ <xs:documentation>Inactive</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:enumeration>
76
+ <xs:enumeration value="Registered">
77
+ <xs:annotation>
78
+ <xs:documentation>Registered</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:enumeration>
81
+ <xs:enumeration value="Struck-Off">
82
+ <xs:annotation>
83
+ <xs:documentation>Struck Off</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:enumeration>
86
+ <xs:enumeration value="Suspended">
87
+ <xs:annotation>
88
+ <xs:documentation>Suspended</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:enumeration>
91
+ </xs:restriction>
92
+ </xs:simpleType>
93
+ <xs:simpleType name="InspectorTypeCode">
94
+ <xs:restriction base="xs:string">
95
+ <xs:enumeration value="1">
96
+ <xs:annotation>
97
+ <xs:documentation>Home Inspector</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:enumeration>
100
+ <xs:enumeration value="2">
101
+ <xs:annotation>
102
+ <xs:documentation>Domestic Energy Assessor</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:enumeration>
105
+ </xs:restriction>
106
+ </xs:simpleType>
107
+ <xs:element name="Mortgage-Lender" type="Mortgage-Lender"/>
108
+ <xs:complexType name="Mortgage-Lender">
109
+ <xs:annotation>
110
+ <xs:documentation>A Mortgage Lender is an organisation that may lend money to the Buyer for the purpose of purchasing the Property.
111
+
112
+ As part of this decision making the Mortgage Lender may use an Automated Valuation Model (AVM) to value the Property and requires access to the underlying data in the Home Condition Report or the content of the Energy Performance Certificate in order to complete this valuation.</xs:documentation>
113
+ </xs:annotation>
114
+ <xs:all/>
115
+ </xs:complexType>
116
+ <xs:simpleType name="Postcode-CoverageType">
117
+ <xs:restriction base="xs:string">
118
+ <xs:maxLength value="500"/>
119
+ <xs:pattern value="[A-Z]{1,2}[0-9]{0,2}(,[A-Z]{1,2}[0-9]{0,2})*"/>
120
+ </xs:restriction>
121
+ </xs:simpleType>
122
+ <xs:element name="Certification-Scheme" type="Certification-Scheme"/>
123
+ <xs:complexType name="Certification-Scheme">
124
+ <xs:annotation>
125
+ <xs:documentation>The Certification Scheme is the "regulatory" body responsible for regulating the activities of the Home Inspectors.
126
+
127
+ A Certification Scheme will carry out certain primary functions in accordance with the standards, focussed around certifying, managing and regulating Home Inspectors and registering Home Condition Reports.
128
+
129
+ Although covered by a different regulatory regime a Certification Scheme is synonymous with the role of an Accreditation Body in the production of an Energy Performance Certificate.</xs:documentation>
130
+ </xs:annotation>
131
+ <xs:all>
132
+ <xs:element name="Scheme-Name" type="xs:string"/>
133
+ <xs:element name="Complaints-Address" type="AddressType" minOccurs="0">
134
+ <xs:annotation>
135
+ <xs:documentation>The address to which any complaints should be sent.</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:element>
138
+ <xs:element name="Contact-Address" type="AddressType" minOccurs="0">
139
+ <xs:annotation>
140
+ <xs:documentation>The address that any written correspondence can be sent to. This is not the same as the Registered Address because it may, of course, be a Post Office Box.</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:element>
143
+ <xs:element name="Web-Site" type="xs:string"/>
144
+ <xs:element name="E-Mail" type="xs:string">
145
+ <xs:annotation>
146
+ <xs:documentation>the E-Mail address that the Authorised User can be contacted at.</xs:documentation>
147
+ </xs:annotation>
148
+ </xs:element>
149
+ <xs:element name="Registered-Name" type="xs:string">
150
+ <xs:annotation>
151
+ <xs:documentation>The public name by which the Authorised User is known by - this is either a personal name (e.g. "Mr John Smith") built up from the components of the Person Name if the Authorised User is an individual such as a Home Inspector or a Company Name if the Authorised User is an organisation.
152
+
153
+ In the case of a individual the name may not be unique (e.g. there may be many thousands of people called "Mr John Smith") so this is information about the Authorised User rather than an identifier.</xs:documentation>
154
+ </xs:annotation>
155
+ </xs:element>
156
+ <xs:element name="Fax" type="PhoneNumberType"/>
157
+ <xs:element name="Telephone" type="PhoneNumberType"/>
158
+ </xs:all>
159
+ </xs:complexType>
160
+ <xs:element name="CertificationSchemeKeyFields" type="CertificationSchemeKeyFields"/>
161
+ <xs:complexType name="CertificationSchemeKeyFields">
162
+ <xs:annotation>
163
+ <xs:documentation>Key field definition for the Certification Scheme class.</xs:documentation>
164
+ </xs:annotation>
165
+ <xs:sequence>
166
+ <xs:element name="Registered-Name" type="xs:string"/>
167
+ </xs:sequence>
168
+ </xs:complexType>
169
+ <xs:simpleType name="PhoneNumberType">
170
+ <xs:restriction base="xs:string">
171
+ <xs:pattern value="[0-9\-\.\)\(\+ ]+"/>
172
+ </xs:restriction>
173
+ </xs:simpleType>
174
+ </xs:schema>
@@ -0,0 +1,160 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" elementFormDefault="qualified" attributeFormDefault="unqualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <!-- ***************************************************************************
8
+ Simple Type declarations for Identification Block property values
9
+ *************************************************************************** -->
10
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
11
+ <!-- ***************************************************************************
12
+ Simple Type declarations for Identification Block property values
13
+ *************************************************************************** -->
14
+ <xs:simpleType name="ServiceNameType">
15
+ <xs:annotation>
16
+ <xs:documentation source="Service Name is a string label that uniquely identifies each service within the domain."/>
17
+ </xs:annotation>
18
+ <xs:restriction base="xs:string"/>
19
+ <!-- Should include validation of allowed Service Name constraints such as allowed charcaters etc. -->
20
+ </xs:simpleType>
21
+ <xs:simpleType name="OperationType">
22
+ <xs:restriction base="xs:string">
23
+ <xs:enumeration value="Create"/>
24
+ <xs:enumeration value="Retrieve"/>
25
+ <xs:enumeration value="Update"/>
26
+ <xs:enumeration value="Delete"/>
27
+ <xs:enumeration value="Retire"/>
28
+ <xs:enumeration value="Search"/>
29
+ <xs:enumeration value="Execute"/>
30
+ <xs:enumeration value="Describe"/>
31
+ </xs:restriction>
32
+ </xs:simpleType>
33
+ <xs:complexType name="IdentifierValue">
34
+ <xs:annotation>
35
+ <xs:documentation source="Public Identifier datatype is the public identifier by which an instance of a Business Entity can be identified. It's called Public Form Identiier rather then Content Form Identifier for historic reasons as a result of confusion over definitions of terms."/>
36
+ </xs:annotation>
37
+ <xs:simpleContent>
38
+ <xs:extension base="xs:string">
39
+ <xs:attribute name="IdentifierTypeDomain" type="xs:string" use="optional">
40
+ <xs:annotation>
41
+ <xs:documentation source="Public Form Identifier datatype is the public identifier by which an instance of a Content Form can be identified. It's called Public Form Identiier rather then Content Form Identifier for historic reasons as a result of confusion over definitions of terms."/>
42
+ </xs:annotation>
43
+ </xs:attribute>
44
+ </xs:extension>
45
+ </xs:simpleContent>
46
+ </xs:complexType>
47
+ <xs:simpleType name="ReportRetrievalType">
48
+ <xs:restriction base="xs:string">
49
+ <xs:enumeration value="List"/>
50
+ <xs:enumeration value="Data"/>
51
+ <xs:enumeration value="PDF"/>
52
+ </xs:restriction>
53
+ </xs:simpleType>
54
+ <!-- ***************************************************************************
55
+ Standard Identifying Block declarations
56
+
57
+ The Identification block contains standard data needed to identify an individual instance of a
58
+ particular service such as the service name, service provider, execution date.
59
+
60
+ Because there can be significant delays between the invocation of a service and the equivalent
61
+ response it is essential that each individual service request can be recognised. An individual
62
+ requestor may concurrently initiate many requests so the Identification blocks provide a
63
+ standard means of pairing the response to the particular request.
64
+
65
+ These data-items can be considered standard across all messages of a particular type but may be
66
+ extended by an individual service to include service specific parameters.
67
+
68
+ *************************************************************************** -->
69
+ <!-- Standard Identification Message _________________________________________________ -->
70
+ <!--
71
+ This standard identification block then needs to be extended with an Identifier element
72
+ defining the allowed key attributes particular to the Business Entity retrieve via the service.
73
+ This is done on a message by message basis, for example:
74
+
75
+ <xs:element name="Identification">
76
+ <xs:complexType>
77
+ <xs:complexContent>
78
+ <xs:extension base="CS:DefaultIDBlock">
79
+ <xs:sequence>
80
+ <xs:element name="Identifier" type="[IdentifierKeyFieldsType]"/>
81
+ </xs:sequence>
82
+ </xs:extension>
83
+ </xs:complexContent>
84
+ </xs:complexType>
85
+ </xs:element>
86
+
87
+ -->
88
+ <xs:complexType name="DefaultIdBlock">
89
+ <xs:annotation>
90
+ <xs:documentation source="The standard Identifying Block for all messages."/>
91
+ </xs:annotation>
92
+ <xs:sequence>
93
+ <xs:element name="ServiceName" type="CS:ServiceNameType"/>
94
+ <xs:element name="Operation">
95
+ <xs:simpleType>
96
+ <xs:restriction base="CS:OperationType"/>
97
+ </xs:simpleType>
98
+ </xs:element>
99
+ <xs:element name="TransactionDetails">
100
+ <xs:complexType>
101
+ <xs:sequence>
102
+ <xs:element name="OriginatingID" type="xs:string"/>
103
+ <xs:element name="RecipientID" type="xs:string"/>
104
+ <xs:element name="Timestamp" type="xs:dateTime"/>
105
+ <xs:element name="TransactionID" type="xs:string" minOccurs="0"/>
106
+ </xs:sequence>
107
+ </xs:complexType>
108
+ </xs:element>
109
+ <xs:element name="TermsAndConditions" minOccurs="0">
110
+ <xs:simpleType>
111
+ <xs:restriction base="pfdt:Flag"/>
112
+ </xs:simpleType>
113
+ </xs:element>
114
+ </xs:sequence>
115
+ </xs:complexType>
116
+ <!-- ***************************************************************************
117
+ Standard Configuration declarations
118
+
119
+ The Configuration block contains standard data required by the service to carry out its designated
120
+ task such as details of the parties / organisations involved in the transaction or operating
121
+ directions.
122
+
123
+ These are the configuration parameters that can be considered standard across all messages of a
124
+ particular type but may be extended by an individual service to include service specific
125
+ parameters.
126
+
127
+ Not all service types may need a Configuration block.
128
+ *************************************************************************** -->
129
+ <xs:complexType name="UpdateRequestConfigBlock">
130
+ <xs:sequence>
131
+ <xs:element name="StopOnFirstError" type="xs:string" minOccurs="0"/>
132
+ <xs:element name="ReasonForChange" type="xs:string" minOccurs="0"/>
133
+ </xs:sequence>
134
+ </xs:complexType>
135
+ <xs:complexType name="CreateRequestConfigBlock">
136
+ <xs:sequence>
137
+ <xs:element name="StopOnFirstError" type="xs:string" minOccurs="0"/>
138
+ <xs:element name="ReasonForChange" type="xs:string" minOccurs="0"/>
139
+ </xs:sequence>
140
+ </xs:complexType>
141
+ <xs:complexType name="RetrieveRequestConfigBlock">
142
+ <xs:sequence>
143
+ <xs:element name="StartDate" type="xs:date" minOccurs="0"/>
144
+ <xs:element name="Language" type="pfdt:LanguageCode" minOccurs="0"/>
145
+ <xs:element name="ResponseFormat" type="CS:ReportRetrievalType" minOccurs="0"/>
146
+ </xs:sequence>
147
+ </xs:complexType>
148
+ <xs:complexType name="SearchRequestConfigBlock">
149
+ <xs:sequence>
150
+ <xs:element name="RecordsToRetrieve" type="xs:long" minOccurs="0"/>
151
+ <xs:element name="StartRecord" type="xs:long" minOccurs="0"/>
152
+ </xs:sequence>
153
+ </xs:complexType>
154
+ <xs:complexType name="SearchResponseConfigBlock">
155
+ <xs:sequence>
156
+ <xs:element name="MoreRecords" type="xs:boolean" minOccurs="0"/>
157
+ <xs:element name="MoreThanMaxRecords" type="xs:boolean" minOccurs="0"/>
158
+ </xs:sequence>
159
+ </xs:complexType>
160
+ </xs:schema>
@@ -0,0 +1,72 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" elementFormDefault="qualified" version="LIG-14.0">
3
+ <!--
4
+ © 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.
5
+
6
+ -->
7
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
8
+ <xs:element name="DataItem" type="DataItem"/>
9
+ <xs:complexType name="DataItem">
10
+ <xs:annotation>
11
+ <xs:documentation>The Data-Item from the input XML message that caused the data exception to be raised.
12
+
13
+ Each Data Item consists of the name of the XML Element(s) that caused the exception to be raised, the value assigned to the element and an optional reference to the individual element of there is more than one of them in the XML Message.
14
+
15
+ </xs:documentation>
16
+ </xs:annotation>
17
+ <xs:sequence>
18
+ <xs:element name="ItemName" type="xs:string">
19
+ <xs:annotation>
20
+ <xs:documentation>The name of the data-item that was in error. This is that actual name of the element as it is in the message, for example:
21
+
22
+ &lt;MyElementName&gt;[Value]&lt;/MyElementName&gt;
23
+
24
+ would result in:
25
+
26
+ &lt;ItemName&gt;MyElementname&lt;/DataItem&gt;
27
+
28
+ </xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="Path" type="xs:string" minOccurs="0">
32
+ <xs:annotation>
33
+ <xs:documentation>The full X-Path to the XML Element containing the error.
34
+
35
+ This is required because there may be multiple data-items with the same name sometimes in separate functional components and sometimes the same functional component may occur multiple times. In both cases the Data-Item Name may not uniquely identify the actual error.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="Value" type="xs:anyType" minOccurs="0">
39
+ <xs:annotation>
40
+ <xs:documentation>The value that was in error.
41
+
42
+ This is an optional field because it may be the case where a mandatory data-item isn't present.</xs:documentation>
43
+ </xs:annotation>
44
+ </xs:element>
45
+ </xs:sequence>
46
+ </xs:complexType>
47
+ <xs:element name="ExceptionList" type="ExceptionList"/>
48
+ <xs:complexType name="ExceptionList">
49
+ <xs:sequence>
50
+ <xs:element name="Exception" type="Exception" maxOccurs="unbounded"/>
51
+ </xs:sequence>
52
+ </xs:complexType>
53
+ <xs:element name="Exception" type="Exception"/>
54
+ <xs:complexType name="Exception">
55
+ <xs:sequence>
56
+ <xs:element name="ErrorCode" type="pfdt:NumericString"/>
57
+ <xs:element name="ErrorMessage" type="pfdt:Sentence"/>
58
+ <xs:element name="DataItemList" type="DataItemList" minOccurs="0"/>
59
+ </xs:sequence>
60
+ </xs:complexType>
61
+ <xs:element name="DataItemList" type="DataItemList"/>
62
+ <xs:complexType name="DataItemList">
63
+ <xs:annotation>
64
+ <xs:documentation>The set of Data-Items that were instrumental in raising the exception.
65
+
66
+ This is an aggregation point for all of the Data-Items because there may be more than one Data-Item for each exception. For example if the check is that A = B and the check fails then the values of both A and B need to be returned as the context of the exception.</xs:documentation>
67
+ </xs:annotation>
68
+ <xs:sequence>
69
+ <xs:element name="DataItem" type="DataItem" maxOccurs="unbounded"/>
70
+ </xs:sequence>
71
+ </xs:complexType>
72
+ </xs:schema>