@pdtf/schemas 3.6.0-dev.1 → 3.6.0-dev.3

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 (132) hide show
  1. package/package.json +1 -1
  2. package/pensive-tesla-d0d355/CLAUDE.md +101 -0
  3. package/pensive-tesla-d0d355/LICENSE +21 -0
  4. package/pensive-tesla-d0d355/README.md +435 -0
  5. package/pensive-tesla-d0d355/docs/branch-release-workflow.md +138 -0
  6. package/pensive-tesla-d0d355/docs/sef25-extensions-ui-spec.md +355 -0
  7. package/pensive-tesla-d0d355/index.js +654 -0
  8. package/pensive-tesla-d0d355/package-lock.json +7297 -0
  9. package/pensive-tesla-d0d355/package.json +44 -0
  10. package/pensive-tesla-d0d355/src/examples/v1/exampleAddParticipantVouch.json +32 -0
  11. package/pensive-tesla-d0d355/src/examples/v1/exampleDocumentedVouch.json +40 -0
  12. package/pensive-tesla-d0d355/src/examples/v1/exampleElectronicRecord.json +30 -0
  13. package/pensive-tesla-d0d355/src/examples/v1/exampleTransaction.json +878 -0
  14. package/pensive-tesla-d0d355/src/examples/v1/exampleVouch.json +25 -0
  15. package/pensive-tesla-d0d355/src/examples/v2/exampleTransaction.json +901 -0
  16. package/pensive-tesla-d0d355/src/examples/v3/exampleAddParticipantVouch.json +38 -0
  17. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay.json +55 -0
  18. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay2.json +93 -0
  19. package/pensive-tesla-d0d355/src/examples/v3/exampleDocumentedVouch.json +47 -0
  20. package/pensive-tesla-d0d355/src/examples/v3/exampleElectronicRecord.json +36 -0
  21. package/pensive-tesla-d0d355/src/examples/v3/exampleTransaction.json +1038 -0
  22. package/pensive-tesla-d0d355/src/examples/v3/exampleVouch.json +32 -0
  23. package/pensive-tesla-d0d355/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
  24. package/pensive-tesla-d0d355/src/mappings/adf.js +198 -0
  25. package/pensive-tesla-d0d355/src/schemas/v1/GeoJSON.json +1279 -0
  26. package/pensive-tesla-d0d355/src/schemas/v1/baspiNotes.html +102 -0
  27. package/pensive-tesla-d0d355/src/schemas/v1/energy-performance-certificate.json +124 -0
  28. package/pensive-tesla-d0d355/src/schemas/v1/freehold-information.json +2051 -0
  29. package/pensive-tesla-d0d355/src/schemas/v1/leasehold-information.json +2064 -0
  30. package/pensive-tesla-d0d355/src/schemas/v1/legal-information.json +1045 -0
  31. package/pensive-tesla-d0d355/src/schemas/v1/material-facts.json +2109 -0
  32. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction-search-results.json +40 -0
  33. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction.json +191 -0
  34. package/pensive-tesla-d0d355/src/schemas/v1/searches/drainage-and-water.json +261 -0
  35. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-land-charges.json +69 -0
  36. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-searches-required.json +857 -0
  37. package/pensive-tesla-d0d355/src/schemas/v1/searches.json +237 -0
  38. package/pensive-tesla-d0d355/src/schemas/v1/title-deed.json +841 -0
  39. package/pensive-tesla-d0d355/src/schemas/v2/baspiNotes.html +102 -0
  40. package/pensive-tesla-d0d355/src/schemas/v2/combined.json +37731 -0
  41. package/pensive-tesla-d0d355/src/schemas/v2/overlays/baspi.json +8132 -0
  42. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29DW.json +705 -0
  43. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29R.json +2956 -0
  44. package/pensive-tesla-d0d355/src/schemas/v2/overlays/fme1.json +1259 -0
  45. package/pensive-tesla-d0d355/src/schemas/v2/overlays/llc1.json +25 -0
  46. package/pensive-tesla-d0d355/src/schemas/v2/overlays/lpe1.json +2171 -0
  47. package/pensive-tesla-d0d355/src/schemas/v2/overlays/nts.json +326 -0
  48. package/pensive-tesla-d0d355/src/schemas/v2/overlays/oc1.json +2799 -0
  49. package/pensive-tesla-d0d355/src/schemas/v2/overlays/piq.json +3419 -0
  50. package/pensive-tesla-d0d355/src/schemas/v2/overlays/rds.json +3736 -0
  51. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta10.json +5306 -0
  52. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta6.json +4533 -0
  53. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta7.json +1045 -0
  54. package/pensive-tesla-d0d355/src/schemas/v2/pdtf-transaction.json +34351 -0
  55. package/pensive-tesla-d0d355/src/schemas/v2/skeleton.json +3973 -0
  56. package/pensive-tesla-d0d355/src/schemas/v3/combined.json +48469 -0
  57. package/pensive-tesla-d0d355/src/schemas/v3/compactSkeleton.txt +4519 -0
  58. package/pensive-tesla-d0d355/src/schemas/v3/overlays/README.md +299 -0
  59. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi4.json +8025 -0
  60. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi5.json +8175 -0
  61. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29DW.json +716 -0
  62. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29R.json +2981 -0
  63. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ac.json +333 -0
  64. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/as.json +74 -0
  65. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dk.json +32 -0
  66. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dr.json +73 -0
  67. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/er.json +85 -0
  68. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/fd.json +75 -0
  69. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hi.json +51 -0
  70. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hs.json +73 -0
  71. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ic.json +59 -0
  72. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/jk.json +96 -0
  73. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/la.json +85 -0
  74. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/lc.json +75 -0
  75. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ma.json +90 -0
  76. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mc.json +38 -0
  77. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mi.json +69 -0
  78. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/nd.json +43 -0
  79. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oa.json +24 -0
  80. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oc.json +57 -0
  81. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/pc.json +37 -0
  82. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ph.json +194 -0
  83. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/rw.json +68 -0
  84. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sb.json +73 -0
  85. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sc.json +129 -0
  86. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sd.json +63 -0
  87. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sf.json +74 -0
  88. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sl.json +68 -0
  89. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ta.json +252 -0
  90. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tf.json +103 -0
  91. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tr.json +73 -0
  92. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/wg.json +350 -0
  93. package/pensive-tesla-d0d355/src/schemas/v3/overlays/fme1.json +1266 -0
  94. package/pensive-tesla-d0d355/src/schemas/v3/overlays/llc1.json +25 -0
  95. package/pensive-tesla-d0d355/src/schemas/v3/overlays/lpe1.json +2199 -0
  96. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts.json +2157 -0
  97. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts2.json +2742 -0
  98. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl.json +1813 -0
  99. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl2.json +2217 -0
  100. package/pensive-tesla-d0d355/src/schemas/v3/overlays/oc1.json +2817 -0
  101. package/pensive-tesla-d0d355/src/schemas/v3/overlays/piq.json +3322 -0
  102. package/pensive-tesla-d0d355/src/schemas/v3/overlays/rds.json +3665 -0
  103. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sef25.json +1639 -0
  104. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sr24.json +38 -0
  105. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta10.json +4654 -0
  106. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta6.json +4568 -0
  107. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta6ed6.json +6534 -0
  108. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7.json +1537 -0
  109. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7ed5.json +1551 -0
  110. package/pensive-tesla-d0d355/src/schemas/v3/pdtf-transaction.json +41573 -0
  111. package/pensive-tesla-d0d355/src/schemas/v3/skeleton.json +5767 -0
  112. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/README.md +21 -0
  113. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/pdtf-verified-claims.json +447 -0
  114. package/pensive-tesla-d0d355/src/utils/compactSkeleton.js +84 -0
  115. package/pensive-tesla-d0d355/src/utils/countTokens.js +67 -0
  116. package/pensive-tesla-d0d355/src/utils/extractExtensionOverlays.js +624 -0
  117. package/pensive-tesla-d0d355/src/utils/extractOverlay.js +381 -0
  118. package/pensive-tesla-d0d355/src/utils/extractProperties.js +44 -0
  119. package/pensive-tesla-d0d355/src/utils/listPathTitles.js +36 -0
  120. package/pensive-tesla-d0d355/src/utils/minimalSkeleton.js +85 -0
  121. package/pensive-tesla-d0d355/src/utils/pathList.csv +903 -0
  122. package/pensive-tesla-d0d355/src/utils/pathSkeleton.js +181 -0
  123. package/src/schemas/v3/combined.json +323 -5
  124. package/src/schemas/v3/compactSkeleton.txt +63 -0
  125. package/src/schemas/v3/overlays/baspi4.json +2 -1
  126. package/src/schemas/v3/overlays/baspi5.json +2 -1
  127. package/src/schemas/v3/overlays/extensions/ta.json +0 -48
  128. package/src/schemas/v3/overlays/piq.json +2 -1
  129. package/src/schemas/v3/overlays/ta6ed6.json +2 -1
  130. package/src/schemas/v3/pdtf-transaction.json +336 -2
  131. package/src/schemas/v3/skeleton.json +68 -3
  132. package/docs/backend-lms-profile-filtering-spec.md +0 -180
@@ -0,0 +1,841 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v1/title-deed.json",
4
+ "title": "HMLR Official Copy Register Extract",
5
+ "description": "A schema mirroring the V2_1 XML version of the HMLR Register Extract web service.",
6
+ "definitions": {
7
+ "BinaryObjectType": {
8
+ "type": "object",
9
+ "properties": {
10
+ "data": { "type": "string" },
11
+ "filename": { "type": "string" },
12
+ "format": { "type": "string" },
13
+ "mimeCode": { "type": "string" },
14
+ "characterSetCode": { "type": "string" }
15
+ }
16
+ },
17
+ "Q1AttachmentType": {
18
+ "type": "object",
19
+ "required": ["EmbeddedFileBinaryObject"],
20
+ "properties": {
21
+ "EmbeddedFileBinaryObject": {
22
+ "$ref": "#/definitions/BinaryObjectType"
23
+ },
24
+ "Title": { "type": "string" },
25
+ "Description": { "type": "string" },
26
+ "Date": { "type": "string", "format": "date" },
27
+ "CopyrightNotices": { "type": "string" }
28
+ }
29
+ },
30
+ "AmountInfillType": { "type": "string" },
31
+ "ChargeDateInfillType": {
32
+ "type": "string",
33
+ "format": "date"
34
+ },
35
+ "ChargePartyInfillType": { "type": "string" },
36
+ "DateInfillType": {
37
+ "type": "string",
38
+ "format": "date"
39
+ },
40
+ "DeedDateInfillType": { "type": "string" },
41
+ "DeedExtentInfillType": { "type": "string" },
42
+ "DeedPartyInfillType": { "type": "string" },
43
+ "DeedTypeInfillType": { "type": "string" },
44
+ "ExtentOfLandInfillType": { "type": "string" },
45
+ "MiscTextInfillType": { "type": "string" },
46
+ "NameInfillType": { "type": "string" },
47
+ "NoteInfillType": { "type": "string" },
48
+ "OptMiscTextInfillType": { "type": "string" },
49
+ "PlansRefInfillType": { "type": "string" },
50
+ "Q2TextType": { "type": "string" },
51
+ "TitleNumberInfillType": { "type": "string" },
52
+ "VerbatimTextInfillType": { "type": "string" },
53
+ "Q1InfillDetailsType": {
54
+ "type": "object",
55
+ "required": ["AmountOrChargeDateOrChargeParty"],
56
+ "properties": {
57
+ "AmountOrChargeDateOrChargeParty": {
58
+ "type": "array",
59
+ "items": {
60
+ "anyOf": [
61
+ { "$ref": "#/definitions/AmountInfillType" },
62
+ { "$ref": "#/definitions/ChargeDateInfillType" },
63
+ { "$ref": "#/definitions/ChargePartyInfillType" },
64
+ { "$ref": "#/definitions/DateInfillType" },
65
+ { "$ref": "#/definitions/DeedDateInfillType" },
66
+ { "$ref": "#/definitions/DeedExtentInfillType" },
67
+ { "$ref": "#/definitions/DeedPartyInfillType" },
68
+ { "$ref": "#/definitions/DeedTypeInfillType" },
69
+ { "$ref": "#/definitions/ExtentOfLandInfillType" },
70
+ { "$ref": "#/definitions/MiscTextInfillType" },
71
+ { "$ref": "#/definitions/NameInfillType" },
72
+ { "$ref": "#/definitions/NoteInfillType" },
73
+ { "$ref": "#/definitions/OptMiscTextInfillType" },
74
+ { "$ref": "#/definitions/PlansRefInfillType" },
75
+ { "$ref": "#/definitions/TitleNumberInfillType" },
76
+ { "$ref": "#/definitions/VerbatimTextInfillType" }
77
+ ]
78
+ },
79
+ "minItems": 1
80
+ }
81
+ }
82
+ },
83
+ "Q1EntryDetailsType": {
84
+ "type": "object",
85
+ "required": ["EntryNumber", "EntryText"],
86
+ "properties": {
87
+ "EntryNumber": { "type": "string" },
88
+ "EntryText": { "type": "string" },
89
+ "RegistrationDate": { "type": "string", "format": "date" },
90
+ "SubRegisterCode": { "$ref": "#/definitions/SubRegisterCodeType" },
91
+ "ScheduleCode": {
92
+ "type": "string",
93
+ "enum": [
94
+ "0",
95
+ "10",
96
+ "20",
97
+ "30",
98
+ "40",
99
+ "50",
100
+ "60",
101
+ "70",
102
+ "80",
103
+ "90",
104
+ "100",
105
+ "110",
106
+ "120",
107
+ "130"
108
+ ]
109
+ },
110
+ "Infills": { "type": "object" }
111
+ }
112
+ },
113
+ "Q1PricePaidEntryType": {
114
+ "type": "object",
115
+ "required": ["EntryDetails"],
116
+ "properties": {
117
+ "MultipleTitleIndicator": {
118
+ "type": "string",
119
+ "enum": ["2", "MoreThan2"]
120
+ },
121
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
122
+ }
123
+ },
124
+ "Q1PostcodeZoneType": {
125
+ "type": "object",
126
+ "required": ["Postcode"],
127
+ "properties": {
128
+ "Postcode": { "type": "string" }
129
+ }
130
+ },
131
+ "AddressLineType": {
132
+ "type": "object",
133
+ "properties": {
134
+ "Line": {
135
+ "type": "array",
136
+ "items": { "type": "string" },
137
+ "minItems": 0
138
+ }
139
+ }
140
+ },
141
+ "Q1AddressType": {
142
+ "type": "object",
143
+ "required": ["AddressLine"],
144
+ "properties": {
145
+ "PostcodeZone": { "$ref": "#/definitions/Q1PostcodeZoneType" },
146
+ "AddressLine": { "$ref": "#/definitions/AddressLineType" }
147
+ }
148
+ },
149
+ "ClassOfTitleCodeType": {
150
+ "type": "string",
151
+ "enum": [
152
+ "10",
153
+ "20",
154
+ "30",
155
+ "40",
156
+ "50",
157
+ "60",
158
+ "70",
159
+ "80",
160
+ "90",
161
+ "100",
162
+ "110",
163
+ "120",
164
+ "130"
165
+ ]
166
+ },
167
+ "IndicatorType": {
168
+ "type": "string",
169
+ "enum": ["true", "false"]
170
+ },
171
+ "DistrictNameTextType": { "type": "string" },
172
+ "AdministrativeAreaTextType": { "type": "string" },
173
+ "LandRegistryOfficeNameTextType": { "type": "string" },
174
+ "Q1TitleRegistrationDetailsType": {
175
+ "type": "object",
176
+ "required": [
177
+ "DistrictName",
178
+ "AdministrativeArea",
179
+ "LandRegistryOfficeName",
180
+ "LatestEditionDate"
181
+ ],
182
+ "properties": {
183
+ "DistrictName": { "$ref": "#/definitions/DistrictNameTextType" },
184
+ "AdministrativeArea": {
185
+ "$ref": "#/definitions/AdministrativeAreaTextType"
186
+ },
187
+ "LandRegistryOfficeName": {
188
+ "$ref": "#/definitions/LandRegistryOfficeNameTextType"
189
+ },
190
+ "LatestEditionDate": { "type": "string", "format": "date" },
191
+ "PostcodeZone": { "$ref": "#/definitions/Q1PostcodeZoneType" },
192
+ "RegistrationDate": { "type": "string", "format": "date" }
193
+ }
194
+ },
195
+ "Q1TitleType": {
196
+ "type": "object",
197
+ "required": [
198
+ "TitleNumber",
199
+ "ClassOfTitleCode",
200
+ "CommonholdIndicator",
201
+ "TitleRegistrationDetails"
202
+ ],
203
+ "properties": {
204
+ "TitleNumber": { "$ref": "#/definitions/Q2TextType" },
205
+ "ClassOfTitleCode": { "$ref": "#/definitions/ClassOfTitleCodeType" },
206
+ "CommonholdIndicator": { "$ref": "#/definitions/IndicatorType" },
207
+ "TitleRegistrationDetails": {
208
+ "$ref": "#/definitions/Q1TitleRegistrationDetailsType"
209
+ }
210
+ }
211
+ },
212
+ "Q1RegisterEntryIndicatorsType": {
213
+ "type": "object",
214
+ "required": [
215
+ "AgreedNoticeIndicator",
216
+ "BankruptcyIndicator",
217
+ "CautionIndicator",
218
+ "CCBIIndicator",
219
+ "ChargeeIndicator",
220
+ "ChargeIndicator",
221
+ "ChargeRelatedRestrictionIndicator",
222
+ "ChargeRestrictionIndicator",
223
+ "CreditorsNoticeIndicator",
224
+ "DeathOfProprietorIndicator",
225
+ "DeedOfPostponementIndicator",
226
+ "DiscountChargeIndicator",
227
+ "EquitableChargeIndicator",
228
+ "GreenOutEntryIndicator",
229
+ "HomeRightsChangeOfAddressIndicator",
230
+ "HomeRightsIndicator",
231
+ "LeaseHoldTitleIndicator",
232
+ "MultipleChargeIndicator",
233
+ "NonChargeRestrictionIndicator",
234
+ "NotedChargeIndicator",
235
+ "PricePaidIndicator",
236
+ "PropertyDescriptionNotesIndicator",
237
+ "RentChargeIndicator",
238
+ "RightOfPreEmptionIndicator",
239
+ "ScheduleOfLeasesIndicator",
240
+ "SubChargeIndicator",
241
+ "UnidentifiedEntryIndicator",
242
+ "UnilateralNoticeBeneficiaryIndicator",
243
+ "UnilateralNoticeIndicator",
244
+ "VendorsLienIndicator"
245
+ ],
246
+ "properties": {
247
+ "AgreedNoticeIndicator": { "$ref": "#/definitions/IndicatorType" },
248
+ "BankruptcyIndicator": { "$ref": "#/definitions/IndicatorType" },
249
+ "CautionIndicator": { "$ref": "#/definitions/IndicatorType" },
250
+ "CCBIIndicator": { "$ref": "#/definitions/IndicatorType" },
251
+ "ChargeeIndicator": { "$ref": "#/definitions/IndicatorType" },
252
+ "ChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
253
+ "ChargeRelatedRestrictionIndicator": {
254
+ "$ref": "#/definitions/IndicatorType"
255
+ },
256
+ "ChargeRestrictionIndicator": { "$ref": "#/definitions/IndicatorType" },
257
+ "CreditorsNoticeIndicator": { "$ref": "#/definitions/IndicatorType" },
258
+ "DeathOfProprietorIndicator": { "$ref": "#/definitions/IndicatorType" },
259
+ "DeedOfPostponementIndicator": {
260
+ "$ref": "#/definitions/IndicatorType"
261
+ },
262
+ "DiscountChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
263
+ "EquitableChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
264
+ "GreenOutEntryIndicator": { "$ref": "#/definitions/IndicatorType" },
265
+ "HomeRightsChangeOfAddressIndicator": {
266
+ "$ref": "#/definitions/IndicatorType"
267
+ },
268
+ "HomeRightsIndicator": { "$ref": "#/definitions/IndicatorType" },
269
+ "LeaseHoldTitleIndicator": { "$ref": "#/definitions/IndicatorType" },
270
+ "MultipleChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
271
+ "NonChargeRestrictionIndicator": {
272
+ "$ref": "#/definitions/IndicatorType"
273
+ },
274
+ "NotedChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
275
+ "PricePaidIndicator": { "$ref": "#/definitions/IndicatorType" },
276
+ "PropertyDescriptionNotesIndicator": {
277
+ "$ref": "#/definitions/IndicatorType"
278
+ },
279
+ "RentChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
280
+ "RightOfPreEmptionIndicator": { "$ref": "#/definitions/IndicatorType" },
281
+ "ScheduleOfLeasesIndicator": { "$ref": "#/definitions/IndicatorType" },
282
+ "SubChargeIndicator": { "$ref": "#/definitions/IndicatorType" },
283
+ "UnidentifiedEntryIndicator": { "$ref": "#/definitions/IndicatorType" },
284
+ "UnilateralNoticeBeneficiaryIndicator": {
285
+ "$ref": "#/definitions/IndicatorType"
286
+ },
287
+ "UnilateralNoticeIndicator": { "$ref": "#/definitions/IndicatorType" },
288
+ "VendorsLienIndicator": { "$ref": "#/definitions/IndicatorType" }
289
+ }
290
+ },
291
+ "Q1NameType": {
292
+ "type": "object",
293
+ "required": ["SurnameName"],
294
+ "properties": {
295
+ "ForenamesName": { "type": "string" },
296
+ "SurnameName": { "type": "string" }
297
+ }
298
+ },
299
+ "Q1PrivateIndividualType": {
300
+ "type": "object",
301
+ "required": ["Name"],
302
+ "properties": {
303
+ "Name": { "$ref": "#/definitions/Q1NameType" },
304
+ "Alias": {
305
+ "oneOf": [
306
+ {
307
+ "type": "array",
308
+ "items": { "$ref": "#/definitions/Q1NameType" },
309
+ "minItems": 0
310
+ },
311
+ { "$ref": "#/definitions/Q1NameType" }
312
+ ]
313
+ }
314
+ }
315
+ },
316
+ "OrganisationNameTextType": { "type": "string" },
317
+ "CompanyRegistrationNumberTextType": { "type": "string" },
318
+ "Q1OrganizationType": {
319
+ "type": "object",
320
+ "required": ["Name"],
321
+ "properties": {
322
+ "Name": { "$ref": "#/definitions/OrganisationNameTextType" },
323
+ "CompanyRegistrationNumber": {
324
+ "$ref": "#/definitions/CompanyRegistrationNumberTextType"
325
+ }
326
+ }
327
+ },
328
+ "CharityCodeType": {
329
+ "type": "object",
330
+ "properties": {
331
+ "Value": { "$ref": "#/definitions/CharityCodeContentType" }
332
+ }
333
+ },
334
+ "Q1CharityDetailsType": {
335
+ "type": "object",
336
+ "required": ["CharityName", "CharityType"],
337
+ "properties": {
338
+ "CharityName": {
339
+ "oneOf": [
340
+ { "type": "array", "items": { "type": "string" }, "minItems": 1 },
341
+ { "type": "string" }
342
+ ]
343
+ },
344
+ "CharityAddress": {
345
+ "oneOf": [
346
+ {
347
+ "type": "array",
348
+ "items": { "$ref": "#/definitions/Q1AddressType" },
349
+ "minItems": 0
350
+ },
351
+ { "$ref": "#/definitions/Q1AddressType" }
352
+ ]
353
+ },
354
+ "CharityType": { "$ref": "#/definitions/CharityCodeType" }
355
+ }
356
+ },
357
+ "Q1PartyType": {
358
+ "type": "object",
359
+ "properties": {
360
+ "PrivateIndividual": {
361
+ "$ref": "#/definitions/Q1PrivateIndividualType"
362
+ },
363
+ "Organization": { "$ref": "#/definitions/Q1OrganizationType" },
364
+ "Address": { "$ref": "#/definitions/Q1AddressType" },
365
+ "CharityDetails": { "$ref": "#/definitions/Q1CharityDetailsType" },
366
+ "TradingName": { "type": "string" },
367
+ "PartyNumber": { "type": "string" },
368
+ "PartyDescription": { "type": "string" }
369
+ }
370
+ },
371
+ "Q1ProprietorshipType": {
372
+ "type": "object",
373
+ "properties": {
374
+ "CurrentProprietorshipDate": { "type": "string", "format": "date" },
375
+ "CautionerParty": {
376
+ "oneOf": [
377
+ {
378
+ "type": "array",
379
+ "items": { "$ref": "#/definitions/Q1PartyType" },
380
+ "minItems": 1
381
+ },
382
+ { "$ref": "#/definitions/Q1PartyType" }
383
+ ]
384
+ },
385
+ "RegisteredProprietorParty": {
386
+ "oneOf": [
387
+ {
388
+ "type": "array",
389
+ "items": { "$ref": "#/definitions/Q1PartyType" },
390
+ "minItems": 1
391
+ },
392
+ { "$ref": "#/definitions/Q1PartyType" }
393
+ ]
394
+ }
395
+ }
396
+ },
397
+ "LeaseTermTextType": { "type": "string" },
398
+ "RentAmountTextType": { "type": "string" },
399
+ "Q1LeaseType": {
400
+ "type": "object",
401
+ "required": ["LeaseTerm", "LeaseDate", "LeaseParty", "EntryDetails"],
402
+ "properties": {
403
+ "LeaseTerm": { "$ref": "#/definitions/LeaseTermTextType" },
404
+ "LeaseDate": { "type": "string" },
405
+ "Rent": { "$ref": "#/definitions/RentAmountTextType" },
406
+ "LeaseParty": {
407
+ "type": "array",
408
+ "items": { "$ref": "#/definitions/Q1PartyType" },
409
+ "minItems": 2
410
+ },
411
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
412
+ }
413
+ },
414
+ "Q1LeaseEntriesType": {
415
+ "type": "object",
416
+ "required": ["LeaseEntry"],
417
+ "properties": {
418
+ "LeaseEntry": {
419
+ "type": "array",
420
+ "items": { "$ref": "#/definitions/Q1LeaseType" },
421
+ "minItems": 1
422
+ }
423
+ }
424
+ },
425
+ "RestrictionCodeType": {
426
+ "type": "string",
427
+ "enum": ["0", "10", "20", "30"]
428
+ },
429
+ "Q1RestrictionType": {
430
+ "type": "object",
431
+ "required": ["RestrictionTypeCode", "EntryDetails"],
432
+ "properties": {
433
+ "RestrictionTypeCode": { "$ref": "#/definitions/RestrictionCodeType" },
434
+ "ChargeID": { "type": "string" },
435
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
436
+ }
437
+ },
438
+ "Q1RestrictionEntryType": {
439
+ "type": "object",
440
+ "properties": {
441
+ "ChargeRelatedRestriction": {
442
+ "$ref": "#/definitions/Q1RestrictionType"
443
+ },
444
+ "ChargeRestriction": { "$ref": "#/definitions/Q1RestrictionType" },
445
+ "NonChargeRestriction": { "$ref": "#/definitions/Q1RestrictionType" }
446
+ }
447
+ },
448
+ "Q1RestrictionDetailsType": {
449
+ "type": "object",
450
+ "required": ["RestrictionEntry"],
451
+ "properties": {
452
+ "RestrictionEntry": {
453
+ "oneOf": [
454
+ {
455
+ "type": "array",
456
+ "items": { "$ref": "#/definitions/Q1RestrictionEntryType" },
457
+ "minItems": 1
458
+ },
459
+ { "$ref": "#/definitions/Q1RestrictionEntryType" }
460
+ ]
461
+ }
462
+ }
463
+ },
464
+ "Q1ChargeType": {
465
+ "type": "object",
466
+ "required": ["EntryDetails"],
467
+ "properties": {
468
+ "MultipleTitleIndicator": { "type": "string" },
469
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
470
+ }
471
+ },
472
+ "Q1ChargeProprietorType": {
473
+ "type": "object",
474
+ "required": ["ChargeeParty", "EntryDetails"],
475
+ "properties": {
476
+ "ChargeeParty": {
477
+ "oneOf": [
478
+ {
479
+ "type": "array",
480
+ "items": { "$ref": "#/definitions/Q1PartyType" },
481
+ "minItems": 1
482
+ },
483
+ { "$ref": "#/definitions/Q1PartyType" }
484
+ ]
485
+ },
486
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
487
+ }
488
+ },
489
+ "Q1SubChargeDetailsType": {
490
+ "type": "object",
491
+ "required": ["RegisteredCharge", "ChargeProprietor"],
492
+ "properties": {
493
+ "ChargeDate": { "type": "string", "format": "date" },
494
+ "RegisteredCharge": { "$ref": "#/definitions/Q1ChargeType" },
495
+ "ChargeProprietor": { "$ref": "#/definitions/Q1ChargeProprietorType" }
496
+ }
497
+ },
498
+ "Q1ChargeDetailsType": {
499
+ "type": "object",
500
+ "required": ["RegisteredCharge", "ChargeProprietor"],
501
+ "properties": {
502
+ "ChargeID": { "type": "string" },
503
+ "ChargeDate": { "type": "string", "format": "date" },
504
+ "RegisteredCharge": { "$ref": "#/definitions/Q1ChargeType" },
505
+ "ChargeProprietor": { "$ref": "#/definitions/Q1ChargeProprietorType" },
506
+ "SubCharge": {
507
+ "oneOf": [
508
+ {
509
+ "type": "array",
510
+ "items": { "$ref": "#/definitions/Q1SubChargeDetailsType" },
511
+ "minItems": 0
512
+ },
513
+ { "$ref": "#/definitions/Q1SubChargeDetailsType" }
514
+ ]
515
+ }
516
+ }
517
+ },
518
+ "Q1ChargeEntriesType": {
519
+ "type": "object",
520
+ "required": ["ChargeEntry"],
521
+ "properties": {
522
+ "ChargeEntry": {
523
+ "oneOf": [
524
+ {
525
+ "type": "array",
526
+ "items": { "$ref": "#/definitions/Q1ChargeDetailsType" },
527
+ "minItems": 1
528
+ },
529
+ { "$ref": "#/definitions/Q1ChargeDetailsType" }
530
+ ]
531
+ }
532
+ }
533
+ },
534
+ "Q1AgreedNoticeType": {
535
+ "type": "object",
536
+ "required": ["EntryDetails"],
537
+ "properties": {
538
+ "AgreedNoticeType": {
539
+ "type": "string",
540
+ "enum": ["10", "20"]
541
+ },
542
+ "EntryDetails": { "$ref": "#/definitions/Q1EntryDetailsType" }
543
+ }
544
+ },
545
+ "Q1AgreedNoticeEntriesType": {
546
+ "type": "object",
547
+ "required": ["AgreedNoticeEntry"],
548
+ "properties": {
549
+ "AgreedNoticeEntry": {
550
+ "oneOf": [
551
+ {
552
+ "type": "array",
553
+ "items": { "$ref": "#/definitions/Q1AgreedNoticeType" },
554
+ "minItems": 1
555
+ },
556
+ { "$ref": "#/definitions/Q1AgreedNoticeType" }
557
+ ]
558
+ }
559
+ }
560
+ },
561
+ "Q1EntriesType": {
562
+ "type": "object",
563
+ "required": ["EntryDetails"],
564
+ "properties": {
565
+ "EntryDetails": {
566
+ "oneOf": [
567
+ {
568
+ "type": "array",
569
+ "items": { "$ref": "#/definitions/Q1EntryDetailsType" },
570
+ "minItems": 1
571
+ },
572
+ { "$ref": "#/definitions/Q1EntryDetailsType" }
573
+ ]
574
+ }
575
+ }
576
+ },
577
+ "Q1HomeRightsType": {
578
+ "type": "object",
579
+ "required": ["ChangeOfAddressIndicator", "HomeRightsEntryDetails"],
580
+ "properties": {
581
+ "ChangeOfAddressIndicator": { "$ref": "#/definitions/IndicatorType" },
582
+ "HomeRightsEntryDetails": {
583
+ "$ref": "#/definitions/Q1EntryDetailsType"
584
+ },
585
+ "ChangeOfAddressEntryDetails": {
586
+ "$ref": "#/definitions/Q1EntryDetailsType"
587
+ }
588
+ }
589
+ },
590
+ "Q1HomeRightsEntriesType": {
591
+ "type": "object",
592
+ "required": ["HomeRightsEntry"],
593
+ "properties": {
594
+ "HomeRightsEntry": {
595
+ "oneOf": [
596
+ {
597
+ "type": "array",
598
+ "items": { "$ref": "#/definitions/Q1HomeRightsType" },
599
+ "minItems": 1
600
+ },
601
+ { "$ref": "#/definitions/Q1HomeRightsType" }
602
+ ]
603
+ }
604
+ }
605
+ },
606
+ "Q1DocumentEntryType": {
607
+ "type": "object",
608
+ "required": [
609
+ "DocumentType",
610
+ "EntryNumber",
611
+ "PlanOnlyIndicator",
612
+ "RegisterDescription"
613
+ ],
614
+ "properties": {
615
+ "DocumentType": {
616
+ "type": "string",
617
+ "enum": [
618
+ "10",
619
+ "20",
620
+ "30",
621
+ "40",
622
+ "50",
623
+ "60",
624
+ "70",
625
+ "80",
626
+ "90",
627
+ "100",
628
+ "110",
629
+ "120",
630
+ "130",
631
+ "140",
632
+ "150",
633
+ "160",
634
+ "170",
635
+ "180"
636
+ ]
637
+ },
638
+ "DocumentDate": { "type": "string" },
639
+ "EntryNumber": {
640
+ "oneOf": [
641
+ { "type": "array", "items": { "type": "string" }, "minItems": 1 },
642
+ { "type": "string" }
643
+ ]
644
+ },
645
+ "PlanOnlyIndicator": { "$ref": "#/definitions/IndicatorType" },
646
+ "FiledUnder": { "type": "string" },
647
+ "RegisterDescription": { "type": "string" }
648
+ }
649
+ },
650
+ "Q1DocumentDetailsType": {
651
+ "type": "object",
652
+ "required": ["Document"],
653
+ "properties": {
654
+ "Document": {
655
+ "oneOf": [
656
+ {
657
+ "type": "array",
658
+ "items": { "$ref": "#/definitions/Q1DocumentEntryType" },
659
+ "minItems": 1
660
+ },
661
+ { "$ref": "#/definitions/Q1DocumentEntryType" }
662
+ ]
663
+ }
664
+ }
665
+ },
666
+ "Q1UnilateralNoticeDetailsType": {
667
+ "type": "object",
668
+ "required": ["UnilateralNotice", "UnilateralNoticeBeneficiary"],
669
+ "properties": {
670
+ "UnilateralNotice": { "$ref": "#/definitions/Q1EntryDetailsType" },
671
+ "UnilateralNoticeBeneficiary": {
672
+ "$ref": "#/definitions/Q1EntryDetailsType"
673
+ }
674
+ }
675
+ },
676
+ "Q1UnilateralNoticeEntriesType": {
677
+ "type": "object",
678
+ "required": ["UnilateralNoticeEntry"],
679
+ "properties": {
680
+ "UnilateralNoticeEntry": {
681
+ "oneOf": [
682
+ {
683
+ "type": "array",
684
+ "items": {
685
+ "$ref": "#/definitions/Q1UnilateralNoticeDetailsType"
686
+ },
687
+ "minItems": 1
688
+ },
689
+ { "$ref": "#/definitions/Q1UnilateralNoticeDetailsType" }
690
+ ]
691
+ }
692
+ }
693
+ },
694
+ "Q1OCSummaryDataType": {
695
+ "type": "object",
696
+ "required": [
697
+ "OfficialCopyDateTime",
698
+ "EditionDate",
699
+ "PropertyAddress",
700
+ "Title",
701
+ "RegisterEntryIndicators",
702
+ "Proprietorship"
703
+ ],
704
+ "properties": {
705
+ "OfficialCopyDateTime": { "type": "string", "format": "date-time" },
706
+ "EditionDate": { "type": "string", "format": "date" },
707
+ "PricePaidEntry": { "$ref": "#/definitions/Q1PricePaidEntryType" },
708
+ "PropertyAddress": { "$ref": "#/definitions/Q1AddressType" },
709
+ "Title": { "$ref": "#/definitions/Q1TitleType" },
710
+ "RegisterEntryIndicators": {
711
+ "$ref": "#/definitions/Q1RegisterEntryIndicatorsType"
712
+ },
713
+ "Proprietorship": { "$ref": "#/definitions/Q1ProprietorshipType" },
714
+ "Lease": { "$ref": "#/definitions/Q1LeaseEntriesType" },
715
+ "RestrictionDetails": {
716
+ "$ref": "#/definitions/Q1RestrictionDetailsType"
717
+ },
718
+ "Charge": { "$ref": "#/definitions/Q1ChargeEntriesType" },
719
+ "AgreedNotice": { "$ref": "#/definitions/Q1AgreedNoticeEntriesType" },
720
+ "Bankruptcy": { "$ref": "#/definitions/Q1EntriesType" },
721
+ "Caution": { "$ref": "#/definitions/Q1EntriesType" },
722
+ "DeedOfPostponement": { "$ref": "#/definitions/Q1EntriesType" },
723
+ "GreenOutEntry": { "$ref": "#/definitions/Q1EntriesType" },
724
+ "HomeRights": { "$ref": "#/definitions/Q1HomeRightsEntriesType" },
725
+ "RentCharge": { "$ref": "#/definitions/Q1EntriesType" },
726
+ "VendorsLien": { "$ref": "#/definitions/Q1EntriesType" },
727
+ "RightOfPreEmption": { "$ref": "#/definitions/Q1EntriesType" },
728
+ "DocumentDetails": { "$ref": "#/definitions/Q1DocumentDetailsType" },
729
+ "UnilateralNoticeDetails": {
730
+ "$ref": "#/definitions/Q1UnilateralNoticeEntriesType"
731
+ },
732
+ "DeathOfProprietor": { "$ref": "#/definitions/Q1EntriesType" },
733
+ "DiscountCharge": { "$ref": "#/definitions/Q1EntriesType" },
734
+ "EquitableCharge": { "$ref": "#/definitions/Q1EntriesType" },
735
+ "NotedCharge": { "$ref": "#/definitions/Q1EntriesType" },
736
+ "CreditorsNotice": { "$ref": "#/definitions/Q1EntriesType" },
737
+ "UnidentifiedEntry": { "$ref": "#/definitions/Q1EntriesType" },
738
+ "CCBIEntry": { "$ref": "#/definitions/Q1EntriesType" }
739
+ }
740
+ },
741
+ "Q1DistrictDetailsType": {
742
+ "type": "object",
743
+ "properties": {
744
+ "EntryText": {
745
+ "oneOf": [
746
+ { "type": "array", "items": { "type": "string" }, "minItems": 0 },
747
+ { "type": "string" }
748
+ ]
749
+ }
750
+ }
751
+ },
752
+ "Q1RegisterEntryType": {
753
+ "type": "object",
754
+ "required": ["EntryNumber", "EntryText"],
755
+ "properties": {
756
+ "EntryNumber": { "type": "string" },
757
+ "EntryDate": { "type": "string" },
758
+ "EntryType": { "type": "string" },
759
+ "EntryText": {
760
+ "oneOf": [
761
+ { "type": "array", "items": { "type": "string" }, "minItems": 1 },
762
+ { "type": "string" }
763
+ ]
764
+ }
765
+ }
766
+ },
767
+ "Q1ScheduleType": {
768
+ "type": "object",
769
+ "required": ["ScheduleType", "ScheduleEntry"],
770
+ "properties": {
771
+ "ScheduleType": { "type": "string" },
772
+ "ScheduleEntry": {
773
+ "oneOf": [
774
+ {
775
+ "type": "array",
776
+ "items": { "$ref": "#/definitions/Q1RegisterEntryType" },
777
+ "minItems": 1
778
+ },
779
+ { "$ref": "#/definitions/Q1RegisterEntryType" }
780
+ ]
781
+ }
782
+ }
783
+ },
784
+ "Q1RegisterType": {
785
+ "type": "object",
786
+ "required": ["RegisterEntry"],
787
+ "properties": {
788
+ "DistrictDetails": { "$ref": "#/definitions/Q1DistrictDetailsType" },
789
+ "RegisterEntry": {
790
+ "oneOf": [
791
+ {
792
+ "type": "array",
793
+ "items": { "$ref": "#/definitions/Q1RegisterEntryType" },
794
+ "minItems": 1
795
+ },
796
+ { "$ref": "#/definitions/Q1RegisterEntryType" }
797
+ ]
798
+ },
799
+ "Schedule": {
800
+ "oneOf": [
801
+ {
802
+ "type": "array",
803
+ "items": { "$ref": "#/definitions/Q1ScheduleType" },
804
+ "minItems": 0
805
+ },
806
+ { "$ref": "#/definitions/Q1ScheduleType" }
807
+ ]
808
+ }
809
+ }
810
+ },
811
+ "Q1OCRegisterDataType": {
812
+ "type": "object",
813
+ "required": ["PropertyRegister", "ProprietorshipRegister"],
814
+ "properties": {
815
+ "PropertyRegister": { "$ref": "#/definitions/Q1RegisterType" },
816
+ "ProprietorshipRegister": { "$ref": "#/definitions/Q1RegisterType" },
817
+ "ChargesRegister": { "$ref": "#/definitions/Q1RegisterType" }
818
+ }
819
+ },
820
+ "SubRegisterCodeType": {
821
+ "type": "string",
822
+ "enum": ["A", "B", "C", "D"]
823
+ },
824
+ "CharityCodeContentType": {
825
+ "type": "string",
826
+ "enum": ["C", "R", "S"]
827
+ }
828
+ },
829
+ "type": "object",
830
+ "required": ["OCSummaryData", "OCRegisterData"],
831
+ "properties": {
832
+ "OCSummaryData": {
833
+ "title": "Official Copy Summary Data",
834
+ "$ref": "#/definitions/Q1OCSummaryDataType"
835
+ },
836
+ "OCRegisterData": {
837
+ "title": "Official Copy Register Data",
838
+ "$ref": "#/definitions/Q1OCRegisterDataType"
839
+ }
840
+ }
841
+ }