@dvsa/cvs-type-definitions 3.0.26 → 3.0.27

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.
@@ -5,6 +5,7 @@
5
5
  "required": [
6
6
  "techRecord_numberOfWheelsDriven",
7
7
  "techRecord_vehicleClass_description",
8
+ "techRecord_vehicleClass_code",
8
9
  "systemNumber",
9
10
  "primaryVrm",
10
11
  "techRecord_createdByName",
@@ -207,6 +208,26 @@
207
208
  }
208
209
  ]
209
210
  },
211
+ "techRecord_vehicleClass_description": {
212
+ "title": "Vehicle Class Description",
213
+ "type": "string",
214
+ "enum": [
215
+ "motorbikes over 200cc or with a sidecar",
216
+ "not applicable",
217
+ "small psv (ie: less than or equal to 22 seats)",
218
+ "motorbikes up to 200cc",
219
+ "trailer",
220
+ "large psv(ie: greater than 23 seats)",
221
+ "3 wheelers",
222
+ "heavy goods vehicle",
223
+ "MOT class 4",
224
+ "MOT class 7",
225
+ "MOT class 5"
226
+ ]
227
+ },
228
+ "techRecord_vehicleClass_code": {
229
+ "type": "string"
230
+ },
210
231
  "techRecord_vehicleConfiguration": {
211
232
  "anyOf": [
212
233
  {
@@ -4,6 +4,7 @@
4
4
  "additionalProperties": false,
5
5
  "required": [
6
6
  "techRecord_vehicleClass_description",
7
+ "techRecord_vehicleClass_code",
7
8
  "systemNumber",
8
9
  "primaryVrm",
9
10
  "techRecord_createdByName",
@@ -200,6 +201,26 @@
200
201
  }
201
202
  ]
202
203
  },
204
+ "techRecord_vehicleClass_description": {
205
+ "title": "Vehicle Class Description",
206
+ "type": "string",
207
+ "enum": [
208
+ "motorbikes over 200cc or with a sidecar",
209
+ "not applicable",
210
+ "small psv (ie: less than or equal to 22 seats)",
211
+ "motorbikes up to 200cc",
212
+ "trailer",
213
+ "large psv(ie: greater than 23 seats)",
214
+ "3 wheelers",
215
+ "heavy goods vehicle",
216
+ "MOT class 4",
217
+ "MOT class 7",
218
+ "MOT class 5"
219
+ ]
220
+ },
221
+ "techRecord_vehicleClass_code": {
222
+ "type": "string"
223
+ },
203
224
  "techRecord_vehicleConfiguration": {
204
225
  "anyOf": [
205
226
  {
@@ -5,6 +5,7 @@
5
5
  "required": [
6
6
  "techRecord_numberOfWheelsDriven",
7
7
  "techRecord_vehicleClass_description",
8
+ "techRecord_vehicleClass_code",
8
9
  "techRecord_reasonForCreation",
9
10
  "vin"
10
11
  ],
@@ -172,6 +173,26 @@
172
173
  }
173
174
  ]
174
175
  },
176
+ "techRecord_vehicleClass_description": {
177
+ "title": "Vehicle Class Description",
178
+ "type": "string",
179
+ "enum": [
180
+ "motorbikes over 200cc or with a sidecar",
181
+ "not applicable",
182
+ "small psv (ie: less than or equal to 22 seats)",
183
+ "motorbikes up to 200cc",
184
+ "trailer",
185
+ "large psv(ie: greater than 23 seats)",
186
+ "3 wheelers",
187
+ "heavy goods vehicle",
188
+ "MOT class 4",
189
+ "MOT class 7",
190
+ "MOT class 5"
191
+ ]
192
+ },
193
+ "techRecord_vehicleClass_code": {
194
+ "type": "string"
195
+ },
175
196
  "techRecord_vehicleConfiguration": {
176
197
  "anyOf": [
177
198
  {
@@ -4,6 +4,7 @@
4
4
  "additionalProperties": false,
5
5
  "required": [
6
6
  "techRecord_vehicleClass_description",
7
+ "techRecord_vehicleClass_code",
7
8
  "techRecord_reasonForCreation",
8
9
  "vin"
9
10
  ],
@@ -162,6 +163,26 @@
162
163
  }
163
164
  ]
164
165
  },
166
+ "techRecord_vehicleClass_description": {
167
+ "title": "Vehicle Class Description",
168
+ "type": "string",
169
+ "enum": [
170
+ "motorbikes over 200cc or with a sidecar",
171
+ "not applicable",
172
+ "small psv (ie: less than or equal to 22 seats)",
173
+ "motorbikes up to 200cc",
174
+ "trailer",
175
+ "large psv(ie: greater than 23 seats)",
176
+ "3 wheelers",
177
+ "heavy goods vehicle",
178
+ "MOT class 4",
179
+ "MOT class 7",
180
+ "MOT class 5"
181
+ ]
182
+ },
183
+ "techRecord_vehicleClass_code": {
184
+ "type": "string"
185
+ },
165
186
  "techRecord_vehicleConfiguration": {
166
187
  "anyOf": [
167
188
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.26",
3
+ "version": "3.0.27",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
25
25
  | "l6e"
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
+ export type VehicleClassDescription =
29
+ | "motorbikes over 200cc or with a sidecar"
30
+ | "not applicable"
31
+ | "small psv (ie: less than or equal to 22 seats)"
32
+ | "motorbikes up to 200cc"
33
+ | "trailer"
34
+ | "large psv(ie: greater than 23 seats)"
35
+ | "3 wheelers"
36
+ | "heavy goods vehicle"
37
+ | "MOT class 4"
38
+ | "MOT class 7"
39
+ | "MOT class 5";
28
40
  export type VehicleConfiguration =
29
41
  | "rigid"
30
42
  | "articulated"
@@ -67,6 +79,8 @@ export interface TechRecordGETMotorcycleComplete {
67
79
  techRecord_reasonForCreation: string;
68
80
  techRecord_regnDate?: string | null;
69
81
  techRecord_statusCode?: null | StatusCode;
82
+ techRecord_vehicleClass_description: VehicleClassDescription;
83
+ techRecord_vehicleClass_code: string;
70
84
  techRecord_vehicleConfiguration?: null | VehicleConfiguration;
71
85
  techRecord_vehicleType?: "motorcycle";
72
86
  vin: string;
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
25
25
  | "l6e"
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
+ export type VehicleClassDescription =
29
+ | "motorbikes over 200cc or with a sidecar"
30
+ | "not applicable"
31
+ | "small psv (ie: less than or equal to 22 seats)"
32
+ | "motorbikes up to 200cc"
33
+ | "trailer"
34
+ | "large psv(ie: greater than 23 seats)"
35
+ | "3 wheelers"
36
+ | "heavy goods vehicle"
37
+ | "MOT class 4"
38
+ | "MOT class 7"
39
+ | "MOT class 5";
28
40
  export type VehicleConfiguration =
29
41
  | "rigid"
30
42
  | "articulated"
@@ -66,6 +78,8 @@ export interface TechRecordGETMotorcycleSkeleton {
66
78
  techRecord_reasonForCreation: string;
67
79
  techRecord_regnDate?: string | null;
68
80
  techRecord_statusCode?: null | StatusCode;
81
+ techRecord_vehicleClass_description: VehicleClassDescription;
82
+ techRecord_vehicleClass_code: string;
69
83
  techRecord_vehicleConfiguration?: null | VehicleConfiguration;
70
84
  techRecord_vehicleType?: "motorcycle";
71
85
  vin: string;
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
25
25
  | "l6e"
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
+ export type VehicleClassDescription =
29
+ | "motorbikes over 200cc or with a sidecar"
30
+ | "not applicable"
31
+ | "small psv (ie: less than or equal to 22 seats)"
32
+ | "motorbikes up to 200cc"
33
+ | "trailer"
34
+ | "large psv(ie: greater than 23 seats)"
35
+ | "3 wheelers"
36
+ | "heavy goods vehicle"
37
+ | "MOT class 4"
38
+ | "MOT class 7"
39
+ | "MOT class 5";
28
40
  export type VehicleConfiguration =
29
41
  | "rigid"
30
42
  | "articulated"
@@ -60,6 +72,8 @@ export interface TechRecordPUTMotorcycleComplete {
60
72
  techRecord_reasonForCreation: string;
61
73
  techRecord_regnDate?: string | null;
62
74
  techRecord_statusCode?: null | StatusCode;
75
+ techRecord_vehicleClass_description: VehicleClassDescription;
76
+ techRecord_vehicleClass_code: string;
63
77
  techRecord_vehicleConfiguration?: null | VehicleConfiguration;
64
78
  techRecord_vehicleType?: "motorcycle";
65
79
  vin: string;
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
25
25
  | "l6e"
26
26
  | "l7e";
27
27
  export type StatusCode = "provisional" | "current" | "archived";
28
+ export type VehicleClassDescription =
29
+ | "motorbikes over 200cc or with a sidecar"
30
+ | "not applicable"
31
+ | "small psv (ie: less than or equal to 22 seats)"
32
+ | "motorbikes up to 200cc"
33
+ | "trailer"
34
+ | "large psv(ie: greater than 23 seats)"
35
+ | "3 wheelers"
36
+ | "heavy goods vehicle"
37
+ | "MOT class 4"
38
+ | "MOT class 7"
39
+ | "MOT class 5";
28
40
  export type VehicleConfiguration =
29
41
  | "rigid"
30
42
  | "articulated"
@@ -59,6 +71,8 @@ export interface TechRecordPUTMotorcycleSkeleton {
59
71
  techRecord_reasonForCreation: string;
60
72
  techRecord_regnDate?: string | null;
61
73
  techRecord_statusCode?: null | StatusCode;
74
+ techRecord_vehicleClass_description: VehicleClassDescription;
75
+ techRecord_vehicleClass_code: string;
62
76
  techRecord_vehicleConfiguration?: null | VehicleConfiguration;
63
77
  techRecord_vehicleType?: "motorcycle";
64
78
  vin: string;