@pdtf/schemas 3.0.0-32 → 3.0.0-34

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-32",
3
+ "version": "3.0.0-34",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -11444,8 +11444,7 @@
11444
11444
  "externalDoorFittings",
11445
11445
  "doorbellChime",
11446
11446
  "electricSockets",
11447
- "burglarAlarm",
11448
- "otherItems"
11447
+ "burglarAlarm"
11449
11448
  ],
11450
11449
  "properties": {
11451
11450
  "boilerImmersionHeater": {
@@ -12349,6 +12348,7 @@
12349
12348
  ]
12350
12349
  },
12351
12350
  "otherItems": {
12351
+ "ta10Ref": "1.16",
12352
12352
  "title": "Other items (please specify)",
12353
12353
  "type": "array",
12354
12354
  "items": {
@@ -12420,8 +12420,7 @@
12420
12420
  "freezer",
12421
12421
  "dishwasher",
12422
12422
  "tumbleDryer",
12423
- "washingMachine",
12424
- "otherItems"
12423
+ "washingMachine"
12425
12424
  ],
12426
12425
  "properties": {
12427
12426
  "hob": {
@@ -12447,7 +12446,7 @@
12447
12446
  "enum": ["Included"]
12448
12447
  },
12449
12448
  "fittedOrFreestanding": {
12450
- "ta10Ref": "xxx",
12449
+ "ta10Ref": "2.1d",
12451
12450
  "type": "object",
12452
12451
  "properties": {
12453
12452
  "isFittedOrFreestanding": {
@@ -12501,7 +12500,7 @@
12501
12500
  "type": "number"
12502
12501
  },
12503
12502
  "fittedOrFreestanding": {
12504
- "ta10Ref": "xxx",
12503
+ "ta10Ref": "2.1d",
12505
12504
  "type": "object",
12506
12505
  "properties": {
12507
12506
  "isFittedOrFreestanding": {
@@ -12581,7 +12580,7 @@
12581
12580
  "enum": ["Included"]
12582
12581
  },
12583
12582
  "fittedOrFreestanding": {
12584
- "ta10Ref": "xxx",
12583
+ "ta10Ref": "2.2d",
12585
12584
  "type": "object",
12586
12585
  "properties": {
12587
12586
  "isFittedOrFreestanding": {
@@ -12635,7 +12634,7 @@
12635
12634
  "type": "number"
12636
12635
  },
12637
12636
  "fittedOrFreestanding": {
12638
- "ta10Ref": "xxx",
12637
+ "ta10Ref": "2.2d",
12639
12638
  "type": "object",
12640
12639
  "properties": {
12641
12640
  "isFittedOrFreestanding": {
@@ -12715,7 +12714,7 @@
12715
12714
  "enum": ["Included"]
12716
12715
  },
12717
12716
  "fittedOrFreestanding": {
12718
- "ta10Ref": "xxx",
12717
+ "ta10Ref": "2.3d",
12719
12718
  "type": "object",
12720
12719
  "properties": {
12721
12720
  "isFittedOrFreestanding": {
@@ -12769,7 +12768,7 @@
12769
12768
  "type": "number"
12770
12769
  },
12771
12770
  "fittedOrFreestanding": {
12772
- "ta10Ref": "xxx",
12771
+ "ta10Ref": "2.3d",
12773
12772
  "type": "object",
12774
12773
  "properties": {
12775
12774
  "isFittedOrFreestanding": {
@@ -12849,7 +12848,7 @@
12849
12848
  "enum": ["Included"]
12850
12849
  },
12851
12850
  "fittedOrFreestanding": {
12852
- "ta10Ref": "xxx",
12851
+ "ta10Ref": "2.4d",
12853
12852
  "type": "object",
12854
12853
  "properties": {
12855
12854
  "isFittedOrFreestanding": {
@@ -12903,7 +12902,7 @@
12903
12902
  "type": "number"
12904
12903
  },
12905
12904
  "fittedOrFreestanding": {
12906
- "ta10Ref": "xxx",
12905
+ "ta10Ref": "2.4d",
12907
12906
  "type": "object",
12908
12907
  "properties": {
12909
12908
  "isFittedOrFreestanding": {
@@ -12983,7 +12982,7 @@
12983
12982
  "enum": ["Included"]
12984
12983
  },
12985
12984
  "fittedOrFreestanding": {
12986
- "ta10Ref": "xxx",
12985
+ "ta10Ref": "2.5d",
12987
12986
  "type": "object",
12988
12987
  "properties": {
12989
12988
  "isFittedOrFreestanding": {
@@ -13037,7 +13036,7 @@
13037
13036
  "type": "number"
13038
13037
  },
13039
13038
  "fittedOrFreestanding": {
13040
- "ta10Ref": "xxx",
13039
+ "ta10Ref": "2.5d",
13041
13040
  "type": "object",
13042
13041
  "properties": {
13043
13042
  "isFittedOrFreestanding": {
@@ -13117,7 +13116,7 @@
13117
13116
  "enum": ["Included"]
13118
13117
  },
13119
13118
  "fittedOrFreestanding": {
13120
- "ta10Ref": "xxx",
13119
+ "ta10Ref": "2.6d",
13121
13120
  "type": "object",
13122
13121
  "properties": {
13123
13122
  "isFittedOrFreestanding": {
@@ -13171,7 +13170,7 @@
13171
13170
  "type": "number"
13172
13171
  },
13173
13172
  "fittedOrFreestanding": {
13174
- "ta10Ref": "xxx",
13173
+ "ta10Ref": "2.6d",
13175
13174
  "type": "object",
13176
13175
  "properties": {
13177
13176
  "isFittedOrFreestanding": {
@@ -13251,7 +13250,7 @@
13251
13250
  "enum": ["Included"]
13252
13251
  },
13253
13252
  "fittedOrFreestanding": {
13254
- "ta10Ref": "xxx",
13253
+ "ta10Ref": "2.7d",
13255
13254
  "type": "object",
13256
13255
  "properties": {
13257
13256
  "isFittedOrFreestanding": {
@@ -13305,7 +13304,7 @@
13305
13304
  "type": "number"
13306
13305
  },
13307
13306
  "fittedOrFreestanding": {
13308
- "ta10Ref": "xxx",
13307
+ "ta10Ref": "2.7d",
13309
13308
  "type": "object",
13310
13309
  "properties": {
13311
13310
  "isFittedOrFreestanding": {
@@ -13385,7 +13384,7 @@
13385
13384
  "enum": ["Included"]
13386
13385
  },
13387
13386
  "fittedOrFreestanding": {
13388
- "ta10Ref": "xxx",
13387
+ "ta10Ref": "2.8d",
13389
13388
  "type": "object",
13390
13389
  "properties": {
13391
13390
  "isFittedOrFreestanding": {
@@ -13439,7 +13438,7 @@
13439
13438
  "type": "number"
13440
13439
  },
13441
13440
  "fittedOrFreestanding": {
13442
- "ta10Ref": "xxx",
13441
+ "ta10Ref": "2.8d",
13443
13442
  "type": "object",
13444
13443
  "properties": {
13445
13444
  "isFittedOrFreestanding": {
@@ -13519,7 +13518,7 @@
13519
13518
  "enum": ["Included"]
13520
13519
  },
13521
13520
  "fittedOrFreestanding": {
13522
- "ta10Ref": "xxx",
13521
+ "ta10Ref": "2.9d",
13523
13522
  "type": "object",
13524
13523
  "properties": {
13525
13524
  "isFittedOrFreestanding": {
@@ -13573,7 +13572,7 @@
13573
13572
  "type": "number"
13574
13573
  },
13575
13574
  "fittedOrFreestanding": {
13576
- "ta10Ref": "xxx",
13575
+ "ta10Ref": "2.9d",
13577
13576
  "type": "object",
13578
13577
  "properties": {
13579
13578
  "isFittedOrFreestanding": {
@@ -13653,7 +13652,7 @@
13653
13652
  "enum": ["Included"]
13654
13653
  },
13655
13654
  "fittedOrFreestanding": {
13656
- "ta10Ref": "xxx",
13655
+ "ta10Ref": "2.10d",
13657
13656
  "type": "object",
13658
13657
  "properties": {
13659
13658
  "isFittedOrFreestanding": {
@@ -13707,7 +13706,7 @@
13707
13706
  "type": "number"
13708
13707
  },
13709
13708
  "fittedOrFreestanding": {
13710
- "ta10Ref": "xxx",
13709
+ "ta10Ref": "2.10d",
13711
13710
  "type": "object",
13712
13711
  "properties": {
13713
13712
  "isFittedOrFreestanding": {
@@ -13765,6 +13764,7 @@
13765
13764
  ]
13766
13765
  },
13767
13766
  "otherItems": {
13767
+ "ta10Ref": "2.11",
13768
13768
  "title": "Other items (please specify)",
13769
13769
  "type": "array",
13770
13770
  "items": {
@@ -13793,7 +13793,7 @@
13793
13793
  "enum": ["Included"]
13794
13794
  },
13795
13795
  "fittedOrFreestanding": {
13796
- "ta10Ref": "xxx",
13796
+ "ta10Ref": "2.11d",
13797
13797
  "type": "object",
13798
13798
  "properties": {
13799
13799
  "isFittedOrFreestanding": {
@@ -13847,7 +13847,7 @@
13847
13847
  "type": "number"
13848
13848
  },
13849
13849
  "fittedOrFreestanding": {
13850
- "ta10Ref": "xxx",
13850
+ "ta10Ref": "2.11d",
13851
13851
  "type": "object",
13852
13852
  "properties": {
13853
13853
  "isFittedOrFreestanding": {
@@ -14537,8 +14537,7 @@
14537
14537
  "kitchen",
14538
14538
  "bedroom1",
14539
14539
  "bedroom2",
14540
- "bedroom3",
14541
- "otherRooms"
14540
+ "bedroom3"
14542
14541
  ],
14543
14542
  "properties": {
14544
14543
  "hallStairsLanding": {
@@ -14962,6 +14961,7 @@
14962
14961
  ]
14963
14962
  },
14964
14963
  "otherRooms": {
14964
+ "ta10Ref": "4.8",
14965
14965
  "title": "Other rooms (please specify)",
14966
14966
  "type": "array",
14967
14967
  "items": {
@@ -15034,8 +15034,7 @@
15034
15034
  "kitchen",
15035
15035
  "bedroom1",
15036
15036
  "bedroom2",
15037
- "bedroom3",
15038
- "otherRooms"
15037
+ "bedroom3"
15039
15038
  ],
15040
15039
  "properties": {
15041
15040
  "hallStairsLanding": {
@@ -15459,6 +15458,7 @@
15459
15458
  ]
15460
15459
  },
15461
15460
  "otherRooms": {
15461
+ "ta10Ref": "5.8",
15462
15462
  "title": "Other rooms (please specify)",
15463
15463
  "type": "array",
15464
15464
  "items": {
@@ -15525,8 +15525,7 @@
15525
15525
  "kitchen",
15526
15526
  "bedroom1",
15527
15527
  "bedroom2",
15528
- "bedroom3",
15529
- "otherRooms"
15528
+ "bedroom3"
15530
15529
  ],
15531
15530
  "properties": {
15532
15531
  "hallStairsLanding": {
@@ -15950,6 +15949,7 @@
15950
15949
  ]
15951
15950
  },
15952
15951
  "otherRooms": {
15952
+ "ta10Ref": "5.19",
15953
15953
  "title": "Other rooms (please specify)",
15954
15954
  "type": "array",
15955
15955
  "items": {
@@ -16020,8 +16020,7 @@
16020
16020
  "kitchen",
16021
16021
  "bedroom1",
16022
16022
  "bedroom2",
16023
- "bedroom3",
16024
- "otherRooms"
16023
+ "bedroom3"
16025
16024
  ],
16026
16025
  "properties": {
16027
16026
  "hallStairsLanding": {
@@ -16445,6 +16444,7 @@
16445
16444
  ]
16446
16445
  },
16447
16446
  "otherRooms": {
16447
+ "ta10Ref": "6.8",
16448
16448
  "title": "Other rooms (please specify)",
16449
16449
  "type": "array",
16450
16450
  "items": {
@@ -16513,8 +16513,7 @@
16513
16513
  "kitchen",
16514
16514
  "bedroom1",
16515
16515
  "bedroom2",
16516
- "bedroom3",
16517
- "otherRooms"
16516
+ "bedroom3"
16518
16517
  ],
16519
16518
  "properties": {
16520
16519
  "hallStairsLanding": {
@@ -16938,6 +16937,7 @@
16938
16937
  ]
16939
16938
  },
16940
16939
  "otherRooms": {
16940
+ "ta10Ref": "7.8",
16941
16941
  "title": "Other rooms (please specify)",
16942
16942
  "type": "array",
16943
16943
  "items": {
@@ -17010,8 +17010,7 @@
17010
17010
  "outdoorLights",
17011
17011
  "waterButt",
17012
17012
  "clothesLine",
17013
- "rotaryLine",
17014
- "otherItems"
17013
+ "rotaryLine"
17015
17014
  ],
17016
17015
  "properties": {
17017
17016
  "gardenFurniture": {
@@ -17735,6 +17734,7 @@
17735
17734
  ]
17736
17735
  },
17737
17736
  "otherItems": {
17737
+ "ta10Ref": "8.13",
17738
17738
  "title": "Other items (please specify)",
17739
17739
  "type": "array",
17740
17740
  "items": {
@@ -56,8 +56,7 @@
56
56
  "externalDoorFittings",
57
57
  "doorbellChime",
58
58
  "electricSockets",
59
- "burglarAlarm",
60
- "otherItems"
59
+ "burglarAlarm"
61
60
  ],
62
61
  "properties": {
63
62
  "boilerImmersionHeater": {
@@ -886,6 +885,7 @@
886
885
  }
887
886
  },
888
887
  "otherItems": {
888
+ "ta10Ref": "1.16",
889
889
  "items": {
890
890
  "required": [
891
891
  "itemName",
@@ -934,8 +934,7 @@
934
934
  "freezer",
935
935
  "dishwasher",
936
936
  "tumbleDryer",
937
- "washingMachine",
938
- "otherItems"
937
+ "washingMachine"
939
938
  ],
940
939
  "properties": {
941
940
  "hob": {
@@ -952,7 +951,7 @@
952
951
  ]
953
952
  },
954
953
  "fittedOrFreestanding": {
955
- "ta10Ref": "xxx",
954
+ "ta10Ref": "2.1d",
956
955
  "discriminator": {
957
956
  "propertyName": "isFittedOrFreestanding"
958
957
  },
@@ -1004,7 +1003,7 @@
1004
1003
  "ta10Ref": "2.1b"
1005
1004
  },
1006
1005
  "fittedOrFreestanding": {
1007
- "ta10Ref": "xxx",
1006
+ "ta10Ref": "2.1d",
1008
1007
  "discriminator": {
1009
1008
  "propertyName": "isFittedOrFreestanding"
1010
1009
  },
@@ -1081,7 +1080,7 @@
1081
1080
  ]
1082
1081
  },
1083
1082
  "fittedOrFreestanding": {
1084
- "ta10Ref": "xxx",
1083
+ "ta10Ref": "2.2d",
1085
1084
  "discriminator": {
1086
1085
  "propertyName": "isFittedOrFreestanding"
1087
1086
  },
@@ -1133,7 +1132,7 @@
1133
1132
  "ta10Ref": "2.2b"
1134
1133
  },
1135
1134
  "fittedOrFreestanding": {
1136
- "ta10Ref": "xxx",
1135
+ "ta10Ref": "2.2d",
1137
1136
  "discriminator": {
1138
1137
  "propertyName": "isFittedOrFreestanding"
1139
1138
  },
@@ -1210,7 +1209,7 @@
1210
1209
  ]
1211
1210
  },
1212
1211
  "fittedOrFreestanding": {
1213
- "ta10Ref": "xxx",
1212
+ "ta10Ref": "2.3d",
1214
1213
  "discriminator": {
1215
1214
  "propertyName": "isFittedOrFreestanding"
1216
1215
  },
@@ -1262,7 +1261,7 @@
1262
1261
  "ta10Ref": "2.3b"
1263
1262
  },
1264
1263
  "fittedOrFreestanding": {
1265
- "ta10Ref": "xxx",
1264
+ "ta10Ref": "2.3d",
1266
1265
  "discriminator": {
1267
1266
  "propertyName": "isFittedOrFreestanding"
1268
1267
  },
@@ -1339,7 +1338,7 @@
1339
1338
  ]
1340
1339
  },
1341
1340
  "fittedOrFreestanding": {
1342
- "ta10Ref": "xxx",
1341
+ "ta10Ref": "2.4d",
1343
1342
  "discriminator": {
1344
1343
  "propertyName": "isFittedOrFreestanding"
1345
1344
  },
@@ -1391,7 +1390,7 @@
1391
1390
  "ta10Ref": "2.4b"
1392
1391
  },
1393
1392
  "fittedOrFreestanding": {
1394
- "ta10Ref": "xxx",
1393
+ "ta10Ref": "2.4d",
1395
1394
  "discriminator": {
1396
1395
  "propertyName": "isFittedOrFreestanding"
1397
1396
  },
@@ -1468,7 +1467,7 @@
1468
1467
  ]
1469
1468
  },
1470
1469
  "fittedOrFreestanding": {
1471
- "ta10Ref": "xxx",
1470
+ "ta10Ref": "2.5d",
1472
1471
  "discriminator": {
1473
1472
  "propertyName": "isFittedOrFreestanding"
1474
1473
  },
@@ -1520,7 +1519,7 @@
1520
1519
  "ta10Ref": "2.5b"
1521
1520
  },
1522
1521
  "fittedOrFreestanding": {
1523
- "ta10Ref": "xxx",
1522
+ "ta10Ref": "2.5d",
1524
1523
  "discriminator": {
1525
1524
  "propertyName": "isFittedOrFreestanding"
1526
1525
  },
@@ -1597,7 +1596,7 @@
1597
1596
  ]
1598
1597
  },
1599
1598
  "fittedOrFreestanding": {
1600
- "ta10Ref": "xxx",
1599
+ "ta10Ref": "2.6d",
1601
1600
  "discriminator": {
1602
1601
  "propertyName": "isFittedOrFreestanding"
1603
1602
  },
@@ -1649,7 +1648,7 @@
1649
1648
  "ta10Ref": "2.6b"
1650
1649
  },
1651
1650
  "fittedOrFreestanding": {
1652
- "ta10Ref": "xxx",
1651
+ "ta10Ref": "2.6d",
1653
1652
  "discriminator": {
1654
1653
  "propertyName": "isFittedOrFreestanding"
1655
1654
  },
@@ -1726,7 +1725,7 @@
1726
1725
  ]
1727
1726
  },
1728
1727
  "fittedOrFreestanding": {
1729
- "ta10Ref": "xxx",
1728
+ "ta10Ref": "2.7d",
1730
1729
  "discriminator": {
1731
1730
  "propertyName": "isFittedOrFreestanding"
1732
1731
  },
@@ -1778,7 +1777,7 @@
1778
1777
  "ta10Ref": "2.7b"
1779
1778
  },
1780
1779
  "fittedOrFreestanding": {
1781
- "ta10Ref": "xxx",
1780
+ "ta10Ref": "2.7d",
1782
1781
  "discriminator": {
1783
1782
  "propertyName": "isFittedOrFreestanding"
1784
1783
  },
@@ -1855,7 +1854,7 @@
1855
1854
  ]
1856
1855
  },
1857
1856
  "fittedOrFreestanding": {
1858
- "ta10Ref": "xxx",
1857
+ "ta10Ref": "2.8d",
1859
1858
  "discriminator": {
1860
1859
  "propertyName": "isFittedOrFreestanding"
1861
1860
  },
@@ -1907,7 +1906,7 @@
1907
1906
  "ta10Ref": "2.8b"
1908
1907
  },
1909
1908
  "fittedOrFreestanding": {
1910
- "ta10Ref": "xxx",
1909
+ "ta10Ref": "2.8d",
1911
1910
  "discriminator": {
1912
1911
  "propertyName": "isFittedOrFreestanding"
1913
1912
  },
@@ -1984,7 +1983,7 @@
1984
1983
  ]
1985
1984
  },
1986
1985
  "fittedOrFreestanding": {
1987
- "ta10Ref": "xxx",
1986
+ "ta10Ref": "2.9d",
1988
1987
  "discriminator": {
1989
1988
  "propertyName": "isFittedOrFreestanding"
1990
1989
  },
@@ -2036,7 +2035,7 @@
2036
2035
  "ta10Ref": "2.9b"
2037
2036
  },
2038
2037
  "fittedOrFreestanding": {
2039
- "ta10Ref": "xxx",
2038
+ "ta10Ref": "2.9d",
2040
2039
  "discriminator": {
2041
2040
  "propertyName": "isFittedOrFreestanding"
2042
2041
  },
@@ -2113,7 +2112,7 @@
2113
2112
  ]
2114
2113
  },
2115
2114
  "fittedOrFreestanding": {
2116
- "ta10Ref": "xxx",
2115
+ "ta10Ref": "2.10d",
2117
2116
  "discriminator": {
2118
2117
  "propertyName": "isFittedOrFreestanding"
2119
2118
  },
@@ -2165,7 +2164,7 @@
2165
2164
  "ta10Ref": "2.10b"
2166
2165
  },
2167
2166
  "fittedOrFreestanding": {
2168
- "ta10Ref": "xxx",
2167
+ "ta10Ref": "2.10d",
2169
2168
  "discriminator": {
2170
2169
  "propertyName": "isFittedOrFreestanding"
2171
2170
  },
@@ -2229,6 +2228,7 @@
2229
2228
  }
2230
2229
  },
2231
2230
  "otherItems": {
2231
+ "ta10Ref": "2.11",
2232
2232
  "items": {
2233
2233
  "required": [
2234
2234
  "isIncludedOrExcluded"
@@ -2245,7 +2245,7 @@
2245
2245
  {
2246
2246
  "properties": {
2247
2247
  "fittedOrFreestanding": {
2248
- "ta10Ref": "xxx",
2248
+ "ta10Ref": "2.11d",
2249
2249
  "discriminator": {
2250
2250
  "propertyName": "isFittedOrFreestanding"
2251
2251
  },
@@ -2292,7 +2292,7 @@
2292
2292
  "ta10Ref": "2.11b"
2293
2293
  },
2294
2294
  "fittedOrFreestanding": {
2295
- "ta10Ref": "xxx",
2295
+ "ta10Ref": "2.11d",
2296
2296
  "discriminator": {
2297
2297
  "propertyName": "isFittedOrFreestanding"
2298
2298
  },
@@ -2921,8 +2921,7 @@
2921
2921
  "kitchen",
2922
2922
  "bedroom1",
2923
2923
  "bedroom2",
2924
- "bedroom3",
2925
- "otherRooms"
2924
+ "bedroom3"
2926
2925
  ],
2927
2926
  "properties": {
2928
2927
  "hallStairsLanding": {
@@ -3311,6 +3310,7 @@
3311
3310
  }
3312
3311
  },
3313
3312
  "otherRooms": {
3313
+ "ta10Ref": "4.8",
3314
3314
  "items": {
3315
3315
  "required": [
3316
3316
  "itemName",
@@ -3362,8 +3362,7 @@
3362
3362
  "kitchen",
3363
3363
  "bedroom1",
3364
3364
  "bedroom2",
3365
- "bedroom3",
3366
- "otherRooms"
3365
+ "bedroom3"
3367
3366
  ],
3368
3367
  "properties": {
3369
3368
  "hallStairsLanding": {
@@ -3752,6 +3751,7 @@
3752
3751
  }
3753
3752
  },
3754
3753
  "otherRooms": {
3754
+ "ta10Ref": "5.8",
3755
3755
  "items": {
3756
3756
  "required": [
3757
3757
  "itemName",
@@ -3796,8 +3796,7 @@
3796
3796
  "kitchen",
3797
3797
  "bedroom1",
3798
3798
  "bedroom2",
3799
- "bedroom3",
3800
- "otherRooms"
3799
+ "bedroom3"
3801
3800
  ],
3802
3801
  "properties": {
3803
3802
  "hallStairsLanding": {
@@ -4186,6 +4185,7 @@
4186
4185
  }
4187
4186
  },
4188
4187
  "otherRooms": {
4188
+ "ta10Ref": "5.19",
4189
4189
  "items": {
4190
4190
  "required": [
4191
4191
  "itemName",
@@ -4233,8 +4233,7 @@
4233
4233
  "kitchen",
4234
4234
  "bedroom1",
4235
4235
  "bedroom2",
4236
- "bedroom3",
4237
- "otherRooms"
4236
+ "bedroom3"
4238
4237
  ],
4239
4238
  "properties": {
4240
4239
  "hallStairsLanding": {
@@ -4623,6 +4622,7 @@
4623
4622
  }
4624
4623
  },
4625
4624
  "otherRooms": {
4625
+ "ta10Ref": "6.8",
4626
4626
  "items": {
4627
4627
  "required": [
4628
4628
  "itemName",
@@ -4668,8 +4668,7 @@
4668
4668
  "kitchen",
4669
4669
  "bedroom1",
4670
4670
  "bedroom2",
4671
- "bedroom3",
4672
- "otherRooms"
4671
+ "bedroom3"
4673
4672
  ],
4674
4673
  "properties": {
4675
4674
  "hallStairsLanding": {
@@ -5058,6 +5057,7 @@
5058
5057
  }
5059
5058
  },
5060
5059
  "otherRooms": {
5060
+ "ta10Ref": "7.8",
5061
5061
  "items": {
5062
5062
  "required": [
5063
5063
  "itemName",
@@ -5108,8 +5108,7 @@
5108
5108
  "outdoorLights",
5109
5109
  "waterButt",
5110
5110
  "clothesLine",
5111
- "rotaryLine",
5112
- "otherItems"
5111
+ "rotaryLine"
5113
5112
  ],
5114
5113
  "properties": {
5115
5114
  "gardenFurniture": {
@@ -5773,6 +5772,7 @@
5773
5772
  }
5774
5773
  },
5775
5774
  "otherItems": {
5775
+ "ta10Ref": "8.13",
5776
5776
  "items": {
5777
5777
  "required": [
5778
5778
  "itemName",
@@ -202,6 +202,26 @@ test("correctly gets a subschema validator for a TA6 overlay", () => {
202
202
  expect(isValid).toBe(true);
203
203
  });
204
204
 
205
+ test("correctly gets a subschema validator for a TA7 overlay", () => {
206
+ const path = "/propertyPack";
207
+ const data = jp.get(exampleTransaction, path);
208
+ const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
209
+ "ta7ed3",
210
+ ]);
211
+ let isValid = validator(data);
212
+ expect(isValid).toBe(false);
213
+ });
214
+
215
+ test("correctly gets a subschema validator for a TA10 overlay", () => {
216
+ const path = "/propertyPack";
217
+ const data = jp.get(exampleTransaction, path);
218
+ const validator = getSubschemaValidator(path, exampleTransaction.$schema, [
219
+ "ta10ed3",
220
+ ]);
221
+ let isValid = validator(data);
222
+ expect(isValid).toBe(false);
223
+ });
224
+
205
225
  test("correctly gets a subschema validator for a TA6 overlay which validates", () => {
206
226
  const path =
207
227
  "/propertyPack/guaranteesWarrantiesAndIndemnityInsurances/subsidenceWork";