@dvsa/cvs-type-definitions 3.0.21 → 3.0.22
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.
- package/json-schemas/v3/tech-record/get/car/complete/index.json +18 -15
- package/json-schemas/v3/tech-record/get/car/skeleton/index.json +23 -0
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +20 -24
- package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +23 -0
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +0 -27
- package/json-schemas/v3/tech-record/put/car/complete/index.json +18 -15
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +23 -0
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +18 -15
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +23 -0
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +0 -27
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/car/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +0 -2
- package/types/v3/tech-record/put/car/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +2 -0
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +0 -2
|
@@ -237,23 +237,26 @@
|
|
|
237
237
|
"type": "string"
|
|
238
238
|
},
|
|
239
239
|
"techRecord_vehicleSubclass": {
|
|
240
|
-
"title": "Vehicle Subclass",
|
|
241
240
|
"type": "array",
|
|
242
241
|
"items": {
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
242
|
+
"title": "Vehicle Subclass",
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"enum": [
|
|
247
|
+
"n",
|
|
248
|
+
"p",
|
|
249
|
+
"a",
|
|
250
|
+
"s",
|
|
251
|
+
"c",
|
|
252
|
+
"l",
|
|
253
|
+
"t",
|
|
254
|
+
"e",
|
|
255
|
+
"m",
|
|
256
|
+
"r",
|
|
257
|
+
"w"
|
|
258
|
+
]
|
|
259
|
+
}
|
|
257
260
|
}
|
|
258
261
|
},
|
|
259
262
|
"techRecord_hiddenInVta": {
|
|
@@ -255,6 +255,29 @@
|
|
|
255
255
|
"items": {
|
|
256
256
|
"type": "string"
|
|
257
257
|
}
|
|
258
|
+
},
|
|
259
|
+
"techRecord_vehicleSubclass": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"title": "Vehicle Subclass",
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"enum": [
|
|
267
|
+
"n",
|
|
268
|
+
"p",
|
|
269
|
+
"a",
|
|
270
|
+
"s",
|
|
271
|
+
"c",
|
|
272
|
+
"l",
|
|
273
|
+
"t",
|
|
274
|
+
"e",
|
|
275
|
+
"m",
|
|
276
|
+
"r",
|
|
277
|
+
"w"
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
258
281
|
}
|
|
259
282
|
}
|
|
260
283
|
}
|
|
@@ -237,31 +237,27 @@
|
|
|
237
237
|
"type": "string"
|
|
238
238
|
},
|
|
239
239
|
"techRecord_vehicleSubclass": {
|
|
240
|
-
"
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
{
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
"r",
|
|
260
|
-
"w"
|
|
261
|
-
]
|
|
262
|
-
}
|
|
240
|
+
"type": "array",
|
|
241
|
+
"items": {
|
|
242
|
+
"title": "Vehicle Subclass",
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"enum": [
|
|
247
|
+
"n",
|
|
248
|
+
"p",
|
|
249
|
+
"a",
|
|
250
|
+
"s",
|
|
251
|
+
"c",
|
|
252
|
+
"l",
|
|
253
|
+
"t",
|
|
254
|
+
"e",
|
|
255
|
+
"m",
|
|
256
|
+
"r",
|
|
257
|
+
"w"
|
|
258
|
+
]
|
|
263
259
|
}
|
|
264
|
-
|
|
260
|
+
}
|
|
265
261
|
},
|
|
266
262
|
"techRecord_hiddenInVta": {
|
|
267
263
|
"type": [
|
|
@@ -255,6 +255,29 @@
|
|
|
255
255
|
"items": {
|
|
256
256
|
"type": "string"
|
|
257
257
|
}
|
|
258
|
+
},
|
|
259
|
+
"techRecord_vehicleSubclass": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"title": "Vehicle Subclass",
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"enum": [
|
|
267
|
+
"n",
|
|
268
|
+
"p",
|
|
269
|
+
"a",
|
|
270
|
+
"s",
|
|
271
|
+
"c",
|
|
272
|
+
"l",
|
|
273
|
+
"t",
|
|
274
|
+
"e",
|
|
275
|
+
"m",
|
|
276
|
+
"r",
|
|
277
|
+
"w"
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
258
281
|
}
|
|
259
282
|
}
|
|
260
283
|
}
|
|
@@ -238,33 +238,6 @@
|
|
|
238
238
|
"vin": {
|
|
239
239
|
"type": "string"
|
|
240
240
|
},
|
|
241
|
-
"techRecord_vehicleSubclass": {
|
|
242
|
-
"anyOf": [
|
|
243
|
-
{
|
|
244
|
-
"type": "null"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"title": "Vehicle Subclass",
|
|
248
|
-
"type": "array",
|
|
249
|
-
"items": {
|
|
250
|
-
"type": "string",
|
|
251
|
-
"enum": [
|
|
252
|
-
"n",
|
|
253
|
-
"p",
|
|
254
|
-
"a",
|
|
255
|
-
"s",
|
|
256
|
-
"c",
|
|
257
|
-
"l",
|
|
258
|
-
"t",
|
|
259
|
-
"e",
|
|
260
|
-
"m",
|
|
261
|
-
"r",
|
|
262
|
-
"w"
|
|
263
|
-
]
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
241
|
"techRecord_numberOfWheelsDriven": {
|
|
269
242
|
"type": [
|
|
270
243
|
"null",
|
|
@@ -70,23 +70,26 @@
|
|
|
70
70
|
"type": "string"
|
|
71
71
|
},
|
|
72
72
|
"techRecord_vehicleSubclass": {
|
|
73
|
-
"title": "Vehicle Subclass",
|
|
74
73
|
"type": "array",
|
|
75
74
|
"items": {
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
75
|
+
"title": "Vehicle Subclass",
|
|
76
|
+
"type": "array",
|
|
77
|
+
"items": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"n",
|
|
81
|
+
"p",
|
|
82
|
+
"a",
|
|
83
|
+
"s",
|
|
84
|
+
"c",
|
|
85
|
+
"l",
|
|
86
|
+
"t",
|
|
87
|
+
"e",
|
|
88
|
+
"m",
|
|
89
|
+
"r",
|
|
90
|
+
"w"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
90
93
|
}
|
|
91
94
|
},
|
|
92
95
|
"techRecord_hiddenInVta": {
|
|
@@ -109,6 +109,29 @@
|
|
|
109
109
|
"items": {
|
|
110
110
|
"type": "string"
|
|
111
111
|
}
|
|
112
|
+
},
|
|
113
|
+
"techRecord_vehicleSubclass": {
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"title": "Vehicle Subclass",
|
|
117
|
+
"type": "array",
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"enum": [
|
|
121
|
+
"n",
|
|
122
|
+
"p",
|
|
123
|
+
"a",
|
|
124
|
+
"s",
|
|
125
|
+
"c",
|
|
126
|
+
"l",
|
|
127
|
+
"t",
|
|
128
|
+
"e",
|
|
129
|
+
"m",
|
|
130
|
+
"r",
|
|
131
|
+
"w"
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
112
135
|
}
|
|
113
136
|
}
|
|
114
137
|
}
|
|
@@ -144,23 +144,26 @@
|
|
|
144
144
|
"type": "string"
|
|
145
145
|
},
|
|
146
146
|
"techRecord_vehicleSubclass": {
|
|
147
|
-
"title": "Vehicle Subclass",
|
|
148
147
|
"type": "array",
|
|
149
148
|
"items": {
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
149
|
+
"title": "Vehicle Subclass",
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"enum": [
|
|
154
|
+
"n",
|
|
155
|
+
"p",
|
|
156
|
+
"a",
|
|
157
|
+
"s",
|
|
158
|
+
"c",
|
|
159
|
+
"l",
|
|
160
|
+
"t",
|
|
161
|
+
"e",
|
|
162
|
+
"m",
|
|
163
|
+
"r",
|
|
164
|
+
"w"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
164
167
|
}
|
|
165
168
|
},
|
|
166
169
|
"techRecord_hiddenInVta": {
|
|
@@ -162,6 +162,29 @@
|
|
|
162
162
|
"items": {
|
|
163
163
|
"type": "string"
|
|
164
164
|
}
|
|
165
|
+
},
|
|
166
|
+
"techRecord_vehicleSubclass": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {
|
|
169
|
+
"title": "Vehicle Subclass",
|
|
170
|
+
"type": "array",
|
|
171
|
+
"items": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"n",
|
|
175
|
+
"p",
|
|
176
|
+
"a",
|
|
177
|
+
"s",
|
|
178
|
+
"c",
|
|
179
|
+
"l",
|
|
180
|
+
"t",
|
|
181
|
+
"e",
|
|
182
|
+
"m",
|
|
183
|
+
"r",
|
|
184
|
+
"w"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
165
188
|
}
|
|
166
189
|
}
|
|
167
190
|
}
|
|
@@ -239,33 +239,6 @@
|
|
|
239
239
|
"vin": {
|
|
240
240
|
"type": "string"
|
|
241
241
|
},
|
|
242
|
-
"techRecord_vehicleSubclass": {
|
|
243
|
-
"anyOf": [
|
|
244
|
-
{
|
|
245
|
-
"type": "null"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"title": "Vehicle Subclass",
|
|
249
|
-
"type": "array",
|
|
250
|
-
"items": {
|
|
251
|
-
"type": "string",
|
|
252
|
-
"enum": [
|
|
253
|
-
"n",
|
|
254
|
-
"p",
|
|
255
|
-
"a",
|
|
256
|
-
"s",
|
|
257
|
-
"c",
|
|
258
|
-
"l",
|
|
259
|
-
"t",
|
|
260
|
-
"e",
|
|
261
|
-
"m",
|
|
262
|
-
"r",
|
|
263
|
-
"w"
|
|
264
|
-
]
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
242
|
"techRecord_numberOfWheelsDriven": {
|
|
270
243
|
"type": "integer"
|
|
271
244
|
},
|
package/package.json
CHANGED
|
@@ -70,7 +70,7 @@ export interface TechRecordGETCarComplete {
|
|
|
70
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
71
|
techRecord_vehicleType: "car";
|
|
72
72
|
vin: string;
|
|
73
|
-
techRecord_vehicleSubclass: VehicleSubclass;
|
|
73
|
+
techRecord_vehicleSubclass: VehicleSubclass[];
|
|
74
74
|
techRecord_hiddenInVta?: null | boolean;
|
|
75
75
|
techRecord_updateType?: null | string;
|
|
76
76
|
secondaryVrms?: null | string[];
|
|
@@ -38,6 +38,7 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
41
42
|
|
|
42
43
|
export interface TechRecordGETCarSkeleton {
|
|
43
44
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -72,4 +73,5 @@ export interface TechRecordGETCarSkeleton {
|
|
|
72
73
|
techRecord_hiddenInVta?: null | boolean;
|
|
73
74
|
techRecord_updateType?: null | string;
|
|
74
75
|
secondaryVrms?: null | string[];
|
|
76
|
+
techRecord_vehicleSubclass?: VehicleSubclass[];
|
|
75
77
|
}
|
|
@@ -70,7 +70,7 @@ export interface TechRecordGETLGVComplete {
|
|
|
70
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
71
|
techRecord_vehicleType: "lgv";
|
|
72
72
|
vin: string;
|
|
73
|
-
techRecord_vehicleSubclass:
|
|
73
|
+
techRecord_vehicleSubclass: VehicleSubclass[];
|
|
74
74
|
techRecord_hiddenInVta?: null | boolean;
|
|
75
75
|
techRecord_updateType?: null | string;
|
|
76
76
|
secondaryVrms?: null | string[];
|
|
@@ -38,6 +38,7 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
41
42
|
|
|
42
43
|
export interface TechRecordGETLGVSkeleton {
|
|
43
44
|
techRecord_applicantDetails_name?: string | null;
|
|
@@ -72,4 +73,5 @@ export interface TechRecordGETLGVSkeleton {
|
|
|
72
73
|
techRecord_hiddenInVta?: null | boolean;
|
|
73
74
|
techRecord_updateType?: null | string;
|
|
74
75
|
secondaryVrms?: null | string[];
|
|
76
|
+
techRecord_vehicleSubclass?: VehicleSubclass[];
|
|
75
77
|
}
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
42
41
|
|
|
43
42
|
export interface TechRecordGETMotorcycleComplete {
|
|
44
43
|
secondaryVrms?: string[];
|
|
@@ -71,7 +70,6 @@ export interface TechRecordGETMotorcycleComplete {
|
|
|
71
70
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
72
71
|
techRecord_vehicleType?: "motorcycle";
|
|
73
72
|
vin: string;
|
|
74
|
-
techRecord_vehicleSubclass?: null | VehicleSubclass;
|
|
75
73
|
techRecord_numberOfWheelsDriven: null | number;
|
|
76
74
|
techRecord_hiddenInVta?: null | boolean;
|
|
77
75
|
techRecord_updateType?: null | string;
|
|
@@ -19,7 +19,7 @@ export interface TechRecordPUTCarComplete {
|
|
|
19
19
|
techRecord_manufactureYear?: number | null;
|
|
20
20
|
techRecord_noOfAxles?: number | null;
|
|
21
21
|
techRecord_notes?: string;
|
|
22
|
-
techRecord_vehicleSubclass: VehicleSubclass;
|
|
22
|
+
techRecord_vehicleSubclass: VehicleSubclass[];
|
|
23
23
|
techRecord_hiddenInVta?: null | boolean;
|
|
24
24
|
techRecord_updateType?: null | string;
|
|
25
25
|
techRecord_createdAt?: null | string;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
9
10
|
|
|
10
11
|
export interface TechRecordPUTCarSkeleton {
|
|
11
12
|
vin: string;
|
|
@@ -24,4 +25,5 @@ export interface TechRecordPUTCarSkeleton {
|
|
|
24
25
|
techRecord_createdById?: null | string;
|
|
25
26
|
techRecord_createdByName?: null | string;
|
|
26
27
|
secondaryVrms?: null | string[];
|
|
28
|
+
techRecord_vehicleSubclass?: VehicleSubclass[];
|
|
27
29
|
}
|
|
@@ -47,7 +47,7 @@ export interface TechRecordPUTLGVComplete {
|
|
|
47
47
|
techRecord_manufactureYear?: number | null;
|
|
48
48
|
techRecord_noOfAxles?: number | null;
|
|
49
49
|
techRecord_notes?: string;
|
|
50
|
-
techRecord_vehicleSubclass: VehicleSubclass;
|
|
50
|
+
techRecord_vehicleSubclass: VehicleSubclass[];
|
|
51
51
|
techRecord_hiddenInVta?: boolean;
|
|
52
52
|
techRecord_updateType?: string;
|
|
53
53
|
techRecord_createdAt?: string;
|
|
@@ -25,6 +25,7 @@ export type EUVehicleCategory =
|
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
28
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
28
29
|
|
|
29
30
|
export interface TechRecordPUTLGVSkeleton {
|
|
30
31
|
vin: string;
|
|
@@ -52,4 +53,5 @@ export interface TechRecordPUTLGVSkeleton {
|
|
|
52
53
|
techRecord_createdById?: string;
|
|
53
54
|
techRecord_createdByName?: string;
|
|
54
55
|
secondaryVrms?: string[];
|
|
56
|
+
techRecord_vehicleSubclass?: VehicleSubclass[];
|
|
55
57
|
}
|
|
@@ -38,7 +38,6 @@ export type VehicleConfiguration =
|
|
|
38
38
|
| "four-in-line"
|
|
39
39
|
| "dolly"
|
|
40
40
|
| "full drawbar";
|
|
41
|
-
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
42
41
|
|
|
43
42
|
export interface TechRecordPUTMotorcycleComplete {
|
|
44
43
|
secondaryVrms?: null | string[];
|
|
@@ -70,7 +69,6 @@ export interface TechRecordPUTMotorcycleComplete {
|
|
|
70
69
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
70
|
techRecord_vehicleType?: "motorcycle";
|
|
72
71
|
vin: string;
|
|
73
|
-
techRecord_vehicleSubclass?: null | VehicleSubclass;
|
|
74
72
|
techRecord_numberOfWheelsDriven: number;
|
|
75
73
|
techRecord_hiddenInVta?: null | boolean;
|
|
76
74
|
techRecord_updateType?: null | string;
|