@dvsa/cvs-type-definitions 3.6.2 → 3.7.0

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.
Files changed (51) hide show
  1. package/json-schemas/v3/tech-record/enums/adrAdditionalNotesNumber.enum.json +20 -0
  2. package/json-schemas/v3/tech-record/enums/adrBodyType.enum.json +50 -0
  3. package/json-schemas/v3/tech-record/enums/adrCompatibilityGroupJ.enum.json +12 -0
  4. package/json-schemas/v3/tech-record/enums/adrDangerousGood.enum.json +24 -0
  5. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +22 -3
  6. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +22 -3
  7. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +22 -3
  8. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +320 -0
  9. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +320 -0
  10. package/json-schemas/v3/tech-record/get/trl/complete/index.json +22 -3
  11. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +22 -3
  12. package/json-schemas/v3/tech-record/get/trl/testable/index.json +22 -3
  13. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +22 -3
  14. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +22 -3
  15. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +22 -3
  16. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +320 -0
  17. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +320 -0
  18. package/json-schemas/v3/tech-record/put/trl/complete/index.json +22 -3
  19. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +22 -3
  20. package/json-schemas/v3/tech-record/put/trl/testable/index.json +22 -3
  21. package/package.json +1 -1
  22. package/schemas.d.ts +1 -1
  23. package/schemas.js +4 -0
  24. package/types/v3/tech-record/enums/adrAdditionalNotesNumber.enum.d.ts +13 -0
  25. package/types/v3/tech-record/enums/adrAdditionalNotesNumber.enum.js +18 -0
  26. package/types/v3/tech-record/enums/adrAdditionalNotesNumber.enum.ts +15 -0
  27. package/types/v3/tech-record/enums/adrBodyType.enum.d.ts +28 -0
  28. package/types/v3/tech-record/enums/adrBodyType.enum.js +33 -0
  29. package/types/v3/tech-record/enums/adrBodyType.enum.ts +30 -0
  30. package/types/v3/tech-record/enums/adrCompatibilityGroupJ.enum.d.ts +9 -0
  31. package/types/v3/tech-record/enums/adrCompatibilityGroupJ.enum.js +14 -0
  32. package/types/v3/tech-record/enums/adrCompatibilityGroupJ.enum.ts +11 -0
  33. package/types/v3/tech-record/enums/adrDangerousGood.enum.d.ts +15 -0
  34. package/types/v3/tech-record/enums/adrDangerousGood.enum.js +20 -0
  35. package/types/v3/tech-record/enums/adrDangerousGood.enum.ts +17 -0
  36. package/types/v3/tech-record/get/hgv/complete/index.d.ts +6 -1
  37. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +6 -1
  38. package/types/v3/tech-record/get/hgv/testable/index.d.ts +6 -1
  39. package/types/v3/tech-record/get/lgv/complete/index.d.ts +47 -0
  40. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +47 -0
  41. package/types/v3/tech-record/get/trl/complete/index.d.ts +6 -1
  42. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +6 -1
  43. package/types/v3/tech-record/get/trl/testable/index.d.ts +6 -1
  44. package/types/v3/tech-record/put/hgv/complete/index.d.ts +6 -1
  45. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +6 -1
  46. package/types/v3/tech-record/put/hgv/testable/index.d.ts +6 -1
  47. package/types/v3/tech-record/put/lgv/complete/index.d.ts +47 -0
  48. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +47 -0
  49. package/types/v3/tech-record/put/trl/complete/index.d.ts +6 -1
  50. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +6 -1
  51. package/types/v3/tech-record/put/trl/testable/index.d.ts +6 -1
@@ -0,0 +1,20 @@
1
+ {
2
+ "title": "ADR Additional Notes Number",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "ONE",
6
+ "ONE_A",
7
+ "TWO",
8
+ "THREE",
9
+ "V1B",
10
+ "T1B"
11
+ ],
12
+ "enum": [
13
+ "1",
14
+ "1A",
15
+ "2",
16
+ "3",
17
+ "V1B",
18
+ "T1B"
19
+ ]
20
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "title": "ADR Body Type",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "ARTIC_TRACTOR",
6
+ "RIGID_BOX_BODY",
7
+ "RIGID_SHEETED_LOAD",
8
+ "RIGID_TANK",
9
+ "RIGID_SKELETAL",
10
+ "RIGID_BATTERY",
11
+ "FULL_DRAWBAR_BOX_BODY",
12
+ "FULL_DRAWBAR_SHEETED_LOAD",
13
+ "FULL_DRAWBAR_TANK",
14
+ "FULL_DRAWBAR_SKELETAL",
15
+ "FULL_DRAWBAR_BATTERY",
16
+ "CENTRE_AXLE_BOX_BODY",
17
+ "CENTRE_AXLE_SHEETED_LOAD",
18
+ "CENTRE_AXLE_TANK",
19
+ "CENTRE_AXLE_SKELETAL",
20
+ "CENTRE_AXLE_BATTERY",
21
+ "SEMI_TRAILER_BOX_BODY",
22
+ "SEMI_TRAILER_SHEETED_LOAD",
23
+ "SEMI_TRAILER_TANK",
24
+ "SEMI_TRAILER_SKELETAL",
25
+ "SEMI_TRAILER_BATTERY"
26
+ ],
27
+ "enum": [
28
+ "Artic tractor",
29
+ "Rigid box body",
30
+ "Rigid sheeted load",
31
+ "Rigid tank",
32
+ "Rigid skeletal",
33
+ "Rigid battery",
34
+ "Full drawbar box body",
35
+ "Full drawbar sheeted load",
36
+ "Full drawbar tank",
37
+ "Full drawbar skeletal",
38
+ "Full drawbar battery",
39
+ "Centre axle box body",
40
+ "Centre axle sheeted load",
41
+ "Centre axle tank",
42
+ "Centre axle skeletal",
43
+ "Centre axle battery",
44
+ "Semi trailer box body",
45
+ "Semi trailer sheeted load",
46
+ "Semi trailer tank",
47
+ "Semi trailer skeletal",
48
+ "Semi trailer battery"
49
+ ]
50
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "title": "ADR Compatibility Group J",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "I",
6
+ "E"
7
+ ],
8
+ "enum": [
9
+ "I",
10
+ "E"
11
+ ]
12
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "title": "ADR Dangerous Good",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "FP",
6
+ "AT",
7
+ "HYDROGEN_PEROXIDE",
8
+ "MEMU",
9
+ "CARBON_DISULPHIDE",
10
+ "HYDROGEN",
11
+ "EXPLOSIVES_TYPE_2",
12
+ "EXPLOSIVES_TYPE_3"
13
+ ],
14
+ "enum": [
15
+ "FP <61 (FL)",
16
+ "AT",
17
+ "Class 5.1 Hydrogen Peroxide (OX)",
18
+ "MEMU",
19
+ "Carbon Disulphide",
20
+ "Hydrogen",
21
+ "Explosives (type 2)",
22
+ "Explosives (type 3)"
23
+ ]
24
+ }
@@ -67,6 +67,12 @@
67
67
  "systemNumber": {
68
68
  "type": "string"
69
69
  },
70
+ "techRecord_adrDetails_dangerousGoods": {
71
+ "type": [
72
+ "boolean",
73
+ "null"
74
+ ]
75
+ },
70
76
  "techRecord_adrDetails_vehicleDetails_type": {
71
77
  "type": [
72
78
  "string",
@@ -89,9 +95,22 @@
89
95
  }
90
96
  },
91
97
  "techRecord_adrDetails_compatibilityGroupJ": {
92
- "type": [
93
- "boolean",
94
- "null"
98
+ "anyOf": [
99
+ {
100
+ "type": "null"
101
+ },
102
+ {
103
+ "title": "ADR Compatibility Group J",
104
+ "type": "string",
105
+ "tsEnumNames": [
106
+ "I",
107
+ "E"
108
+ ],
109
+ "enum": [
110
+ "I",
111
+ "E"
112
+ ]
113
+ }
95
114
  ]
96
115
  },
97
116
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -37,6 +37,12 @@
37
37
  "systemNumber": {
38
38
  "type": "string"
39
39
  },
40
+ "techRecord_adrDetails_dangerousGoods": {
41
+ "type": [
42
+ "boolean",
43
+ "null"
44
+ ]
45
+ },
40
46
  "techRecord_adrDetails_vehicleDetails_type": {
41
47
  "type": [
42
48
  "string",
@@ -59,9 +65,22 @@
59
65
  }
60
66
  },
61
67
  "techRecord_adrDetails_compatibilityGroupJ": {
62
- "type": [
63
- "boolean",
64
- "null"
68
+ "anyOf": [
69
+ {
70
+ "type": "null"
71
+ },
72
+ {
73
+ "title": "ADR Compatibility Group J",
74
+ "type": "string",
75
+ "tsEnumNames": [
76
+ "I",
77
+ "E"
78
+ ],
79
+ "enum": [
80
+ "I",
81
+ "E"
82
+ ]
83
+ }
65
84
  ]
66
85
  },
67
86
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -41,6 +41,12 @@
41
41
  "systemNumber": {
42
42
  "type": "string"
43
43
  },
44
+ "techRecord_adrDetails_dangerousGoods": {
45
+ "type": [
46
+ "boolean",
47
+ "null"
48
+ ]
49
+ },
44
50
  "techRecord_adrDetails_vehicleDetails_type": {
45
51
  "type": [
46
52
  "string",
@@ -63,9 +69,22 @@
63
69
  }
64
70
  },
65
71
  "techRecord_adrDetails_compatibilityGroupJ": {
66
- "type": [
67
- "boolean",
68
- "null"
72
+ "anyOf": [
73
+ {
74
+ "type": "null"
75
+ },
76
+ {
77
+ "title": "ADR Compatibility Group J",
78
+ "type": "string",
79
+ "tsEnumNames": [
80
+ "I",
81
+ "E"
82
+ ],
83
+ "enum": [
84
+ "I",
85
+ "E"
86
+ ]
87
+ }
69
88
  ]
70
89
  },
71
90
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -72,6 +72,326 @@
72
72
  ],
73
73
  "maxLength": 255
74
74
  },
75
+ "techRecord_adrDetails_dangerousGoods": {
76
+ "type": [
77
+ "boolean",
78
+ "null"
79
+ ]
80
+ },
81
+ "techRecord_adrDetails_vehicleDetails_type": {
82
+ "type": [
83
+ "string",
84
+ "null"
85
+ ]
86
+ },
87
+ "techRecord_adrDetails_vehicleDetails_approvalDate": {
88
+ "type": [
89
+ "string",
90
+ "null"
91
+ ]
92
+ },
93
+ "techRecord_adrDetails_permittedDangerousGoods": {
94
+ "type": [
95
+ "array",
96
+ "null"
97
+ ],
98
+ "items": {
99
+ "type": "string"
100
+ }
101
+ },
102
+ "techRecord_adrDetails_compatibilityGroupJ": {
103
+ "anyOf": [
104
+ {
105
+ "type": "null"
106
+ },
107
+ {
108
+ "title": "ADR Compatibility Group J",
109
+ "type": "string",
110
+ "tsEnumNames": [
111
+ "I",
112
+ "E"
113
+ ],
114
+ "enum": [
115
+ "I",
116
+ "E"
117
+ ]
118
+ }
119
+ ]
120
+ },
121
+ "techRecord_adrDetails_additionalExaminerNotes": {
122
+ "type": [
123
+ "string",
124
+ "null"
125
+ ],
126
+ "maxLength": 1024
127
+ },
128
+ "techRecord_adrDetails_applicantDetails_name": {
129
+ "type": [
130
+ "string",
131
+ "null"
132
+ ],
133
+ "maxLength": 150
134
+ },
135
+ "techRecord_adrDetails_applicantDetails_street": {
136
+ "type": [
137
+ "string",
138
+ "null"
139
+ ],
140
+ "maxLength": 150
141
+ },
142
+ "techRecord_adrDetails_applicantDetails_town": {
143
+ "type": [
144
+ "string",
145
+ "null"
146
+ ],
147
+ "maxLength": 100
148
+ },
149
+ "techRecord_adrDetails_applicantDetails_city": {
150
+ "type": [
151
+ "string",
152
+ "null"
153
+ ],
154
+ "maxLength": 100
155
+ },
156
+ "techRecord_adrDetails_applicantDetails_postcode": {
157
+ "type": [
158
+ "string",
159
+ "null"
160
+ ],
161
+ "maxLength": 25
162
+ },
163
+ "techRecord_adrDetails_memosApply": {
164
+ "type": [
165
+ "array",
166
+ "null"
167
+ ],
168
+ "items": {
169
+ "type": [
170
+ "string"
171
+ ]
172
+ }
173
+ },
174
+ "techRecord_adrDetails_documents": {
175
+ "type": [
176
+ "array",
177
+ "null"
178
+ ],
179
+ "items": {
180
+ "type": [
181
+ "string"
182
+ ]
183
+ }
184
+ },
185
+ "techRecord_adrDetails_listStatementApplicable": {
186
+ "type": [
187
+ "boolean",
188
+ "null"
189
+ ]
190
+ },
191
+ "techRecord_adrDetails_batteryListNumber": {
192
+ "type": [
193
+ "string",
194
+ "null"
195
+ ],
196
+ "maxLength": 8
197
+ },
198
+ "techRecord_adrDetails_brakeDeclarationsSeen": {
199
+ "type": [
200
+ "boolean",
201
+ "null"
202
+ ]
203
+ },
204
+ "techRecord_adrDetails_brakeDeclarationIssuer": {
205
+ "type": [
206
+ "string",
207
+ "null"
208
+ ]
209
+ },
210
+ "techRecord_adrDetails_brakeEndurance": {
211
+ "type": [
212
+ "boolean",
213
+ "null"
214
+ ]
215
+ },
216
+ "techRecord_adrDetails_weight": {
217
+ "type": [
218
+ "string",
219
+ "null"
220
+ ],
221
+ "maxLength": 8
222
+ },
223
+ "techRecord_adrDetails_declarationsSeen": {
224
+ "type": [
225
+ "boolean",
226
+ "null"
227
+ ]
228
+ },
229
+ "techRecord_adrDetails_additionalNotes_guidanceNotes": {
230
+ "type": [
231
+ "array",
232
+ "null"
233
+ ],
234
+ "items": {
235
+ "type": "string"
236
+ }
237
+ },
238
+ "techRecord_adrDetails_additionalNotes_number": {
239
+ "type": [
240
+ "array",
241
+ "null"
242
+ ],
243
+ "items": {
244
+ "type": "string"
245
+ }
246
+ },
247
+ "techRecord_adrDetails_adrTypeApprovalNo": {
248
+ "type": [
249
+ "string",
250
+ "null"
251
+ ]
252
+ },
253
+ "techRecord_adrDetails_adrCertificateNotes": {
254
+ "type": [
255
+ "string",
256
+ "null"
257
+ ],
258
+ "maxLength": 1500
259
+ },
260
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturer": {
261
+ "type": [
262
+ "string",
263
+ "null"
264
+ ],
265
+ "maxLength": 70
266
+ },
267
+ "techRecord_adrDetails_tank_tankDetails_yearOfManufacture": {
268
+ "type": [
269
+ "integer",
270
+ "null"
271
+ ],
272
+ "maximum": 9999
273
+ },
274
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo": {
275
+ "type": [
276
+ "string",
277
+ "null"
278
+ ],
279
+ "maxLength": 50
280
+ },
281
+ "techRecord_adrDetails_tank_tankDetails_tankTypeAppNo": {
282
+ "type": [
283
+ "string",
284
+ "null"
285
+ ],
286
+ "maxLength": 65
287
+ },
288
+ "techRecord_adrDetails_tank_tankDetails_tankCode": {
289
+ "type": [
290
+ "string",
291
+ "null"
292
+ ],
293
+ "maxLength": 30
294
+ },
295
+ "techRecord_adrDetails_tank_tankDetails_specialProvisions": {
296
+ "type": [
297
+ "string",
298
+ "null"
299
+ ],
300
+ "maxLength": 1024
301
+ },
302
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type": {
303
+ "anyOf": [
304
+ {
305
+ "type": "null"
306
+ },
307
+ {
308
+ "title": "TC2 Types",
309
+ "type": "string",
310
+ "enum": [
311
+ "initial"
312
+ ]
313
+ }
314
+ ]
315
+ },
316
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo": {
317
+ "type": [
318
+ "string",
319
+ "null"
320
+ ],
321
+ "maxLength": 70
322
+ },
323
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate": {
324
+ "type": [
325
+ "string",
326
+ "null"
327
+ ]
328
+ },
329
+ "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
330
+ "anyOf": [
331
+ {
332
+ "type": "null"
333
+ },
334
+ {
335
+ "title": "TC3 Types",
336
+ "type": "string",
337
+ "enum": [
338
+ "intermediate",
339
+ "periodic",
340
+ "exceptional"
341
+ ]
342
+ }
343
+ ]
344
+ },
345
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
346
+ "type": [
347
+ "string",
348
+ "null"
349
+ ],
350
+ "maxLength": 75
351
+ },
352
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
353
+ "type": [
354
+ "string",
355
+ "null"
356
+ ]
357
+ },
358
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
359
+ "type": [
360
+ "string",
361
+ "null"
362
+ ]
363
+ },
364
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
365
+ "type": [
366
+ "string",
367
+ "null"
368
+ ],
369
+ "maxLength": 1500
370
+ },
371
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo": {
372
+ "type": [
373
+ "string",
374
+ "null"
375
+ ]
376
+ },
377
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo": {
378
+ "type": [
379
+ "array",
380
+ "null"
381
+ ],
382
+ "items": {
383
+ "type": [
384
+ "string"
385
+ ]
386
+ }
387
+ },
388
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productList": {
389
+ "type": [
390
+ "string",
391
+ "null"
392
+ ],
393
+ "maxLength": 1500
394
+ },
75
395
  "createdTimestamp": {
76
396
  "type": [
77
397
  "string"