@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
@@ -69,6 +69,326 @@
69
69
  ],
70
70
  "maxLength": 255
71
71
  },
72
+ "techRecord_adrDetails_dangerousGoods": {
73
+ "type": [
74
+ "boolean",
75
+ "null"
76
+ ]
77
+ },
78
+ "techRecord_adrDetails_vehicleDetails_type": {
79
+ "type": [
80
+ "string",
81
+ "null"
82
+ ]
83
+ },
84
+ "techRecord_adrDetails_vehicleDetails_approvalDate": {
85
+ "type": [
86
+ "string",
87
+ "null"
88
+ ]
89
+ },
90
+ "techRecord_adrDetails_permittedDangerousGoods": {
91
+ "type": [
92
+ "array",
93
+ "null"
94
+ ],
95
+ "items": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "techRecord_adrDetails_compatibilityGroupJ": {
100
+ "anyOf": [
101
+ {
102
+ "type": "null"
103
+ },
104
+ {
105
+ "title": "ADR Compatibility Group J",
106
+ "type": "string",
107
+ "tsEnumNames": [
108
+ "I",
109
+ "E"
110
+ ],
111
+ "enum": [
112
+ "I",
113
+ "E"
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ "techRecord_adrDetails_additionalExaminerNotes": {
119
+ "type": [
120
+ "string",
121
+ "null"
122
+ ],
123
+ "maxLength": 1024
124
+ },
125
+ "techRecord_adrDetails_applicantDetails_name": {
126
+ "type": [
127
+ "string",
128
+ "null"
129
+ ],
130
+ "maxLength": 150
131
+ },
132
+ "techRecord_adrDetails_applicantDetails_street": {
133
+ "type": [
134
+ "string",
135
+ "null"
136
+ ],
137
+ "maxLength": 150
138
+ },
139
+ "techRecord_adrDetails_applicantDetails_town": {
140
+ "type": [
141
+ "string",
142
+ "null"
143
+ ],
144
+ "maxLength": 100
145
+ },
146
+ "techRecord_adrDetails_applicantDetails_city": {
147
+ "type": [
148
+ "string",
149
+ "null"
150
+ ],
151
+ "maxLength": 100
152
+ },
153
+ "techRecord_adrDetails_applicantDetails_postcode": {
154
+ "type": [
155
+ "string",
156
+ "null"
157
+ ],
158
+ "maxLength": 25
159
+ },
160
+ "techRecord_adrDetails_memosApply": {
161
+ "type": [
162
+ "array",
163
+ "null"
164
+ ],
165
+ "items": {
166
+ "type": [
167
+ "string"
168
+ ]
169
+ }
170
+ },
171
+ "techRecord_adrDetails_documents": {
172
+ "type": [
173
+ "array",
174
+ "null"
175
+ ],
176
+ "items": {
177
+ "type": [
178
+ "string"
179
+ ]
180
+ }
181
+ },
182
+ "techRecord_adrDetails_listStatementApplicable": {
183
+ "type": [
184
+ "boolean",
185
+ "null"
186
+ ]
187
+ },
188
+ "techRecord_adrDetails_batteryListNumber": {
189
+ "type": [
190
+ "string",
191
+ "null"
192
+ ],
193
+ "maxLength": 8
194
+ },
195
+ "techRecord_adrDetails_brakeDeclarationsSeen": {
196
+ "type": [
197
+ "boolean",
198
+ "null"
199
+ ]
200
+ },
201
+ "techRecord_adrDetails_brakeDeclarationIssuer": {
202
+ "type": [
203
+ "string",
204
+ "null"
205
+ ]
206
+ },
207
+ "techRecord_adrDetails_brakeEndurance": {
208
+ "type": [
209
+ "boolean",
210
+ "null"
211
+ ]
212
+ },
213
+ "techRecord_adrDetails_weight": {
214
+ "type": [
215
+ "string",
216
+ "null"
217
+ ],
218
+ "maxLength": 8
219
+ },
220
+ "techRecord_adrDetails_declarationsSeen": {
221
+ "type": [
222
+ "boolean",
223
+ "null"
224
+ ]
225
+ },
226
+ "techRecord_adrDetails_additionalNotes_guidanceNotes": {
227
+ "type": [
228
+ "array",
229
+ "null"
230
+ ],
231
+ "items": {
232
+ "type": "string"
233
+ }
234
+ },
235
+ "techRecord_adrDetails_additionalNotes_number": {
236
+ "type": [
237
+ "array",
238
+ "null"
239
+ ],
240
+ "items": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ "techRecord_adrDetails_adrTypeApprovalNo": {
245
+ "type": [
246
+ "string",
247
+ "null"
248
+ ]
249
+ },
250
+ "techRecord_adrDetails_adrCertificateNotes": {
251
+ "type": [
252
+ "string",
253
+ "null"
254
+ ],
255
+ "maxLength": 1500
256
+ },
257
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturer": {
258
+ "type": [
259
+ "string",
260
+ "null"
261
+ ],
262
+ "maxLength": 70
263
+ },
264
+ "techRecord_adrDetails_tank_tankDetails_yearOfManufacture": {
265
+ "type": [
266
+ "integer",
267
+ "null"
268
+ ],
269
+ "maximum": 9999
270
+ },
271
+ "techRecord_adrDetails_tank_tankDetails_tankManufacturerSerialNo": {
272
+ "type": [
273
+ "string",
274
+ "null"
275
+ ],
276
+ "maxLength": 50
277
+ },
278
+ "techRecord_adrDetails_tank_tankDetails_tankTypeAppNo": {
279
+ "type": [
280
+ "string",
281
+ "null"
282
+ ],
283
+ "maxLength": 65
284
+ },
285
+ "techRecord_adrDetails_tank_tankDetails_tankCode": {
286
+ "type": [
287
+ "string",
288
+ "null"
289
+ ],
290
+ "maxLength": 30
291
+ },
292
+ "techRecord_adrDetails_tank_tankDetails_specialProvisions": {
293
+ "type": [
294
+ "string",
295
+ "null"
296
+ ],
297
+ "maxLength": 1024
298
+ },
299
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2Type": {
300
+ "anyOf": [
301
+ {
302
+ "type": "null"
303
+ },
304
+ {
305
+ "title": "TC2 Types",
306
+ "type": "string",
307
+ "enum": [
308
+ "initial"
309
+ ]
310
+ }
311
+ ]
312
+ },
313
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateApprovalNo": {
314
+ "type": [
315
+ "string",
316
+ "null"
317
+ ],
318
+ "maxLength": 70
319
+ },
320
+ "techRecord_adrDetails_tank_tankDetails_tc2Details_tc2IntermediateExpiryDate": {
321
+ "type": [
322
+ "string",
323
+ "null"
324
+ ]
325
+ },
326
+ "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
327
+ "anyOf": [
328
+ {
329
+ "type": "null"
330
+ },
331
+ {
332
+ "title": "TC3 Types",
333
+ "type": "string",
334
+ "enum": [
335
+ "intermediate",
336
+ "periodic",
337
+ "exceptional"
338
+ ]
339
+ }
340
+ ]
341
+ },
342
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
343
+ "type": [
344
+ "string",
345
+ "null"
346
+ ],
347
+ "maxLength": 75
348
+ },
349
+ "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
350
+ "type": [
351
+ "string",
352
+ "null"
353
+ ]
354
+ },
355
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
356
+ "type": [
357
+ "string",
358
+ "null"
359
+ ]
360
+ },
361
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
362
+ "type": [
363
+ "string",
364
+ "null"
365
+ ],
366
+ "maxLength": 1500
367
+ },
368
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListRefNo": {
369
+ "type": [
370
+ "string",
371
+ "null"
372
+ ]
373
+ },
374
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productListUnNo": {
375
+ "type": [
376
+ "array",
377
+ "null"
378
+ ],
379
+ "items": {
380
+ "type": [
381
+ "string"
382
+ ]
383
+ }
384
+ },
385
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_productList": {
386
+ "type": [
387
+ "string",
388
+ "null"
389
+ ],
390
+ "maxLength": 1500
391
+ },
72
392
  "createdTimestamp": {
73
393
  "type": [
74
394
  "string"
@@ -49,6 +49,12 @@
49
49
  "systemNumber": {
50
50
  "type": "string"
51
51
  },
52
+ "techRecord_adrDetails_dangerousGoods": {
53
+ "type": [
54
+ "boolean",
55
+ "null"
56
+ ]
57
+ },
52
58
  "techRecord_adrDetails_vehicleDetails_type": {
53
59
  "type": [
54
60
  "string",
@@ -71,9 +77,22 @@
71
77
  }
72
78
  },
73
79
  "techRecord_adrDetails_compatibilityGroupJ": {
74
- "type": [
75
- "boolean",
76
- "null"
80
+ "anyOf": [
81
+ {
82
+ "type": "null"
83
+ },
84
+ {
85
+ "title": "ADR Compatibility Group J",
86
+ "type": "string",
87
+ "tsEnumNames": [
88
+ "I",
89
+ "E"
90
+ ],
91
+ "enum": [
92
+ "I",
93
+ "E"
94
+ ]
95
+ }
77
96
  ]
78
97
  },
79
98
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -29,6 +29,12 @@
29
29
  "systemNumber": {
30
30
  "type": "string"
31
31
  },
32
+ "techRecord_adrDetails_dangerousGoods": {
33
+ "type": [
34
+ "boolean",
35
+ "null"
36
+ ]
37
+ },
32
38
  "techRecord_adrDetails_vehicleDetails_type": {
33
39
  "type": [
34
40
  "string",
@@ -51,9 +57,22 @@
51
57
  }
52
58
  },
53
59
  "techRecord_adrDetails_compatibilityGroupJ": {
54
- "type": [
55
- "boolean",
56
- "null"
60
+ "anyOf": [
61
+ {
62
+ "type": "null"
63
+ },
64
+ {
65
+ "title": "ADR Compatibility Group J",
66
+ "type": "string",
67
+ "tsEnumNames": [
68
+ "I",
69
+ "E"
70
+ ],
71
+ "enum": [
72
+ "I",
73
+ "E"
74
+ ]
75
+ }
57
76
  ]
58
77
  },
59
78
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -31,6 +31,12 @@
31
31
  "systemNumber": {
32
32
  "type": "string"
33
33
  },
34
+ "techRecord_adrDetails_dangerousGoods": {
35
+ "type": [
36
+ "boolean",
37
+ "null"
38
+ ]
39
+ },
34
40
  "techRecord_adrDetails_vehicleDetails_type": {
35
41
  "type": [
36
42
  "string",
@@ -53,9 +59,22 @@
53
59
  }
54
60
  },
55
61
  "techRecord_adrDetails_compatibilityGroupJ": {
56
- "type": [
57
- "boolean",
58
- "null"
62
+ "anyOf": [
63
+ {
64
+ "type": "null"
65
+ },
66
+ {
67
+ "title": "ADR Compatibility Group J",
68
+ "type": "string",
69
+ "tsEnumNames": [
70
+ "I",
71
+ "E"
72
+ ],
73
+ "enum": [
74
+ "I",
75
+ "E"
76
+ ]
77
+ }
59
78
  ]
60
79
  },
61
80
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -55,6 +55,12 @@
55
55
  "null"
56
56
  ]
57
57
  },
58
+ "techRecord_adrDetails_dangerousGoods": {
59
+ "type": [
60
+ "boolean",
61
+ "null"
62
+ ]
63
+ },
58
64
  "techRecord_adrDetails_vehicleDetails_type": {
59
65
  "type": [
60
66
  "string",
@@ -77,9 +83,22 @@
77
83
  }
78
84
  },
79
85
  "techRecord_adrDetails_compatibilityGroupJ": {
80
- "type": [
81
- "boolean",
82
- "null"
86
+ "anyOf": [
87
+ {
88
+ "type": "null"
89
+ },
90
+ {
91
+ "title": "ADR Compatibility Group J",
92
+ "type": "string",
93
+ "tsEnumNames": [
94
+ "I",
95
+ "E"
96
+ ],
97
+ "enum": [
98
+ "I",
99
+ "E"
100
+ ]
101
+ }
83
102
  ]
84
103
  },
85
104
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -23,6 +23,12 @@
23
23
  "null"
24
24
  ]
25
25
  },
26
+ "techRecord_adrDetails_dangerousGoods": {
27
+ "type": [
28
+ "boolean",
29
+ "null"
30
+ ]
31
+ },
26
32
  "techRecord_adrDetails_vehicleDetails_type": {
27
33
  "type": [
28
34
  "string",
@@ -45,9 +51,22 @@
45
51
  }
46
52
  },
47
53
  "techRecord_adrDetails_compatibilityGroupJ": {
48
- "type": [
49
- "boolean",
50
- "null"
54
+ "anyOf": [
55
+ {
56
+ "type": "null"
57
+ },
58
+ {
59
+ "title": "ADR Compatibility Group J",
60
+ "type": "string",
61
+ "tsEnumNames": [
62
+ "I",
63
+ "E"
64
+ ],
65
+ "enum": [
66
+ "I",
67
+ "E"
68
+ ]
69
+ }
51
70
  ]
52
71
  },
53
72
  "techRecord_adrDetails_additionalExaminerNotes": {
@@ -25,6 +25,12 @@
25
25
  "null"
26
26
  ]
27
27
  },
28
+ "techRecord_adrDetails_dangerousGoods": {
29
+ "type": [
30
+ "boolean",
31
+ "null"
32
+ ]
33
+ },
28
34
  "techRecord_adrDetails_vehicleDetails_type": {
29
35
  "type": [
30
36
  "string",
@@ -47,9 +53,22 @@
47
53
  }
48
54
  },
49
55
  "techRecord_adrDetails_compatibilityGroupJ": {
50
- "type": [
51
- "boolean",
52
- "null"
56
+ "anyOf": [
57
+ {
58
+ "type": "null"
59
+ },
60
+ {
61
+ "title": "ADR Compatibility Group J",
62
+ "type": "string",
63
+ "tsEnumNames": [
64
+ "I",
65
+ "E"
66
+ ],
67
+ "enum": [
68
+ "I",
69
+ "E"
70
+ ]
71
+ }
53
72
  ]
54
73
  },
55
74
  "techRecord_adrDetails_additionalExaminerNotes": {