@dvsa/cvs-type-definitions 3.0.40 → 3.0.42

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 (35) hide show
  1. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +1 -0
  2. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +1 -0
  3. package/json-schemas/v3/tech-record/get/psv/complete/index.json +5 -9
  4. package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +2 -8
  5. package/json-schemas/v3/tech-record/get/psv/testable/index.json +4 -1
  6. package/json-schemas/v3/tech-record/get/small trl/complete/index.json +3 -0
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +0 -118
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +2 -2
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +0 -105
  10. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +2 -1
  11. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +0 -6
  12. package/json-schemas/v3/tech-record/put/psv/complete/index.json +0 -13
  13. package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +4 -26
  14. package/json-schemas/v3/tech-record/put/psv/testable/index.json +0 -13
  15. package/json-schemas/v3/tech-record/put/trl/complete/index.json +34 -195
  16. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +17 -23
  17. package/json-schemas/v3/tech-record/put/trl/testable/index.json +15 -126
  18. package/package.json +1 -1
  19. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  20. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +1 -1
  21. package/types/v3/tech-record/get/psv/complete/index.d.ts +2 -2
  22. package/types/v3/tech-record/get/psv/skeleton/index.d.ts +2 -2
  23. package/types/v3/tech-record/get/psv/testable/index.d.ts +3 -3
  24. package/types/v3/tech-record/get/small trl/complete/index.d.ts +1 -0
  25. package/types/v3/tech-record/get/trl/complete/index.d.ts +1 -36
  26. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +4 -4
  27. package/types/v3/tech-record/get/trl/testable/index.d.ts +1 -11
  28. package/types/v3/tech-record/put/car/skeleton/index.d.ts +1 -1
  29. package/types/v3/tech-record/put/lgv/complete/index.d.ts +0 -1
  30. package/types/v3/tech-record/put/psv/complete/index.d.ts +0 -2
  31. package/types/v3/tech-record/put/psv/skeleton/index.d.ts +4 -6
  32. package/types/v3/tech-record/put/psv/testable/index.d.ts +0 -2
  33. package/types/v3/tech-record/put/trl/complete/index.d.ts +18 -50
  34. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +3 -3
  35. package/types/v3/tech-record/put/trl/testable/index.d.ts +1 -11
@@ -10,6 +10,7 @@
10
10
  "primaryVrm",
11
11
  "techRecord_createdByName",
12
12
  "techRecord_createdById",
13
+ "techRecord_createdAt",
13
14
  "techRecord_reasonForCreation",
14
15
  "techRecord_vehicleType",
15
16
  "createdTimestamp",
@@ -9,6 +9,7 @@
9
9
  "primaryVrm",
10
10
  "techRecord_createdByName",
11
11
  "techRecord_createdById",
12
+ "techRecord_createdAt",
12
13
  "techRecord_reasonForCreation",
13
14
  "techRecord_vehicleType",
14
15
  "createdTimestamp",
@@ -39,7 +39,9 @@
39
39
  "techRecord_brakes_brakeForceWheelsUpToHalfLocked_parkingBrakeForceB",
40
40
  "techRecord_brakes_brakeForceWheelsUpToHalfLocked_secondaryBrakeForceB",
41
41
  "techRecord_brakes_brakeForceWheelsUpToHalfLocked_serviceBrakeForceB",
42
- "techRecord_brakes_dtpNumber"
42
+ "techRecord_brakes_dtpNumber",
43
+ "techRecord_createdByName",
44
+ "techRecord_createdById"
43
45
  ],
44
46
  "properties": {
45
47
  "secondaryVrms": {
@@ -347,16 +349,10 @@
347
349
  "minimum": 0
348
350
  },
349
351
  "techRecord_createdByName": {
350
- "type": [
351
- "string",
352
- "null"
353
- ]
352
+ "type": "string"
354
353
  },
355
354
  "techRecord_createdById": {
356
- "type": [
357
- "string",
358
- "null"
359
- ]
355
+ "type": "string"
360
356
  },
361
357
  "techRecord_lastUpdatedAt": {
362
358
  "type": [
@@ -339,16 +339,10 @@
339
339
  "minimum": 0
340
340
  },
341
341
  "techRecord_createdByName": {
342
- "type": [
343
- "string",
344
- "null"
345
- ]
342
+ "type": "string"
346
343
  },
347
344
  "techRecord_createdById": {
348
- "type": [
349
- "string",
350
- "null"
351
- ]
345
+ "type": "string"
352
346
  },
353
347
  "techRecord_lastUpdatedAt": {
354
348
  "type": [
@@ -18,7 +18,10 @@
18
18
  "techRecord_reasonForCreation",
19
19
  "techRecord_vehicleClass_code",
20
20
  "techRecord_vehicleClass_description",
21
- "techRecord_brakes_dtpNumber"
21
+ "techRecord_brakes_dtpNumber",
22
+ "techRecord_createdByName",
23
+ "techRecord_createdById",
24
+ "techRecord_createdAt"
22
25
  ],
23
26
  "properties": {
24
27
  "vin": {
@@ -209,6 +209,9 @@
209
209
  "null",
210
210
  "boolean"
211
211
  ]
212
+ },
213
+ "techRecord_recordCompleteness": {
214
+ "const": "complete"
212
215
  }
213
216
  }
214
217
  }
@@ -29,7 +29,6 @@
29
29
  "techRecord_createdById",
30
30
  "techRecord_createdByName",
31
31
  "techRecord_reasonForCreation",
32
- "techRecord_recordCompleteness",
33
32
  "techRecord_statusCode",
34
33
  "techRecord_vehicleClass_code",
35
34
  "techRecord_vehicleClass_description",
@@ -552,20 +551,6 @@
552
551
  "maximum": 99999,
553
552
  "minimum": 0
554
553
  },
555
- "drawbarCouplingFitted": {
556
- "type": [
557
- "null",
558
- "string"
559
- ]
560
- },
561
- "techRecord_emissionsLimit": {
562
- "type": [
563
- "null",
564
- "integer"
565
- ],
566
- "minimum": 0,
567
- "maximum": 99
568
- },
569
554
  "techRecord_euVehicleCategory": {
570
555
  "title": "EU vehicle category",
571
556
  "type": "string",
@@ -590,40 +575,6 @@
590
575
  "l7e"
591
576
  ]
592
577
  },
593
- "techRecord_euroStandard": {
594
- "anyOf": [
595
- {
596
- "type": "null"
597
- },
598
- {
599
- "title": "Euro standard",
600
- "type": "string",
601
- "enum": [
602
- "0.10 g/kWh Euro 3 PM",
603
- "0.03 g/kWh Euro IV PM",
604
- "Euro 3",
605
- "Euro 4",
606
- "Euro 5",
607
- "Euro 6",
608
- "Euro V",
609
- "Euro VI",
610
- "Full Electric"
611
- ]
612
- }
613
- ]
614
- },
615
- "frontAxleTo5thWheelMax": {
616
- "type": [
617
- "integer",
618
- "null"
619
- ]
620
- },
621
- "techRecord_frontAxleTo5thWheelMin": {
622
- "type": [
623
- "integer",
624
- "null"
625
- ]
626
- },
627
578
  "techRecord_firstUseDate": {
628
579
  "type": "string"
629
580
  },
@@ -654,33 +605,6 @@
654
605
  "maximum": 99999,
655
606
  "minimum": 0
656
607
  },
657
- "techRecord_frontVehicleTo5thWheelCouplingMax": {
658
- "type": [
659
- "string",
660
- "null"
661
- ]
662
- },
663
- "techRecord_frontVehicleTo5thWheelCouplingMin": {
664
- "type": [
665
- "string",
666
- "null"
667
- ]
668
- },
669
- "techRecord_fuelPropulsionSystem": {
670
- "title": "Fuel Propulsion System",
671
- "type": "string",
672
- "enum": [
673
- "DieselPetrol",
674
- "Diesel",
675
- "Petrol",
676
- "Hybrid",
677
- "Electric",
678
- "CNG",
679
- "Fuel cell",
680
- "LNG",
681
- "Other"
682
- ]
683
- },
684
608
  "techRecord_functionCode": {
685
609
  "type": [
686
610
  "string",
@@ -773,24 +697,6 @@
773
697
  }
774
698
  ]
775
699
  },
776
- "techRecord_maxTrainDesignWeight": {
777
- "type": [
778
- "null",
779
- "integer"
780
- ]
781
- },
782
- "techRecord_maxTrainEecWeight": {
783
- "type": [
784
- "null",
785
- "integer"
786
- ]
787
- },
788
- "techRecord_maxTrainGbWeight": {
789
- "type": [
790
- "null",
791
- "integer"
792
- ]
793
- },
794
700
  "techRecord_manufacturerDetails": {
795
701
  "type": [
796
702
  "string",
@@ -908,18 +814,6 @@
908
814
  "string"
909
815
  ]
910
816
  },
911
- "techRecord_numberOfWheelsDriven": {
912
- "type": [
913
- "integer",
914
- "null"
915
- ]
916
- },
917
- "techRecord_offRoad": {
918
- "type": [
919
- "null",
920
- "boolean"
921
- ]
922
- },
923
817
  "techRecord_plates": {
924
818
  "type": [
925
819
  "null",
@@ -1139,12 +1033,6 @@
1139
1033
  "techRecord_roadFriendly": {
1140
1034
  "type": "boolean"
1141
1035
  },
1142
- "techRecord_speedLimiterMrk": {
1143
- "type": [
1144
- "null",
1145
- "boolean"
1146
- ]
1147
- },
1148
1036
  "techRecord_statusCode": {
1149
1037
  "title": "Status Code",
1150
1038
  "type": "string",
@@ -1154,12 +1042,6 @@
1154
1042
  "archived"
1155
1043
  ]
1156
1044
  },
1157
- "techRecord_tachoExemptMrk": {
1158
- "type": [
1159
- "null",
1160
- "boolean"
1161
- ]
1162
- },
1163
1045
  "techRecord_suspensionType": {
1164
1046
  "type": "string",
1165
1047
  "maxLength": 1
@@ -10,11 +10,11 @@
10
10
  "techRecord_createdById",
11
11
  "techRecord_createdByName",
12
12
  "techRecord_reasonForCreation",
13
- "techRecord_recordCompleteness",
14
13
  "techRecord_statusCode",
15
14
  "techRecord_vehicleClass_code",
16
15
  "techRecord_vehicleClass_description",
17
- "techRecord_vehicleConfiguration",
16
+ "techRecord_bodyType_description",
17
+ "techRecord_bodyType_code",
18
18
  "techRecord_vehicleType",
19
19
  "trailerId",
20
20
  "vin"
@@ -12,7 +12,6 @@
12
12
  "techRecord_createdById",
13
13
  "techRecord_createdByName",
14
14
  "techRecord_reasonForCreation",
15
- "techRecord_recordCompleteness",
16
15
  "techRecord_statusCode",
17
16
  "techRecord_vehicleClass_code",
18
17
  "techRecord_vehicleClass_description",
@@ -1311,110 +1310,6 @@
1311
1310
  }
1312
1311
  }
1313
1312
  },
1314
- "weights_gbWeight": {
1315
- "type": [
1316
- "integer",
1317
- "null"
1318
- ],
1319
- "minimum": 0,
1320
- "maximum": 99999
1321
- },
1322
- "weights_designWeight": {
1323
- "type": [
1324
- "integer",
1325
- "null"
1326
- ],
1327
- "minimum": 0,
1328
- "maximum": 99999
1329
- },
1330
- "weights_ladenWeight": {
1331
- "type": [
1332
- "integer",
1333
- "null"
1334
- ],
1335
- "minimum": 0,
1336
- "maximum": 99999
1337
- },
1338
- "weights_kerbWeight": {
1339
- "type": [
1340
- "integer",
1341
- "null"
1342
- ],
1343
- "minimum": 0,
1344
- "maximum": 99999
1345
- },
1346
- "tyres_tyreCode": {
1347
- "type": [
1348
- "integer",
1349
- "null"
1350
- ],
1351
- "minimum": 0,
1352
- "maximum": 99999
1353
- },
1354
- "tyres_tyreSize": {
1355
- "type": [
1356
- "string",
1357
- "null"
1358
- ],
1359
- "maxLength": 12
1360
- },
1361
- "tyres_plyRating": {
1362
- "type": [
1363
- "string",
1364
- "null"
1365
- ]
1366
- },
1367
- "tyres_fitmentCode": {
1368
- "anyOf": [
1369
- {
1370
- "type": "null"
1371
- },
1372
- {
1373
- "title": "Fitment Code",
1374
- "type": "string",
1375
- "enum": [
1376
- "single",
1377
- "double"
1378
- ]
1379
- }
1380
- ]
1381
- },
1382
- "tyres_dataTrAxles": {
1383
- "type": [
1384
- "null",
1385
- "integer"
1386
- ],
1387
- "minimum": 0,
1388
- "maximum": 999
1389
- },
1390
- "tyres_speedCategorySymbol": {
1391
- "anyOf": [
1392
- {
1393
- "title": "Speed Category Symbol",
1394
- "type": "string",
1395
- "enum": [
1396
- "a7",
1397
- "a8",
1398
- "b",
1399
- "c",
1400
- "d",
1401
- "e",
1402
- "f",
1403
- "g",
1404
- "j",
1405
- "k",
1406
- "l",
1407
- "m",
1408
- "n",
1409
- "p",
1410
- "q"
1411
- ]
1412
- },
1413
- {
1414
- "type": "null"
1415
- }
1416
- ]
1417
- },
1418
1313
  "techRecord_hiddenInVta": {
1419
1314
  "type": [
1420
1315
  "null",
@@ -5,7 +5,8 @@
5
5
  "required": [
6
6
  "vin",
7
7
  "techRecord_vehicleType",
8
- "techRecord_reasonForCreation"
8
+ "techRecord_reasonForCreation",
9
+ "techRecord_statusCode"
9
10
  ],
10
11
  "properties": {
11
12
  "vin": {
@@ -16,12 +16,6 @@
16
16
  "primaryVrm": {
17
17
  "type": "string"
18
18
  },
19
- "trailerId": {
20
- "type": [
21
- "string",
22
- "null"
23
- ]
24
- },
25
19
  "techRecord_applicantDetails_name": {
26
20
  "type": [
27
21
  "string",
@@ -8,7 +8,6 @@
8
8
  "techRecord_vehicleSize",
9
9
  "techRecord_seatsLowerDeck",
10
10
  "techRecord_seatsUpperDeck",
11
- "techRecord_numberOfWheelsDriven",
12
11
  "techRecord_vehicleType",
13
12
  "techRecord_noOfAxles",
14
13
  "techRecord_statusCode",
@@ -72,12 +71,6 @@
72
71
  "techRecord_reasonForCreation": {
73
72
  "type": "string"
74
73
  },
75
- "techRecord_createdAt": {
76
- "type": [
77
- "null",
78
- "string"
79
- ]
80
- },
81
74
  "techRecord_vehicleConfiguration": {
82
75
  "title": "Vehicle Configuration",
83
76
  "type": "string",
@@ -110,12 +103,6 @@
110
103
  "techRecord_seatsUpperDeck": {
111
104
  "type": "integer"
112
105
  },
113
- "techRecord_numberOfWheelsDriven": {
114
- "type": [
115
- "integer",
116
- "null"
117
- ]
118
- },
119
106
  "techRecord_vehicleClass_description": {
120
107
  "title": "Vehicle Class Description",
121
108
  "type": "string",
@@ -51,12 +51,6 @@
51
51
  "techRecord_reasonForCreation": {
52
52
  "type": "string"
53
53
  },
54
- "techRecord_createdAt": {
55
- "type": [
56
- "null",
57
- "string"
58
- ]
59
- },
60
54
  "techRecord_vehicleConfiguration": {
61
55
  "anyOf": [
62
56
  {
@@ -109,12 +103,6 @@
109
103
  "null"
110
104
  ]
111
105
  },
112
- "techRecord_numberOfWheelsDriven": {
113
- "type": [
114
- "integer",
115
- "null"
116
- ]
117
- },
118
106
  "techRecord_vehicleClass_description": {
119
107
  "title": "Vehicle Class Description",
120
108
  "type": "string",
@@ -555,8 +543,7 @@
555
543
  },
556
544
  "techRecord_bodyMake": {
557
545
  "type": [
558
- "string",
559
- "null"
546
+ "string"
560
547
  ],
561
548
  "maxLength": 50
562
549
  },
@@ -568,17 +555,11 @@
568
555
  "maxLength": 20
569
556
  },
570
557
  "techRecord_chassisMake": {
571
- "type": [
572
- "string",
573
- "null"
574
- ],
558
+ "type": "string",
575
559
  "maxLength": 50
576
560
  },
577
561
  "techRecord_chassisModel": {
578
- "type": [
579
- "string",
580
- "null"
581
- ],
562
+ "type": "string",
582
563
  "maxLength": 20
583
564
  },
584
565
  "techRecord_modelLiteral": {
@@ -860,10 +841,7 @@
860
841
  "maxLength": 255
861
842
  },
862
843
  "techRecord_brakes_dtpNumber": {
863
- "type": [
864
- "string",
865
- "null"
866
- ],
844
+ "type": "string",
867
845
  "maxLength": 6
868
846
  },
869
847
  "techRecord_brakes_brakeCode": {
@@ -8,7 +8,6 @@
8
8
  "techRecord_vehicleSize",
9
9
  "techRecord_seatsLowerDeck",
10
10
  "techRecord_seatsUpperDeck",
11
- "techRecord_numberOfWheelsDriven",
12
11
  "techRecord_vehicleType",
13
12
  "techRecord_noOfAxles",
14
13
  "techRecord_statusCode",
@@ -52,12 +51,6 @@
52
51
  "techRecord_reasonForCreation": {
53
52
  "type": "string"
54
53
  },
55
- "techRecord_createdAt": {
56
- "type": [
57
- "null",
58
- "string"
59
- ]
60
- },
61
54
  "techRecord_vehicleConfiguration": {
62
55
  "title": "Vehicle Configuration",
63
56
  "type": "string",
@@ -90,12 +83,6 @@
90
83
  "techRecord_seatsUpperDeck": {
91
84
  "type": "integer"
92
85
  },
93
- "techRecord_numberOfWheelsDriven": {
94
- "type": [
95
- "integer",
96
- "null"
97
- ]
98
- },
99
86
  "techRecord_vehicleClass_description": {
100
87
  "title": "Vehicle Class Description",
101
88
  "type": "string",