@dvsa/cvs-type-definitions 3.0.47 → 3.0.48

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 (25) hide show
  1. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +6 -0
  2. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +31 -17
  3. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +21 -7
  4. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +20 -24
  5. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +23 -17
  6. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +6 -0
  7. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +31 -17
  8. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +17 -6
  9. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +23 -2
  10. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +25 -0
  11. package/json-schemas/v3/tech-record/put/psv/testable/index.json +5 -3
  12. package/json-schemas/v3/tech-record/put/small trl/complete/index.json +18 -25
  13. package/package.json +1 -1
  14. package/types/v3/tech-record/get/hgv/complete/index.d.ts +1 -0
  15. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +3 -2
  16. package/types/v3/tech-record/get/hgv/testable/index.d.ts +3 -2
  17. package/types/v3/tech-record/get/lgv/complete/index.d.ts +2 -2
  18. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  19. package/types/v3/tech-record/put/hgv/complete/index.d.ts +1 -0
  20. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +3 -2
  21. package/types/v3/tech-record/put/hgv/testable/index.d.ts +3 -2
  22. package/types/v3/tech-record/put/lgv/complete/index.d.ts +15 -1
  23. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +14 -0
  24. package/types/v3/tech-record/put/psv/testable/index.d.ts +1 -1
  25. package/types/v3/tech-record/put/small trl/complete/index.d.ts +1 -1
@@ -507,6 +507,12 @@
507
507
  "techRecord_bodyType_description": {
508
508
  "type": "string"
509
509
  },
510
+ "techRecord_brakes_antilockBrakingSystem": {
511
+ "type": [
512
+ "string",
513
+ "null"
514
+ ]
515
+ },
510
516
  "techRecord_brakes_dtpNumber": {
511
517
  "type": "string",
512
518
  "maxLength": 6
@@ -13,8 +13,6 @@
13
13
  "techRecord_recordCompleteness",
14
14
  "techRecord_statusCode",
15
15
  "techRecord_vehicleType",
16
- "techRecord_vehicleClass_description",
17
- "techRecord_bodyType_description",
18
16
  "primaryVrm",
19
17
  "vin"
20
18
  ],
@@ -506,7 +504,16 @@
506
504
  ]
507
505
  },
508
506
  "techRecord_bodyType_description": {
509
- "type": "string"
507
+ "type": [
508
+ "null",
509
+ "string"
510
+ ]
511
+ },
512
+ "techRecord_brakes_antilockBrakingSystem": {
513
+ "type": [
514
+ "string",
515
+ "null"
516
+ ]
510
517
  },
511
518
  "techRecord_brakes_dtpNumber": {
512
519
  "type": [
@@ -1027,20 +1034,27 @@
1027
1034
  ]
1028
1035
  },
1029
1036
  "techRecord_vehicleClass_description": {
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"
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
+ }
1044
1058
  ]
1045
1059
  },
1046
1060
  "techRecord_vehicleConfiguration": {
@@ -18,9 +18,7 @@
18
18
  "techRecord_vehicleConfiguration",
19
19
  "techRecord_vehicleClass_code",
20
20
  "techRecord_vehicleClass_description",
21
- "techRecord_numberOfWheelsDriven",
22
- "techRecord_noOfAxles",
23
- "techRecord_bodyType_description"
21
+ "techRecord_numberOfWheelsDriven"
24
22
  ],
25
23
  "properties": {
26
24
  "secondaryVrms": {
@@ -510,7 +508,16 @@
510
508
  ]
511
509
  },
512
510
  "techRecord_bodyType_description": {
513
- "type": "string"
511
+ "type": [
512
+ "null",
513
+ "string"
514
+ ]
515
+ },
516
+ "techRecord_brakes_antilockBrakingSystem": {
517
+ "type": [
518
+ "string",
519
+ "null"
520
+ ]
514
521
  },
515
522
  "techRecord_brakes_dtpNumber": {
516
523
  "type": [
@@ -867,9 +874,16 @@
867
874
  "type": "integer"
868
875
  },
869
876
  "techRecord_noOfAxles": {
870
- "type": "integer",
871
- "minimum": 0,
872
- "maximum": 99
877
+ "anyOf": [
878
+ {
879
+ "type": "integer",
880
+ "minimum": 0,
881
+ "maximum": 99
882
+ },
883
+ {
884
+ "type": "null"
885
+ }
886
+ ]
873
887
  },
874
888
  "techRecord_notes": {
875
889
  "type": [
@@ -12,7 +12,7 @@
12
12
  "techRecord_createdById",
13
13
  "techRecord_createdByName",
14
14
  "techRecord_reasonForCreation",
15
- "techRecord_noOfAxles"
15
+ "techRecord_vehicleConfiguration"
16
16
  ],
17
17
  "properties": {
18
18
  "techRecord_applicantDetails_name": {
@@ -162,7 +162,10 @@
162
162
  ]
163
163
  },
164
164
  "techRecord_noOfAxles": {
165
- "type": "integer"
165
+ "type": [
166
+ "null",
167
+ "integer"
168
+ ]
166
169
  },
167
170
  "techRecord_notes": {
168
171
  "type": [
@@ -196,28 +199,21 @@
196
199
  ]
197
200
  },
198
201
  "techRecord_vehicleConfiguration": {
199
- "anyOf": [
200
- {
201
- "type": "null"
202
- },
203
- {
204
- "title": "Vehicle Configuration",
205
- "type": "string",
206
- "enum": [
207
- "rigid",
208
- "articulated",
209
- "centre axle drawbar",
210
- "semi-car transporter",
211
- "semi-trailer",
212
- "long semi-trailer",
213
- "low loader",
214
- "other",
215
- "drawbar",
216
- "four-in-line",
217
- "dolly",
218
- "full drawbar"
219
- ]
220
- }
202
+ "title": "Vehicle Configuration",
203
+ "type": "string",
204
+ "enum": [
205
+ "rigid",
206
+ "articulated",
207
+ "centre axle drawbar",
208
+ "semi-car transporter",
209
+ "semi-trailer",
210
+ "long semi-trailer",
211
+ "low loader",
212
+ "other",
213
+ "drawbar",
214
+ "four-in-line",
215
+ "dolly",
216
+ "full drawbar"
221
217
  ]
222
218
  },
223
219
  "techRecord_vehicleType": {
@@ -15,8 +15,7 @@
15
15
  "techRecord_vehicleType",
16
16
  "createdTimestamp",
17
17
  "partialVin",
18
- "vin",
19
- "techRecord_vehicleConfiguration"
18
+ "vin"
20
19
  ],
21
20
  "properties": {
22
21
  "secondaryVrms": {
@@ -232,21 +231,28 @@
232
231
  "type": "string"
233
232
  },
234
233
  "techRecord_vehicleConfiguration": {
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"
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
+ }
250
256
  ]
251
257
  },
252
258
  "techRecord_vehicleType": {
@@ -495,6 +495,12 @@
495
495
  "techRecord_bodyType_description": {
496
496
  "type": "string"
497
497
  },
498
+ "techRecord_brakes_antilockBrakingSystem": {
499
+ "type": [
500
+ "string",
501
+ "null"
502
+ ]
503
+ },
498
504
  "techRecord_brakes_dtpNumber": {
499
505
  "type": "string",
500
506
  "maxLength": 6
@@ -6,8 +6,6 @@
6
6
  "techRecord_reasonForCreation",
7
7
  "techRecord_statusCode",
8
8
  "techRecord_vehicleType",
9
- "techRecord_vehicleClass_description",
10
- "techRecord_bodyType_description",
11
9
  "vin"
12
10
  ],
13
11
  "properties": {
@@ -492,7 +490,16 @@
492
490
  ]
493
491
  },
494
492
  "techRecord_bodyType_description": {
495
- "type": "string"
493
+ "type": [
494
+ "null",
495
+ "string"
496
+ ]
497
+ },
498
+ "techRecord_brakes_antilockBrakingSystem": {
499
+ "type": [
500
+ "string",
501
+ "null"
502
+ ]
496
503
  },
497
504
  "techRecord_brakes_dtpNumber": {
498
505
  "type": [
@@ -986,20 +993,27 @@
986
993
  "maxLength": 2
987
994
  },
988
995
  "techRecord_vehicleClass_description": {
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"
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
+ }
1003
1017
  ]
1004
1018
  },
1005
1019
  "techRecord_vehicleConfiguration": {
@@ -8,9 +8,7 @@
8
8
  "techRecord_vehicleType",
9
9
  "vin",
10
10
  "techRecord_vehicleConfiguration",
11
- "techRecord_vehicleClass_description",
12
- "techRecord_noOfAxles",
13
- "techRecord_bodyType_description"
11
+ "techRecord_vehicleClass_description"
14
12
  ],
15
13
  "properties": {
16
14
  "secondaryVrms": {
@@ -490,6 +488,12 @@
490
488
  "techRecord_bodyType_description": {
491
489
  "type": "string"
492
490
  },
491
+ "techRecord_brakes_antilockBrakingSystem": {
492
+ "type": [
493
+ "string",
494
+ "null"
495
+ ]
496
+ },
493
497
  "techRecord_brakes_dtpNumber": {
494
498
  "type": [
495
499
  "string",
@@ -830,9 +834,16 @@
830
834
  "maxLength": 30
831
835
  },
832
836
  "techRecord_noOfAxles": {
833
- "type": "integer",
834
- "minimum": 0,
835
- "maximum": 99
837
+ "anyOf": [
838
+ {
839
+ "type": "integer",
840
+ "minimum": 0,
841
+ "maximum": 99
842
+ },
843
+ {
844
+ "type": "null"
845
+ }
846
+ ]
836
847
  },
837
848
  "techRecord_notes": {
838
849
  "type": [
@@ -8,7 +8,7 @@
8
8
  "techRecord_vehicleType",
9
9
  "techRecord_statusCode",
10
10
  "techRecord_reasonForCreation",
11
- "techRecord_noOfAxles"
11
+ "techRecord_vehicleConfiguration"
12
12
  ],
13
13
  "properties": {
14
14
  "vin": {
@@ -132,7 +132,10 @@
132
132
  ]
133
133
  },
134
134
  "techRecord_noOfAxles": {
135
- "type": "integer"
135
+ "type": [
136
+ "integer",
137
+ "null"
138
+ ]
136
139
  },
137
140
  "techRecord_notes": {
138
141
  "type": "string"
@@ -168,6 +171,24 @@
168
171
  "items": {
169
172
  "type": "string"
170
173
  }
174
+ },
175
+ "techRecord_vehicleConfiguration": {
176
+ "title": "Vehicle Configuration",
177
+ "type": "string",
178
+ "enum": [
179
+ "rigid",
180
+ "articulated",
181
+ "centre axle drawbar",
182
+ "semi-car transporter",
183
+ "semi-trailer",
184
+ "long semi-trailer",
185
+ "low loader",
186
+ "other",
187
+ "drawbar",
188
+ "four-in-line",
189
+ "dolly",
190
+ "full drawbar"
191
+ ]
171
192
  }
172
193
  }
173
194
  }
@@ -171,6 +171,31 @@
171
171
  "w"
172
172
  ]
173
173
  }
174
+ },
175
+ "techRecord_vehicleConfiguration": {
176
+ "anyOf": [
177
+ {
178
+ "type": "null"
179
+ },
180
+ {
181
+ "title": "Vehicle Configuration",
182
+ "type": "string",
183
+ "enum": [
184
+ "rigid",
185
+ "articulated",
186
+ "centre axle drawbar",
187
+ "semi-car transporter",
188
+ "semi-trailer",
189
+ "long semi-trailer",
190
+ "low loader",
191
+ "other",
192
+ "drawbar",
193
+ "four-in-line",
194
+ "dolly",
195
+ "full drawbar"
196
+ ]
197
+ }
198
+ ]
174
199
  }
175
200
  }
176
201
  }
@@ -12,8 +12,7 @@
12
12
  "techRecord_noOfAxles",
13
13
  "techRecord_statusCode",
14
14
  "techRecord_reasonForCreation",
15
- "techRecord_vehicleClass_description",
16
- "techRecord_brakes_dtpNumber"
15
+ "techRecord_vehicleClass_description"
17
16
  ],
18
17
  "properties": {
19
18
  "vin": {
@@ -819,7 +818,10 @@
819
818
  "maxLength": 255
820
819
  },
821
820
  "techRecord_brakes_dtpNumber": {
822
- "type": "string",
821
+ "type": [
822
+ "string",
823
+ "null"
824
+ ],
823
825
  "maxLength": 6
824
826
  },
825
827
  "techRecord_brakes_brakeCode": {
@@ -134,31 +134,24 @@
134
134
  ]
135
135
  },
136
136
  "techRecord_vehicleSubclass": {
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
- ]
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
+ }
162
155
  },
163
156
  "techRecord_vehicleType": {
164
157
  "const": "trl"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.47",
3
+ "version": "3.0.48",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -203,6 +203,7 @@ 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;
206
207
  techRecord_brakes_dtpNumber: string;
207
208
  techRecord_brakes_loadSensingValve?: boolean | null;
208
209
  techRecord_conversionRefNo?: string | null;
@@ -199,7 +199,8 @@ 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: string;
202
+ techRecord_bodyType_description?: null | string;
203
+ techRecord_brakes_antilockBrakingSystem?: string | null;
203
204
  techRecord_brakes_dtpNumber?: string | null;
204
205
  techRecord_brakes_loadSensingValve?: boolean | null;
205
206
  techRecord_conversionRefNo?: string | null;
@@ -251,7 +252,7 @@ export interface TechRecordGETHGVSkeleton {
251
252
  techRecord_trainGbWeight?: number | null;
252
253
  techRecord_tyreUseCode?: string | null;
253
254
  techRecord_vehicleClass_code?: null | string;
254
- techRecord_vehicleClass_description: VehicleClassDescription;
255
+ techRecord_vehicleClass_description?: null | VehicleClassDescription;
255
256
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
256
257
  techRecord_approvalType?: ApprovalType | null;
257
258
  techRecord_approvalTypeNumber?: string | null;
@@ -199,7 +199,8 @@ 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: string;
202
+ techRecord_bodyType_description?: null | string;
203
+ techRecord_brakes_antilockBrakingSystem?: string | null;
203
204
  techRecord_brakes_dtpNumber?: string | null;
204
205
  techRecord_brakes_loadSensingValve?: boolean | null;
205
206
  techRecord_conversionRefNo?: string | null;
@@ -235,7 +236,7 @@ export interface TechRecordGETHGVTestable {
235
236
  techRecord_microfilm_microfilmSerialNumber?: string | null;
236
237
  techRecord_model?: string | null;
237
238
  techRecord_numberOfWheelsDriven: number;
238
- techRecord_noOfAxles: number;
239
+ techRecord_noOfAxles?: number | null;
239
240
  techRecord_notes?: string | null;
240
241
  techRecord_offRoad?: boolean | null;
241
242
  techRecord_plates?: null | HGVPlates[];
@@ -62,12 +62,12 @@ export interface TechRecordGETLGVComplete {
62
62
  techRecord_lastUpdatedByName?: string | null;
63
63
  techRecord_manufactureYear?: number | null;
64
64
  techRecord_recordCompleteness?: null | string;
65
- techRecord_noOfAxles: number;
65
+ techRecord_noOfAxles?: null | number;
66
66
  techRecord_notes?: null | string;
67
67
  techRecord_reasonForCreation: string;
68
68
  techRecord_regnDate?: string | null;
69
69
  techRecord_statusCode?: null | StatusCode;
70
- techRecord_vehicleConfiguration?: null | VehicleConfiguration;
70
+ techRecord_vehicleConfiguration: VehicleConfiguration;
71
71
  techRecord_vehicleType: "lgv";
72
72
  vin: string;
73
73
  techRecord_vehicleSubclass: VehicleSubclass;
@@ -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: VehicleConfiguration;
84
+ techRecord_vehicleConfiguration?: null | VehicleConfiguration;
85
85
  techRecord_vehicleType: "motorcycle";
86
86
  vin: string;
87
87
  techRecord_numberOfWheelsDriven: number;
@@ -201,6 +201,7 @@ 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;
204
205
  techRecord_brakes_dtpNumber: string;
205
206
  techRecord_brakes_loadSensingValve?: boolean | null;
206
207
  techRecord_conversionRefNo?: string | null;
@@ -197,7 +197,8 @@ 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: string;
200
+ techRecord_bodyType_description?: null | string;
201
+ techRecord_brakes_antilockBrakingSystem?: string | null;
201
202
  techRecord_brakes_dtpNumber?: string | null;
202
203
  techRecord_brakes_loadSensingValve?: boolean | null;
203
204
  techRecord_conversionRefNo?: string | null;
@@ -242,7 +243,7 @@ export interface TechRecordPUTHGVSkeleton {
242
243
  techRecord_trainEecWeight?: number | null;
243
244
  techRecord_trainGbWeight?: number | null;
244
245
  techRecord_tyreUseCode?: string | null;
245
- techRecord_vehicleClass_description: VehicleClassDescription;
246
+ techRecord_vehicleClass_description?: null | VehicleClassDescription;
246
247
  techRecord_vehicleConfiguration?: VehicleConfiguration | null;
247
248
  techRecord_approvalType?: ApprovalType | null;
248
249
  techRecord_approvalTypeNumber?: string | null;
@@ -197,7 +197,8 @@ 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;
200
+ techRecord_bodyType_description?: string;
201
+ techRecord_brakes_antilockBrakingSystem?: string | null;
201
202
  techRecord_brakes_dtpNumber?: string | null;
202
203
  techRecord_brakes_loadSensingValve?: boolean | null;
203
204
  techRecord_conversionRefNo?: string | null;
@@ -228,7 +229,7 @@ export interface TechRecordPUTHGVTestable {
228
229
  techRecord_microfilm_microfilmRollNumber?: string | null;
229
230
  techRecord_microfilm_microfilmSerialNumber?: string | null;
230
231
  techRecord_model?: string | null;
231
- techRecord_noOfAxles: number;
232
+ techRecord_noOfAxles?: number | null;
232
233
  techRecord_notes?: string | null;
233
234
  techRecord_offRoad?: boolean | null;
234
235
  techRecord_plates?: HGVPlates[];
@@ -26,6 +26,19 @@ export type EUVehicleCategory =
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
28
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
29
+ export type VehicleConfiguration =
30
+ | "rigid"
31
+ | "articulated"
32
+ | "centre axle drawbar"
33
+ | "semi-car transporter"
34
+ | "semi-trailer"
35
+ | "long semi-trailer"
36
+ | "low loader"
37
+ | "other"
38
+ | "drawbar"
39
+ | "four-in-line"
40
+ | "dolly"
41
+ | "full drawbar";
29
42
 
30
43
  export interface TechRecordPUTLGVComplete {
31
44
  vin: string;
@@ -44,10 +57,11 @@ export interface TechRecordPUTLGVComplete {
44
57
  techRecord_statusCode: StatusCode;
45
58
  techRecord_regnDate?: string | null;
46
59
  techRecord_manufactureYear?: number | null;
47
- techRecord_noOfAxles: number;
60
+ techRecord_noOfAxles?: number | null;
48
61
  techRecord_notes?: string;
49
62
  techRecord_vehicleSubclass: VehicleSubclass;
50
63
  techRecord_hiddenInVta?: boolean;
51
64
  techRecord_updateType?: string;
52
65
  secondaryVrms?: string[];
66
+ techRecord_vehicleConfiguration: VehicleConfiguration;
53
67
  }
@@ -26,6 +26,19 @@ export type EUVehicleCategory =
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
28
  export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
29
+ export type VehicleConfiguration =
30
+ | "rigid"
31
+ | "articulated"
32
+ | "centre axle drawbar"
33
+ | "semi-car transporter"
34
+ | "semi-trailer"
35
+ | "long semi-trailer"
36
+ | "low loader"
37
+ | "other"
38
+ | "drawbar"
39
+ | "four-in-line"
40
+ | "dolly"
41
+ | "full drawbar";
29
42
 
30
43
  export interface TechRecordPUTLGVSkeleton {
31
44
  vin: string;
@@ -50,4 +63,5 @@ export interface TechRecordPUTLGVSkeleton {
50
63
  techRecord_updateType?: string;
51
64
  secondaryVrms?: string[];
52
65
  techRecord_vehicleSubclass?: VehicleSubclass;
66
+ techRecord_vehicleConfiguration?: null | VehicleConfiguration;
53
67
  }
@@ -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;
267
+ techRecord_brakes_dtpNumber?: string | null;
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?: null | VehicleSubclass;
53
+ techRecord_vehicleSubclass?: VehicleSubclass;
54
54
  techRecord_vehicleType: "trl";
55
55
  vin: string;
56
56
  trailerId?: string;