@pdtf/schemas 3.5.1-1 → 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/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/tests/v3/transactionSchema.test.js +79 -60
|
@@ -20,8 +20,18 @@
|
|
|
20
20
|
"WebFetch(domain:github.com)",
|
|
21
21
|
"Bash(tree:*)",
|
|
22
22
|
"Bash(sed:*)",
|
|
23
|
-
"Bash(find:*)"
|
|
23
|
+
"Bash(find:*)",
|
|
24
|
+
"Bash(chmod:*)",
|
|
25
|
+
"Bash(git rev-parse:*)",
|
|
26
|
+
"Bash(/dev/null)",
|
|
27
|
+
"Bash(git log:*)",
|
|
28
|
+
"Bash(for file in src/schemas/v2/overlays/*.json)",
|
|
29
|
+
"Bash(done)",
|
|
30
|
+
"Bash(while read file)",
|
|
31
|
+
"Bash(for:*)",
|
|
32
|
+
"Bash(do echo \"=== $file ===\")",
|
|
33
|
+
"Bash(do echo \"$file:\")"
|
|
24
34
|
],
|
|
25
35
|
"deny": []
|
|
26
36
|
}
|
|
27
|
-
}
|
|
37
|
+
}
|
package/package.json
CHANGED
|
@@ -525,6 +525,10 @@
|
|
|
525
525
|
},
|
|
526
526
|
"environmentalIssues": {
|
|
527
527
|
"flooding": {
|
|
528
|
+
"floodRiskReport": {
|
|
529
|
+
"hasReportBeenPrepared": "Yes",
|
|
530
|
+
"attachments": "Attached"
|
|
531
|
+
},
|
|
528
532
|
"floodRisk": {
|
|
529
533
|
"riskIndicator": "Yes",
|
|
530
534
|
"summary": "Likely to flood from surface water"
|
|
@@ -6625,7 +6625,6 @@
|
|
|
6625
6625
|
"enum": ["Yes", "No"]
|
|
6626
6626
|
}
|
|
6627
6627
|
},
|
|
6628
|
-
"lpe1Required": ["yesNo"],
|
|
6629
6628
|
"ta7Required": ["yesNo"],
|
|
6630
6629
|
"discriminator": {
|
|
6631
6630
|
"propertyName": "yesNo"
|
|
@@ -6649,7 +6648,6 @@
|
|
|
6649
6648
|
"type": "string"
|
|
6650
6649
|
}
|
|
6651
6650
|
},
|
|
6652
|
-
"lpe1Required": ["details"],
|
|
6653
6651
|
"ta7Required": ["details"]
|
|
6654
6652
|
}
|
|
6655
6653
|
]
|
|
@@ -6666,7 +6664,6 @@
|
|
|
6666
6664
|
"enum": ["Yes", "No"]
|
|
6667
6665
|
}
|
|
6668
6666
|
},
|
|
6669
|
-
"lpe1Required": ["yesNo"],
|
|
6670
6667
|
"ta7Required": ["yesNo"],
|
|
6671
6668
|
"discriminator": {
|
|
6672
6669
|
"propertyName": "yesNo"
|
|
@@ -6690,15 +6687,48 @@
|
|
|
6690
6687
|
"type": "string"
|
|
6691
6688
|
}
|
|
6692
6689
|
},
|
|
6693
|
-
"
|
|
6690
|
+
"ta7Required": ["details"]
|
|
6694
6691
|
}
|
|
6695
6692
|
]
|
|
6696
6693
|
},
|
|
6697
6694
|
"dangerousCladdingOrDefects": {
|
|
6698
6695
|
"ta7Ref": "5.8",
|
|
6699
6696
|
"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?",
|
|
6700
|
-
"type": "
|
|
6701
|
-
"
|
|
6697
|
+
"type": "object",
|
|
6698
|
+
"properties": {
|
|
6699
|
+
"yesNo": {
|
|
6700
|
+
"ta7Ref": "5.8.1",
|
|
6701
|
+
"type": "string",
|
|
6702
|
+
"title": "",
|
|
6703
|
+
"enum": ["Yes", "No"]
|
|
6704
|
+
}
|
|
6705
|
+
},
|
|
6706
|
+
"ta7Required": ["yesNo"],
|
|
6707
|
+
"discriminator": {
|
|
6708
|
+
"propertyName": "yesNo"
|
|
6709
|
+
},
|
|
6710
|
+
"oneOf": [
|
|
6711
|
+
{
|
|
6712
|
+
"properties": {
|
|
6713
|
+
"yesNo": {
|
|
6714
|
+
"enum": ["No"]
|
|
6715
|
+
}
|
|
6716
|
+
}
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"properties": {
|
|
6720
|
+
"yesNo": {
|
|
6721
|
+
"enum": ["Yes"]
|
|
6722
|
+
},
|
|
6723
|
+
"details": {
|
|
6724
|
+
"ta7Ref": "5.8.2",
|
|
6725
|
+
"title": "Please give details:",
|
|
6726
|
+
"type": "string"
|
|
6727
|
+
}
|
|
6728
|
+
},
|
|
6729
|
+
"ta7Required": ["details"]
|
|
6730
|
+
}
|
|
6731
|
+
]
|
|
6702
6732
|
},
|
|
6703
6733
|
"difficultyInCollectingServiceCharge": {
|
|
6704
6734
|
"ta7Ref": "5.9",
|
|
@@ -6712,7 +6742,6 @@
|
|
|
6712
6742
|
"enum": ["Yes", "No"]
|
|
6713
6743
|
}
|
|
6714
6744
|
},
|
|
6715
|
-
"lpe1Required": ["yesNo"],
|
|
6716
6745
|
"ta7Required": ["yesNo"],
|
|
6717
6746
|
"discriminator": {
|
|
6718
6747
|
"propertyName": "yesNo"
|
|
@@ -6736,7 +6765,6 @@
|
|
|
6736
6765
|
"type": "string"
|
|
6737
6766
|
}
|
|
6738
6767
|
},
|
|
6739
|
-
"lpe1Required": ["details"],
|
|
6740
6768
|
"ta7Required": ["details"]
|
|
6741
6769
|
}
|
|
6742
6770
|
]
|
|
@@ -6753,7 +6781,6 @@
|
|
|
6753
6781
|
"enum": ["Yes", "No"]
|
|
6754
6782
|
}
|
|
6755
6783
|
},
|
|
6756
|
-
"lpe1Required": ["yesNo"],
|
|
6757
6784
|
"ta7Required": ["yesNo"],
|
|
6758
6785
|
"discriminator": {
|
|
6759
6786
|
"propertyName": "yesNo"
|
|
@@ -6777,7 +6804,7 @@
|
|
|
6777
6804
|
"type": "string"
|
|
6778
6805
|
}
|
|
6779
6806
|
},
|
|
6780
|
-
"
|
|
6807
|
+
"ta7Required": ["details"]
|
|
6781
6808
|
}
|
|
6782
6809
|
]
|
|
6783
6810
|
},
|
|
@@ -7337,11 +7364,6 @@
|
|
|
7337
7364
|
"lpe1Required": [
|
|
7338
7365
|
"annualServiceCharge",
|
|
7339
7366
|
"largeAdditionalExpense",
|
|
7340
|
-
"problemInServiceChargeLevel",
|
|
7341
|
-
"serviceChargeChallenged",
|
|
7342
|
-
"dangerousCladdingOrDefects",
|
|
7343
|
-
"difficultyInCollectingServiceCharge",
|
|
7344
|
-
"serviceChargeOwed",
|
|
7345
7367
|
"propertiesContributingToMaintenanceOfManagedArea",
|
|
7346
7368
|
"adHocExpenses",
|
|
7347
7369
|
"serviceChargePaidUpToDate",
|
|
@@ -22519,7 +22541,7 @@
|
|
|
22519
22541
|
"baspi4Ref": "A11.1.1",
|
|
22520
22542
|
"baspi5Ref": "A11.1.1",
|
|
22521
22543
|
"rdsRef": "Sustainability/Environmental|Natural|Situational",
|
|
22522
|
-
"ta6Ref": "7
|
|
22544
|
+
"ta6Ref": "7",
|
|
22523
22545
|
"title": "Flooding",
|
|
22524
22546
|
"type": "object",
|
|
22525
22547
|
"baspi4Required": ["historicalFlooding"],
|
|
@@ -22536,8 +22558,48 @@
|
|
|
22536
22558
|
"historicalFlooding",
|
|
22537
22559
|
"floodDefences"
|
|
22538
22560
|
],
|
|
22539
|
-
"ta6Required": ["historicalFlooding"],
|
|
22561
|
+
"ta6Required": ["floodRiskReport", "historicalFlooding"],
|
|
22540
22562
|
"properties": {
|
|
22563
|
+
"floodRiskReport": {
|
|
22564
|
+
"ta6Ref": "7.3",
|
|
22565
|
+
"title": "Flood risk report",
|
|
22566
|
+
"type": "object",
|
|
22567
|
+
"ta6Required": ["hasReportBeenPrepared"],
|
|
22568
|
+
"properties": {
|
|
22569
|
+
"hasReportBeenPrepared": {
|
|
22570
|
+
"ta6Ref": "7.3.1",
|
|
22571
|
+
"title": "Has a flood risk report been prepared?",
|
|
22572
|
+
"type": "string",
|
|
22573
|
+
"enum": ["Yes", "No"]
|
|
22574
|
+
}
|
|
22575
|
+
},
|
|
22576
|
+
"discriminator": {
|
|
22577
|
+
"propertyName": "hasReportBeenPrepared"
|
|
22578
|
+
},
|
|
22579
|
+
"oneOf": [
|
|
22580
|
+
{
|
|
22581
|
+
"properties": {
|
|
22582
|
+
"hasReportBeenPrepared": {
|
|
22583
|
+
"enum": ["No"]
|
|
22584
|
+
}
|
|
22585
|
+
}
|
|
22586
|
+
},
|
|
22587
|
+
{
|
|
22588
|
+
"properties": {
|
|
22589
|
+
"hasReportBeenPrepared": {
|
|
22590
|
+
"enum": ["Yes"]
|
|
22591
|
+
},
|
|
22592
|
+
"attachments": {
|
|
22593
|
+
"ta6Ref": "7.3.2",
|
|
22594
|
+
"title": "Please supply a copy",
|
|
22595
|
+
"type": "string",
|
|
22596
|
+
"enum": ["Attached", "To follow"]
|
|
22597
|
+
}
|
|
22598
|
+
},
|
|
22599
|
+
"ta6Required": ["attachments"]
|
|
22600
|
+
}
|
|
22601
|
+
]
|
|
22602
|
+
},
|
|
22541
22603
|
"floodRisk": {
|
|
22542
22604
|
"ntsRef": "C3.1.1.1",
|
|
22543
22605
|
"nts2Ref": "C3.1.1.1",
|