@dvsa/cvs-type-definitions 7.9.0 → 7.10.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.
- package/json-schemas/v3/tech-record/enums/euVehicleCategoryTrl.enum.json +4 -0
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +16 -5
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +16 -5
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +16 -5
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +16 -5
- package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +16 -5
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +20 -5
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +20 -5
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +20 -5
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +16 -5
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +16 -5
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +16 -5
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +16 -5
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +16 -5
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +20 -5
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +20 -5
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +20 -5
- package/package.json +1 -1
- package/types/v3/tech-record/enums/euVehicleCategoryTrl.enum.d.ts +2 -0
- package/types/v3/tech-record/enums/euVehicleCategoryTrl.enum.js +2 -0
- package/types/v3/tech-record/enums/euVehicleCategoryTrl.enum.ts +2 -0
- package/types/v3/tech-record/get/trl/complete/index.d.ts +2 -0
- package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/get/trl/testable/index.d.ts +2 -0
- package/types/v3/tech-record/put/trl/complete/index.d.ts +2 -0
- package/types/v3/tech-record/put/trl/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/put/trl/testable/index.d.ts +2 -0
|
@@ -1334,11 +1334,22 @@
|
|
|
1334
1334
|
]
|
|
1335
1335
|
},
|
|
1336
1336
|
"then": {
|
|
1337
|
-
"
|
|
1338
|
-
|
|
1339
|
-
"
|
|
1340
|
-
|
|
1341
|
-
|
|
1337
|
+
"anyOf": [
|
|
1338
|
+
{
|
|
1339
|
+
"not": {
|
|
1340
|
+
"required": [
|
|
1341
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1342
|
+
]
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"properties": {
|
|
1347
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1348
|
+
"const": null
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
]
|
|
1342
1353
|
}
|
|
1343
1354
|
}
|
|
1344
1355
|
},
|
|
@@ -1415,11 +1415,22 @@
|
|
|
1415
1415
|
]
|
|
1416
1416
|
},
|
|
1417
1417
|
"then": {
|
|
1418
|
-
"
|
|
1419
|
-
|
|
1420
|
-
"
|
|
1421
|
-
|
|
1422
|
-
|
|
1418
|
+
"anyOf": [
|
|
1419
|
+
{
|
|
1420
|
+
"not": {
|
|
1421
|
+
"required": [
|
|
1422
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1423
|
+
]
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"properties": {
|
|
1428
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1429
|
+
"const": null
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
]
|
|
1423
1434
|
}
|
|
1424
1435
|
}
|
|
1425
1436
|
},
|
|
@@ -1406,11 +1406,22 @@
|
|
|
1406
1406
|
]
|
|
1407
1407
|
},
|
|
1408
1408
|
"then": {
|
|
1409
|
-
"
|
|
1410
|
-
|
|
1411
|
-
"
|
|
1412
|
-
|
|
1413
|
-
|
|
1409
|
+
"anyOf": [
|
|
1410
|
+
{
|
|
1411
|
+
"not": {
|
|
1412
|
+
"required": [
|
|
1413
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1414
|
+
]
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"properties": {
|
|
1419
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1420
|
+
"const": null
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
]
|
|
1414
1425
|
}
|
|
1415
1426
|
}
|
|
1416
1427
|
},
|
|
@@ -823,11 +823,22 @@
|
|
|
823
823
|
]
|
|
824
824
|
},
|
|
825
825
|
"then": {
|
|
826
|
-
"
|
|
827
|
-
|
|
828
|
-
"
|
|
829
|
-
|
|
830
|
-
|
|
826
|
+
"anyOf": [
|
|
827
|
+
{
|
|
828
|
+
"not": {
|
|
829
|
+
"required": [
|
|
830
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
831
|
+
]
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"properties": {
|
|
836
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
837
|
+
"const": null
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
]
|
|
831
842
|
}
|
|
832
843
|
}
|
|
833
844
|
},
|
|
@@ -830,11 +830,22 @@
|
|
|
830
830
|
]
|
|
831
831
|
},
|
|
832
832
|
"then": {
|
|
833
|
-
"
|
|
834
|
-
|
|
835
|
-
"
|
|
836
|
-
|
|
837
|
-
|
|
833
|
+
"anyOf": [
|
|
834
|
+
{
|
|
835
|
+
"not": {
|
|
836
|
+
"required": [
|
|
837
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
838
|
+
]
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"properties": {
|
|
843
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
844
|
+
"const": null
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
]
|
|
838
849
|
}
|
|
839
850
|
}
|
|
840
851
|
},
|
|
@@ -758,10 +758,14 @@
|
|
|
758
758
|
"title": "EU vehicle category",
|
|
759
759
|
"type": "string",
|
|
760
760
|
"tsEnumNames": [
|
|
761
|
+
"O1",
|
|
762
|
+
"O2",
|
|
761
763
|
"O3",
|
|
762
764
|
"O4"
|
|
763
765
|
],
|
|
764
766
|
"enum": [
|
|
767
|
+
"o1",
|
|
768
|
+
"o2",
|
|
765
769
|
"o3",
|
|
766
770
|
"o4"
|
|
767
771
|
]
|
|
@@ -1617,11 +1621,22 @@
|
|
|
1617
1621
|
]
|
|
1618
1622
|
},
|
|
1619
1623
|
"then": {
|
|
1620
|
-
"
|
|
1621
|
-
|
|
1622
|
-
"
|
|
1623
|
-
|
|
1624
|
-
|
|
1624
|
+
"anyOf": [
|
|
1625
|
+
{
|
|
1626
|
+
"not": {
|
|
1627
|
+
"required": [
|
|
1628
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1629
|
+
]
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"properties": {
|
|
1634
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1635
|
+
"const": null
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
]
|
|
1625
1640
|
}
|
|
1626
1641
|
}
|
|
1627
1642
|
},
|
|
@@ -785,10 +785,14 @@
|
|
|
785
785
|
"title": "EU vehicle category",
|
|
786
786
|
"type": "string",
|
|
787
787
|
"tsEnumNames": [
|
|
788
|
+
"O1",
|
|
789
|
+
"O2",
|
|
788
790
|
"O3",
|
|
789
791
|
"O4"
|
|
790
792
|
],
|
|
791
793
|
"enum": [
|
|
794
|
+
"o1",
|
|
795
|
+
"o2",
|
|
792
796
|
"o3",
|
|
793
797
|
"o4"
|
|
794
798
|
]
|
|
@@ -1692,11 +1696,22 @@
|
|
|
1692
1696
|
]
|
|
1693
1697
|
},
|
|
1694
1698
|
"then": {
|
|
1695
|
-
"
|
|
1696
|
-
|
|
1697
|
-
"
|
|
1698
|
-
|
|
1699
|
-
|
|
1699
|
+
"anyOf": [
|
|
1700
|
+
{
|
|
1701
|
+
"not": {
|
|
1702
|
+
"required": [
|
|
1703
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1704
|
+
]
|
|
1705
|
+
}
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"properties": {
|
|
1709
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1710
|
+
"const": null
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
]
|
|
1700
1715
|
}
|
|
1701
1716
|
}
|
|
1702
1717
|
},
|
|
@@ -781,10 +781,14 @@
|
|
|
781
781
|
"title": "EU vehicle category",
|
|
782
782
|
"type": "string",
|
|
783
783
|
"tsEnumNames": [
|
|
784
|
+
"O1",
|
|
785
|
+
"O2",
|
|
784
786
|
"O3",
|
|
785
787
|
"O4"
|
|
786
788
|
],
|
|
787
789
|
"enum": [
|
|
790
|
+
"o1",
|
|
791
|
+
"o2",
|
|
788
792
|
"o3",
|
|
789
793
|
"o4"
|
|
790
794
|
]
|
|
@@ -1682,11 +1686,22 @@
|
|
|
1682
1686
|
]
|
|
1683
1687
|
},
|
|
1684
1688
|
"then": {
|
|
1685
|
-
"
|
|
1686
|
-
|
|
1687
|
-
"
|
|
1688
|
-
|
|
1689
|
-
|
|
1689
|
+
"anyOf": [
|
|
1690
|
+
{
|
|
1691
|
+
"not": {
|
|
1692
|
+
"required": [
|
|
1693
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1694
|
+
]
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
"properties": {
|
|
1699
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1700
|
+
"const": null
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
]
|
|
1690
1705
|
}
|
|
1691
1706
|
}
|
|
1692
1707
|
},
|
|
@@ -1283,11 +1283,22 @@
|
|
|
1283
1283
|
]
|
|
1284
1284
|
},
|
|
1285
1285
|
"then": {
|
|
1286
|
-
"
|
|
1287
|
-
|
|
1288
|
-
"
|
|
1289
|
-
|
|
1290
|
-
|
|
1286
|
+
"anyOf": [
|
|
1287
|
+
{
|
|
1288
|
+
"not": {
|
|
1289
|
+
"required": [
|
|
1290
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1291
|
+
]
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"properties": {
|
|
1296
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1297
|
+
"const": null
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
]
|
|
1291
1302
|
}
|
|
1292
1303
|
}
|
|
1293
1304
|
},
|
|
@@ -1362,11 +1362,22 @@
|
|
|
1362
1362
|
]
|
|
1363
1363
|
},
|
|
1364
1364
|
"then": {
|
|
1365
|
-
"
|
|
1366
|
-
|
|
1367
|
-
"
|
|
1368
|
-
|
|
1369
|
-
|
|
1365
|
+
"anyOf": [
|
|
1366
|
+
{
|
|
1367
|
+
"not": {
|
|
1368
|
+
"required": [
|
|
1369
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1370
|
+
]
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"properties": {
|
|
1375
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1376
|
+
"const": null
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
]
|
|
1370
1381
|
}
|
|
1371
1382
|
}
|
|
1372
1383
|
},
|
|
@@ -1345,11 +1345,22 @@
|
|
|
1345
1345
|
]
|
|
1346
1346
|
},
|
|
1347
1347
|
"then": {
|
|
1348
|
-
"
|
|
1349
|
-
|
|
1350
|
-
"
|
|
1351
|
-
|
|
1352
|
-
|
|
1348
|
+
"anyOf": [
|
|
1349
|
+
{
|
|
1350
|
+
"not": {
|
|
1351
|
+
"required": [
|
|
1352
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1353
|
+
]
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"properties": {
|
|
1358
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1359
|
+
"const": null
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
]
|
|
1353
1364
|
}
|
|
1354
1365
|
}
|
|
1355
1366
|
},
|
|
@@ -754,11 +754,22 @@
|
|
|
754
754
|
]
|
|
755
755
|
},
|
|
756
756
|
"then": {
|
|
757
|
-
"
|
|
758
|
-
|
|
759
|
-
"
|
|
760
|
-
|
|
761
|
-
|
|
757
|
+
"anyOf": [
|
|
758
|
+
{
|
|
759
|
+
"not": {
|
|
760
|
+
"required": [
|
|
761
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
762
|
+
]
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"properties": {
|
|
767
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
768
|
+
"const": null
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
]
|
|
762
773
|
}
|
|
763
774
|
}
|
|
764
775
|
},
|
|
@@ -759,11 +759,22 @@
|
|
|
759
759
|
]
|
|
760
760
|
},
|
|
761
761
|
"then": {
|
|
762
|
-
"
|
|
763
|
-
|
|
764
|
-
"
|
|
765
|
-
|
|
766
|
-
|
|
762
|
+
"anyOf": [
|
|
763
|
+
{
|
|
764
|
+
"not": {
|
|
765
|
+
"required": [
|
|
766
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
767
|
+
]
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"properties": {
|
|
772
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
773
|
+
"const": null
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
]
|
|
767
778
|
}
|
|
768
779
|
}
|
|
769
780
|
},
|
|
@@ -738,10 +738,14 @@
|
|
|
738
738
|
"title": "EU vehicle category",
|
|
739
739
|
"type": "string",
|
|
740
740
|
"tsEnumNames": [
|
|
741
|
+
"O1",
|
|
742
|
+
"O2",
|
|
741
743
|
"O3",
|
|
742
744
|
"O4"
|
|
743
745
|
],
|
|
744
746
|
"enum": [
|
|
747
|
+
"o1",
|
|
748
|
+
"o2",
|
|
745
749
|
"o3",
|
|
746
750
|
"o4"
|
|
747
751
|
]
|
|
@@ -1565,11 +1569,22 @@
|
|
|
1565
1569
|
]
|
|
1566
1570
|
},
|
|
1567
1571
|
"then": {
|
|
1568
|
-
"
|
|
1569
|
-
|
|
1570
|
-
"
|
|
1571
|
-
|
|
1572
|
-
|
|
1572
|
+
"anyOf": [
|
|
1573
|
+
{
|
|
1574
|
+
"not": {
|
|
1575
|
+
"required": [
|
|
1576
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1577
|
+
]
|
|
1578
|
+
}
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"properties": {
|
|
1582
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1583
|
+
"const": null
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1573
1588
|
}
|
|
1574
1589
|
}
|
|
1575
1590
|
},
|
|
@@ -759,10 +759,14 @@
|
|
|
759
759
|
"title": "EU vehicle category",
|
|
760
760
|
"type": "string",
|
|
761
761
|
"tsEnumNames": [
|
|
762
|
+
"O1",
|
|
763
|
+
"O2",
|
|
762
764
|
"O3",
|
|
763
765
|
"O4"
|
|
764
766
|
],
|
|
765
767
|
"enum": [
|
|
768
|
+
"o1",
|
|
769
|
+
"o2",
|
|
766
770
|
"o3",
|
|
767
771
|
"o4"
|
|
768
772
|
]
|
|
@@ -1628,11 +1632,22 @@
|
|
|
1628
1632
|
]
|
|
1629
1633
|
},
|
|
1630
1634
|
"then": {
|
|
1631
|
-
"
|
|
1632
|
-
|
|
1633
|
-
"
|
|
1634
|
-
|
|
1635
|
-
|
|
1635
|
+
"anyOf": [
|
|
1636
|
+
{
|
|
1637
|
+
"not": {
|
|
1638
|
+
"required": [
|
|
1639
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1640
|
+
]
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"properties": {
|
|
1645
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1646
|
+
"const": null
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
]
|
|
1636
1651
|
}
|
|
1637
1652
|
}
|
|
1638
1653
|
},
|
|
@@ -761,10 +761,14 @@
|
|
|
761
761
|
"title": "EU vehicle category",
|
|
762
762
|
"type": "string",
|
|
763
763
|
"tsEnumNames": [
|
|
764
|
+
"O1",
|
|
765
|
+
"O2",
|
|
764
766
|
"O3",
|
|
765
767
|
"O4"
|
|
766
768
|
],
|
|
767
769
|
"enum": [
|
|
770
|
+
"o1",
|
|
771
|
+
"o2",
|
|
768
772
|
"o3",
|
|
769
773
|
"o4"
|
|
770
774
|
]
|
|
@@ -1616,11 +1620,22 @@
|
|
|
1616
1620
|
]
|
|
1617
1621
|
},
|
|
1618
1622
|
"then": {
|
|
1619
|
-
"
|
|
1620
|
-
|
|
1621
|
-
"
|
|
1622
|
-
|
|
1623
|
-
|
|
1623
|
+
"anyOf": [
|
|
1624
|
+
{
|
|
1625
|
+
"not": {
|
|
1626
|
+
"required": [
|
|
1627
|
+
"techRecord_adrDetails_bodyDeclaration_type"
|
|
1628
|
+
]
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"properties": {
|
|
1633
|
+
"techRecord_adrDetails_bodyDeclaration_type": {
|
|
1634
|
+
"const": null
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
]
|
|
1624
1639
|
}
|
|
1625
1640
|
}
|
|
1626
1641
|
},
|
package/package.json
CHANGED
|
@@ -9,6 +9,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.EUVehicleCategory = void 0;
|
|
10
10
|
var EUVehicleCategory;
|
|
11
11
|
(function (EUVehicleCategory) {
|
|
12
|
+
EUVehicleCategory["O1"] = "o1";
|
|
13
|
+
EUVehicleCategory["O2"] = "o2";
|
|
12
14
|
EUVehicleCategory["O3"] = "o3";
|
|
13
15
|
EUVehicleCategory["O4"] = "o4";
|
|
14
16
|
})(EUVehicleCategory = exports.EUVehicleCategory || (exports.EUVehicleCategory = {}));
|