@dvsa/cvs-type-definitions 3.0.47 → 3.0.49

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.
@@ -259,7 +259,7 @@
259
259
  "string",
260
260
  "null"
261
261
  ],
262
- "maxLength": 30
262
+ "maxLength": 65
263
263
  },
264
264
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
265
265
  "type": [
@@ -229,7 +229,7 @@
229
229
  "string",
230
230
  "null"
231
231
  ],
232
- "maxLength": 30
232
+ "maxLength": 65
233
233
  },
234
234
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
235
235
  "type": [
@@ -233,7 +233,7 @@
233
233
  "string",
234
234
  "null"
235
235
  ],
236
- "maxLength": 30
236
+ "maxLength": 65
237
237
  },
238
238
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
239
239
  "type": [
@@ -12,7 +12,8 @@
12
12
  "techRecord_createdById",
13
13
  "techRecord_createdByName",
14
14
  "techRecord_reasonForCreation",
15
- "techRecord_noOfAxles"
15
+ "techRecord_noOfAxles",
16
+ "techRecord_vehicleConfiguration"
16
17
  ],
17
18
  "properties": {
18
19
  "techRecord_applicantDetails_name": {
@@ -196,28 +197,21 @@
196
197
  ]
197
198
  },
198
199
  "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
- }
200
+ "title": "Vehicle Configuration",
201
+ "type": "string",
202
+ "enum": [
203
+ "rigid",
204
+ "articulated",
205
+ "centre axle drawbar",
206
+ "semi-car transporter",
207
+ "semi-trailer",
208
+ "long semi-trailer",
209
+ "low loader",
210
+ "other",
211
+ "drawbar",
212
+ "four-in-line",
213
+ "dolly",
214
+ "full drawbar"
221
215
  ]
222
216
  },
223
217
  "techRecord_vehicleType": {
@@ -241,7 +241,7 @@
241
241
  "string",
242
242
  "null"
243
243
  ],
244
- "maxLength": 30
244
+ "maxLength": 65
245
245
  },
246
246
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
247
247
  "type": [
@@ -221,7 +221,7 @@
221
221
  "string",
222
222
  "null"
223
223
  ],
224
- "maxLength": 30
224
+ "maxLength": 65
225
225
  },
226
226
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
227
227
  "type": [
@@ -223,7 +223,7 @@
223
223
  "string",
224
224
  "null"
225
225
  ],
226
- "maxLength": 30
226
+ "maxLength": 65
227
227
  },
228
228
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
229
229
  "type": [
@@ -247,7 +247,7 @@
247
247
  "string",
248
248
  "null"
249
249
  ],
250
- "maxLength": 30
250
+ "maxLength": 65
251
251
  },
252
252
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
253
253
  "type": [
@@ -215,7 +215,7 @@
215
215
  "string",
216
216
  "null"
217
217
  ],
218
- "maxLength": 30
218
+ "maxLength": 65
219
219
  },
220
220
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
221
221
  "type": [
@@ -217,7 +217,7 @@
217
217
  "string",
218
218
  "null"
219
219
  ],
220
- "maxLength": 30
220
+ "maxLength": 65
221
221
  },
222
222
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
223
223
  "type": [
@@ -8,7 +8,8 @@
8
8
  "techRecord_vehicleType",
9
9
  "techRecord_statusCode",
10
10
  "techRecord_reasonForCreation",
11
- "techRecord_noOfAxles"
11
+ "techRecord_noOfAxles",
12
+ "techRecord_vehicleConfiguration"
12
13
  ],
13
14
  "properties": {
14
15
  "vin": {
@@ -168,6 +169,24 @@
168
169
  "items": {
169
170
  "type": "string"
170
171
  }
172
+ },
173
+ "techRecord_vehicleConfiguration": {
174
+ "title": "Vehicle Configuration",
175
+ "type": "string",
176
+ "enum": [
177
+ "rigid",
178
+ "articulated",
179
+ "centre axle drawbar",
180
+ "semi-car transporter",
181
+ "semi-trailer",
182
+ "long semi-trailer",
183
+ "low loader",
184
+ "other",
185
+ "drawbar",
186
+ "four-in-line",
187
+ "dolly",
188
+ "full drawbar"
189
+ ]
171
190
  }
172
191
  }
173
192
  }
@@ -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
  }
@@ -230,7 +230,7 @@
230
230
  "string",
231
231
  "null"
232
232
  ],
233
- "maxLength": 30
233
+ "maxLength": 65
234
234
  },
235
235
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
236
236
  "type": [
@@ -262,7 +262,7 @@
262
262
  "string",
263
263
  "null"
264
264
  ],
265
- "maxLength": 30
265
+ "maxLength": 65
266
266
  },
267
267
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
268
268
  "type": [
@@ -264,7 +264,7 @@
264
264
  "string",
265
265
  "null"
266
266
  ],
267
- "maxLength": 30
267
+ "maxLength": 65
268
268
  },
269
269
  "techRecord_adrDetails_tank_tankDetails_tankCode": {
270
270
  "type": [
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.49",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -67,7 +67,7 @@ export interface TechRecordGETLGVComplete {
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;
@@ -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;
@@ -50,4 +63,5 @@ export interface TechRecordPUTLGVComplete {
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
  }