@dvsa/cvs-type-definitions 3.0.46 → 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.
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +17 -23
- package/json-schemas/v3/tech-record/put/car/complete/index.json +20 -1
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +25 -0
- package/json-schemas/v3/tech-record/put/lgv/complete/index.json +20 -1
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +25 -0
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +16 -22
- package/package.json +1 -1
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/car/complete/index.d.ts +14 -0
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +14 -0
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +14 -0
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +14 -0
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +1 -1
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"techRecord_createdAt",
|
|
12
12
|
"techRecord_createdById",
|
|
13
13
|
"techRecord_createdByName",
|
|
14
|
-
"techRecord_reasonForCreation"
|
|
14
|
+
"techRecord_reasonForCreation",
|
|
15
|
+
"techRecord_vehicleConfiguration"
|
|
15
16
|
],
|
|
16
17
|
"properties": {
|
|
17
18
|
"techRecord_applicantDetails_name": {
|
|
@@ -198,28 +199,21 @@
|
|
|
198
199
|
]
|
|
199
200
|
},
|
|
200
201
|
"techRecord_vehicleConfiguration": {
|
|
201
|
-
"
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
"other",
|
|
217
|
-
"drawbar",
|
|
218
|
-
"four-in-line",
|
|
219
|
-
"dolly",
|
|
220
|
-
"full drawbar"
|
|
221
|
-
]
|
|
222
|
-
}
|
|
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"
|
|
223
217
|
]
|
|
224
218
|
},
|
|
225
219
|
"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
|
{
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
"vin",
|
|
8
8
|
"techRecord_vehicleType",
|
|
9
9
|
"techRecord_statusCode",
|
|
10
|
-
"techRecord_reasonForCreation"
|
|
10
|
+
"techRecord_reasonForCreation",
|
|
11
|
+
"techRecord_vehicleConfiguration"
|
|
11
12
|
],
|
|
12
13
|
"properties": {
|
|
13
14
|
"vin": {
|
|
@@ -170,6 +171,24 @@
|
|
|
170
171
|
"items": {
|
|
171
172
|
"type": "string"
|
|
172
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
|
+
]
|
|
173
192
|
}
|
|
174
193
|
}
|
|
175
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
|
}
|
|
@@ -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
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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": {
|
package/package.json
CHANGED
|
@@ -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
|
|
70
|
+
techRecord_vehicleConfiguration: VehicleConfiguration;
|
|
71
71
|
techRecord_vehicleType: "lgv";
|
|
72
72
|
vin: string;
|
|
73
73
|
techRecord_vehicleSubclass: VehicleSubclass;
|
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -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
|
|
76
|
+
techRecord_vehicleConfiguration: VehicleConfiguration;
|
|
77
77
|
techRecord_vehicleType: "motorcycle";
|
|
78
78
|
vin: string;
|
|
79
79
|
techRecord_numberOfWheelsDriven: number;
|