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
@@ -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>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:CS="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" xmlns:ERR="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:SAP05="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" targetNamespace="http://www.est.org.uk/epc/lodgement" 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
+ Imports and Inclusions
9
+ *************************************************************************** -->
10
+ <!-- Common Structures contains the standard domain-wide declarations of the infrastructure elements such as IdentifyingBlock -->
11
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/CommonStructures" schemaLocation="../CommonFiles/CommonStructures.xsd"/>
12
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/Exceptions" schemaLocation="../CommonFiles/Exceptions.xsd"/>
13
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
14
+ <!-- Include templates for all Business Entities used by the message -->
15
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" schemaLocation="../Templates/HIP-Reports.xsd"/>
16
+ <!-- Add the New build SAP-EPC data model -->
17
+ <!-- <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-SAP05" schemaLocation="../SAP-EPC/Templates/SAP05-Report.xsd"/>-->
18
+ <!--***************************************************************************
19
+ Message Definition
20
+ *************************************************************************** -->
21
+ <xs:element name="ConditionReportCreateRequest_1">
22
+ <xs:complexType>
23
+ <xs:sequence>
24
+ <xs:element name="Identification" type="CS:DefaultIdBlock"/>
25
+ <xs:element name="Configuration" type="CS:CreateRequestConfigBlock"/>
26
+ <xs:element name="Content">
27
+ <xs:complexType>
28
+ <xs:sequence>
29
+ <xs:choice>
30
+ <!-- <xs:element name="SAP-EPC-Data" type="SAP05:Energy-Performance-Certificate"/> -->
31
+ <xs:element name="EPC-Data" type="HIP:Energy-Performance-Certificate"/>
32
+ <xs:element name="HCR-Data" type="HIP:Home-Condition-Report"/>
33
+ </xs:choice>
34
+ <xs:element name="PDF" type="xs:base64Binary"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ </xs:schema>
@@ -0,0 +1,252 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pfdt="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" xmlns:HIP="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP" version="LIG-14.0">
3
+ <xs:annotation>
4
+ <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>
5
+ </xs:annotation>
6
+ <xs:import namespace="http://www.est.org.uk/epc/lodgement/estV20/DCLG-HIP/BaseDataTypes" schemaLocation="../UDT/BaseDataTypes.xsd"/>
7
+ <xs:include schemaLocation="../UDT/SAP-Domains.xsd"/>
8
+ <xs:include schemaLocation="../UDT/EPC-Domains.xsd"/>
9
+ <xs:simpleType name="EnergyRatingType">
10
+ <xs:restriction base="xs:integer">
11
+ <xs:minInclusive value="0"/>
12
+ </xs:restriction>
13
+ </xs:simpleType>
14
+ <xs:element name="Energy-Assessment" type="Energy-Assessment"/>
15
+ <xs:complexType name="Energy-Assessment">
16
+ <xs:annotation>
17
+ <xs:documentation>Energy Efficiency Assessment Report is an inspection report whose purpose is to assess the energy efficiency of the inspected property and provide energy ratings for the significant heat-loss features of the property.
18
+
19
+ The report also identifies a number of potential improvements that may be made to the property in order to increase the energy efficiency.</xs:documentation>
20
+ </xs:annotation>
21
+ <xs:all>
22
+ <xs:element name="Property-Summary" type="Property-Summary" minOccurs="1" maxOccurs="1"/>
23
+ <xs:element name="Energy-Use" type="Energy-Use" minOccurs="1" maxOccurs="1"/>
24
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements" minOccurs="0" maxOccurs="1"/>
25
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources" minOccurs="0" maxOccurs="1"/>
26
+ <xs:element name="Addendum" type="Addendum" minOccurs="0" maxOccurs="1"/>
27
+ </xs:all>
28
+ </xs:complexType>
29
+ <xs:element name="Property-Summary" type="Property-Summary"/>
30
+ <xs:complexType name="Property-Summary">
31
+ <xs:sequence>
32
+ <xs:element name="Wall" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
33
+ <xs:element name="Roof" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
34
+ <xs:element name="Floor" type="PropertySummaryType" minOccurs="1" maxOccurs="unbounded"/>
35
+ <xs:element name="Window" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
36
+ <xs:element name="Main-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
37
+ <xs:element name="Main-Heating-Controls" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
38
+ <xs:element name="Hot-Water" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
39
+ <xs:element name="Lighting" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
40
+ <xs:element name="Secondary-Heating" type="PropertySummaryType" minOccurs="1" maxOccurs="1"/>
41
+ <xs:element name="Has-Hot-Water-Cylinder" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
42
+ <xs:element name="Has-Heated-Separate-Conservatory" type="xs:boolean" minOccurs="0" maxOccurs="1" default="false"/>
43
+ <xs:element name="Dwelling-Type" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
44
+ <xs:annotation>
45
+ <xs:documentation>A string such as Detached house or Top-floor flat </xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Total-Floor-Area" type="xs:positiveInteger" minOccurs="0" maxOccurs="1">
49
+ <xs:annotation>
50
+ <xs:documentation>A number such as 125</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ </xs:sequence>
54
+ </xs:complexType>
55
+ <xs:element name="Energy-Use" type="Energy-Use"/>
56
+ <xs:complexType name="Energy-Use">
57
+ <xs:annotation>
58
+ <xs:documentation>Part of an Energy Report summarising the results of the various energy calculations made by the Home Inspector.</xs:documentation>
59
+ </xs:annotation>
60
+ <xs:all>
61
+ <xs:element name="Energy-Rating-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
62
+ <xs:annotation>
63
+ <xs:documentation>The Current Energy Rating of the Property</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
66
+ <xs:element name="Energy-Rating-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
67
+ <xs:annotation>
68
+ <xs:documentation>The overall Energy Rating for the Property being assessed.</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:element>
71
+ <xs:element name="Environmental-Impact-Current" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
72
+ <xs:annotation>
73
+ <xs:documentation>The estimated current Environmental Impact Rating of the property</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="Environmental-Impact-Potential" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
77
+ <xs:annotation>
78
+ <xs:documentation>The estimated potential Environmental Impact Rating of the property</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:element>
81
+ <xs:element name="Energy-Consumption-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
82
+ <xs:annotation>
83
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:element>
86
+ <xs:element name="Energy-Consumption-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
87
+ <xs:annotation>
88
+ <xs:documentation>Estimated total energy consumption for the Property in a 12 month period. Value is Kilowatt Hours per Square Metre (kWh/m2)</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:element>
91
+ <xs:element name="CO2-Emissions-Current" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
92
+ <xs:annotation>
93
+ <xs:documentation>CO2 emissions per year in tonnes/year.</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:element>
96
+ <xs:element name="CO2-Emissions-Current-Per-Floor-Area" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
97
+ <xs:annotation>
98
+ <xs:documentation>CO2 emissions per square metre floor area per year in kg/m².</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:element>
101
+ <xs:element name="CO2-Emissions-Potential" type="pfdt:Measurement" minOccurs="1" maxOccurs="1">
102
+ <xs:annotation>
103
+ <xs:documentation>Estimated value in Tonnes per Year of the total CO2 emissions produced by the Property in 12 month period.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:element>
106
+ <xs:element name="Lighting-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
107
+ <xs:annotation>
108
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:element>
111
+ <xs:element name="Lighting-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
112
+ <xs:annotation>
113
+ <xs:documentation>The current estimated cost of Lighting for the property</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:element>
116
+ <xs:element name="Heating-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
117
+ <xs:annotation>
118
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:element>
121
+ <xs:element name="Heating-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
122
+ <xs:annotation>
123
+ <xs:documentation>The current estimated cost of Heating for the property</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:element>
126
+ <xs:element name="Hot-Water-Cost-Current" type="pfdt:Money" minOccurs="1" maxOccurs="1">
127
+ <xs:annotation>
128
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ <xs:element name="Hot-Water-Cost-Potential" type="pfdt:Money" minOccurs="1" maxOccurs="1">
132
+ <xs:annotation>
133
+ <xs:documentation>|The current estimated cost of Hot Water for the property</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:element>
136
+ </xs:all>
137
+ </xs:complexType>
138
+ <xs:element name="Suggested-Improvements" type="Suggested-Improvements"/>
139
+ <xs:complexType name="Suggested-Improvements">
140
+ <xs:annotation>
141
+ <xs:documentation>Part of an Energy Report that describes the a set of improvements that the Home Inspector considers would contribute to the overall energy rating of the property.</xs:documentation>
142
+ </xs:annotation>
143
+ <xs:sequence>
144
+ <xs:element name="Improvement" type="Improvement" minOccurs="1" maxOccurs="unbounded"/>
145
+ </xs:sequence>
146
+ </xs:complexType>
147
+ <xs:element name="Improvement" type="Improvement"/>
148
+ <xs:complexType name="Improvement">
149
+ <xs:all>
150
+ <xs:element name="Sequence" type="xs:integer" minOccurs="1" maxOccurs="1">
151
+ <xs:annotation>
152
+ <xs:documentation>Sequence of the Suggested Improvements within the set of Suggested Improvements. This is used to order the Recommendations on the output HCR / EPC so that the cumulative Ratings make sense.
153
+
154
+ The Improved Energy Ratings that result from carrying out a Suggested Improvement are cumulative and assume that the improvements have been installed in the order they appear in the list. Hence they must be sequenced.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ <xs:element name="Improvement-Category" type="RecommendationCategoryCode" minOccurs="1" maxOccurs="1">
158
+ <xs:annotation>
159
+ <xs:documentation>The category of improvement. This identifies where on the report the recommendation is printed.</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:element>
162
+ <xs:element name="Improvement-Type" type="SAP-ImprovementMeasureCode" minOccurs="0" maxOccurs="1">
163
+ <xs:annotation>
164
+ <xs:documentation>Suggested work to be carried out on the Property to improve its energy efficiency.</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:element>
167
+ <xs:element name="Typical-Saving" type="pfdt:Money" minOccurs="1" maxOccurs="1">
168
+ <xs:annotation>
169
+ <xs:documentation>Typical savings (in British Pounds) per year if the suggested improvement is carried out.</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ <xs:element name="Energy-Performance-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
173
+ <xs:annotation>
174
+ <xs:documentation>The estimated Energy performance rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:element>
177
+ <xs:element name="Environmental-Impact-Rating" type="EnergyRatingType" minOccurs="1" maxOccurs="1">
178
+ <xs:annotation>
179
+ <xs:documentation>The estimated Environmental Impact rating of the Property after the Suggested Improvement has been carried out providing any preceding Suggested Improvement has also been carried out.</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:element>
182
+ <xs:element name="Improvement-Details">
183
+ <xs:complexType>
184
+ <xs:choice>
185
+ <xs:element name="Improvement-Texts" type="ImprovementTexts" minOccurs="1" maxOccurs="1">
186
+ <xs:annotation>
187
+ <xs:documentation>For backward compatibility only</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ <xs:element name="Improvement-Number" type="RecommendationSummaryCode" minOccurs="1" maxOccurs="1"/>
191
+ </xs:choice>
192
+ </xs:complexType>
193
+ </xs:element>
194
+ </xs:all>
195
+ </xs:complexType>
196
+ <xs:element name="PropertySummaryType" type="PropertySummaryType"/>
197
+ <xs:complexType name="PropertySummaryType">
198
+ <xs:all>
199
+ <xs:element name="Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
200
+ <xs:annotation>
201
+ <xs:documentation>Overall description of the property feature</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:element>
204
+ <xs:element name="Energy-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
205
+ <xs:annotation>
206
+ <xs:documentation>Overall summary of the energy effiocuemcy of the property feature.</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:element>
209
+ <xs:element name="Environmental-Efficiency-Rating" type="EnergyEfficiencySummaryCode" minOccurs="1" maxOccurs="1">
210
+ <xs:annotation>
211
+ <xs:documentation>Summary of the environmental efficiency of the property feature</xs:documentation>
212
+ </xs:annotation>
213
+ </xs:element>
214
+ </xs:all>
215
+ </xs:complexType>
216
+ <xs:element name="Addendum" type="Addendum"/>
217
+ <xs:complexType name="Addendum">
218
+ <xs:sequence>
219
+ <xs:element name="Addendum-Number" type="xs:positiveInteger" minOccurs="0" maxOccurs="unbounded"/>
220
+ </xs:sequence>
221
+ </xs:complexType>
222
+ <xs:element name="LZC-Energy-Sources" type="LZC-Energy-Sources"/>
223
+ <xs:complexType name="LZC-Energy-Sources">
224
+ <xs:sequence>
225
+ <xs:element name="LZC-Energy-Source" type="SAP-LZCEnergySourceCode" minOccurs="1" maxOccurs="unbounded">
226
+ <xs:annotation>
227
+ <xs:documentation>Low and zero carbon energy source(s) for the property.</xs:documentation>
228
+ </xs:annotation>
229
+ </xs:element>
230
+ </xs:sequence>
231
+ </xs:complexType>
232
+ <xs:element name="ImprovementTexts" type="ImprovementTexts"/>
233
+ <xs:complexType name="ImprovementTexts">
234
+ <xs:sequence>
235
+ <xs:element name="Improvement-Summary" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
236
+ <xs:annotation>
237
+ <xs:documentation>A short description of the suggested improvement.</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:element>
240
+ <xs:element name="Improvement-Heading" type="pfdt:Sentence" minOccurs="0" maxOccurs="1">
241
+ <xs:annotation>
242
+ <xs:documentation>Text to precede the improvement description. If this field is not provided the 'Improvement-Summary' is used instead.</xs:documentation>
243
+ </xs:annotation>
244
+ </xs:element>
245
+ <xs:element name="Improvement-Description" type="pfdt:Sentence" minOccurs="1" maxOccurs="1">
246
+ <xs:annotation>
247
+ <xs:documentation>Detailed description of the suggested improvement.</xs:documentation>
248
+ </xs:annotation>
249
+ </xs:element>
250
+ </xs:sequence>
251
+ </xs:complexType>
252
+ </xs:schema>