@dvsa/cvs-type-definitions 3.0.46 → 3.0.47

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 (29) hide show
  1. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +0 -6
  2. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +17 -31
  3. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +7 -21
  4. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +3 -5
  5. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +17 -23
  6. package/json-schemas/v3/tech-record/put/car/complete/index.json +20 -1
  7. package/json-schemas/v3/tech-record/put/car/skeleton/index.json +25 -0
  8. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +0 -6
  9. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +17 -31
  10. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +6 -17
  11. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +3 -5
  12. package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +16 -22
  13. package/json-schemas/v3/tech-record/put/psv/testable/index.json +3 -5
  14. package/json-schemas/v3/tech-record/put/small trl/complete/index.json +25 -18
  15. package/package.json +1 -1
  16. package/types/v3/tech-record/get/hgv/complete/index.d.ts +0 -1
  17. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -3
  18. package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -3
  19. package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -1
  20. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  21. package/types/v3/tech-record/put/car/complete/index.d.ts +14 -0
  22. package/types/v3/tech-record/put/car/skeleton/index.d.ts +14 -0
  23. package/types/v3/tech-record/put/hgv/complete/index.d.ts +0 -1
  24. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +2 -3
  25. package/types/v3/tech-record/put/hgv/testable/index.d.ts +2 -3
  26. package/types/v3/tech-record/put/lgv/complete/index.d.ts +1 -1
  27. package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +1 -1
  28. package/types/v3/tech-record/put/psv/testable/index.d.ts +1 -1
  29. package/types/v3/tech-record/put/small trl/complete/index.d.ts +1 -1
@@ -507,12 +507,6 @@
507
507
  "techRecord_bodyType_description": {
508
508
  "type": "string"
509
509
  },
510
- "techRecord_brakes_antilockBrakingSystem": {
511
- "type": [
512
- "string",
513
- "null"
514
- ]
515
- },
516
510
  "techRecord_brakes_dtpNumber": {
517
511
  "type": "string",
518
512
  "maxLength": 6
@@ -13,6 +13,8 @@
13
13
  "techRecord_recordCompleteness",
14
14
  "techRecord_statusCode",
15
15
  "techRecord_vehicleType",
16
+ "techRecord_vehicleClass_description",
17
+ "techRecord_bodyType_description",
16
18
  "primaryVrm",
17
19
  "vin"
18
20
  ],
@@ -504,16 +506,7 @@
504
506
  ]
505
507
  },
506
508
  "techRecord_bodyType_description": {
507
- "type": [
508
- "null",
509
- "string"
510
- ]
511
- },
512
- "techRecord_brakes_antilockBrakingSystem": {
513
- "type": [
514
- "string",
515
- "null"
516
- ]
509
+ "type": "string"
517
510
  },
518
511
  "techRecord_brakes_dtpNumber": {
519
512
  "type": [
@@ -1034,27 +1027,20 @@
1034
1027
  ]
1035
1028
  },
1036
1029
  "techRecord_vehicleClass_description": {
1037
- "anyOf": [
1038
- {
1039
- "type": "null"
1040
- },
1041
- {
1042
- "title": "Vehicle Class Description",
1043
- "type": "string",
1044
- "enum": [
1045
- "motorbikes over 200cc or with a sidecar",
1046
- "not applicable",
1047
- "small psv (ie: less than or equal to 22 seats)",
1048
- "motorbikes up to 200cc",
1049
- "trailer",
1050
- "large psv(ie: greater than 23 seats)",
1051
- "3 wheelers",
1052
- "heavy goods vehicle",
1053
- "MOT class 4",
1054
- "MOT class 7",
1055
- "MOT class 5"
1056
- ]
1057
- }
1030
+ "title": "Vehicle Class Description",
1031
+ "type": "string",
1032
+ "enum": [
1033
+ "motorbikes over 200cc or with a sidecar",
1034
+ "not applicable",
1035
+ "small psv (ie: less than or equal to 22 seats)",
1036
+ "motorbikes up to 200cc",
1037
+ "trailer",
1038
+ "large psv(ie: greater than 23 seats)",
1039
+ "3 wheelers",
1040
+ "heavy goods vehicle",
1041
+ "MOT class 4",
1042
+ "MOT class 7",
1043
+ "MOT class 5"
1058
1044
  ]
1059
1045
  },
1060
1046
  "techRecord_vehicleConfiguration": {
@@ -18,7 +18,9 @@
18
18
  "techRecord_vehicleConfiguration",
19
19
  "techRecord_vehicleClass_code",
20
20
  "techRecord_vehicleClass_description",
21
- "techRecord_numberOfWheelsDriven"
21
+ "techRecord_numberOfWheelsDriven",
22
+ "techRecord_noOfAxles",
23
+ "techRecord_bodyType_description"
22
24
  ],
23
25
  "properties": {
24
26
  "secondaryVrms": {
@@ -508,16 +510,7 @@
508
510
  ]
509
511
  },
510
512
  "techRecord_bodyType_description": {
511
- "type": [
512
- "null",
513
- "string"
514
- ]
515
- },
516
- "techRecord_brakes_antilockBrakingSystem": {
517
- "type": [
518
- "string",
519
- "null"
520
- ]
513
+ "type": "string"
521
514
  },
522
515
  "techRecord_brakes_dtpNumber": {
523
516
  "type": [
@@ -874,16 +867,9 @@
874
867
  "type": "integer"
875
868
  },
876
869
  "techRecord_noOfAxles": {
877
- "anyOf": [
878
- {
879
- "type": "integer",
880
- "minimum": 0,
881
- "maximum": 99
882
- },
883
- {
884
- "type": "null"
885
- }
886
- ]
870
+ "type": "integer",
871
+ "minimum": 0,
872
+ "maximum": 99
887
873
  },
888
874
  "techRecord_notes": {
889
875
  "type": [
@@ -11,7 +11,8 @@
11
11
  "techRecord_createdAt",
12
12
  "techRecord_createdById",
13
13
  "techRecord_createdByName",
14
- "techRecord_reasonForCreation"
14
+ "techRecord_reasonForCreation",
15
+ "techRecord_noOfAxles"
15
16
  ],
16
17
  "properties": {
17
18
  "techRecord_applicantDetails_name": {
@@ -161,10 +162,7 @@
161
162
  ]
162
163
  },
163
164
  "techRecord_noOfAxles": {
164
- "type": [
165
- "null",
166
- "integer"
167
- ]
165
+ "type": "integer"
168
166
  },
169
167
  "techRecord_notes": {
170
168
  "type": [
@@ -15,7 +15,8 @@
15
15
  "techRecord_vehicleType",
16
16
  "createdTimestamp",
17
17
  "partialVin",
18
- "vin"
18
+ "vin",
19
+ "techRecord_vehicleConfiguration"
19
20
  ],
20
21
  "properties": {
21
22
  "secondaryVrms": {
@@ -231,28 +232,21 @@
231
232
  "type": "string"
232
233
  },
233
234
  "techRecord_vehicleConfiguration": {
234
- "anyOf": [
235
- {
236
- "type": "null"
237
- },
238
- {
239
- "title": "Vehicle Configuration",
240
- "type": "string",
241
- "enum": [
242
- "rigid",
243
- "articulated",
244
- "centre axle drawbar",
245
- "semi-car transporter",
246
- "semi-trailer",
247
- "long semi-trailer",
248
- "low loader",
249
- "other",
250
- "drawbar",
251
- "four-in-line",
252
- "dolly",
253
- "full drawbar"
254
- ]
255
- }
235
+ "title": "Vehicle Configuration",
236
+ "type": "string",
237
+ "enum": [
238
+ "rigid",
239
+ "articulated",
240
+ "centre axle drawbar",
241
+ "semi-car transporter",
242
+ "semi-trailer",
243
+ "long semi-trailer",
244
+ "low loader",
245
+ "other",
246
+ "drawbar",
247
+ "four-in-line",
248
+ "dolly",
249
+ "full drawbar"
256
250
  ]
257
251
  },
258
252
  "techRecord_vehicleType": {
@@ -8,7 +8,8 @@
8
8
  "techRecord_vehicleType",
9
9
  "techRecord_statusCode",
10
10
  "techRecord_noOfAxles",
11
- "techRecord_reasonForCreation"
11
+ "techRecord_reasonForCreation",
12
+ "techRecord_vehicleConfiguration"
12
13
  ],
13
14
  "properties": {
14
15
  "vin": {
@@ -94,6 +95,24 @@
94
95
  "type": "string"
95
96
  }
96
97
  },
98
+ "techRecord_vehicleConfiguration": {
99
+ "title": "Vehicle Configuration",
100
+ "type": "string",
101
+ "enum": [
102
+ "rigid",
103
+ "articulated",
104
+ "centre axle drawbar",
105
+ "semi-car transporter",
106
+ "semi-trailer",
107
+ "long semi-trailer",
108
+ "low loader",
109
+ "other",
110
+ "drawbar",
111
+ "four-in-line",
112
+ "dolly",
113
+ "full drawbar"
114
+ ]
115
+ },
97
116
  "techRecord_euVehicleCategory": {
98
117
  "anyOf": [
99
118
  {
@@ -95,6 +95,31 @@
95
95
  ]
96
96
  }
97
97
  },
98
+ "techRecord_vehicleConfiguration": {
99
+ "anyOf": [
100
+ {
101
+ "type": "null"
102
+ },
103
+ {
104
+ "title": "Vehicle Configuration",
105
+ "type": "string",
106
+ "enum": [
107
+ "rigid",
108
+ "articulated",
109
+ "centre axle drawbar",
110
+ "semi-car transporter",
111
+ "semi-trailer",
112
+ "long semi-trailer",
113
+ "low loader",
114
+ "other",
115
+ "drawbar",
116
+ "four-in-line",
117
+ "dolly",
118
+ "full drawbar"
119
+ ]
120
+ }
121
+ ]
122
+ },
98
123
  "techRecord_euVehicleCategory": {
99
124
  "anyOf": [
100
125
  {
@@ -495,12 +495,6 @@
495
495
  "techRecord_bodyType_description": {
496
496
  "type": "string"
497
497
  },
498
- "techRecord_brakes_antilockBrakingSystem": {
499
- "type": [
500
- "string",
501
- "null"
502
- ]
503
- },
504
498
  "techRecord_brakes_dtpNumber": {
505
499
  "type": "string",
506
500
  "maxLength": 6
@@ -6,6 +6,8 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleType",
9
+ "techRecord_vehicleClass_description",
10
+ "techRecord_bodyType_description",
9
11
  "vin"
10
12
  ],
11
13
  "properties": {
@@ -490,16 +492,7 @@
490
492
  ]
491
493
  },
492
494
  "techRecord_bodyType_description": {
493
- "type": [
494
- "null",
495
- "string"
496
- ]
497
- },
498
- "techRecord_brakes_antilockBrakingSystem": {
499
- "type": [
500
- "string",
501
- "null"
502
- ]
495
+ "type": "string"
503
496
  },
504
497
  "techRecord_brakes_dtpNumber": {
505
498
  "type": [
@@ -993,27 +986,20 @@
993
986
  "maxLength": 2
994
987
  },
995
988
  "techRecord_vehicleClass_description": {
996
- "anyOf": [
997
- {
998
- "type": "null"
999
- },
1000
- {
1001
- "title": "Vehicle Class Description",
1002
- "type": "string",
1003
- "enum": [
1004
- "motorbikes over 200cc or with a sidecar",
1005
- "not applicable",
1006
- "small psv (ie: less than or equal to 22 seats)",
1007
- "motorbikes up to 200cc",
1008
- "trailer",
1009
- "large psv(ie: greater than 23 seats)",
1010
- "3 wheelers",
1011
- "heavy goods vehicle",
1012
- "MOT class 4",
1013
- "MOT class 7",
1014
- "MOT class 5"
1015
- ]
1016
- }
989
+ "title": "Vehicle Class Description",
990
+ "type": "string",
991
+ "enum": [
992
+ "motorbikes over 200cc or with a sidecar",
993
+ "not applicable",
994
+ "small psv (ie: less than or equal to 22 seats)",
995
+ "motorbikes up to 200cc",
996
+ "trailer",
997
+ "large psv(ie: greater than 23 seats)",
998
+ "3 wheelers",
999
+ "heavy goods vehicle",
1000
+ "MOT class 4",
1001
+ "MOT class 7",
1002
+ "MOT class 5"
1017
1003
  ]
1018
1004
  },
1019
1005
  "techRecord_vehicleConfiguration": {
@@ -8,7 +8,9 @@
8
8
  "techRecord_vehicleType",
9
9
  "vin",
10
10
  "techRecord_vehicleConfiguration",
11
- "techRecord_vehicleClass_description"
11
+ "techRecord_vehicleClass_description",
12
+ "techRecord_noOfAxles",
13
+ "techRecord_bodyType_description"
12
14
  ],
13
15
  "properties": {
14
16
  "secondaryVrms": {
@@ -488,12 +490,6 @@
488
490
  "techRecord_bodyType_description": {
489
491
  "type": "string"
490
492
  },
491
- "techRecord_brakes_antilockBrakingSystem": {
492
- "type": [
493
- "string",
494
- "null"
495
- ]
496
- },
497
493
  "techRecord_brakes_dtpNumber": {
498
494
  "type": [
499
495
  "string",
@@ -834,16 +830,9 @@
834
830
  "maxLength": 30
835
831
  },
836
832
  "techRecord_noOfAxles": {
837
- "anyOf": [
838
- {
839
- "type": "integer",
840
- "minimum": 0,
841
- "maximum": 99
842
- },
843
- {
844
- "type": "null"
845
- }
846
- ]
833
+ "type": "integer",
834
+ "minimum": 0,
835
+ "maximum": 99
847
836
  },
848
837
  "techRecord_notes": {
849
838
  "type": [
@@ -7,7 +7,8 @@
7
7
  "vin",
8
8
  "techRecord_vehicleType",
9
9
  "techRecord_statusCode",
10
- "techRecord_reasonForCreation"
10
+ "techRecord_reasonForCreation",
11
+ "techRecord_noOfAxles"
11
12
  ],
12
13
  "properties": {
13
14
  "vin": {
@@ -131,10 +132,7 @@
131
132
  ]
132
133
  },
133
134
  "techRecord_noOfAxles": {
134
- "type": [
135
- "integer",
136
- "null"
137
- ]
135
+ "type": "integer"
138
136
  },
139
137
  "techRecord_notes": {
140
138
  "type": "string"
@@ -8,6 +8,7 @@
8
8
  "techRecord_reasonForCreation",
9
9
  "techRecord_vehicleType",
10
10
  "techRecord_statusCode",
11
+ "techRecord_vehicleConfiguration",
11
12
  "vin"
12
13
  ],
13
14
  "properties": {
@@ -185,28 +186,21 @@
185
186
  ]
186
187
  },
187
188
  "techRecord_vehicleConfiguration": {
188
- "anyOf": [
189
- {
190
- "type": "null"
191
- },
192
- {
193
- "title": "Vehicle Configuration",
194
- "type": "string",
195
- "enum": [
196
- "rigid",
197
- "articulated",
198
- "centre axle drawbar",
199
- "semi-car transporter",
200
- "semi-trailer",
201
- "long semi-trailer",
202
- "low loader",
203
- "other",
204
- "drawbar",
205
- "four-in-line",
206
- "dolly",
207
- "full drawbar"
208
- ]
209
- }
189
+ "title": "Vehicle Configuration",
190
+ "type": "string",
191
+ "enum": [
192
+ "rigid",
193
+ "articulated",
194
+ "centre axle drawbar",
195
+ "semi-car transporter",
196
+ "semi-trailer",
197
+ "long semi-trailer",
198
+ "low loader",
199
+ "other",
200
+ "drawbar",
201
+ "four-in-line",
202
+ "dolly",
203
+ "full drawbar"
210
204
  ]
211
205
  },
212
206
  "techRecord_vehicleType": {
@@ -12,7 +12,8 @@
12
12
  "techRecord_noOfAxles",
13
13
  "techRecord_statusCode",
14
14
  "techRecord_reasonForCreation",
15
- "techRecord_vehicleClass_description"
15
+ "techRecord_vehicleClass_description",
16
+ "techRecord_brakes_dtpNumber"
16
17
  ],
17
18
  "properties": {
18
19
  "vin": {
@@ -818,10 +819,7 @@
818
819
  "maxLength": 255
819
820
  },
820
821
  "techRecord_brakes_dtpNumber": {
821
- "type": [
822
- "string",
823
- "null"
824
- ],
822
+ "type": "string",
825
823
  "maxLength": 6
826
824
  },
827
825
  "techRecord_brakes_brakeCode": {
@@ -134,24 +134,31 @@
134
134
  ]
135
135
  },
136
136
  "techRecord_vehicleSubclass": {
137
- "title": "Vehicle Subclass",
138
- "type": "array",
139
- "items": {
140
- "type": "string",
141
- "enum": [
142
- "n",
143
- "p",
144
- "a",
145
- "s",
146
- "c",
147
- "l",
148
- "t",
149
- "e",
150
- "m",
151
- "r",
152
- "w"
153
- ]
154
- }
137
+ "anyOf": [
138
+ {
139
+ "type": "null"
140
+ },
141
+ {
142
+ "title": "Vehicle Subclass",
143
+ "type": "array",
144
+ "items": {
145
+ "type": "string",
146
+ "enum": [
147
+ "n",
148
+ "p",
149
+ "a",
150
+ "s",
151
+ "c",
152
+ "l",
153
+ "t",
154
+ "e",
155
+ "m",
156
+ "r",
157
+ "w"
158
+ ]
159
+ }
160
+ }
161
+ ]
155
162
  },
156
163
  "techRecord_vehicleType": {
157
164
  "const": "trl"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.46",
3
+ "version": "3.0.47",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -203,7 +203,6 @@ export interface TechRecordGETHGVComplete {
203
203
  techRecord_axles: [HGVAxles, ...HGVAxles[]];
204
204
  techRecord_bodyType_code: string;
205
205
  techRecord_bodyType_description: string;
206
- techRecord_brakes_antilockBrakingSystem?: string | null;
207
206
  techRecord_brakes_dtpNumber: string;
208
207
  techRecord_brakes_loadSensingValve?: boolean | null;
209
208
  techRecord_conversionRefNo?: string | null;
@@ -199,8 +199,7 @@ export interface TechRecordGETHGVSkeleton {
199
199
  techRecord_applicationId?: string | null;
200
200
  techRecord_axles?: null | HGVAxles[];
201
201
  techRecord_bodyType_code?: null | string;
202
- techRecord_bodyType_description?: null | string;
203
- techRecord_brakes_antilockBrakingSystem?: string | null;
202
+ techRecord_bodyType_description: string;
204
203
  techRecord_brakes_dtpNumber?: string | null;
205
204
  techRecord_brakes_loadSensingValve?: boolean | null;
206
205
  techRecord_conversionRefNo?: string | null;
@@ -252,7 +251,7 @@ export interface TechRecordGETHGVSkeleton {
252
251
  techRecord_trainGbWeight?: number | null;
253
252
  techRecord_tyreUseCode?: string | null;
254
253
  techRecord_vehicleClass_code?: null | string;
255
- techRecord_vehicleClass_description?: null | VehicleClassDescription;
254
+ techRecord_vehicleClass_description: VehicleClassDescription;
256
255
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
257
256
  techRecord_approvalType?: ApprovalType | null;
258
257
  techRecord_approvalTypeNumber?: string | null;
@@ -199,8 +199,7 @@ export interface TechRecordGETHGVTestable {
199
199
  techRecord_applicationId?: string | null;
200
200
  techRecord_axles?: null | HGVAxles[];
201
201
  techRecord_bodyType_code?: null | string;
202
- techRecord_bodyType_description?: null | string;
203
- techRecord_brakes_antilockBrakingSystem?: string | null;
202
+ techRecord_bodyType_description: string;
204
203
  techRecord_brakes_dtpNumber?: string | null;
205
204
  techRecord_brakes_loadSensingValve?: boolean | null;
206
205
  techRecord_conversionRefNo?: string | null;
@@ -236,7 +235,7 @@ export interface TechRecordGETHGVTestable {
236
235
  techRecord_microfilm_microfilmSerialNumber?: string | null;
237
236
  techRecord_model?: string | null;
238
237
  techRecord_numberOfWheelsDriven: number;
239
- techRecord_noOfAxles?: number | null;
238
+ techRecord_noOfAxles: number;
240
239
  techRecord_notes?: string | null;
241
240
  techRecord_offRoad?: boolean | null;
242
241
  techRecord_plates?: null | HGVPlates[];
@@ -62,7 +62,7 @@ export interface TechRecordGETLGVComplete {
62
62
  techRecord_lastUpdatedByName?: string | null;
63
63
  techRecord_manufactureYear?: number | null;
64
64
  techRecord_recordCompleteness?: null | string;
65
- techRecord_noOfAxles?: null | number;
65
+ techRecord_noOfAxles: number;
66
66
  techRecord_notes?: null | string;
67
67
  techRecord_reasonForCreation: string;
68
68
  techRecord_regnDate?: string | null;
@@ -81,7 +81,7 @@ export interface TechRecordGETMotorcycleComplete {
81
81
  techRecord_statusCode?: null | StatusCode;
82
82
  techRecord_vehicleClass_description: VehicleClassDescription;
83
83
  techRecord_vehicleClass_code: string;
84
- techRecord_vehicleConfiguration?: null | VehicleConfiguration;
84
+ techRecord_vehicleConfiguration: VehicleConfiguration;
85
85
  techRecord_vehicleType: "motorcycle";
86
86
  vin: string;
87
87
  techRecord_numberOfWheelsDriven: number;
@@ -7,6 +7,19 @@
7
7
 
8
8
  export type StatusCode = "provisional" | "current" | "archived";
9
9
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
10
+ export type VehicleConfiguration =
11
+ | "rigid"
12
+ | "articulated"
13
+ | "centre axle drawbar"
14
+ | "semi-car transporter"
15
+ | "semi-trailer"
16
+ | "long semi-trailer"
17
+ | "low loader"
18
+ | "other"
19
+ | "drawbar"
20
+ | "four-in-line"
21
+ | "dolly"
22
+ | "full drawbar";
10
23
  export type EUVehicleCategory =
11
24
  | "m1"
12
25
  | "m2"
@@ -41,6 +54,7 @@ export interface TechRecordPUTCarComplete {
41
54
  techRecord_hiddenInVta?: null | boolean;
42
55
  techRecord_updateType?: null | string;
43
56
  secondaryVrms?: null | string[];
57
+ techRecord_vehicleConfiguration: VehicleConfiguration;
44
58
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
45
59
  techRecord_applicantDetails_name?: string | null;
46
60
  techRecord_applicantDetails_address1?: null | string;
@@ -7,6 +7,19 @@
7
7
 
8
8
  export type StatusCode = "provisional" | "current" | "archived";
9
9
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
10
+ export type VehicleConfiguration =
11
+ | "rigid"
12
+ | "articulated"
13
+ | "centre axle drawbar"
14
+ | "semi-car transporter"
15
+ | "semi-trailer"
16
+ | "long semi-trailer"
17
+ | "low loader"
18
+ | "other"
19
+ | "drawbar"
20
+ | "four-in-line"
21
+ | "dolly"
22
+ | "full drawbar";
10
23
  export type EUVehicleCategory =
11
24
  | "m1"
12
25
  | "m2"
@@ -41,6 +54,7 @@ export interface TechRecordPUTCarSkeleton {
41
54
  techRecord_updateType?: null | string;
42
55
  secondaryVrms?: null | string[];
43
56
  techRecord_vehicleSubclass?: VehicleSubclass;
57
+ techRecord_vehicleConfiguration?: null | VehicleConfiguration;
44
58
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
45
59
  techRecord_applicantDetails_name?: string | null;
46
60
  techRecord_applicantDetails_address1?: null | string;
@@ -201,7 +201,6 @@ export interface TechRecordPUTHGVComplete {
201
201
  techRecord_axles: [HGVAxles, ...HGVAxles[]];
202
202
  techRecord_bodyType_code: string;
203
203
  techRecord_bodyType_description: string;
204
- techRecord_brakes_antilockBrakingSystem?: string | null;
205
204
  techRecord_brakes_dtpNumber: string;
206
205
  techRecord_brakes_loadSensingValve?: boolean | null;
207
206
  techRecord_conversionRefNo?: string | null;
@@ -197,8 +197,7 @@ export interface TechRecordPUTHGVSkeleton {
197
197
  techRecord_applicationId?: string | null;
198
198
  techRecord_axles?: null | HGVAxles[];
199
199
  techRecord_bodyType_code?: null | string;
200
- techRecord_bodyType_description?: null | string;
201
- techRecord_brakes_antilockBrakingSystem?: string | null;
200
+ techRecord_bodyType_description: string;
202
201
  techRecord_brakes_dtpNumber?: string | null;
203
202
  techRecord_brakes_loadSensingValve?: boolean | null;
204
203
  techRecord_conversionRefNo?: string | null;
@@ -243,7 +242,7 @@ export interface TechRecordPUTHGVSkeleton {
243
242
  techRecord_trainEecWeight?: number | null;
244
243
  techRecord_trainGbWeight?: number | null;
245
244
  techRecord_tyreUseCode?: string | null;
246
- techRecord_vehicleClass_description?: null | VehicleClassDescription;
245
+ techRecord_vehicleClass_description: VehicleClassDescription;
247
246
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
248
247
  techRecord_approvalType?: ApprovalType | null;
249
248
  techRecord_approvalTypeNumber?: string | null;
@@ -197,8 +197,7 @@ export interface TechRecordPUTHGVTestable {
197
197
  techRecord_applicationId?: null | string;
198
198
  techRecord_axles?: HGVAxles[];
199
199
  techRecord_bodyType_code?: string;
200
- techRecord_bodyType_description?: string;
201
- techRecord_brakes_antilockBrakingSystem?: string | null;
200
+ techRecord_bodyType_description: string;
202
201
  techRecord_brakes_dtpNumber?: string | null;
203
202
  techRecord_brakes_loadSensingValve?: boolean | null;
204
203
  techRecord_conversionRefNo?: string | null;
@@ -229,7 +228,7 @@ export interface TechRecordPUTHGVTestable {
229
228
  techRecord_microfilm_microfilmRollNumber?: string | null;
230
229
  techRecord_microfilm_microfilmSerialNumber?: string | null;
231
230
  techRecord_model?: string | null;
232
- techRecord_noOfAxles?: number | null;
231
+ techRecord_noOfAxles: number;
233
232
  techRecord_notes?: string | null;
234
233
  techRecord_offRoad?: boolean | null;
235
234
  techRecord_plates?: HGVPlates[];
@@ -44,7 +44,7 @@ export interface TechRecordPUTLGVComplete {
44
44
  techRecord_statusCode: StatusCode;
45
45
  techRecord_regnDate?: string | null;
46
46
  techRecord_manufactureYear?: number | null;
47
- techRecord_noOfAxles?: number | null;
47
+ techRecord_noOfAxles: number;
48
48
  techRecord_notes?: string;
49
49
  techRecord_vehicleSubclass: VehicleSubclass;
50
50
  techRecord_hiddenInVta?: boolean;
@@ -73,7 +73,7 @@ export interface TechRecordPUTMotorcycleComplete {
73
73
  techRecord_regnDate?: string | null;
74
74
  techRecord_statusCode: StatusCode;
75
75
  techRecord_vehicleClass_description: VehicleClassDescription;
76
- techRecord_vehicleConfiguration?: null | VehicleConfiguration;
76
+ techRecord_vehicleConfiguration: VehicleConfiguration;
77
77
  techRecord_vehicleType: "motorcycle";
78
78
  vin: string;
79
79
  techRecord_numberOfWheelsDriven: number;
@@ -264,7 +264,7 @@ export interface TechRecordPUTPSVTestable {
264
264
  techRecord_applicantDetails_postCode?: null | string;
265
265
  techRecord_applicantDetails_telephoneNumber?: null | string;
266
266
  techRecord_applicantDetails_emailAddress?: null | string;
267
- techRecord_brakes_dtpNumber?: string | null;
267
+ techRecord_brakes_dtpNumber: string;
268
268
  techRecord_brakes_brakeCode?: string | null;
269
269
  techRecord_brakes_brakeCodeOriginal?: string | null;
270
270
  techRecord_brakes_dataTrBrakeOne?: string | null;
@@ -50,7 +50,7 @@ export interface TechRecordPUTSmallTRLComplete {
50
50
  techRecord_statusCode: StatusCode;
51
51
  techRecord_vehicleClass_description: VehicleClassDescription;
52
52
  techRecord_vehicleConfiguration: VehicleConfiguration;
53
- techRecord_vehicleSubclass?: VehicleSubclass;
53
+ techRecord_vehicleSubclass?: null | VehicleSubclass;
54
54
  techRecord_vehicleType: "trl";
55
55
  vin: string;
56
56
  trailerId?: string;