@pdtf/schemas 3.0.0-6 → 3.0.0-7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.0.0-6",
3
+ "version": "3.0.0-7",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -1217,6 +1217,7 @@
1217
1217
  "minLength": 1
1218
1218
  },
1219
1219
  "ownershipType": {
1220
+ "ntsRef": "A3.1",
1220
1221
  "baspiRef": "A1.3.0.2",
1221
1222
  "rdsRef": "Tenure/Tenure",
1222
1223
  "ta7Ref": "1.1",
@@ -1292,6 +1293,7 @@
1292
1293
  },
1293
1294
  "managedFreeholdOrCommonholdInformation": {
1294
1295
  "title": "Managed freehold or commonhold information",
1296
+ "ntsRef": "A3.2",
1295
1297
  "baspiRef": "A1.5",
1296
1298
  "type": "object",
1297
1299
  "fme1Required": [
@@ -1307,6 +1309,7 @@
1307
1309
  "contactDetails",
1308
1310
  "serviceCharge"
1309
1311
  ],
1312
+ "ntsRequired": ["serviceCharge"],
1310
1313
  "properties": {
1311
1314
  "contactDetails": {
1312
1315
  "fme1Ref": "1",
@@ -2276,6 +2279,7 @@
2276
2279
  },
2277
2280
  "serviceCharge": {
2278
2281
  "baspiRef": "A1.5.1",
2282
+ "ntsRef": "A3.1.1",
2279
2283
  "fme1Ref": "3",
2280
2284
  "piqRef": "A1.4.2",
2281
2285
  "title": "Service Charge",
@@ -2301,8 +2305,10 @@
2301
2305
  "largeAdditionalExpense",
2302
2306
  "reserveFund"
2303
2307
  ],
2308
+ "ntsRequired": ["annualServiceCharge"],
2304
2309
  "properties": {
2305
2310
  "annualServiceCharge": {
2311
+ "ntsRef": "A3.1.2",
2306
2312
  "baspiRef": "A1.5.1.1.2",
2307
2313
  "fme1Ref": "3.1",
2308
2314
  "title": "What is the annual Service Charge payable by this Property?",
@@ -7957,6 +7963,7 @@
7957
7963
  "type": "array",
7958
7964
  "title": "Parking arrangements",
7959
7965
  "items": {
7966
+ "ntsRef": "B4.1.1",
7960
7967
  "type": "string",
7961
7968
  "enum": [
7962
7969
  "Allocated",
@@ -7983,6 +7990,7 @@
7983
7990
  "type": "object",
7984
7991
  "properties": {
7985
7992
  "yesNo": {
7993
+ "ntsRef": "B4.2.1",
7986
7994
  "baspiRef": "A1.6.2.1",
7987
7995
  "ta6Ref": "9.2.1",
7988
7996
  "type": "string",
@@ -8001,6 +8009,7 @@
8001
8009
  "type": "object",
8002
8010
  "properties": {
8003
8011
  "yesNo": {
8012
+ "ntsRef": "B4.2.1",
8004
8013
  "baspiRef": "A1.6.1.1",
8005
8014
  "type": "string",
8006
8015
  "title": "",
@@ -8077,7 +8086,7 @@
8077
8086
  "ntsRef": "C2.1.1.2",
8078
8087
  "baspiRef": "A1.7.1.2",
8079
8088
  "ta6Ref": "4.7a2",
8080
- "title": "Please provide details of the listing and any relevant documents",
8089
+ "title": "Please provide details of the listing",
8081
8090
  "type": "string",
8082
8091
  "minLength": 1
8083
8092
  },
@@ -8089,6 +8098,7 @@
8089
8098
  "enum": ["Attached", "To follow"]
8090
8099
  }
8091
8100
  },
8101
+ "ntsRequired": ["details"],
8092
8102
  "baspiRequired": ["details", "attachments"],
8093
8103
  "ta6Required": ["details", "attachments"]
8094
8104
  }
@@ -8136,7 +8146,7 @@
8136
8146
  "ntsRef": "C2.1.2.2",
8137
8147
  "baspiRef": "A1.7.2.2",
8138
8148
  "ta6Ref": "4.7b2",
8139
- "title": "Please provide details of the listing and any relevant documents",
8149
+ "title": "Please provide details of the listing",
8140
8150
  "type": "string",
8141
8151
  "minLength": 1
8142
8152
  },
@@ -8148,6 +8158,7 @@
8148
8158
  "enum": ["Attached", "To follow"]
8149
8159
  }
8150
8160
  },
8161
+ "ntsRequired": ["details"],
8151
8162
  "baspiRequired": ["details", "attachments"],
8152
8163
  "ta6Required": ["details", "attachments"]
8153
8164
  }
@@ -8238,7 +8249,6 @@
8238
8249
  "enum": ["Yes", "No", "Not known"]
8239
8250
  },
8240
8251
  "attachments": {
8241
- "ntsRef": "C2.1.3.4",
8242
8252
  "baspiRef": "A1.7.3.4",
8243
8253
  "ta6Ref": "4.8a3",
8244
8254
  "title": "Provide any relevant documentation",
@@ -8480,6 +8490,7 @@
8480
8490
  "description": "Lateral living is a term used to describe a property that has essential facilites on the entrance level",
8481
8491
  "type": "array",
8482
8492
  "items": {
8493
+ "ntsRef": "C5.1",
8483
8494
  "type": "string",
8484
8495
  "enum": [
8485
8496
  "None",
@@ -18692,6 +18703,7 @@
18692
18703
  "type": "string",
18693
18704
  "title": "",
18694
18705
  "enum": ["Yes", "To be connected", "No"],
18706
+ "ntsEnum": ["Yes", "No"],
18695
18707
  "con29DWEnum": ["Yes", "No"]
18696
18708
  }
18697
18709
  },
@@ -19017,7 +19029,7 @@
19017
19029
  "rdsRef": "Services/WasteWaterSewarageDisposal",
19018
19030
  "ta6Ref": "12.4a",
19019
19031
  "con29DWRef": "2.1",
19020
- "title": "Mains foul drainage / sweerage",
19032
+ "title": "Mains foul drainage / sewerage",
19021
19033
  "type": "object",
19022
19034
  "baspiRequired": ["yesNo"],
19023
19035
  "ta6Required": ["yesNo"],
@@ -20095,6 +20107,7 @@
20095
20107
  "Electricity",
20096
20108
  "Oil",
20097
20109
  "LPG",
20110
+ "Biomass",
20098
20111
  "Other"
20099
20112
  ]
20100
20113
  }
@@ -20111,7 +20124,7 @@
20111
20124
  "Electricity",
20112
20125
  "Oil",
20113
20126
  "LPG",
20114
- "Biomass boiler"
20127
+ "Biomass"
20115
20128
  ]
20116
20129
  }
20117
20130
  }
@@ -21029,13 +21042,13 @@
21029
21042
  "baspiRef": "A10.4.1.2",
21030
21043
  "ta6Ref": "8.6.2",
21031
21044
  "piqRef": "A10.4.2",
21032
- "title": "Please provide details and mark the route on a plan of the property",
21045
+ "title": "Please provide details",
21033
21046
  "type": "string",
21034
21047
  "minLength": 1
21035
21048
  },
21036
21049
  "attachments": {
21037
21050
  "baspiRef": "A10.4.1.3",
21038
- "title": "Attachments",
21051
+ "title": "Please mark the route on a plan of the property",
21039
21052
  "type": "string",
21040
21053
  "enum": ["Attached", "To follow"]
21041
21054
  }
@@ -21536,6 +21549,7 @@
21536
21549
  "title": "What type of flooding occurred?",
21537
21550
  "type": "array",
21538
21551
  "items": {
21552
+ "ntsRef": "C3.1.1.3.1",
21539
21553
  "type": "string",
21540
21554
  "enum": [
21541
21555
  "Ground water",
@@ -21548,7 +21562,7 @@
21548
21562
  }
21549
21563
  },
21550
21564
  "details": {
21551
- "ntsRef": "C3.1.1.3",
21565
+ "ntsRef": "C3.1.1.4",
21552
21566
  "baspiRef": "A11.1.2.1",
21553
21567
  "ta6Ref": "7.1.2",
21554
21568
  "title": "Please state when the flooding occurred and identify the parts that flooded",
@@ -4526,7 +4526,7 @@
4526
4526
  "Electricity",
4527
4527
  "Oil",
4528
4528
  "LPG",
4529
- "Biomass boiler"
4529
+ "Biomass"
4530
4530
  ]
4531
4531
  }
4532
4532
  }
@@ -183,6 +183,25 @@
183
183
  "Managed Freehold",
184
184
  "Commonhold"
185
185
  ]
186
+ },
187
+ "managedFreeholdOrCommonholdInformation": {
188
+ "ntsRef": "A3.2",
189
+ "required": [
190
+ "serviceCharge"
191
+ ],
192
+ "properties": {
193
+ "serviceCharge": {
194
+ "ntsRef": "A3.1.1",
195
+ "required": [
196
+ "annualServiceCharge"
197
+ ],
198
+ "properties": {
199
+ "annualServiceCharge": {
200
+ "ntsRef": "A3.1.2"
201
+ }
202
+ }
203
+ }
204
+ }
186
205
  }
187
206
  }
188
207
  },
@@ -399,7 +418,12 @@
399
418
  ],
400
419
  "required": [
401
420
  "ownershipType"
402
- ]
421
+ ],
422
+ "properties": {
423
+ "ownershipType": {
424
+ "ntsRef": "A3.1"
425
+ }
426
+ }
403
427
  }
404
428
  }
405
429
  }
@@ -413,19 +437,32 @@
413
437
  ],
414
438
  "properties": {
415
439
  "parkingArrangements": {
416
- "ntsRef": "B4.1"
440
+ "ntsRef": "B4.1",
441
+ "items": {
442
+ "ntsRef": "B4.1.1"
443
+ }
417
444
  },
418
445
  "controlledParking": {
419
446
  "ntsRef": "B4.2",
420
447
  "required": [
421
448
  "yesNo"
422
- ]
449
+ ],
450
+ "properties": {
451
+ "yesNo": {
452
+ "ntsRef": "B4.2.1"
453
+ }
454
+ }
423
455
  },
424
456
  "electricVehicleChargingPoint": {
425
457
  "ntsRef": "B4.3",
426
458
  "required": [
427
459
  "yesNo"
428
- ]
460
+ ],
461
+ "properties": {
462
+ "yesNo": {
463
+ "ntsRef": "B4.2.1"
464
+ }
465
+ }
429
466
  }
430
467
  }
431
468
  },
@@ -463,7 +500,10 @@
463
500
  "details": {
464
501
  "ntsRef": "C2.1.1.2"
465
502
  }
466
- }
503
+ },
504
+ "required": [
505
+ "details"
506
+ ]
467
507
  }
468
508
  ],
469
509
  "required": [
@@ -501,7 +541,10 @@
501
541
  "details": {
502
542
  "ntsRef": "C2.1.2.2"
503
543
  }
504
- }
544
+ },
545
+ "required": [
546
+ "details"
547
+ ]
505
548
  }
506
549
  ],
507
550
  "required": [
@@ -560,9 +603,6 @@
560
603
  },
561
604
  "consentsObtained": {
562
605
  "ntsRef": "C2.1.3.3"
563
- },
564
- "attachments": {
565
- "ntsRef": "C2.1.3.4"
566
606
  }
567
607
  },
568
608
  "required": [
@@ -697,7 +737,10 @@
697
737
  }
698
738
  },
699
739
  "accessibilityAndAdaptations": {
700
- "ntsRef": "C5"
740
+ "ntsRef": "C5",
741
+ "items": {
742
+ "ntsRef": "C5.1"
743
+ }
701
744
  }
702
745
  }
703
746
  },
@@ -1102,7 +1145,11 @@
1102
1145
  ],
1103
1146
  "properties": {
1104
1147
  "yesNo": {
1105
- "ntsRef": "A3.2.1"
1148
+ "ntsRef": "A3.2.1",
1149
+ "enum": [
1150
+ "Yes",
1151
+ "No"
1152
+ ]
1106
1153
  }
1107
1154
  }
1108
1155
  }
@@ -1412,7 +1459,7 @@
1412
1459
  "Electricity",
1413
1460
  "Oil",
1414
1461
  "LPG",
1415
- "Biomass boiler"
1462
+ "Biomass"
1416
1463
  ]
1417
1464
  }
1418
1465
  }
@@ -1562,10 +1609,13 @@
1562
1609
  ]
1563
1610
  },
1564
1611
  "typeOfFlooding": {
1565
- "ntsRef": "C3.1.1.3"
1612
+ "ntsRef": "C3.1.1.3",
1613
+ "items": {
1614
+ "ntsRef": "C3.1.1.3.1"
1615
+ }
1566
1616
  },
1567
1617
  "details": {
1568
- "ntsRef": "C3.1.1.3"
1618
+ "ntsRef": "C3.1.1.4"
1569
1619
  }
1570
1620
  },
1571
1621
  "required": [
@@ -2013,7 +2013,7 @@
2013
2013
  "Electricity",
2014
2014
  "Oil",
2015
2015
  "LPG",
2016
- "Biomass boiler"
2016
+ "Biomass"
2017
2017
  ]
2018
2018
  }
2019
2019
  }
@@ -2085,7 +2085,7 @@
2085
2085
  "Electricity",
2086
2086
  "Oil",
2087
2087
  "LPG",
2088
- "Biomass boiler"
2088
+ "Biomass"
2089
2089
  ]
2090
2090
  }
2091
2091
  }
@@ -6972,7 +6972,7 @@
6972
6972
  ]
6973
6973
  },
6974
6974
  "details": {
6975
- "title": "Please provide details of the listing and any relevant documents",
6975
+ "title": "Please provide details of the listing",
6976
6976
  "type": "string",
6977
6977
  "minLength": 1
6978
6978
  },
@@ -7021,7 +7021,7 @@
7021
7021
  ]
7022
7022
  },
7023
7023
  "details": {
7024
- "title": "Please provide details of the listing and any relevant documents",
7024
+ "title": "Please provide details of the listing",
7025
7025
  "type": "string",
7026
7026
  "minLength": 1
7027
7027
  },
@@ -16609,7 +16609,7 @@
16609
16609
  ]
16610
16610
  },
16611
16611
  "mainsFoulDrainage": {
16612
- "title": "Mains foul drainage / sweerage",
16612
+ "title": "Mains foul drainage / sewerage",
16613
16613
  "type": "object",
16614
16614
  "properties": {
16615
16615
  "yesNo": {
@@ -17504,6 +17504,7 @@
17504
17504
  "Electricity",
17505
17505
  "Oil",
17506
17506
  "LPG",
17507
+ "Biomass",
17507
17508
  "Other"
17508
17509
  ]
17509
17510
  }
@@ -17517,7 +17518,7 @@
17517
17518
  "Electricity",
17518
17519
  "Oil",
17519
17520
  "LPG",
17520
- "Biomass boiler"
17521
+ "Biomass"
17521
17522
  ]
17522
17523
  }
17523
17524
  }
@@ -18243,12 +18244,12 @@
18243
18244
  ]
18244
18245
  },
18245
18246
  "details": {
18246
- "title": "Please provide details and mark the route on a plan of the property",
18247
+ "title": "Please provide details",
18247
18248
  "type": "string",
18248
18249
  "minLength": 1
18249
18250
  },
18250
18251
  "attachments": {
18251
- "title": "Attachments",
18252
+ "title": "Please mark the route on a plan of the property",
18252
18253
  "type": "string",
18253
18254
  "enum": [
18254
18255
  "Attached",