@pdtf/schemas 3.6.0-30 → 3.6.0-31
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 +1 -1
- package/src/schemas/v3/combined.json +84 -29
- package/src/schemas/v3/compactSkeleton.txt +2 -5
- package/src/schemas/v3/overlays/ta6ed6.json +37 -18
- package/src/schemas/v3/pdtf-transaction.json +65 -21
- package/src/schemas/v3/skeleton.json +3 -8
- package/src/tests/v3/ta6ed6.test.js +1 -48
package/package.json
CHANGED
|
@@ -22040,7 +22040,7 @@
|
|
|
22040
22040
|
"ntslRequired": ["details"],
|
|
22041
22041
|
"ntsl2Required": ["details"],
|
|
22042
22042
|
"ta6ed6Required": [
|
|
22043
|
-
"
|
|
22043
|
+
"supplier",
|
|
22044
22044
|
"makeModel",
|
|
22045
22045
|
"serviceProviderName"
|
|
22046
22046
|
]
|
|
@@ -22946,6 +22946,12 @@
|
|
|
22946
22946
|
"Sewerage treatment plant",
|
|
22947
22947
|
"Other",
|
|
22948
22948
|
"Not known"
|
|
22949
|
+
],
|
|
22950
|
+
"ta6ed6Enum": [
|
|
22951
|
+
"Septic tank",
|
|
22952
|
+
"Cesspit",
|
|
22953
|
+
"Sewerage treatment plant",
|
|
22954
|
+
"Other"
|
|
22949
22955
|
]
|
|
22950
22956
|
},
|
|
22951
22957
|
"otherConnectedProperties": {
|
|
@@ -23000,6 +23006,7 @@
|
|
|
23000
23006
|
"baspi5Ref": "A7.1.1.2",
|
|
23001
23007
|
"ta6ed6Ref": "11.7h",
|
|
23002
23008
|
"title": "Provide details of the properties sharing the system and explain how maintenance of the system is arranged and paid for",
|
|
23009
|
+
"ta6ed6Title": "Give details about how many properties share the system, the arrangements for jointly managing it and how the costs are shared",
|
|
23003
23010
|
"type": "string",
|
|
23004
23011
|
"minLength": 1
|
|
23005
23012
|
}
|
|
@@ -23130,6 +23137,7 @@
|
|
|
23130
23137
|
"rdsRef": "Services/OtherServices/{isExternallyConnected='yes?true'}",
|
|
23131
23138
|
"ta6ed6Ref": "11.7f",
|
|
23132
23139
|
"title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
|
|
23140
|
+
"ta6ed6Title": "Does the sewerage system discharge to the ground or to surface water?",
|
|
23133
23141
|
"type": "object",
|
|
23134
23142
|
"properties": {
|
|
23135
23143
|
"yesNo": {
|
|
@@ -23193,8 +23201,7 @@
|
|
|
23193
23201
|
],
|
|
23194
23202
|
"baspi5Required": ["dischargeCompliesWithGBR"]
|
|
23195
23203
|
}
|
|
23196
|
-
]
|
|
23197
|
-
"ta6ed6Title": "Does the sewerage system discharge to the ground or to surface water?"
|
|
23204
|
+
]
|
|
23198
23205
|
}
|
|
23199
23206
|
},
|
|
23200
23207
|
"discriminator": {
|
|
@@ -23213,12 +23220,31 @@
|
|
|
23213
23220
|
"offMainsDrainageSystemType": {
|
|
23214
23221
|
"enum": ["Septic tank"]
|
|
23215
23222
|
},
|
|
23223
|
+
"dateDischargeCommenced": {
|
|
23224
|
+
"ta6ed6Ref": "11.7a",
|
|
23225
|
+
"title": "When did the discharge commence?",
|
|
23226
|
+
"type": "string",
|
|
23227
|
+
"oneOf": [
|
|
23228
|
+
{
|
|
23229
|
+
"format": "date"
|
|
23230
|
+
},
|
|
23231
|
+
{
|
|
23232
|
+
"enum": ["Not known"]
|
|
23233
|
+
}
|
|
23234
|
+
]
|
|
23235
|
+
},
|
|
23236
|
+
"dateInstalled": {
|
|
23237
|
+
"ta6ed6Ref": "11.7b",
|
|
23238
|
+
"title": "When was the system installed?",
|
|
23239
|
+
"type": "string",
|
|
23240
|
+
"format": "date"
|
|
23241
|
+
},
|
|
23216
23242
|
"dateReplaced": {
|
|
23217
23243
|
"baspi4Ref": "A7.1.0.14.2",
|
|
23218
23244
|
"baspi5Ref": "A7.1.0.14.2",
|
|
23219
23245
|
"ta6Ref": "12.5.1",
|
|
23220
23246
|
"ta6ed6Ref": "11.7c",
|
|
23221
|
-
"title": "
|
|
23247
|
+
"title": "When was the system last replaced or upgraded?",
|
|
23222
23248
|
"type": "string",
|
|
23223
23249
|
"format": "date"
|
|
23224
23250
|
},
|
|
@@ -23246,7 +23272,8 @@
|
|
|
23246
23272
|
"dateLastEmptied"
|
|
23247
23273
|
],
|
|
23248
23274
|
"ta6ed6Required": [
|
|
23249
|
-
"
|
|
23275
|
+
"dateDischargeCommenced",
|
|
23276
|
+
"dateInstalled",
|
|
23250
23277
|
"dateLastEmptied"
|
|
23251
23278
|
]
|
|
23252
23279
|
},
|
|
@@ -23255,6 +23282,31 @@
|
|
|
23255
23282
|
"offMainsDrainageSystemType": {
|
|
23256
23283
|
"enum": ["Cesspit"]
|
|
23257
23284
|
},
|
|
23285
|
+
"dateDischargeCommenced": {
|
|
23286
|
+
"ta6ed6Ref": "11.7a",
|
|
23287
|
+
"title": "When did the discharge commence?",
|
|
23288
|
+
"type": "string",
|
|
23289
|
+
"oneOf": [
|
|
23290
|
+
{
|
|
23291
|
+
"format": "date"
|
|
23292
|
+
},
|
|
23293
|
+
{
|
|
23294
|
+
"enum": ["Not known"]
|
|
23295
|
+
}
|
|
23296
|
+
]
|
|
23297
|
+
},
|
|
23298
|
+
"dateInstalled": {
|
|
23299
|
+
"ta6ed6Ref": "11.7b",
|
|
23300
|
+
"title": "Date installed",
|
|
23301
|
+
"type": "string",
|
|
23302
|
+
"format": "date"
|
|
23303
|
+
},
|
|
23304
|
+
"dateReplaced": {
|
|
23305
|
+
"ta6ed6Ref": "11.7c",
|
|
23306
|
+
"title": "When was the system last replaced or upgraded?",
|
|
23307
|
+
"type": "string",
|
|
23308
|
+
"format": "date"
|
|
23309
|
+
},
|
|
23258
23310
|
"dateLastEmptied": {
|
|
23259
23311
|
"baspi4Ref": "A7.1.0.15.2",
|
|
23260
23312
|
"baspi5Ref": "A7.1.0.15.2",
|
|
@@ -23269,13 +23321,30 @@
|
|
|
23269
23321
|
"baspi4Required": ["dateLastEmptied"],
|
|
23270
23322
|
"baspi5Required": ["dateLastEmptied"],
|
|
23271
23323
|
"ta6Required": ["dateLastEmptied"],
|
|
23272
|
-
"ta6ed6Required": [
|
|
23324
|
+
"ta6ed6Required": [
|
|
23325
|
+
"dateDischargeCommenced",
|
|
23326
|
+
"dateLastEmptied",
|
|
23327
|
+
"dateInstalled"
|
|
23328
|
+
]
|
|
23273
23329
|
},
|
|
23274
23330
|
{
|
|
23275
23331
|
"properties": {
|
|
23276
23332
|
"offMainsDrainageSystemType": {
|
|
23277
23333
|
"enum": ["Sewerage treatment plant"]
|
|
23278
23334
|
},
|
|
23335
|
+
"dateDischargeCommenced": {
|
|
23336
|
+
"ta6ed6Ref": "11.7a",
|
|
23337
|
+
"title": "When did the discharge commence?",
|
|
23338
|
+
"type": "string",
|
|
23339
|
+
"oneOf": [
|
|
23340
|
+
{
|
|
23341
|
+
"format": "date"
|
|
23342
|
+
},
|
|
23343
|
+
{
|
|
23344
|
+
"enum": ["Not known"]
|
|
23345
|
+
}
|
|
23346
|
+
]
|
|
23347
|
+
},
|
|
23279
23348
|
"supplier": {
|
|
23280
23349
|
"ta6ed6Ref": "12.5.2",
|
|
23281
23350
|
"title": "Provider name",
|
|
@@ -23296,7 +23365,13 @@
|
|
|
23296
23365
|
"baspi5Ref": "A7.1.0.16.2",
|
|
23297
23366
|
"ta6Ref": "12.9",
|
|
23298
23367
|
"ta6ed6Ref": "11.7b",
|
|
23299
|
-
"title": "
|
|
23368
|
+
"title": "When was the system installed",
|
|
23369
|
+
"type": "string",
|
|
23370
|
+
"format": "date"
|
|
23371
|
+
},
|
|
23372
|
+
"dateReplaced": {
|
|
23373
|
+
"ta6ed6Ref": "11.7c",
|
|
23374
|
+
"title": "When was the system last replaced or upgraded?",
|
|
23300
23375
|
"type": "string",
|
|
23301
23376
|
"format": "date"
|
|
23302
23377
|
},
|
|
@@ -23305,7 +23380,7 @@
|
|
|
23305
23380
|
"baspi5Ref": "A7.1.0.16.3",
|
|
23306
23381
|
"ta6Ref": "12.8",
|
|
23307
23382
|
"ta6ed6Ref": "11.7e",
|
|
23308
|
-
"title": "
|
|
23383
|
+
"title": "When was the treatment plant last serviced",
|
|
23309
23384
|
"type": "string",
|
|
23310
23385
|
"format": "date"
|
|
23311
23386
|
},
|
|
@@ -23336,6 +23411,7 @@
|
|
|
23336
23411
|
"dateLastServiced"
|
|
23337
23412
|
],
|
|
23338
23413
|
"ta6ed6Required": [
|
|
23414
|
+
"dateDischargeCommenced",
|
|
23339
23415
|
"dateInstalled",
|
|
23340
23416
|
"dateLastServiced",
|
|
23341
23417
|
"supplier",
|
|
@@ -31298,27 +31374,6 @@
|
|
|
31298
31374
|
"ta6ed6Ref": "15.3.1",
|
|
31299
31375
|
"title": "I/we confirm that all information provided is accurate to the best of our knowledge and if we become aware of any change to/changes which alter the information supplied/provided prior to exchange of contracts for the sale of the property, I/we will update immediately notify the person marketing the property as well as my/our property lawyer",
|
|
31300
31376
|
"type": "boolean"
|
|
31301
|
-
},
|
|
31302
|
-
"sellerSignatures": {
|
|
31303
|
-
"ta6ed6Ref": "16.1",
|
|
31304
|
-
"title": "Seller signatures",
|
|
31305
|
-
"type": "array",
|
|
31306
|
-
"items": {
|
|
31307
|
-
"type": "object",
|
|
31308
|
-
"properties": {
|
|
31309
|
-
"name": {
|
|
31310
|
-
"ta6ed6Ref": "16.1",
|
|
31311
|
-
"title": "Name",
|
|
31312
|
-
"type": "string"
|
|
31313
|
-
},
|
|
31314
|
-
"signedOn": {
|
|
31315
|
-
"ta6ed6Ref": "16.1.dated",
|
|
31316
|
-
"title": "Date signed",
|
|
31317
|
-
"type": "string",
|
|
31318
|
-
"format": "date"
|
|
31319
|
-
}
|
|
31320
|
-
}
|
|
31321
|
-
}
|
|
31322
31377
|
}
|
|
31323
31378
|
}
|
|
31324
31379
|
},
|
|
@@ -1972,12 +1972,13 @@
|
|
|
1972
1972
|
hasInfiltrationSystem
|
|
1973
1973
|
yesNo
|
|
1974
1974
|
dischargeCompliesWithGBR
|
|
1975
|
+
dateDischargeCommenced
|
|
1976
|
+
dateInstalled
|
|
1975
1977
|
dateReplaced
|
|
1976
1978
|
dateLastEmptied
|
|
1977
1979
|
supplier
|
|
1978
1980
|
makeModel
|
|
1979
1981
|
serviceProviderName
|
|
1980
|
-
dateInstalled
|
|
1981
1982
|
dateLastServiced
|
|
1982
1983
|
attachments
|
|
1983
1984
|
details
|
|
@@ -2620,10 +2621,6 @@
|
|
|
2620
2621
|
confirmationOfAccuracyByOwners
|
|
2621
2622
|
confirmWillProvideAdditionalDocumentation
|
|
2622
2623
|
confirmInformationIsAccurate
|
|
2623
|
-
sellerSignatures[
|
|
2624
|
-
name
|
|
2625
|
-
signedOn
|
|
2626
|
-
]
|
|
2627
2624
|
saleReadyDeclarations
|
|
2628
2625
|
authorisedToActOnBehalfOfAllSellers
|
|
2629
2626
|
authorisationToShare
|
|
@@ -3167,7 +3167,7 @@
|
|
|
3167
3167
|
}
|
|
3168
3168
|
},
|
|
3169
3169
|
"required": [
|
|
3170
|
-
"
|
|
3170
|
+
"supplier",
|
|
3171
3171
|
"makeModel",
|
|
3172
3172
|
"serviceProviderName"
|
|
3173
3173
|
]
|
|
@@ -3436,6 +3436,12 @@
|
|
|
3436
3436
|
"Septic tank"
|
|
3437
3437
|
]
|
|
3438
3438
|
},
|
|
3439
|
+
"dateDischargeCommenced": {
|
|
3440
|
+
"ta6ed6Ref": "11.7a"
|
|
3441
|
+
},
|
|
3442
|
+
"dateInstalled": {
|
|
3443
|
+
"ta6ed6Ref": "11.7b"
|
|
3444
|
+
},
|
|
3439
3445
|
"dateReplaced": {
|
|
3440
3446
|
"ta6ed6Ref": "11.7c"
|
|
3441
3447
|
},
|
|
@@ -3444,7 +3450,8 @@
|
|
|
3444
3450
|
}
|
|
3445
3451
|
},
|
|
3446
3452
|
"required": [
|
|
3447
|
-
"
|
|
3453
|
+
"dateDischargeCommenced",
|
|
3454
|
+
"dateInstalled",
|
|
3448
3455
|
"dateLastEmptied"
|
|
3449
3456
|
]
|
|
3450
3457
|
},
|
|
@@ -3455,12 +3462,23 @@
|
|
|
3455
3462
|
"Cesspit"
|
|
3456
3463
|
]
|
|
3457
3464
|
},
|
|
3465
|
+
"dateDischargeCommenced": {
|
|
3466
|
+
"ta6ed6Ref": "11.7a"
|
|
3467
|
+
},
|
|
3468
|
+
"dateInstalled": {
|
|
3469
|
+
"ta6ed6Ref": "11.7b"
|
|
3470
|
+
},
|
|
3471
|
+
"dateReplaced": {
|
|
3472
|
+
"ta6ed6Ref": "11.7c"
|
|
3473
|
+
},
|
|
3458
3474
|
"dateLastEmptied": {
|
|
3459
3475
|
"ta6ed6Ref": "11.7d"
|
|
3460
3476
|
}
|
|
3461
3477
|
},
|
|
3462
3478
|
"required": [
|
|
3463
|
-
"
|
|
3479
|
+
"dateDischargeCommenced",
|
|
3480
|
+
"dateLastEmptied",
|
|
3481
|
+
"dateInstalled"
|
|
3464
3482
|
]
|
|
3465
3483
|
},
|
|
3466
3484
|
{
|
|
@@ -3470,6 +3488,9 @@
|
|
|
3470
3488
|
"Sewerage treatment plant"
|
|
3471
3489
|
]
|
|
3472
3490
|
},
|
|
3491
|
+
"dateDischargeCommenced": {
|
|
3492
|
+
"ta6ed6Ref": "11.7a"
|
|
3493
|
+
},
|
|
3473
3494
|
"supplier": {
|
|
3474
3495
|
"ta6ed6Ref": "12.5.2"
|
|
3475
3496
|
},
|
|
@@ -3482,11 +3503,15 @@
|
|
|
3482
3503
|
"dateInstalled": {
|
|
3483
3504
|
"ta6ed6Ref": "11.7b"
|
|
3484
3505
|
},
|
|
3506
|
+
"dateReplaced": {
|
|
3507
|
+
"ta6ed6Ref": "11.7c"
|
|
3508
|
+
},
|
|
3485
3509
|
"dateLastServiced": {
|
|
3486
3510
|
"ta6ed6Ref": "11.7e"
|
|
3487
3511
|
}
|
|
3488
3512
|
},
|
|
3489
3513
|
"required": [
|
|
3514
|
+
"dateDischargeCommenced",
|
|
3490
3515
|
"dateInstalled",
|
|
3491
3516
|
"dateLastServiced",
|
|
3492
3517
|
"supplier",
|
|
@@ -3514,7 +3539,13 @@
|
|
|
3514
3539
|
],
|
|
3515
3540
|
"properties": {
|
|
3516
3541
|
"offMainsDrainageSystemType": {
|
|
3517
|
-
"ta6ed6Ref": "11.6"
|
|
3542
|
+
"ta6ed6Ref": "11.6",
|
|
3543
|
+
"enum": [
|
|
3544
|
+
"Septic tank",
|
|
3545
|
+
"Cesspit",
|
|
3546
|
+
"Sewerage treatment plant",
|
|
3547
|
+
"Other"
|
|
3548
|
+
]
|
|
3518
3549
|
},
|
|
3519
3550
|
"otherConnectedProperties": {
|
|
3520
3551
|
"ta6ed6Ref": "11.7h",
|
|
@@ -3539,7 +3570,8 @@
|
|
|
3539
3570
|
]
|
|
3540
3571
|
},
|
|
3541
3572
|
"details": {
|
|
3542
|
-
"ta6ed6Ref": "11.7h"
|
|
3573
|
+
"ta6ed6Ref": "11.7h",
|
|
3574
|
+
"title": "Give details about how many properties share the system, the arrangements for jointly managing it and how the costs are shared"
|
|
3543
3575
|
}
|
|
3544
3576
|
},
|
|
3545
3577
|
"required": [
|
|
@@ -6457,19 +6489,6 @@
|
|
|
6457
6489
|
"properties": {
|
|
6458
6490
|
"confirmInformationIsAccurate": {
|
|
6459
6491
|
"ta6ed6Ref": "15.3.1"
|
|
6460
|
-
},
|
|
6461
|
-
"sellerSignatures": {
|
|
6462
|
-
"ta6ed6Ref": "16.1",
|
|
6463
|
-
"items": {
|
|
6464
|
-
"properties": {
|
|
6465
|
-
"name": {
|
|
6466
|
-
"ta6ed6Ref": "16.1"
|
|
6467
|
-
},
|
|
6468
|
-
"signedOn": {
|
|
6469
|
-
"ta6ed6Ref": "16.1.dated"
|
|
6470
|
-
}
|
|
6471
|
-
}
|
|
6472
|
-
}
|
|
6473
6492
|
}
|
|
6474
6493
|
}
|
|
6475
6494
|
}
|
|
@@ -19201,8 +19201,27 @@
|
|
|
19201
19201
|
"Septic tank"
|
|
19202
19202
|
]
|
|
19203
19203
|
},
|
|
19204
|
+
"dateDischargeCommenced": {
|
|
19205
|
+
"title": "When did the discharge commence?",
|
|
19206
|
+
"type": "string",
|
|
19207
|
+
"oneOf": [
|
|
19208
|
+
{
|
|
19209
|
+
"format": "date"
|
|
19210
|
+
},
|
|
19211
|
+
{
|
|
19212
|
+
"enum": [
|
|
19213
|
+
"Not known"
|
|
19214
|
+
]
|
|
19215
|
+
}
|
|
19216
|
+
]
|
|
19217
|
+
},
|
|
19218
|
+
"dateInstalled": {
|
|
19219
|
+
"title": "When was the system installed?",
|
|
19220
|
+
"type": "string",
|
|
19221
|
+
"format": "date"
|
|
19222
|
+
},
|
|
19204
19223
|
"dateReplaced": {
|
|
19205
|
-
"title": "
|
|
19224
|
+
"title": "When was the system last replaced or upgraded?",
|
|
19206
19225
|
"type": "string",
|
|
19207
19226
|
"format": "date"
|
|
19208
19227
|
},
|
|
@@ -19220,6 +19239,30 @@
|
|
|
19220
19239
|
"Cesspit"
|
|
19221
19240
|
]
|
|
19222
19241
|
},
|
|
19242
|
+
"dateDischargeCommenced": {
|
|
19243
|
+
"title": "When did the discharge commence?",
|
|
19244
|
+
"type": "string",
|
|
19245
|
+
"oneOf": [
|
|
19246
|
+
{
|
|
19247
|
+
"format": "date"
|
|
19248
|
+
},
|
|
19249
|
+
{
|
|
19250
|
+
"enum": [
|
|
19251
|
+
"Not known"
|
|
19252
|
+
]
|
|
19253
|
+
}
|
|
19254
|
+
]
|
|
19255
|
+
},
|
|
19256
|
+
"dateInstalled": {
|
|
19257
|
+
"title": "Date installed",
|
|
19258
|
+
"type": "string",
|
|
19259
|
+
"format": "date"
|
|
19260
|
+
},
|
|
19261
|
+
"dateReplaced": {
|
|
19262
|
+
"title": "When was the system last replaced or upgraded?",
|
|
19263
|
+
"type": "string",
|
|
19264
|
+
"format": "date"
|
|
19265
|
+
},
|
|
19223
19266
|
"dateLastEmptied": {
|
|
19224
19267
|
"title": "Date last emptied",
|
|
19225
19268
|
"type": "string",
|
|
@@ -19234,6 +19277,20 @@
|
|
|
19234
19277
|
"Sewerage treatment plant"
|
|
19235
19278
|
]
|
|
19236
19279
|
},
|
|
19280
|
+
"dateDischargeCommenced": {
|
|
19281
|
+
"title": "When did the discharge commence?",
|
|
19282
|
+
"type": "string",
|
|
19283
|
+
"oneOf": [
|
|
19284
|
+
{
|
|
19285
|
+
"format": "date"
|
|
19286
|
+
},
|
|
19287
|
+
{
|
|
19288
|
+
"enum": [
|
|
19289
|
+
"Not known"
|
|
19290
|
+
]
|
|
19291
|
+
}
|
|
19292
|
+
]
|
|
19293
|
+
},
|
|
19237
19294
|
"supplier": {
|
|
19238
19295
|
"title": "Provider name",
|
|
19239
19296
|
"type": "string"
|
|
@@ -19247,12 +19304,17 @@
|
|
|
19247
19304
|
"type": "string"
|
|
19248
19305
|
},
|
|
19249
19306
|
"dateInstalled": {
|
|
19250
|
-
"title": "
|
|
19307
|
+
"title": "When was the system installed",
|
|
19308
|
+
"type": "string",
|
|
19309
|
+
"format": "date"
|
|
19310
|
+
},
|
|
19311
|
+
"dateReplaced": {
|
|
19312
|
+
"title": "When was the system last replaced or upgraded?",
|
|
19251
19313
|
"type": "string",
|
|
19252
19314
|
"format": "date"
|
|
19253
19315
|
},
|
|
19254
19316
|
"dateLastServiced": {
|
|
19255
|
-
"title": "
|
|
19317
|
+
"title": "When was the treatment plant last serviced",
|
|
19256
19318
|
"type": "string",
|
|
19257
19319
|
"format": "date"
|
|
19258
19320
|
},
|
|
@@ -25152,24 +25214,6 @@
|
|
|
25152
25214
|
"confirmInformationIsAccurate": {
|
|
25153
25215
|
"title": "I/we confirm that all information provided is accurate to the best of our knowledge and if we become aware of any change to/changes which alter the information supplied/provided prior to exchange of contracts for the sale of the property, I/we will update immediately notify the person marketing the property as well as my/our property lawyer",
|
|
25154
25216
|
"type": "boolean"
|
|
25155
|
-
},
|
|
25156
|
-
"sellerSignatures": {
|
|
25157
|
-
"title": "Seller signatures",
|
|
25158
|
-
"type": "array",
|
|
25159
|
-
"items": {
|
|
25160
|
-
"type": "object",
|
|
25161
|
-
"properties": {
|
|
25162
|
-
"name": {
|
|
25163
|
-
"title": "Name",
|
|
25164
|
-
"type": "string"
|
|
25165
|
-
},
|
|
25166
|
-
"signedOn": {
|
|
25167
|
-
"title": "Date signed",
|
|
25168
|
-
"type": "string",
|
|
25169
|
-
"format": "date"
|
|
25170
|
-
}
|
|
25171
|
-
}
|
|
25172
|
-
}
|
|
25173
25217
|
}
|
|
25174
25218
|
}
|
|
25175
25219
|
},
|
|
@@ -2511,12 +2511,13 @@
|
|
|
2511
2511
|
},
|
|
2512
2512
|
"dischargeCompliesWithGBR": "string"
|
|
2513
2513
|
},
|
|
2514
|
+
"dateDischargeCommenced": {},
|
|
2515
|
+
"dateInstalled": "string",
|
|
2514
2516
|
"dateReplaced": "string",
|
|
2515
2517
|
"dateLastEmptied": "string",
|
|
2516
2518
|
"supplier": "string",
|
|
2517
2519
|
"makeModel": "string",
|
|
2518
2520
|
"serviceProviderName": "string",
|
|
2519
|
-
"dateInstalled": "string",
|
|
2520
2521
|
"dateLastServiced": "string",
|
|
2521
2522
|
"attachments": "string",
|
|
2522
2523
|
"details": "string"
|
|
@@ -3340,13 +3341,7 @@
|
|
|
3340
3341
|
},
|
|
3341
3342
|
"confirmationOfAccuracyByOwners": {
|
|
3342
3343
|
"confirmWillProvideAdditionalDocumentation": "boolean",
|
|
3343
|
-
"confirmInformationIsAccurate": "boolean"
|
|
3344
|
-
"sellerSignatures": [
|
|
3345
|
-
{
|
|
3346
|
-
"name": "string",
|
|
3347
|
-
"signedOn": "string"
|
|
3348
|
-
}
|
|
3349
|
-
]
|
|
3344
|
+
"confirmInformationIsAccurate": "boolean"
|
|
3350
3345
|
},
|
|
3351
3346
|
"saleReadyDeclarations": {
|
|
3352
3347
|
"authorisedToActOnBehalfOfAllSellers": "boolean",
|
|
@@ -1599,7 +1599,7 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
1599
1599
|
mainsFoulDrainage: {
|
|
1600
1600
|
yesNo: "No",
|
|
1601
1601
|
offMainsDrainageSystem: {
|
|
1602
|
-
offMainsDrainageSystemType: "
|
|
1602
|
+
offMainsDrainageSystemType: "Other",
|
|
1603
1603
|
otherConnectedProperties: { yesNo: "No" },
|
|
1604
1604
|
plantOnOtherLand: { yesNo: "No" },
|
|
1605
1605
|
plantRegistered: { yesNo: "No" },
|
|
@@ -2073,53 +2073,6 @@ describe("TA6 Edition 6 overlay", () => {
|
|
|
2073
2073
|
});
|
|
2074
2074
|
});
|
|
2075
2075
|
|
|
2076
|
-
describe("Seller signatures validation", () => {
|
|
2077
|
-
let validator;
|
|
2078
|
-
|
|
2079
|
-
beforeAll(() => {
|
|
2080
|
-
validator = getSubschemaValidator(
|
|
2081
|
-
"/propertyPack/confirmationOfAccuracyByOwners",
|
|
2082
|
-
schemaId,
|
|
2083
|
-
["ta6ed6"]
|
|
2084
|
-
);
|
|
2085
|
-
});
|
|
2086
|
-
|
|
2087
|
-
test("confirmation with sellerSignatures is valid", () => {
|
|
2088
|
-
const data = {
|
|
2089
|
-
confirmInformationIsAccurate: true,
|
|
2090
|
-
sellerSignatures: [
|
|
2091
|
-
{ name: "Jane Doe", signedOn: "2024-06-15" },
|
|
2092
|
-
{ name: "John Doe", signedOn: "2024-06-15" },
|
|
2093
|
-
],
|
|
2094
|
-
};
|
|
2095
|
-
expect(validator(data)).toBe(true);
|
|
2096
|
-
});
|
|
2097
|
-
|
|
2098
|
-
test("sellerSignatures with single seller is valid", () => {
|
|
2099
|
-
const data = {
|
|
2100
|
-
confirmInformationIsAccurate: true,
|
|
2101
|
-
sellerSignatures: [{ name: "Jane Doe", signedOn: "2024-06-15" }],
|
|
2102
|
-
};
|
|
2103
|
-
expect(validator(data)).toBe(true);
|
|
2104
|
-
});
|
|
2105
|
-
|
|
2106
|
-
test("empty sellerSignatures array is valid", () => {
|
|
2107
|
-
const data = {
|
|
2108
|
-
confirmInformationIsAccurate: true,
|
|
2109
|
-
sellerSignatures: [],
|
|
2110
|
-
};
|
|
2111
|
-
expect(validator(data)).toBe(true);
|
|
2112
|
-
});
|
|
2113
|
-
|
|
2114
|
-
test("sellerSignatures with invalid date format is invalid", () => {
|
|
2115
|
-
const data = {
|
|
2116
|
-
confirmInformationIsAccurate: true,
|
|
2117
|
-
sellerSignatures: [{ name: "Jane Doe", signedOn: "15/06/2024" }],
|
|
2118
|
-
};
|
|
2119
|
-
expect(validator(data)).toBe(false);
|
|
2120
|
-
});
|
|
2121
|
-
});
|
|
2122
|
-
|
|
2123
2076
|
describe("Previously broken discriminator sections now compile", () => {
|
|
2124
2077
|
// These sections previously failed AJV compilation because their
|
|
2125
2078
|
// discriminated properties were not in the required array of each
|