@dvsa/cvs-type-definitions 7.4.0 → 7.5.0

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 (39) hide show
  1. package/json-schemas/v3/tech-record/enums/adrBodyDeclarationType.enum.json +14 -0
  2. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +48 -0
  3. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +48 -0
  4. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +48 -0
  5. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +48 -0
  6. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +48 -0
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +48 -0
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +48 -0
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +48 -0
  10. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +48 -0
  11. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +48 -0
  12. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +48 -0
  13. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +48 -0
  14. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +48 -0
  15. package/json-schemas/v3/tech-record/put/trl/complete/index.json +48 -0
  16. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +48 -0
  17. package/json-schemas/v3/tech-record/put/trl/testable/index.json +48 -0
  18. package/package.json +1 -1
  19. package/schemas.d.ts +1 -1
  20. package/schemas.js +1 -0
  21. package/types/v3/tech-record/enums/adrBodyDeclarationType.enum.d.ts +10 -0
  22. package/types/v3/tech-record/enums/adrBodyDeclarationType.enum.js +15 -0
  23. package/types/v3/tech-record/enums/adrBodyDeclarationType.enum.ts +12 -0
  24. package/types/v3/tech-record/get/hgv/complete/index.d.ts +6 -0
  25. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +6 -0
  26. package/types/v3/tech-record/get/hgv/testable/index.d.ts +6 -0
  27. package/types/v3/tech-record/get/lgv/complete/index.d.ts +6 -0
  28. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +6 -0
  29. package/types/v3/tech-record/get/trl/complete/index.d.ts +6 -0
  30. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +6 -0
  31. package/types/v3/tech-record/get/trl/testable/index.d.ts +6 -0
  32. package/types/v3/tech-record/put/hgv/complete/index.d.ts +6 -0
  33. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +6 -0
  34. package/types/v3/tech-record/put/hgv/testable/index.d.ts +6 -0
  35. package/types/v3/tech-record/put/lgv/complete/index.d.ts +6 -0
  36. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +6 -0
  37. package/types/v3/tech-record/put/trl/complete/index.d.ts +6 -0
  38. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +6 -0
  39. package/types/v3/tech-record/put/trl/testable/index.d.ts +6 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "title": "ADR Body Declaration Types",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "PRE_1ST_JULY_2005",
6
+ "ON_OR_AFTER_1ST_JULY_2005",
7
+ "UNKNOWN"
8
+ ],
9
+ "enum": [
10
+ "Pre 1st July 2005",
11
+ "On or after 1st July 2005",
12
+ "Unknown"
13
+ ]
14
+ }
@@ -82,6 +82,27 @@
82
82
  "null"
83
83
  ]
84
84
  },
85
+ "techRecord_adrDetails_bodyDeclaration_type": {
86
+ "anyOf": [
87
+ {
88
+ "type": "null"
89
+ },
90
+ {
91
+ "title": "ADR Body Declaration Types",
92
+ "type": "string",
93
+ "tsEnumNames": [
94
+ "PRE_1ST_JULY_2005",
95
+ "ON_OR_AFTER_1ST_JULY_2005",
96
+ "UNKNOWN"
97
+ ],
98
+ "enum": [
99
+ "Pre 1st July 2005",
100
+ "On or after 1st July 2005",
101
+ "Unknown"
102
+ ]
103
+ }
104
+ ]
105
+ },
85
106
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
86
107
  "anyOf": [
87
108
  {
@@ -1273,6 +1294,33 @@
1273
1294
  ]
1274
1295
  }
1275
1296
  },
1297
+ {
1298
+ "if": {
1299
+ "properties": {
1300
+ "techRecord_adrDetails_permittedDangerousGoods": {
1301
+ "type": "array",
1302
+ "contains": {
1303
+ "type": "string",
1304
+ "not": {
1305
+ "enum": [
1306
+ "Explosives (type 3)"
1307
+ ]
1308
+ }
1309
+ }
1310
+ }
1311
+ },
1312
+ "required": [
1313
+ "techRecord_adrDetails_permittedDangerousGoods"
1314
+ ]
1315
+ },
1316
+ "then": {
1317
+ "not": {
1318
+ "required": [
1319
+ "techRecord_adrDetails_bodyDeclaration_type"
1320
+ ]
1321
+ }
1322
+ }
1323
+ },
1276
1324
  {
1277
1325
  "if": {
1278
1326
  "properties": {
@@ -52,6 +52,27 @@
52
52
  "null"
53
53
  ]
54
54
  },
55
+ "techRecord_adrDetails_bodyDeclaration_type": {
56
+ "anyOf": [
57
+ {
58
+ "type": "null"
59
+ },
60
+ {
61
+ "title": "ADR Body Declaration Types",
62
+ "type": "string",
63
+ "tsEnumNames": [
64
+ "PRE_1ST_JULY_2005",
65
+ "ON_OR_AFTER_1ST_JULY_2005",
66
+ "UNKNOWN"
67
+ ],
68
+ "enum": [
69
+ "Pre 1st July 2005",
70
+ "On or after 1st July 2005",
71
+ "Unknown"
72
+ ]
73
+ }
74
+ ]
75
+ },
55
76
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
56
77
  "anyOf": [
57
78
  {
@@ -1354,6 +1375,33 @@
1354
1375
  ]
1355
1376
  }
1356
1377
  },
1378
+ {
1379
+ "if": {
1380
+ "properties": {
1381
+ "techRecord_adrDetails_permittedDangerousGoods": {
1382
+ "type": "array",
1383
+ "contains": {
1384
+ "type": "string",
1385
+ "not": {
1386
+ "enum": [
1387
+ "Explosives (type 3)"
1388
+ ]
1389
+ }
1390
+ }
1391
+ }
1392
+ },
1393
+ "required": [
1394
+ "techRecord_adrDetails_permittedDangerousGoods"
1395
+ ]
1396
+ },
1397
+ "then": {
1398
+ "not": {
1399
+ "required": [
1400
+ "techRecord_adrDetails_bodyDeclaration_type"
1401
+ ]
1402
+ }
1403
+ }
1404
+ },
1357
1405
  {
1358
1406
  "if": {
1359
1407
  "properties": {
@@ -56,6 +56,27 @@
56
56
  "null"
57
57
  ]
58
58
  },
59
+ "techRecord_adrDetails_bodyDeclaration_type": {
60
+ "anyOf": [
61
+ {
62
+ "type": "null"
63
+ },
64
+ {
65
+ "title": "ADR Body Declaration Types",
66
+ "type": "string",
67
+ "tsEnumNames": [
68
+ "PRE_1ST_JULY_2005",
69
+ "ON_OR_AFTER_1ST_JULY_2005",
70
+ "UNKNOWN"
71
+ ],
72
+ "enum": [
73
+ "Pre 1st July 2005",
74
+ "On or after 1st July 2005",
75
+ "Unknown"
76
+ ]
77
+ }
78
+ ]
79
+ },
59
80
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
60
81
  "anyOf": [
61
82
  {
@@ -1345,6 +1366,33 @@
1345
1366
  ]
1346
1367
  }
1347
1368
  },
1369
+ {
1370
+ "if": {
1371
+ "properties": {
1372
+ "techRecord_adrDetails_permittedDangerousGoods": {
1373
+ "type": "array",
1374
+ "contains": {
1375
+ "type": "string",
1376
+ "not": {
1377
+ "enum": [
1378
+ "Explosives (type 3)"
1379
+ ]
1380
+ }
1381
+ }
1382
+ }
1383
+ },
1384
+ "required": [
1385
+ "techRecord_adrDetails_permittedDangerousGoods"
1386
+ ]
1387
+ },
1388
+ "then": {
1389
+ "not": {
1390
+ "required": [
1391
+ "techRecord_adrDetails_bodyDeclaration_type"
1392
+ ]
1393
+ }
1394
+ }
1395
+ },
1348
1396
  {
1349
1397
  "if": {
1350
1398
  "properties": {
@@ -87,6 +87,27 @@
87
87
  "null"
88
88
  ]
89
89
  },
90
+ "techRecord_adrDetails_bodyDeclaration_type": {
91
+ "anyOf": [
92
+ {
93
+ "type": "null"
94
+ },
95
+ {
96
+ "title": "ADR Body Declaration Types",
97
+ "type": "string",
98
+ "tsEnumNames": [
99
+ "PRE_1ST_JULY_2005",
100
+ "ON_OR_AFTER_1ST_JULY_2005",
101
+ "UNKNOWN"
102
+ ],
103
+ "enum": [
104
+ "Pre 1st July 2005",
105
+ "On or after 1st July 2005",
106
+ "Unknown"
107
+ ]
108
+ }
109
+ ]
110
+ },
90
111
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
91
112
  "anyOf": [
92
113
  {
@@ -800,6 +821,33 @@
800
821
  ]
801
822
  }
802
823
  },
824
+ {
825
+ "if": {
826
+ "properties": {
827
+ "techRecord_adrDetails_permittedDangerousGoods": {
828
+ "type": "array",
829
+ "contains": {
830
+ "type": "string",
831
+ "not": {
832
+ "enum": [
833
+ "Explosives (type 3)"
834
+ ]
835
+ }
836
+ }
837
+ }
838
+ },
839
+ "required": [
840
+ "techRecord_adrDetails_permittedDangerousGoods"
841
+ ]
842
+ },
843
+ "then": {
844
+ "not": {
845
+ "required": [
846
+ "techRecord_adrDetails_bodyDeclaration_type"
847
+ ]
848
+ }
849
+ }
850
+ },
803
851
  {
804
852
  "if": {
805
853
  "properties": {
@@ -84,6 +84,27 @@
84
84
  "null"
85
85
  ]
86
86
  },
87
+ "techRecord_adrDetails_bodyDeclaration_type": {
88
+ "anyOf": [
89
+ {
90
+ "type": "null"
91
+ },
92
+ {
93
+ "title": "ADR Body Declaration Types",
94
+ "type": "string",
95
+ "tsEnumNames": [
96
+ "PRE_1ST_JULY_2005",
97
+ "ON_OR_AFTER_1ST_JULY_2005",
98
+ "UNKNOWN"
99
+ ],
100
+ "enum": [
101
+ "Pre 1st July 2005",
102
+ "On or after 1st July 2005",
103
+ "Unknown"
104
+ ]
105
+ }
106
+ ]
107
+ },
87
108
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
88
109
  "anyOf": [
89
110
  {
@@ -807,6 +828,33 @@
807
828
  ]
808
829
  }
809
830
  },
831
+ {
832
+ "if": {
833
+ "properties": {
834
+ "techRecord_adrDetails_permittedDangerousGoods": {
835
+ "type": "array",
836
+ "contains": {
837
+ "type": "string",
838
+ "not": {
839
+ "enum": [
840
+ "Explosives (type 3)"
841
+ ]
842
+ }
843
+ }
844
+ }
845
+ },
846
+ "required": [
847
+ "techRecord_adrDetails_permittedDangerousGoods"
848
+ ]
849
+ },
850
+ "then": {
851
+ "not": {
852
+ "required": [
853
+ "techRecord_adrDetails_bodyDeclaration_type"
854
+ ]
855
+ }
856
+ }
857
+ },
810
858
  {
811
859
  "if": {
812
860
  "properties": {
@@ -64,6 +64,27 @@
64
64
  "null"
65
65
  ]
66
66
  },
67
+ "techRecord_adrDetails_bodyDeclaration_type": {
68
+ "anyOf": [
69
+ {
70
+ "type": "null"
71
+ },
72
+ {
73
+ "title": "ADR Body Declaration Types",
74
+ "type": "string",
75
+ "tsEnumNames": [
76
+ "PRE_1ST_JULY_2005",
77
+ "ON_OR_AFTER_1ST_JULY_2005",
78
+ "UNKNOWN"
79
+ ],
80
+ "enum": [
81
+ "Pre 1st July 2005",
82
+ "On or after 1st July 2005",
83
+ "Unknown"
84
+ ]
85
+ }
86
+ ]
87
+ },
67
88
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
68
89
  "anyOf": [
69
90
  {
@@ -1567,6 +1588,33 @@
1567
1588
  ]
1568
1589
  }
1569
1590
  },
1591
+ {
1592
+ "if": {
1593
+ "properties": {
1594
+ "techRecord_adrDetails_permittedDangerousGoods": {
1595
+ "type": "array",
1596
+ "contains": {
1597
+ "type": "string",
1598
+ "not": {
1599
+ "enum": [
1600
+ "Explosives (type 3)"
1601
+ ]
1602
+ }
1603
+ }
1604
+ }
1605
+ },
1606
+ "required": [
1607
+ "techRecord_adrDetails_permittedDangerousGoods"
1608
+ ]
1609
+ },
1610
+ "then": {
1611
+ "not": {
1612
+ "required": [
1613
+ "techRecord_adrDetails_bodyDeclaration_type"
1614
+ ]
1615
+ }
1616
+ }
1617
+ },
1570
1618
  {
1571
1619
  "if": {
1572
1620
  "properties": {
@@ -44,6 +44,27 @@
44
44
  "null"
45
45
  ]
46
46
  },
47
+ "techRecord_adrDetails_bodyDeclaration_type": {
48
+ "anyOf": [
49
+ {
50
+ "type": "null"
51
+ },
52
+ {
53
+ "title": "ADR Body Declaration Types",
54
+ "type": "string",
55
+ "tsEnumNames": [
56
+ "PRE_1ST_JULY_2005",
57
+ "ON_OR_AFTER_1ST_JULY_2005",
58
+ "UNKNOWN"
59
+ ],
60
+ "enum": [
61
+ "Pre 1st July 2005",
62
+ "On or after 1st July 2005",
63
+ "Unknown"
64
+ ]
65
+ }
66
+ ]
67
+ },
47
68
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
48
69
  "anyOf": [
49
70
  {
@@ -1642,6 +1663,33 @@
1642
1663
  ]
1643
1664
  }
1644
1665
  },
1666
+ {
1667
+ "if": {
1668
+ "properties": {
1669
+ "techRecord_adrDetails_permittedDangerousGoods": {
1670
+ "type": "array",
1671
+ "contains": {
1672
+ "type": "string",
1673
+ "not": {
1674
+ "enum": [
1675
+ "Explosives (type 3)"
1676
+ ]
1677
+ }
1678
+ }
1679
+ }
1680
+ },
1681
+ "required": [
1682
+ "techRecord_adrDetails_permittedDangerousGoods"
1683
+ ]
1684
+ },
1685
+ "then": {
1686
+ "not": {
1687
+ "required": [
1688
+ "techRecord_adrDetails_bodyDeclaration_type"
1689
+ ]
1690
+ }
1691
+ }
1692
+ },
1645
1693
  {
1646
1694
  "if": {
1647
1695
  "properties": {
@@ -46,6 +46,27 @@
46
46
  "null"
47
47
  ]
48
48
  },
49
+ "techRecord_adrDetails_bodyDeclaration_type": {
50
+ "anyOf": [
51
+ {
52
+ "type": "null"
53
+ },
54
+ {
55
+ "title": "ADR Body Declaration Types",
56
+ "type": "string",
57
+ "tsEnumNames": [
58
+ "PRE_1ST_JULY_2005",
59
+ "ON_OR_AFTER_1ST_JULY_2005",
60
+ "UNKNOWN"
61
+ ],
62
+ "enum": [
63
+ "Pre 1st July 2005",
64
+ "On or after 1st July 2005",
65
+ "Unknown"
66
+ ]
67
+ }
68
+ ]
69
+ },
49
70
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
50
71
  "anyOf": [
51
72
  {
@@ -1632,6 +1653,33 @@
1632
1653
  ]
1633
1654
  }
1634
1655
  },
1656
+ {
1657
+ "if": {
1658
+ "properties": {
1659
+ "techRecord_adrDetails_permittedDangerousGoods": {
1660
+ "type": "array",
1661
+ "contains": {
1662
+ "type": "string",
1663
+ "not": {
1664
+ "enum": [
1665
+ "Explosives (type 3)"
1666
+ ]
1667
+ }
1668
+ }
1669
+ }
1670
+ },
1671
+ "required": [
1672
+ "techRecord_adrDetails_permittedDangerousGoods"
1673
+ ]
1674
+ },
1675
+ "then": {
1676
+ "not": {
1677
+ "required": [
1678
+ "techRecord_adrDetails_bodyDeclaration_type"
1679
+ ]
1680
+ }
1681
+ }
1682
+ },
1635
1683
  {
1636
1684
  "if": {
1637
1685
  "properties": {
@@ -70,6 +70,27 @@
70
70
  "null"
71
71
  ]
72
72
  },
73
+ "techRecord_adrDetails_bodyDeclaration_type": {
74
+ "anyOf": [
75
+ {
76
+ "type": "null"
77
+ },
78
+ {
79
+ "title": "ADR Body Declaration Types",
80
+ "type": "string",
81
+ "tsEnumNames": [
82
+ "PRE_1ST_JULY_2005",
83
+ "ON_OR_AFTER_1ST_JULY_2005",
84
+ "UNKNOWN"
85
+ ],
86
+ "enum": [
87
+ "Pre 1st July 2005",
88
+ "On or after 1st July 2005",
89
+ "Unknown"
90
+ ]
91
+ }
92
+ ]
93
+ },
73
94
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
74
95
  "anyOf": [
75
96
  {
@@ -1222,6 +1243,33 @@
1222
1243
  ]
1223
1244
  }
1224
1245
  },
1246
+ {
1247
+ "if": {
1248
+ "properties": {
1249
+ "techRecord_adrDetails_permittedDangerousGoods": {
1250
+ "type": "array",
1251
+ "contains": {
1252
+ "type": "string",
1253
+ "not": {
1254
+ "enum": [
1255
+ "Explosives (type 3)"
1256
+ ]
1257
+ }
1258
+ }
1259
+ }
1260
+ },
1261
+ "required": [
1262
+ "techRecord_adrDetails_permittedDangerousGoods"
1263
+ ]
1264
+ },
1265
+ "then": {
1266
+ "not": {
1267
+ "required": [
1268
+ "techRecord_adrDetails_bodyDeclaration_type"
1269
+ ]
1270
+ }
1271
+ }
1272
+ },
1225
1273
  {
1226
1274
  "if": {
1227
1275
  "properties": {
@@ -38,6 +38,27 @@
38
38
  "null"
39
39
  ]
40
40
  },
41
+ "techRecord_adrDetails_bodyDeclaration_type": {
42
+ "anyOf": [
43
+ {
44
+ "type": "null"
45
+ },
46
+ {
47
+ "title": "ADR Body Declaration Types",
48
+ "type": "string",
49
+ "tsEnumNames": [
50
+ "PRE_1ST_JULY_2005",
51
+ "ON_OR_AFTER_1ST_JULY_2005",
52
+ "UNKNOWN"
53
+ ],
54
+ "enum": [
55
+ "Pre 1st July 2005",
56
+ "On or after 1st July 2005",
57
+ "Unknown"
58
+ ]
59
+ }
60
+ ]
61
+ },
41
62
  "techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
42
63
  "anyOf": [
43
64
  {
@@ -1301,6 +1322,33 @@
1301
1322
  ]
1302
1323
  }
1303
1324
  },
1325
+ {
1326
+ "if": {
1327
+ "properties": {
1328
+ "techRecord_adrDetails_permittedDangerousGoods": {
1329
+ "type": "array",
1330
+ "contains": {
1331
+ "type": "string",
1332
+ "not": {
1333
+ "enum": [
1334
+ "Explosives (type 3)"
1335
+ ]
1336
+ }
1337
+ }
1338
+ }
1339
+ },
1340
+ "required": [
1341
+ "techRecord_adrDetails_permittedDangerousGoods"
1342
+ ]
1343
+ },
1344
+ "then": {
1345
+ "not": {
1346
+ "required": [
1347
+ "techRecord_adrDetails_bodyDeclaration_type"
1348
+ ]
1349
+ }
1350
+ }
1351
+ },
1304
1352
  {
1305
1353
  "if": {
1306
1354
  "properties": {