@dvsa/cvs-type-definitions 3.0.0 → 3.0.2
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 +111 -54
- package/json-schemas/v3/tech-record/get/car/skeleton/index.json +111 -54
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +20 -5
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +57 -23
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +28 -7
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +152 -81
- package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +127 -63
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +140 -78
- package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +115 -60
- package/json-schemas/v3/tech-record/get/psv/complete/index.json +106 -66
- package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +16 -13
- package/json-schemas/v3/tech-record/get/psv/testable/index.json +31 -16
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +91 -30
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +80 -6
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +48 -24
- package/json-schemas/v3/tech-record/put/car/complete/index.json +41 -13
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +45 -14
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +28 -7
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +61 -24
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +16 -4
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +153 -81
- package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +128 -63
- package/json-schemas/v3/tech-record/put/psv/complete/index.json +118 -70
- package/json-schemas/v3/tech-record/put/psv/skeleton/index.json +37 -19
- package/json-schemas/v3/tech-record/put/psv/testable/index.json +42 -20
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +103 -39
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +157 -0
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +137 -3
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +15 -15
- package/types/v3/tech-record/get/car/skeleton/index.d.ts +15 -15
- package/types/v3/tech-record/get/hgv/complete/index.d.ts +5 -5
- package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +10 -10
- package/types/v3/tech-record/get/hgv/testable/index.d.ts +7 -7
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +17 -17
- package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +16 -16
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +14 -14
- package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +13 -13
- package/types/v3/tech-record/get/psv/complete/index.d.ts +13 -16
- package/types/v3/tech-record/get/psv/skeleton/index.d.ts +4 -7
- package/types/v3/tech-record/get/psv/testable/index.d.ts +10 -13
- package/types/v3/tech-record/get/trl/complete/index.d.ts +34 -34
- package/types/v3/tech-record/get/trl/skeleton/index.d.ts +16 -6
- package/types/v3/tech-record/get/trl/testable/index.d.ts +10 -10
- package/types/v3/tech-record/put/car/complete/index.d.ts +8 -8
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +9 -9
- package/types/v3/tech-record/put/hgv/complete/index.d.ts +7 -7
- package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +11 -11
- package/types/v3/tech-record/put/hgv/testable/index.d.ts +4 -4
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +18 -18
- package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +17 -17
- package/types/v3/tech-record/put/psv/complete/index.d.ts +16 -19
- package/types/v3/tech-record/put/psv/skeleton/index.d.ts +10 -13
- package/types/v3/tech-record/put/psv/testable/index.d.ts +12 -15
- package/types/v3/tech-record/put/trl/complete/index.d.ts +22 -23
- package/types/v3/tech-record/put/trl/skeleton/index.d.ts +37 -0
- package/types/v3/tech-record/put/trl/testable/index.d.ts +17 -2
- package/types/v3/tech-record/tech-record-status.d.ts +30 -30
- package/types/v3/tech-record/tech-record-vehicle-type.d.ts +29 -32
- package/types/v3/tech-record/tech-record-verb-vehicle-type.d.ts +29 -32
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
12
|
"secondaryVrms": {
|
|
13
|
-
"type":
|
|
13
|
+
"type": [
|
|
14
|
+
"null",
|
|
15
|
+
"array"
|
|
16
|
+
],
|
|
14
17
|
"items": {
|
|
15
18
|
"type": "string"
|
|
16
19
|
}
|
|
@@ -73,49 +76,75 @@
|
|
|
73
76
|
},
|
|
74
77
|
"createdTimestamp": {
|
|
75
78
|
"type": [
|
|
79
|
+
"null",
|
|
76
80
|
"string"
|
|
77
81
|
]
|
|
78
82
|
},
|
|
79
83
|
"partialVin": {
|
|
80
|
-
"type":
|
|
84
|
+
"type": [
|
|
85
|
+
"null",
|
|
86
|
+
"string"
|
|
87
|
+
]
|
|
81
88
|
},
|
|
82
89
|
"primaryVrm": {
|
|
83
|
-
"type":
|
|
90
|
+
"type": [
|
|
91
|
+
"null",
|
|
92
|
+
"string"
|
|
93
|
+
]
|
|
84
94
|
},
|
|
85
95
|
"systemNumber": {
|
|
86
|
-
"type":
|
|
96
|
+
"type": [
|
|
97
|
+
"null",
|
|
98
|
+
"string"
|
|
99
|
+
]
|
|
87
100
|
},
|
|
88
101
|
"techRecord_createdAt": {
|
|
89
|
-
"type":
|
|
102
|
+
"type": [
|
|
103
|
+
"null",
|
|
104
|
+
"string"
|
|
105
|
+
]
|
|
90
106
|
},
|
|
91
107
|
"techRecord_createdById": {
|
|
92
|
-
"type":
|
|
108
|
+
"type": [
|
|
109
|
+
"null",
|
|
110
|
+
"string"
|
|
111
|
+
]
|
|
93
112
|
},
|
|
94
113
|
"techRecord_createdByName": {
|
|
95
|
-
"type":
|
|
114
|
+
"type": [
|
|
115
|
+
"null",
|
|
116
|
+
"string"
|
|
117
|
+
]
|
|
96
118
|
},
|
|
97
119
|
"techRecord_euVehicleCategory": {
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"type": "null"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"title": "EU vehicle category",
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"m1",
|
|
129
|
+
"m2",
|
|
130
|
+
"m3",
|
|
131
|
+
"n1",
|
|
132
|
+
"n2",
|
|
133
|
+
"n3",
|
|
134
|
+
"o1",
|
|
135
|
+
"o2",
|
|
136
|
+
"o3",
|
|
137
|
+
"o4",
|
|
138
|
+
"l1e-a",
|
|
139
|
+
"l1e",
|
|
140
|
+
"l2e",
|
|
141
|
+
"l3e",
|
|
142
|
+
"l4e",
|
|
143
|
+
"l5e",
|
|
144
|
+
"l6e",
|
|
145
|
+
"l7e"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
119
148
|
]
|
|
120
149
|
},
|
|
121
150
|
"techRecord_lastUpdatedAt": {
|
|
@@ -143,13 +172,22 @@
|
|
|
143
172
|
]
|
|
144
173
|
},
|
|
145
174
|
"techRecord_recordCompleteness": {
|
|
146
|
-
"type":
|
|
175
|
+
"type": [
|
|
176
|
+
"null",
|
|
177
|
+
"string"
|
|
178
|
+
]
|
|
147
179
|
},
|
|
148
180
|
"techRecord_noOfAxles": {
|
|
149
|
-
"type":
|
|
181
|
+
"type": [
|
|
182
|
+
"null",
|
|
183
|
+
"integer"
|
|
184
|
+
]
|
|
150
185
|
},
|
|
151
186
|
"techRecord_notes": {
|
|
152
|
-
"type":
|
|
187
|
+
"type": [
|
|
188
|
+
"null",
|
|
189
|
+
"string"
|
|
190
|
+
]
|
|
153
191
|
},
|
|
154
192
|
"techRecord_reasonForCreation": {
|
|
155
193
|
"type": "string"
|
|
@@ -161,75 +199,109 @@
|
|
|
161
199
|
]
|
|
162
200
|
},
|
|
163
201
|
"techRecord_statusCode": {
|
|
164
|
-
"
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
202
|
+
"anyOf": [
|
|
203
|
+
{
|
|
204
|
+
"type": "null"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"title": "Status Code",
|
|
208
|
+
"type": "string",
|
|
209
|
+
"enum": [
|
|
210
|
+
"provisional",
|
|
211
|
+
"current",
|
|
212
|
+
"archived"
|
|
213
|
+
]
|
|
214
|
+
}
|
|
170
215
|
]
|
|
171
216
|
},
|
|
172
217
|
"techRecord_vehicleConfiguration": {
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
218
|
+
"anyOf": [
|
|
219
|
+
{
|
|
220
|
+
"type": "null"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"title": "Vehicle Configuration",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enum": [
|
|
226
|
+
"rigid",
|
|
227
|
+
"articulated",
|
|
228
|
+
"centre axle drawbar",
|
|
229
|
+
"semi-car transporter",
|
|
230
|
+
"semi-trailer",
|
|
231
|
+
"long semi-trailer",
|
|
232
|
+
"low loader",
|
|
233
|
+
"other",
|
|
234
|
+
"drawbar",
|
|
235
|
+
"four-in-line",
|
|
236
|
+
"dolly",
|
|
237
|
+
"full drawbar"
|
|
238
|
+
]
|
|
239
|
+
}
|
|
188
240
|
]
|
|
189
241
|
},
|
|
190
242
|
"techRecord_vehicleType": {
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"type": "null"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"title": "Vehicle Type",
|
|
249
|
+
"type": "string",
|
|
250
|
+
"enum": [
|
|
251
|
+
"psv",
|
|
252
|
+
"trl",
|
|
253
|
+
"hgv",
|
|
254
|
+
"car",
|
|
255
|
+
"lgv",
|
|
256
|
+
"motorcycle"
|
|
257
|
+
]
|
|
258
|
+
}
|
|
200
259
|
]
|
|
201
260
|
},
|
|
202
261
|
"vin": {
|
|
203
262
|
"type": "string"
|
|
204
263
|
},
|
|
205
264
|
"techRecord_vehicleSubclass": {
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
265
|
+
"anyOf": [
|
|
266
|
+
{
|
|
267
|
+
"type": "null"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"title": "Vehicle Subclass",
|
|
271
|
+
"type": "array",
|
|
272
|
+
"items": {
|
|
273
|
+
"type": "string",
|
|
274
|
+
"enum": [
|
|
275
|
+
"n",
|
|
276
|
+
"p",
|
|
277
|
+
"a",
|
|
278
|
+
"s",
|
|
279
|
+
"c",
|
|
280
|
+
"l",
|
|
281
|
+
"t",
|
|
282
|
+
"e",
|
|
283
|
+
"m",
|
|
284
|
+
"r",
|
|
285
|
+
"w"
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
]
|
|
224
290
|
},
|
|
225
291
|
"techRecord_numberOfWheelsDriven": {
|
|
226
292
|
"type": "integer"
|
|
227
293
|
},
|
|
228
294
|
"techRecord_hiddenInVta": {
|
|
229
|
-
"type":
|
|
295
|
+
"type": [
|
|
296
|
+
"null",
|
|
297
|
+
"boolean"
|
|
298
|
+
]
|
|
230
299
|
},
|
|
231
300
|
"techRecord_updateType": {
|
|
232
|
-
"type":
|
|
301
|
+
"type": [
|
|
302
|
+
"null",
|
|
303
|
+
"string"
|
|
304
|
+
]
|
|
233
305
|
}
|
|
234
306
|
}
|
|
235
307
|
}
|
|
@@ -66,49 +66,75 @@
|
|
|
66
66
|
},
|
|
67
67
|
"createdTimestamp": {
|
|
68
68
|
"type": [
|
|
69
|
+
"null",
|
|
69
70
|
"string"
|
|
70
71
|
]
|
|
71
72
|
},
|
|
72
73
|
"partialVin": {
|
|
73
|
-
"type":
|
|
74
|
+
"type": [
|
|
75
|
+
"null",
|
|
76
|
+
"string"
|
|
77
|
+
]
|
|
74
78
|
},
|
|
75
79
|
"primaryVrm": {
|
|
76
|
-
"type":
|
|
80
|
+
"type": [
|
|
81
|
+
"null",
|
|
82
|
+
"string"
|
|
83
|
+
]
|
|
77
84
|
},
|
|
78
85
|
"systemNumber": {
|
|
79
|
-
"type":
|
|
86
|
+
"type": [
|
|
87
|
+
"null",
|
|
88
|
+
"string"
|
|
89
|
+
]
|
|
80
90
|
},
|
|
81
91
|
"techRecord_createdAt": {
|
|
82
|
-
"type":
|
|
92
|
+
"type": [
|
|
93
|
+
"null",
|
|
94
|
+
"string"
|
|
95
|
+
]
|
|
83
96
|
},
|
|
84
97
|
"techRecord_createdById": {
|
|
85
|
-
"type":
|
|
98
|
+
"type": [
|
|
99
|
+
"null",
|
|
100
|
+
"string"
|
|
101
|
+
]
|
|
86
102
|
},
|
|
87
103
|
"techRecord_createdByName": {
|
|
88
|
-
"type":
|
|
104
|
+
"type": [
|
|
105
|
+
"null",
|
|
106
|
+
"string"
|
|
107
|
+
]
|
|
89
108
|
},
|
|
90
109
|
"techRecord_euVehicleCategory": {
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "null"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"title": "EU vehicle category",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"enum": [
|
|
118
|
+
"m1",
|
|
119
|
+
"m2",
|
|
120
|
+
"m3",
|
|
121
|
+
"n1",
|
|
122
|
+
"n2",
|
|
123
|
+
"n3",
|
|
124
|
+
"o1",
|
|
125
|
+
"o2",
|
|
126
|
+
"o3",
|
|
127
|
+
"o4",
|
|
128
|
+
"l1e-a",
|
|
129
|
+
"l1e",
|
|
130
|
+
"l2e",
|
|
131
|
+
"l3e",
|
|
132
|
+
"l4e",
|
|
133
|
+
"l5e",
|
|
134
|
+
"l6e",
|
|
135
|
+
"l7e"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
112
138
|
]
|
|
113
139
|
},
|
|
114
140
|
"techRecord_lastUpdatedAt": {
|
|
@@ -136,13 +162,22 @@
|
|
|
136
162
|
]
|
|
137
163
|
},
|
|
138
164
|
"techRecord_recordCompleteness": {
|
|
139
|
-
"type":
|
|
165
|
+
"type": [
|
|
166
|
+
"null",
|
|
167
|
+
"string"
|
|
168
|
+
]
|
|
140
169
|
},
|
|
141
170
|
"techRecord_noOfAxles": {
|
|
142
|
-
"type":
|
|
171
|
+
"type": [
|
|
172
|
+
"null",
|
|
173
|
+
"integer"
|
|
174
|
+
]
|
|
143
175
|
},
|
|
144
176
|
"techRecord_notes": {
|
|
145
|
-
"type":
|
|
177
|
+
"type": [
|
|
178
|
+
"null",
|
|
179
|
+
"string"
|
|
180
|
+
]
|
|
146
181
|
},
|
|
147
182
|
"techRecord_reasonForCreation": {
|
|
148
183
|
"type": "string"
|
|
@@ -154,55 +189,85 @@
|
|
|
154
189
|
]
|
|
155
190
|
},
|
|
156
191
|
"techRecord_statusCode": {
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
192
|
+
"anyOf": [
|
|
193
|
+
{
|
|
194
|
+
"type": "null"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"title": "Status Code",
|
|
198
|
+
"type": "string",
|
|
199
|
+
"enum": [
|
|
200
|
+
"provisional",
|
|
201
|
+
"current",
|
|
202
|
+
"archived"
|
|
203
|
+
]
|
|
204
|
+
}
|
|
163
205
|
]
|
|
164
206
|
},
|
|
165
207
|
"techRecord_vehicleConfiguration": {
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
208
|
+
"anyOf": [
|
|
209
|
+
{
|
|
210
|
+
"type": "null"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"title": "Vehicle Configuration",
|
|
214
|
+
"type": "string",
|
|
215
|
+
"enum": [
|
|
216
|
+
"rigid",
|
|
217
|
+
"articulated",
|
|
218
|
+
"centre axle drawbar",
|
|
219
|
+
"semi-car transporter",
|
|
220
|
+
"semi-trailer",
|
|
221
|
+
"long semi-trailer",
|
|
222
|
+
"low loader",
|
|
223
|
+
"other",
|
|
224
|
+
"drawbar",
|
|
225
|
+
"four-in-line",
|
|
226
|
+
"dolly",
|
|
227
|
+
"full drawbar"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
181
230
|
]
|
|
182
231
|
},
|
|
183
232
|
"techRecord_vehicleType": {
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
233
|
+
"anyOf": [
|
|
234
|
+
{
|
|
235
|
+
"type": "null"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"title": "Vehicle Type",
|
|
239
|
+
"type": "string",
|
|
240
|
+
"enum": [
|
|
241
|
+
"psv",
|
|
242
|
+
"trl",
|
|
243
|
+
"hgv",
|
|
244
|
+
"car",
|
|
245
|
+
"lgv",
|
|
246
|
+
"motorcycle"
|
|
247
|
+
]
|
|
248
|
+
}
|
|
193
249
|
]
|
|
194
250
|
},
|
|
195
251
|
"vin": {
|
|
196
252
|
"type": "string"
|
|
197
253
|
},
|
|
198
254
|
"techRecord_hiddenInVta": {
|
|
199
|
-
"type":
|
|
255
|
+
"type": [
|
|
256
|
+
"null",
|
|
257
|
+
"boolean"
|
|
258
|
+
]
|
|
200
259
|
},
|
|
201
260
|
"techRecord_updateType": {
|
|
202
|
-
"type":
|
|
261
|
+
"type": [
|
|
262
|
+
"null",
|
|
263
|
+
"string"
|
|
264
|
+
]
|
|
203
265
|
},
|
|
204
266
|
"secondaryVrms": {
|
|
205
|
-
"type":
|
|
267
|
+
"type": [
|
|
268
|
+
"null",
|
|
269
|
+
"array"
|
|
270
|
+
],
|
|
206
271
|
"items": {
|
|
207
272
|
"type": "string"
|
|
208
273
|
}
|