@pdtf/schemas 3.5.0 → 3.5.1-2
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/.claude/settings.local.json +12 -2
- package/README.md +75 -56
- package/package.json +1 -1
- package/src/examples/v3/exampleTransaction.json +4 -0
- package/src/schemas/v3/combined.json +79 -17
- package/src/schemas/v3/compactSkeleton.txt +749 -1
- package/src/schemas/v3/overlays/lpe1.json +0 -57
- package/src/schemas/v3/overlays/ta6.json +42 -1
- package/src/schemas/v3/overlays/ta7.json +46 -3
- package/src/schemas/v3/pdtf-transaction.json +76 -4
- package/src/schemas/v3/skeleton.json +860 -1
- package/src/schemas/verifiedClaims/README.md +12 -3
- package/src/schemas/verifiedClaims/pdtf-verified-claims.json +16 -0
- package/src/tests/v3/transactionSchema.test.js +79 -60
- package/src/tests/v3/verifiedClaimsValidator.test.js +67 -0
|
@@ -841,58 +841,6 @@
|
|
|
841
841
|
}
|
|
842
842
|
]
|
|
843
843
|
},
|
|
844
|
-
"problemInServiceChargeLevel": {
|
|
845
|
-
"required": [
|
|
846
|
-
"yesNo"
|
|
847
|
-
],
|
|
848
|
-
"oneOf": [
|
|
849
|
-
null,
|
|
850
|
-
{
|
|
851
|
-
"required": [
|
|
852
|
-
"details"
|
|
853
|
-
]
|
|
854
|
-
}
|
|
855
|
-
]
|
|
856
|
-
},
|
|
857
|
-
"serviceChargeChallenged": {
|
|
858
|
-
"required": [
|
|
859
|
-
"yesNo"
|
|
860
|
-
],
|
|
861
|
-
"oneOf": [
|
|
862
|
-
null,
|
|
863
|
-
{
|
|
864
|
-
"required": [
|
|
865
|
-
"details"
|
|
866
|
-
]
|
|
867
|
-
}
|
|
868
|
-
]
|
|
869
|
-
},
|
|
870
|
-
"difficultyInCollectingServiceCharge": {
|
|
871
|
-
"required": [
|
|
872
|
-
"yesNo"
|
|
873
|
-
],
|
|
874
|
-
"oneOf": [
|
|
875
|
-
null,
|
|
876
|
-
{
|
|
877
|
-
"required": [
|
|
878
|
-
"details"
|
|
879
|
-
]
|
|
880
|
-
}
|
|
881
|
-
]
|
|
882
|
-
},
|
|
883
|
-
"serviceChargeOwed": {
|
|
884
|
-
"required": [
|
|
885
|
-
"yesNo"
|
|
886
|
-
],
|
|
887
|
-
"oneOf": [
|
|
888
|
-
null,
|
|
889
|
-
{
|
|
890
|
-
"required": [
|
|
891
|
-
"details"
|
|
892
|
-
]
|
|
893
|
-
}
|
|
894
|
-
]
|
|
895
|
-
},
|
|
896
844
|
"propertiesContributingToMaintenanceOfManagedArea": {
|
|
897
845
|
"lpe1Ref": "4.1"
|
|
898
846
|
},
|
|
@@ -1301,11 +1249,6 @@
|
|
|
1301
1249
|
"required": [
|
|
1302
1250
|
"annualServiceCharge",
|
|
1303
1251
|
"largeAdditionalExpense",
|
|
1304
|
-
"problemInServiceChargeLevel",
|
|
1305
|
-
"serviceChargeChallenged",
|
|
1306
|
-
"dangerousCladdingOrDefects",
|
|
1307
|
-
"difficultyInCollectingServiceCharge",
|
|
1308
|
-
"serviceChargeOwed",
|
|
1309
1252
|
"propertiesContributingToMaintenanceOfManagedArea",
|
|
1310
1253
|
"adHocExpenses",
|
|
1311
1254
|
"serviceChargePaidUpToDate",
|
|
@@ -3128,11 +3128,52 @@
|
|
|
3128
3128
|
],
|
|
3129
3129
|
"properties": {
|
|
3130
3130
|
"flooding": {
|
|
3131
|
-
"ta6Ref": "7
|
|
3131
|
+
"ta6Ref": "7",
|
|
3132
3132
|
"required": [
|
|
3133
|
+
"floodRiskReport",
|
|
3133
3134
|
"historicalFlooding"
|
|
3134
3135
|
],
|
|
3135
3136
|
"properties": {
|
|
3137
|
+
"floodRiskReport": {
|
|
3138
|
+
"ta6Ref": "7.3",
|
|
3139
|
+
"discriminator": {
|
|
3140
|
+
"propertyName": "hasReportBeenPrepared"
|
|
3141
|
+
},
|
|
3142
|
+
"oneOf": [
|
|
3143
|
+
{
|
|
3144
|
+
"properties": {
|
|
3145
|
+
"hasReportBeenPrepared": {
|
|
3146
|
+
"enum": [
|
|
3147
|
+
"No"
|
|
3148
|
+
]
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"properties": {
|
|
3154
|
+
"hasReportBeenPrepared": {
|
|
3155
|
+
"enum": [
|
|
3156
|
+
"Yes"
|
|
3157
|
+
]
|
|
3158
|
+
},
|
|
3159
|
+
"attachments": {
|
|
3160
|
+
"ta6Ref": "7.3.2"
|
|
3161
|
+
}
|
|
3162
|
+
},
|
|
3163
|
+
"required": [
|
|
3164
|
+
"attachments"
|
|
3165
|
+
]
|
|
3166
|
+
}
|
|
3167
|
+
],
|
|
3168
|
+
"required": [
|
|
3169
|
+
"hasReportBeenPrepared"
|
|
3170
|
+
],
|
|
3171
|
+
"properties": {
|
|
3172
|
+
"hasReportBeenPrepared": {
|
|
3173
|
+
"ta6Ref": "7.3.1"
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
},
|
|
3136
3177
|
"historicalFlooding": {
|
|
3137
3178
|
"ta6Ref": "7.1",
|
|
3138
3179
|
"discriminator": {
|
|
@@ -610,7 +610,10 @@
|
|
|
610
610
|
"details": {
|
|
611
611
|
"ta7Ref": "5.7.2"
|
|
612
612
|
}
|
|
613
|
-
}
|
|
613
|
+
},
|
|
614
|
+
"required": [
|
|
615
|
+
"details"
|
|
616
|
+
]
|
|
614
617
|
}
|
|
615
618
|
],
|
|
616
619
|
"required": [
|
|
@@ -623,7 +626,44 @@
|
|
|
623
626
|
}
|
|
624
627
|
},
|
|
625
628
|
"dangerousCladdingOrDefects": {
|
|
626
|
-
"ta7Ref": "5.8"
|
|
629
|
+
"ta7Ref": "5.8",
|
|
630
|
+
"discriminator": {
|
|
631
|
+
"propertyName": "yesNo"
|
|
632
|
+
},
|
|
633
|
+
"oneOf": [
|
|
634
|
+
{
|
|
635
|
+
"properties": {
|
|
636
|
+
"yesNo": {
|
|
637
|
+
"enum": [
|
|
638
|
+
"No"
|
|
639
|
+
]
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"properties": {
|
|
645
|
+
"yesNo": {
|
|
646
|
+
"enum": [
|
|
647
|
+
"Yes"
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"details": {
|
|
651
|
+
"ta7Ref": "5.8.2"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"required": [
|
|
655
|
+
"details"
|
|
656
|
+
]
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"required": [
|
|
660
|
+
"yesNo"
|
|
661
|
+
],
|
|
662
|
+
"properties": {
|
|
663
|
+
"yesNo": {
|
|
664
|
+
"ta7Ref": "5.8.1"
|
|
665
|
+
}
|
|
666
|
+
}
|
|
627
667
|
},
|
|
628
668
|
"difficultyInCollectingServiceCharge": {
|
|
629
669
|
"ta7Ref": "5.9",
|
|
@@ -690,7 +730,10 @@
|
|
|
690
730
|
"details": {
|
|
691
731
|
"ta7Ref": "5.10.2"
|
|
692
732
|
}
|
|
693
|
-
}
|
|
733
|
+
},
|
|
734
|
+
"required": [
|
|
735
|
+
"details"
|
|
736
|
+
]
|
|
694
737
|
}
|
|
695
738
|
],
|
|
696
739
|
"required": [
|
|
@@ -5429,10 +5429,40 @@
|
|
|
5429
5429
|
},
|
|
5430
5430
|
"dangerousCladdingOrDefects": {
|
|
5431
5431
|
"title": "Does the seller know of the existence or suspected existence in the building of dangerous cladding or any other defects that create a building safety risk?",
|
|
5432
|
-
"type": "
|
|
5433
|
-
"
|
|
5434
|
-
"
|
|
5435
|
-
|
|
5432
|
+
"type": "object",
|
|
5433
|
+
"properties": {
|
|
5434
|
+
"yesNo": {
|
|
5435
|
+
"type": "string",
|
|
5436
|
+
"title": "",
|
|
5437
|
+
"enum": [
|
|
5438
|
+
"Yes",
|
|
5439
|
+
"No"
|
|
5440
|
+
]
|
|
5441
|
+
}
|
|
5442
|
+
},
|
|
5443
|
+
"oneOf": [
|
|
5444
|
+
{
|
|
5445
|
+
"properties": {
|
|
5446
|
+
"yesNo": {
|
|
5447
|
+
"enum": [
|
|
5448
|
+
"No"
|
|
5449
|
+
]
|
|
5450
|
+
}
|
|
5451
|
+
}
|
|
5452
|
+
},
|
|
5453
|
+
{
|
|
5454
|
+
"properties": {
|
|
5455
|
+
"yesNo": {
|
|
5456
|
+
"enum": [
|
|
5457
|
+
"Yes"
|
|
5458
|
+
]
|
|
5459
|
+
},
|
|
5460
|
+
"details": {
|
|
5461
|
+
"title": "Please give details:",
|
|
5462
|
+
"type": "string"
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
}
|
|
5436
5466
|
]
|
|
5437
5467
|
},
|
|
5438
5468
|
"difficultyInCollectingServiceCharge": {
|
|
@@ -18310,6 +18340,48 @@
|
|
|
18310
18340
|
"title": "Flooding",
|
|
18311
18341
|
"type": "object",
|
|
18312
18342
|
"properties": {
|
|
18343
|
+
"floodRiskReport": {
|
|
18344
|
+
"title": "Flood risk report",
|
|
18345
|
+
"type": "object",
|
|
18346
|
+
"properties": {
|
|
18347
|
+
"hasReportBeenPrepared": {
|
|
18348
|
+
"title": "Has a flood risk report been prepared?",
|
|
18349
|
+
"type": "string",
|
|
18350
|
+
"enum": [
|
|
18351
|
+
"Yes",
|
|
18352
|
+
"No"
|
|
18353
|
+
]
|
|
18354
|
+
}
|
|
18355
|
+
},
|
|
18356
|
+
"oneOf": [
|
|
18357
|
+
{
|
|
18358
|
+
"properties": {
|
|
18359
|
+
"hasReportBeenPrepared": {
|
|
18360
|
+
"enum": [
|
|
18361
|
+
"No"
|
|
18362
|
+
]
|
|
18363
|
+
}
|
|
18364
|
+
}
|
|
18365
|
+
},
|
|
18366
|
+
{
|
|
18367
|
+
"properties": {
|
|
18368
|
+
"hasReportBeenPrepared": {
|
|
18369
|
+
"enum": [
|
|
18370
|
+
"Yes"
|
|
18371
|
+
]
|
|
18372
|
+
},
|
|
18373
|
+
"attachments": {
|
|
18374
|
+
"title": "Please supply a copy",
|
|
18375
|
+
"type": "string",
|
|
18376
|
+
"enum": [
|
|
18377
|
+
"Attached",
|
|
18378
|
+
"To follow"
|
|
18379
|
+
]
|
|
18380
|
+
}
|
|
18381
|
+
}
|
|
18382
|
+
}
|
|
18383
|
+
]
|
|
18384
|
+
},
|
|
18313
18385
|
"floodRisk": {
|
|
18314
18386
|
"title": "Flood Risk",
|
|
18315
18387
|
"type": "object",
|