@pdtf/schemas 3.6.0-dev.1 → 3.6.0-dev.11
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.
- package/package.json +9 -1
- package/src/schemas/v3/combined.json +677 -182
- package/src/schemas/v3/compactSkeleton.txt +63 -0
- package/src/schemas/v3/overlays/baspi4.json +43 -73
- package/src/schemas/v3/overlays/baspi5.json +43 -73
- package/src/schemas/v3/overlays/extensions/ac.json +2 -1
- package/src/schemas/v3/overlays/extensions/dk.json +3 -2
- package/src/schemas/v3/overlays/extensions/ic.json +44 -9
- package/src/schemas/v3/overlays/extensions/lc.json +3 -2
- package/src/schemas/v3/overlays/extensions/mi.json +2 -1
- package/src/schemas/v3/overlays/extensions/nd.json +3 -2
- package/src/schemas/v3/overlays/extensions/pc.json +3 -2
- package/src/schemas/v3/overlays/extensions/ph.json +2 -1
- package/src/schemas/v3/overlays/extensions/rw.json +4 -3
- package/src/schemas/v3/overlays/extensions/sc.json +8 -4
- package/src/schemas/v3/overlays/extensions/sd.json +3 -2
- package/src/schemas/v3/overlays/extensions/ta.json +0 -48
- package/src/schemas/v3/overlays/extensions/tr.json +3 -2
- package/src/schemas/v3/overlays/extensions/wg.json +2 -1
- package/src/schemas/v3/overlays/llc1.json +1 -2
- package/src/schemas/v3/overlays/lpe1.json +1 -1
- package/src/schemas/v3/overlays/nts.json +3 -1
- package/src/schemas/v3/overlays/nts2.json +3 -1
- package/src/schemas/v3/overlays/ntsl.json +3 -1
- package/src/schemas/v3/overlays/ntsl2.json +3 -1
- package/src/schemas/v3/overlays/piq.json +23 -24
- package/src/schemas/v3/overlays/rds.json +22 -49
- package/src/schemas/v3/overlays/sef25.json +16 -2
- package/src/schemas/v3/overlays/ta10.json +0 -9
- package/src/schemas/v3/overlays/ta6.json +37 -69
- package/src/schemas/v3/overlays/ta6ed6.json +319 -180
- package/src/schemas/v3/overlays/ta7ed5.json +66 -20
- package/src/schemas/v3/pdtf-transaction.json +397 -95
- package/src/schemas/v3/skeleton.json +70 -5
- package/src/utils/extractExtensionOverlays.js +11 -2
- package/src/utils/extractOverlay.js +20 -0
- package/CLAUDE.md +0 -101
- package/docs/backend-lms-profile-filtering-spec.md +0 -180
- package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
- package/src/examples/v1/exampleDocumentedVouch.json +0 -40
- package/src/examples/v1/exampleElectronicRecord.json +0 -30
- package/src/examples/v1/exampleTransaction.json +0 -878
- package/src/examples/v1/exampleVouch.json +0 -25
- package/src/examples/v2/exampleTransaction.json +0 -901
- package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
- package/src/examples/v3/exampleCustomOverlay.json +0 -55
- package/src/examples/v3/exampleCustomOverlay2.json +0 -93
- package/src/examples/v3/exampleDocumentedVouch.json +0 -47
- package/src/examples/v3/exampleElectronicRecord.json +0 -36
- package/src/examples/v3/exampleTransaction.json +0 -1038
- package/src/examples/v3/exampleVouch.json +0 -32
- package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
- package/src/mappings/adf.js +0 -198
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"properties": {
|
|
11
11
|
"address": {
|
|
12
12
|
"ta7ed5Ref": "1.1",
|
|
13
|
+
"title": "Address of the property",
|
|
13
14
|
"properties": {
|
|
14
15
|
"line1": {
|
|
15
16
|
"ta7ed5Ref": "1.1.1"
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
32
|
"uprn": {
|
|
32
|
-
"ta7ed5Ref": "1.1.3"
|
|
33
|
+
"ta7ed5Ref": "1.1.3",
|
|
34
|
+
"title": "UPRN (if known)"
|
|
33
35
|
},
|
|
34
36
|
"ownership": {
|
|
35
37
|
"ta7ed5Ref": "2",
|
|
@@ -138,6 +140,7 @@
|
|
|
138
140
|
"contacts",
|
|
139
141
|
"serviceContactAssignments"
|
|
140
142
|
],
|
|
143
|
+
"title": "Contact details",
|
|
141
144
|
"properties": {
|
|
142
145
|
"contacts": {
|
|
143
146
|
"ta7ed5Ref": "3",
|
|
@@ -149,7 +152,8 @@
|
|
|
149
152
|
"ta7ed5Ref": "3.1.1",
|
|
150
153
|
"properties": {
|
|
151
154
|
"nameOrOrganisation": {
|
|
152
|
-
"ta7ed5Ref": "3.1.1.1"
|
|
155
|
+
"ta7ed5Ref": "3.1.1.1",
|
|
156
|
+
"title": "Name"
|
|
153
157
|
},
|
|
154
158
|
"address": {
|
|
155
159
|
"ta7ed5Ref": "3.1.1.2",
|
|
@@ -163,7 +167,8 @@
|
|
|
163
167
|
}
|
|
164
168
|
},
|
|
165
169
|
"emailAddress": {
|
|
166
|
-
"ta7ed5Ref": "3.1.1.3"
|
|
170
|
+
"ta7ed5Ref": "3.1.1.3",
|
|
171
|
+
"title": "Email"
|
|
167
172
|
}
|
|
168
173
|
}
|
|
169
174
|
}
|
|
@@ -171,12 +176,14 @@
|
|
|
171
176
|
},
|
|
172
177
|
"managementCompany": {
|
|
173
178
|
"ta7ed5Ref": "3.1.2",
|
|
179
|
+
"title": "Management company",
|
|
174
180
|
"properties": {
|
|
175
181
|
"contact": {
|
|
176
182
|
"ta7ed5Ref": "3.1.2",
|
|
177
183
|
"properties": {
|
|
178
184
|
"nameOrOrganisation": {
|
|
179
|
-
"ta7ed5Ref": "3.1.2.1"
|
|
185
|
+
"ta7ed5Ref": "3.1.2.1",
|
|
186
|
+
"title": "Name"
|
|
180
187
|
},
|
|
181
188
|
"address": {
|
|
182
189
|
"ta7ed5Ref": "3.1.2.2",
|
|
@@ -190,7 +197,8 @@
|
|
|
190
197
|
}
|
|
191
198
|
},
|
|
192
199
|
"emailAddress": {
|
|
193
|
-
"ta7ed5Ref": "3.1.2.3"
|
|
200
|
+
"ta7ed5Ref": "3.1.2.3",
|
|
201
|
+
"title": "Email"
|
|
194
202
|
}
|
|
195
203
|
}
|
|
196
204
|
}
|
|
@@ -203,7 +211,8 @@
|
|
|
203
211
|
"ta7ed5Ref": "3.1.3",
|
|
204
212
|
"properties": {
|
|
205
213
|
"nameOrOrganisation": {
|
|
206
|
-
"ta7ed5Ref": "3.1.3.1"
|
|
214
|
+
"ta7ed5Ref": "3.1.3.1",
|
|
215
|
+
"title": "Name"
|
|
207
216
|
},
|
|
208
217
|
"address": {
|
|
209
218
|
"ta7ed5Ref": "3.1.3.2",
|
|
@@ -217,7 +226,8 @@
|
|
|
217
226
|
}
|
|
218
227
|
},
|
|
219
228
|
"emailAddress": {
|
|
220
|
-
"ta7ed5Ref": "3.1.3.3"
|
|
229
|
+
"ta7ed5Ref": "3.1.3.3",
|
|
230
|
+
"title": "Email"
|
|
221
231
|
}
|
|
222
232
|
}
|
|
223
233
|
}
|
|
@@ -230,7 +240,8 @@
|
|
|
230
240
|
"ta7ed5Ref": "3.1.4",
|
|
231
241
|
"properties": {
|
|
232
242
|
"nameOrOrganisation": {
|
|
233
|
-
"ta7ed5Ref": "3.1.4.1"
|
|
243
|
+
"ta7ed5Ref": "3.1.4.1",
|
|
244
|
+
"title": "Name"
|
|
234
245
|
},
|
|
235
246
|
"address": {
|
|
236
247
|
"ta7ed5Ref": "3.1.4.2",
|
|
@@ -244,7 +255,8 @@
|
|
|
244
255
|
}
|
|
245
256
|
},
|
|
246
257
|
"emailAddress": {
|
|
247
|
-
"ta7ed5Ref": "3.1.4.3"
|
|
258
|
+
"ta7ed5Ref": "3.1.4.3",
|
|
259
|
+
"title": "Email"
|
|
248
260
|
}
|
|
249
261
|
}
|
|
250
262
|
}
|
|
@@ -257,7 +269,8 @@
|
|
|
257
269
|
"ta7ed5Ref": "3.1.5",
|
|
258
270
|
"properties": {
|
|
259
271
|
"nameOrOrganisation": {
|
|
260
|
-
"ta7ed5Ref": "3.1.5.1"
|
|
272
|
+
"ta7ed5Ref": "3.1.5.1",
|
|
273
|
+
"title": "Name"
|
|
261
274
|
},
|
|
262
275
|
"address": {
|
|
263
276
|
"ta7ed5Ref": "3.1.5.2",
|
|
@@ -271,7 +284,8 @@
|
|
|
271
284
|
}
|
|
272
285
|
},
|
|
273
286
|
"emailAddress": {
|
|
274
|
-
"ta7ed5Ref": "3.1.5.3"
|
|
287
|
+
"ta7ed5Ref": "3.1.5.3",
|
|
288
|
+
"title": "Email"
|
|
275
289
|
}
|
|
276
290
|
}
|
|
277
291
|
}
|
|
@@ -292,7 +306,8 @@
|
|
|
292
306
|
],
|
|
293
307
|
"properties": {
|
|
294
308
|
"nameOrOrganisation": {
|
|
295
|
-
"ta7ed5Ref": "4.1.2.1"
|
|
309
|
+
"ta7ed5Ref": "4.1.2.1",
|
|
310
|
+
"title": "Name"
|
|
296
311
|
},
|
|
297
312
|
"address": {
|
|
298
313
|
"ta7ed5Ref": "4.1.2.2",
|
|
@@ -306,7 +321,8 @@
|
|
|
306
321
|
}
|
|
307
322
|
},
|
|
308
323
|
"emailAddress": {
|
|
309
|
-
"ta7ed5Ref": "4.1.2.3"
|
|
324
|
+
"ta7ed5Ref": "4.1.2.3",
|
|
325
|
+
"title": "Email"
|
|
310
326
|
}
|
|
311
327
|
}
|
|
312
328
|
}
|
|
@@ -358,6 +374,7 @@
|
|
|
358
374
|
"required": [
|
|
359
375
|
"collector"
|
|
360
376
|
],
|
|
377
|
+
"title": "If ground rent is payable, is it collected by the managing agent?",
|
|
361
378
|
"properties": {
|
|
362
379
|
"collector": {
|
|
363
380
|
"ta7ed5Ref": "4.3.2",
|
|
@@ -410,15 +427,28 @@
|
|
|
410
427
|
"required": [
|
|
411
428
|
"collector"
|
|
412
429
|
],
|
|
430
|
+
"title": "Does the managing agent arrange or collect charges for the insurance of the building?",
|
|
413
431
|
"properties": {
|
|
414
432
|
"collector": {
|
|
415
433
|
"ta7ed5Ref": "4.2.2",
|
|
416
434
|
"enum": [
|
|
435
|
+
"Managing Agent",
|
|
417
436
|
"Freeholder",
|
|
418
437
|
"Landlord",
|
|
419
438
|
"Management Company",
|
|
420
439
|
"Head Leaseholder",
|
|
421
440
|
"Seller",
|
|
441
|
+
"Not applicable",
|
|
442
|
+
"Other"
|
|
443
|
+
],
|
|
444
|
+
"enumNames": [
|
|
445
|
+
"Yes",
|
|
446
|
+
"Freeholder",
|
|
447
|
+
"Landlord",
|
|
448
|
+
"Management Company",
|
|
449
|
+
"Head Leaseholder",
|
|
450
|
+
"Seller",
|
|
451
|
+
"Not applicable",
|
|
422
452
|
"Other"
|
|
423
453
|
]
|
|
424
454
|
}
|
|
@@ -459,7 +489,7 @@
|
|
|
459
489
|
},
|
|
460
490
|
"details": {
|
|
461
491
|
"ta7ed5Ref": "8.1.2",
|
|
462
|
-
"title": "Please supply further details and any documents relating to the variation
|
|
492
|
+
"title": "Please supply further details and any documents relating to the variation"
|
|
463
493
|
},
|
|
464
494
|
"attachments": {
|
|
465
495
|
"ta7ed5Ref": "8.1.3"
|
|
@@ -473,6 +503,7 @@
|
|
|
473
503
|
"required": [
|
|
474
504
|
"isSellerAwareOfChanges"
|
|
475
505
|
],
|
|
506
|
+
"title": "Are you aware of any changes to the terms of the lease?",
|
|
476
507
|
"properties": {
|
|
477
508
|
"isSellerAwareOfChanges": {
|
|
478
509
|
"ta7ed5Ref": "8.1.1"
|
|
@@ -548,7 +579,8 @@
|
|
|
548
579
|
]
|
|
549
580
|
},
|
|
550
581
|
"mostRecentGroundRentDemandStatus": {
|
|
551
|
-
"ta7ed5Ref": "2.2a"
|
|
582
|
+
"ta7ed5Ref": "2.2a",
|
|
583
|
+
"title": "Ground rent"
|
|
552
584
|
}
|
|
553
585
|
},
|
|
554
586
|
"required": [
|
|
@@ -636,7 +668,8 @@
|
|
|
636
668
|
]
|
|
637
669
|
},
|
|
638
670
|
"attachments": {
|
|
639
|
-
"ta7ed5Ref": "4.4.2"
|
|
671
|
+
"ta7ed5Ref": "4.4.2",
|
|
672
|
+
"title": "Supply evidence of your ownership or share certificate for membership of the organisation that is responsible for the management of the building."
|
|
640
673
|
}
|
|
641
674
|
},
|
|
642
675
|
"required": [
|
|
@@ -687,7 +720,8 @@
|
|
|
687
720
|
]
|
|
688
721
|
},
|
|
689
722
|
"mostRecentServiceChargeDemandStatus": {
|
|
690
|
-
"ta7ed5Ref": "2.2b"
|
|
723
|
+
"ta7ed5Ref": "2.2b",
|
|
724
|
+
"title": "Service charge"
|
|
691
725
|
},
|
|
692
726
|
"largeAdditionalExpense": {
|
|
693
727
|
"ta7ed5Ref": "5.4",
|
|
@@ -712,7 +746,8 @@
|
|
|
712
746
|
]
|
|
713
747
|
},
|
|
714
748
|
"details": {
|
|
715
|
-
"ta7ed5Ref": "5.4.2"
|
|
749
|
+
"ta7ed5Ref": "5.4.2",
|
|
750
|
+
"title": "Please give details"
|
|
716
751
|
}
|
|
717
752
|
},
|
|
718
753
|
"required": [
|
|
@@ -723,6 +758,7 @@
|
|
|
723
758
|
"required": [
|
|
724
759
|
"yesNo"
|
|
725
760
|
],
|
|
761
|
+
"title": "Do you know of any expense (e.g. the cost of redecoration of outside or communal areas that is not usually incurred annually) that is likely to be shown in the service charge accounts within the next three years?",
|
|
726
762
|
"properties": {
|
|
727
763
|
"yesNo": {
|
|
728
764
|
"ta7ed5Ref": "5.4.1"
|
|
@@ -763,6 +799,7 @@
|
|
|
763
799
|
"required": [
|
|
764
800
|
"yesNo"
|
|
765
801
|
],
|
|
802
|
+
"title": "Do you know of any issues in the last three years regarding the level of service charges or with the management?",
|
|
766
803
|
"properties": {
|
|
767
804
|
"yesNo": {
|
|
768
805
|
"ta7ed5Ref": "5.6.1"
|
|
@@ -803,6 +840,7 @@
|
|
|
803
840
|
"required": [
|
|
804
841
|
"yesNo"
|
|
805
842
|
],
|
|
843
|
+
"title": "Have you challenged the service charge or any expense in the last three years?",
|
|
806
844
|
"properties": {
|
|
807
845
|
"yesNo": {
|
|
808
846
|
"ta7ed5Ref": "5.5.1"
|
|
@@ -855,6 +893,7 @@
|
|
|
855
893
|
"properties": {
|
|
856
894
|
"externally": {
|
|
857
895
|
"ta7ed5Ref": "5.1",
|
|
896
|
+
"title": "In what year was the outside of the building last decorated?",
|
|
858
897
|
"properties": {
|
|
859
898
|
"year": {
|
|
860
899
|
"ta7ed5Ref": "5.1.1"
|
|
@@ -863,6 +902,7 @@
|
|
|
863
902
|
},
|
|
864
903
|
"internally": {
|
|
865
904
|
"ta7ed5Ref": "5.2",
|
|
905
|
+
"title": "In what year were any internal communal parts last decorated?",
|
|
866
906
|
"properties": {
|
|
867
907
|
"year": {
|
|
868
908
|
"ta7ed5Ref": "5.2.1"
|
|
@@ -887,7 +927,8 @@
|
|
|
887
927
|
],
|
|
888
928
|
"properties": {
|
|
889
929
|
"sellerContributesToServiceCharge": {
|
|
890
|
-
"ta7ed5Ref": "5.3"
|
|
930
|
+
"ta7ed5Ref": "5.3",
|
|
931
|
+
"title": "Do you contribute to the cost of maintaining the building?"
|
|
891
932
|
}
|
|
892
933
|
}
|
|
893
934
|
},
|
|
@@ -898,7 +939,8 @@
|
|
|
898
939
|
],
|
|
899
940
|
"properties": {
|
|
900
941
|
"mostRecentBuildingsInsuranceDemandStatus": {
|
|
901
|
-
"ta7ed5Ref": "2.2c"
|
|
942
|
+
"ta7ed5Ref": "2.2c",
|
|
943
|
+
"title": "Buildings insurance"
|
|
902
944
|
}
|
|
903
945
|
}
|
|
904
946
|
},
|
|
@@ -908,6 +950,7 @@
|
|
|
908
950
|
"sellerReceivedComplaint",
|
|
909
951
|
"sellerSentComplaint"
|
|
910
952
|
],
|
|
953
|
+
"title": "Complaints",
|
|
911
954
|
"properties": {
|
|
912
955
|
"sellerReceivedComplaint": {
|
|
913
956
|
"ta7ed5Ref": "10.1",
|
|
@@ -1003,6 +1046,7 @@
|
|
|
1003
1046
|
"deedOfCertificateServed",
|
|
1004
1047
|
"landlordsCertificateServed"
|
|
1005
1048
|
],
|
|
1049
|
+
"title": "Building safety for blocks of flats",
|
|
1006
1050
|
"properties": {
|
|
1007
1051
|
"isLeaseQualifying": {
|
|
1008
1052
|
"ta7ed5Ref": "11.3",
|
|
@@ -1197,6 +1241,7 @@
|
|
|
1197
1241
|
"required": [
|
|
1198
1242
|
"yesNo"
|
|
1199
1243
|
],
|
|
1244
|
+
"title": "Are you aware of any alterations having been made to the property since the lease was originally granted?",
|
|
1200
1245
|
"properties": {
|
|
1201
1246
|
"yesNo": {
|
|
1202
1247
|
"ta7ed5Ref": "9.1.1"
|
|
@@ -1335,6 +1380,7 @@
|
|
|
1335
1380
|
"required": [
|
|
1336
1381
|
"yesNo"
|
|
1337
1382
|
],
|
|
1383
|
+
"title": "Are you aware of any response to a notice disclosed in replies to 7.1 and 7.2 above?",
|
|
1338
1384
|
"properties": {
|
|
1339
1385
|
"yesNo": {
|
|
1340
1386
|
"ta7ed5Ref": "7.3.1"
|