@pdtf/schemas 3.6.0-8 → 3.6.0-dev.1

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.
Files changed (71) hide show
  1. package/CLAUDE.md +101 -0
  2. package/README.md +57 -33
  3. package/docs/backend-lms-profile-filtering-spec.md +180 -0
  4. package/docs/branch-release-workflow.md +138 -0
  5. package/docs/sef25-extensions-ui-spec.md +355 -0
  6. package/index.js +134 -66
  7. package/package.json +6 -2
  8. package/src/examples/v3/exampleTransaction.json +3 -3
  9. package/src/schemas/v3/combined.json +6981 -1234
  10. package/src/schemas/v3/compactSkeleton.txt +316 -5
  11. package/src/schemas/v3/overlays/baspi4.json +162 -20
  12. package/src/schemas/v3/overlays/baspi5.json +167 -22
  13. package/src/schemas/v3/overlays/extensions/ac.json +333 -0
  14. package/src/schemas/v3/overlays/extensions/as.json +4 -2
  15. package/src/schemas/v3/overlays/extensions/dk.json +32 -0
  16. package/src/schemas/v3/overlays/extensions/dr.json +9 -9
  17. package/src/schemas/v3/overlays/extensions/er.json +4 -2
  18. package/src/schemas/v3/overlays/extensions/fd.json +6 -3
  19. package/src/schemas/v3/overlays/extensions/hi.json +6 -3
  20. package/src/schemas/v3/overlays/extensions/hs.json +4 -2
  21. package/src/schemas/v3/overlays/extensions/ic.json +59 -0
  22. package/src/schemas/v3/overlays/extensions/jk.json +28 -8
  23. package/src/schemas/v3/overlays/extensions/la.json +4 -2
  24. package/src/schemas/v3/overlays/extensions/lc.json +75 -0
  25. package/src/schemas/v3/overlays/extensions/ma.json +6 -3
  26. package/src/schemas/v3/overlays/extensions/mc.json +4 -2
  27. package/src/schemas/v3/overlays/extensions/mi.json +69 -0
  28. package/src/schemas/v3/overlays/extensions/nd.json +43 -0
  29. package/src/schemas/v3/overlays/extensions/oa.json +4 -2
  30. package/src/schemas/v3/overlays/extensions/oc.json +4 -2
  31. package/src/schemas/v3/overlays/extensions/pc.json +37 -0
  32. package/src/schemas/v3/overlays/extensions/ph.json +194 -0
  33. package/src/schemas/v3/overlays/extensions/rw.json +68 -0
  34. package/src/schemas/v3/overlays/extensions/sb.json +4 -2
  35. package/src/schemas/v3/overlays/extensions/sc.json +129 -0
  36. package/src/schemas/v3/overlays/extensions/sd.json +63 -0
  37. package/src/schemas/v3/overlays/extensions/sf.json +4 -2
  38. package/src/schemas/v3/overlays/extensions/sl.json +4 -2
  39. package/src/schemas/v3/overlays/extensions/ta.json +252 -0
  40. package/src/schemas/v3/overlays/extensions/tf.json +6 -3
  41. package/src/schemas/v3/overlays/extensions/tr.json +73 -0
  42. package/src/schemas/v3/overlays/extensions/wg.json +350 -0
  43. package/src/schemas/v3/overlays/fme1.json +16 -14
  44. package/src/schemas/v3/overlays/lpe1.json +60 -30
  45. package/src/schemas/v3/overlays/nts.json +68 -1
  46. package/src/schemas/v3/overlays/nts2.json +68 -4
  47. package/src/schemas/v3/overlays/ntsl.json +68 -1
  48. package/src/schemas/v3/overlays/ntsl2.json +68 -4
  49. package/src/schemas/v3/overlays/piq.json +37 -3
  50. package/src/schemas/v3/overlays/rds.json +117 -8
  51. package/src/schemas/v3/overlays/sef25.json +1639 -0
  52. package/src/schemas/v3/overlays/ta6.json +46 -16
  53. package/src/schemas/v3/overlays/ta6ed6.json +6533 -0
  54. package/src/schemas/v3/overlays/ta7.json +70 -6
  55. package/src/schemas/v3/overlays/ta7ed5.json +1551 -0
  56. package/src/schemas/v3/pdtf-transaction.json +3896 -686
  57. package/src/schemas/v3/skeleton.json +442 -35
  58. package/src/utils/extractExtensionOverlays.js +293 -31
  59. package/src/utils/extractOverlay.js +94 -27
  60. package/src/utils/pathSkeleton.js +1 -1
  61. package/.claude/settings.local.json +0 -42
  62. package/.github/workflows/pages.yml +0 -50
  63. package/CNAME +0 -1
  64. package/_config.yml +0 -1
  65. package/src/tests/v3/caching.test.js +0 -591
  66. package/src/tests/v3/enquiries.test.js +0 -1096
  67. package/src/tests/v3/extensionOverlays.test.js +0 -525
  68. package/src/tests/v3/offers.test.js +0 -823
  69. package/src/tests/v3/patternProperties.test.js +0 -565
  70. package/src/tests/v3/transactionSchema.test.js +0 -615
  71. package/src/tests/v3/verifiedClaimsValidator.test.js +0 -195
@@ -58,6 +58,10 @@
58
58
  capacity
59
59
  sellersCapacityDetails
60
60
  attachments
61
+ companyName
62
+ companyNumber
63
+ countryOfIncorporation
64
+ dateBecameOwnerOrAuthority
61
65
  ]
62
66
  propertyPack
63
67
  address
@@ -208,6 +212,8 @@
208
212
  ownership
209
213
  numberOfSellers
210
214
  numberOfNonUkResidentSellers
215
+ outstandingMortgage
216
+ existingLender
211
217
  hasHelpToBuyEquityLoan
212
218
  isFirstRegistration
213
219
  isLimitedCompanySale
@@ -219,6 +225,9 @@
219
225
  yesNo
220
226
  details
221
227
  amount
228
+ titleRestrictions
229
+ yesNo
230
+ details
222
231
  wholeFreeholdForSale
223
232
  yesNo
224
233
  details
@@ -309,6 +318,17 @@
309
318
  isApplicableParty
310
319
  feeIncludingVAT
311
320
  noticeViaEmail
321
+ contact
322
+ nameOrOrganisation
323
+ address
324
+ line1
325
+ line2
326
+ line3
327
+ town
328
+ postcode
329
+ telephone
330
+ emailAddress
331
+ capacity
312
332
  otherDetailsRequired
313
333
  areOtherDetailsRequired
314
334
  details
@@ -435,6 +455,7 @@
435
455
  leaseholdInformation
436
456
  typeOfLeasehold
437
457
  leaseholdType
458
+ otherLeaseholdType
438
459
  sharedOwnership
439
460
  isSharedOwnership
440
461
  sharedOwnershipPercentage
@@ -496,6 +517,39 @@
496
517
  accountNumber
497
518
  reference
498
519
  feeType
520
+ rightToManageCompany
521
+ contact
522
+ nameOrOrganisation
523
+ address
524
+ line1
525
+ line2
526
+ line3
527
+ town
528
+ postcode
529
+ emailAddress
530
+ telephone
531
+ freeholder
532
+ contact
533
+ nameOrOrganisation
534
+ address
535
+ line1
536
+ line2
537
+ line3
538
+ town
539
+ postcode
540
+ emailAddress
541
+ telephone
542
+ headLeaseHolder
543
+ contact
544
+ nameOrOrganisation
545
+ address
546
+ line1
547
+ line2
548
+ line3
549
+ town
550
+ postcode
551
+ emailAddress
552
+ telephone
499
553
  managingAgent
500
554
  contact
501
555
  nameOrOrganisation
@@ -561,6 +615,17 @@
561
615
  isApplicableParty
562
616
  feeIncludingVAT
563
617
  noticeViaEmail
618
+ contact
619
+ nameOrOrganisation
620
+ address
621
+ line1
622
+ line2
623
+ line3
624
+ town
625
+ postcode
626
+ telephone
627
+ emailAddress
628
+ capacity
564
629
  noticeOfTransferAndCharge
565
630
  rentchargeOwner
566
631
  isApplicableParty
@@ -582,12 +647,27 @@
582
647
  isApplicableParty
583
648
  feeIncludingVAT
584
649
  noticeViaEmail
650
+ contact
651
+ nameOrOrganisation
652
+ address
653
+ line1
654
+ line2
655
+ line3
656
+ town
657
+ postcode
658
+ telephone
659
+ emailAddress
660
+ capacity
585
661
  otherDetailsRequired
586
662
  areOtherDetailsRequired
587
663
  details
588
664
  collectsGroundRent
665
+ collector
666
+ otherCollector
589
667
  collectsServiceCharges
590
668
  collectsbuildingInsurancePremiums
669
+ collector
670
+ otherCollector
591
671
  dealsWithDayToDayMaintenanceOfManagedArea
592
672
  organisesBuildingInsurance
593
673
  dealsWithDayToDayMaintenanceOfBuilding
@@ -607,6 +687,10 @@
607
687
  isSellerAwareOfChanges
608
688
  details
609
689
  attachments
690
+ landlordConsents
691
+ isSellerAwareOfLandlordConsents
692
+ details
693
+ attachments
610
694
  transferAndRegistration
611
695
  deedOfCovenantRequired
612
696
  yesNoNotKnown
@@ -626,6 +710,7 @@
626
710
  isGroundRentPayable
627
711
  annualGroundRent
628
712
  groundRentFrequency
713
+ mostRecentGroundRentDemandStatus
629
714
  rentSubjectToIncrease
630
715
  yesNo
631
716
  rentReviewFrequency
@@ -644,11 +729,16 @@
644
729
  buildingManager
645
730
  buildingManagerType
646
731
  details
647
- hasTenantCompanyDissolved
648
732
  isManagingAgentEmployed
733
+ sellerOwnership
734
+ yesNo
735
+ attachments
736
+ hasTenantCompanyDissolved
737
+ hasTenantCompanyDissolvedDetails
649
738
  serviceCharge
650
739
  sellerContributesToServiceCharge
651
740
  annualServiceCharge
741
+ mostRecentServiceChargeDemandStatus
652
742
  largeAdditionalExpense
653
743
  yesNo
654
744
  details
@@ -722,6 +812,7 @@
722
812
  premiumsPaidUpToDate
723
813
  yesNo
724
814
  details
815
+ mostRecentBuildingsInsuranceDemandStatus
725
816
  lastDemandPeriod
726
817
  from
727
818
  to
@@ -739,6 +830,9 @@
739
830
  riskAssessments
740
831
  assessmentsCarriedOut
741
832
  urgentWorksRecommended
833
+ urgentWorksCarriedOut
834
+ outstandingEnforcementAction
835
+ dateRemedialActionRequired
742
836
  standardTermsAvailable
743
837
  yesNo
744
838
  details
@@ -845,6 +939,9 @@
845
939
  companyAccounts
846
940
  managementCompanyAGMMinutes
847
941
  enforcementNotices
942
+ additionalInformation
943
+ details
944
+ attachments
848
945
  confirmationOfAccuracy
849
946
  confirmation
850
947
  capacity
@@ -856,12 +953,20 @@
856
953
  yesNo
857
954
  controlledParking
858
955
  yesNo
859
- annualCostOfPermit
956
+ costOfPermit
957
+ costOfPermitFrequency
860
958
  vehicleTypeRestriction
861
959
  yesNo
862
960
  details
961
+ droppedKerbAccess
962
+ yesNo
863
963
  electricVehicleChargingPoint
864
964
  yesNo
965
+ chargerDetails
966
+ chargerDetailsAttachments
967
+ cableCrossesPavement
968
+ yesNo
969
+ details
865
970
  locatedInUlez
866
971
  yesNo
867
972
  listingAndConservation
@@ -877,6 +982,7 @@
877
982
  yesNo
878
983
  workCarriedOut
879
984
  yesNo
985
+ details
880
986
  consentsObtained
881
987
  attachments
882
988
  typeOfConstruction
@@ -1066,6 +1172,10 @@
1066
1172
  yesNo
1067
1173
  attachments
1068
1174
  details
1175
+ nonResidentialPurposes
1176
+ yesNo
1177
+ details
1178
+ attachments
1069
1179
  windowReplacementsSince2002
1070
1180
  yesNo
1071
1181
  details
@@ -1086,6 +1196,25 @@
1086
1196
  yesNo
1087
1197
  attachments
1088
1198
  details
1199
+ workCompleted
1200
+ yesNo
1201
+ details
1202
+ documents
1203
+ extension
1204
+ yesNo
1205
+ details
1206
+ workCompleted
1207
+ yesNo
1208
+ details
1209
+ documents
1210
+ planningPermission
1211
+ yesNo
1212
+ attachments
1213
+ details
1214
+ buildingRegApproval
1215
+ yesNo
1216
+ attachments
1217
+ details
1089
1218
  hasAddedConservatory
1090
1219
  yesNo
1091
1220
  details
@@ -1106,6 +1235,100 @@
1106
1235
  yesNo
1107
1236
  attachments
1108
1237
  details
1238
+ workCompleted
1239
+ yesNo
1240
+ details
1241
+ documents
1242
+ loftConversion
1243
+ yesNo
1244
+ details
1245
+ workCompleted
1246
+ yesNo
1247
+ details
1248
+ documents
1249
+ planningPermission
1250
+ yesNo
1251
+ attachments
1252
+ details
1253
+ buildingRegApproval
1254
+ yesNo
1255
+ attachments
1256
+ details
1257
+ garageConversion
1258
+ yesNo
1259
+ details
1260
+ workCompleted
1261
+ yesNo
1262
+ details
1263
+ documents
1264
+ planningPermission
1265
+ yesNo
1266
+ attachments
1267
+ details
1268
+ buildingRegApproval
1269
+ yesNo
1270
+ attachments
1271
+ details
1272
+ removalOfInternalWalls
1273
+ yesNo
1274
+ details
1275
+ workCompleted
1276
+ yesNo
1277
+ details
1278
+ documents
1279
+ planningPermission
1280
+ yesNo
1281
+ attachments
1282
+ details
1283
+ buildingRegApproval
1284
+ yesNo
1285
+ attachments
1286
+ details
1287
+ removalOfChimneyBreast
1288
+ yesNo
1289
+ details
1290
+ workCompleted
1291
+ yesNo
1292
+ details
1293
+ documents
1294
+ planningPermission
1295
+ yesNo
1296
+ attachments
1297
+ details
1298
+ buildingRegApproval
1299
+ yesNo
1300
+ attachments
1301
+ details
1302
+ insulation
1303
+ yesNo
1304
+ details
1305
+ workCompleted
1306
+ yesNo
1307
+ details
1308
+ documents
1309
+ planningPermission
1310
+ yesNo
1311
+ attachments
1312
+ details
1313
+ buildingRegApproval
1314
+ yesNo
1315
+ attachments
1316
+ details
1317
+ otherBuildingWorksOrChangesToTheProperty
1318
+ yesNo
1319
+ details
1320
+ workCompleted
1321
+ yesNo
1322
+ details
1323
+ documents
1324
+ planningPermission
1325
+ yesNo
1326
+ attachments
1327
+ details
1328
+ buildingRegApproval
1329
+ yesNo
1330
+ attachments
1331
+ details
1109
1332
  worksUnfinished
1110
1333
  yesNo
1111
1334
  details
@@ -1159,6 +1382,9 @@
1159
1382
  details
1160
1383
  attachments
1161
1384
  japaneseKnotweed
1385
+ knotweedSurveyCarriedOut
1386
+ yesNo
1387
+ attachments
1162
1388
  yesNo
1163
1389
  managementPlanInPlace
1164
1390
  attachments
@@ -1170,6 +1396,18 @@
1170
1396
  yesNo
1171
1397
  details
1172
1398
  attachments
1399
+ wellsDitchesShaft
1400
+ yesNo
1401
+ details
1402
+ damagedOrExposedElectrics
1403
+ yesNo
1404
+ details
1405
+ damageToFlooringOrStaircases
1406
+ yesNo
1407
+ details
1408
+ knownAreasInPoorCondition
1409
+ yesNo
1410
+ details
1173
1411
  fixturesAndFittings
1174
1412
  itemsToRemove
1175
1413
  yesNo
@@ -1636,11 +1874,15 @@
1636
1874
  solarPanels
1637
1875
  yesNo
1638
1876
  supplier
1877
+ hotWaterOnly
1639
1878
  yearInstalled
1640
1879
  panelsOwnedOutright
1641
1880
  yesNo
1642
1881
  details
1643
1882
  attachments
1883
+ associatedCost
1884
+ frequency
1885
+ amount
1644
1886
  panelProviderLease
1645
1887
  yesNo
1646
1888
  details
@@ -1649,11 +1891,23 @@
1649
1891
  inGoodWorkingOrder
1650
1892
  yesNo
1651
1893
  details
1652
- isConnectedToNationalGrid
1653
1894
  photovoltaicMeterPanelLocation
1654
1895
  attachments
1655
- photovoltaicBatteriesLocation
1896
+ maintenanceAgreement
1897
+ yesNo
1898
+ attachments
1899
+ photovoltaicBatteries
1900
+ yesNo
1656
1901
  attachments
1902
+ details
1903
+ nationalGrid
1904
+ yesNo
1905
+ fitOrSegInPlace
1906
+ yesNo
1907
+ fitSegAgreementCopy
1908
+ attachments
1909
+ fitSegAssignmentProcedure
1910
+ installationCertificates
1657
1911
  dateToBeConnected
1658
1912
  heatPump
1659
1913
  yesNo
@@ -1661,6 +1915,8 @@
1661
1915
  supplier
1662
1916
  dateInstalled
1663
1917
  attachments
1918
+ makeModel
1919
+ serviceProviderName
1664
1920
  dateToBeConnected
1665
1921
  otherSources
1666
1922
  yesNo
@@ -1675,6 +1931,9 @@
1675
1931
  mainsWater
1676
1932
  yesNo
1677
1933
  details
1934
+ associatedCost
1935
+ frequency
1936
+ amount
1678
1937
  supplier
1679
1938
  stopcock
1680
1939
  location
@@ -1718,13 +1977,22 @@
1718
1977
  attachments
1719
1978
  plantDrainsIntoWaterway
1720
1979
  yesNo
1980
+ hasInfiltrationSystem
1981
+ yesNo
1721
1982
  dischargeCompliesWithGBR
1983
+ dateDischargeCommenced
1984
+ dateInstalled
1722
1985
  dateReplaced
1723
1986
  dateLastEmptied
1724
- dateInstalled
1987
+ supplier
1988
+ makeModel
1989
+ serviceProviderName
1725
1990
  dateLastServiced
1726
1991
  attachments
1727
1992
  details
1993
+ associatedCost
1994
+ frequency
1995
+ amount
1728
1996
  surfaceDrainageCharge
1729
1997
  yesNo
1730
1998
  details
@@ -1775,6 +2043,10 @@
1775
2043
  otherCentralHeatingFuelType
1776
2044
  centralHeatingInstalled
1777
2045
  boilerInstallationCertificate
2046
+ yesNo
2047
+ boilerInstallationDate
2048
+ attachments
2049
+ replacementOtherThanBoiler
1778
2050
  yesNo
1779
2051
  attachments
1780
2052
  heatingLastServicedDate
@@ -1784,6 +2056,7 @@
1784
2056
  details
1785
2057
  details
1786
2058
  otherHeatingFeatures[]
2059
+ multipleHeatingSystems
1787
2060
  connectivity
1788
2061
  telephone
1789
2062
  yesNo
@@ -1804,6 +2077,7 @@
1804
2077
  maxUfbbPredictedUp
1805
2078
  maxPredictedDown
1806
2079
  maxPredictedUp
2080
+ providerName
1807
2081
  mobilePhone
1808
2082
  knownSignalIssues
1809
2083
  yesNo
@@ -1841,6 +2115,7 @@
1841
2115
  voDataOutdoorNo4g
1842
2116
  voDataIndoor
1843
2117
  voDataIndoorNo4g
2118
+ otherServices
1844
2119
  insurance
1845
2120
  difficultiesObtainingInsurance
1846
2121
  abnormalRiseInPremiums
@@ -1858,6 +2133,7 @@
1858
2133
  isInsured
1859
2134
  details
1860
2135
  landlordInsuresIfFlat
2136
+ whoInsures
1861
2137
  insuranceClaims
1862
2138
  yesNo
1863
2139
  details
@@ -1865,9 +2141,15 @@
1865
2141
  sharedContributions
1866
2142
  yesNo
1867
2143
  details
2144
+ disagreementOrComplaint
2145
+ yesNo
2146
+ details
1868
2147
  neighbouringLandRights
1869
2148
  yesNo
1870
2149
  details
2150
+ disagreementOrComplaint
2151
+ yesNo
2152
+ details
1871
2153
  attachments
1872
2154
  accessRestrictionAttempts
1873
2155
  yesNo
@@ -1877,6 +2159,9 @@
1877
2159
  yesNo
1878
2160
  details
1879
2161
  attachments
2162
+ privateRightOfWay
2163
+ yesNo
2164
+ details
1880
2165
  rightsOfLight
1881
2166
  yesNo
1882
2167
  details
@@ -1898,6 +2183,15 @@
1898
2183
  otherRights
1899
2184
  yesNo
1900
2185
  details
2186
+ disagreementOrComplaint
2187
+ yesNo
2188
+ details
2189
+ askedOthersToContribute
2190
+ yesNo
2191
+ details
2192
+ disagreementOrComplaint
2193
+ yesNo
2194
+ details
1901
2195
  environmentalIssues
1902
2196
  flooding
1903
2197
  floodRiskReport
@@ -1926,6 +2220,9 @@
1926
2220
  floodDefences
1927
2221
  hasFloodDefences
1928
2222
  details
2223
+ stormFireFloodDamage
2224
+ yesNo
2225
+ details
1929
2226
  radon
1930
2227
  radonRisk
1931
2228
  riskIndicator
@@ -2137,6 +2434,14 @@
2137
2434
  details
2138
2435
  attachments
2139
2436
  additionalInformation
2437
+ consents
2438
+ attachments
2439
+ consentsAttached
2440
+ consentsToFollow
2441
+ consentsNotAvailable
2442
+ furtherInformation
2443
+ details
2444
+ attachments
2140
2445
  restrictionsOnUseNotCompliedWith
2141
2446
  yesNo
2142
2447
  details
@@ -2264,6 +2569,9 @@
2264
2569
  subsidenceWork
2265
2570
  yesNo
2266
2571
  attachments
2572
+ insulation
2573
+ yesNo
2574
+ attachments
2267
2575
  solarPanels
2268
2576
  yesNo
2269
2577
  attachments
@@ -2275,6 +2583,9 @@
2275
2583
  yesNo
2276
2584
  details
2277
2585
  attachments
2586
+ breachOfTermsOrConditions
2587
+ yesNo
2588
+ details
2278
2589
  titleDefectInsurance
2279
2590
  yesNo
2280
2591
  details