@dvsa/cvs-type-definitions 3.7.0 → 4.0.1

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 (35) hide show
  1. package/json-schemas/iva/defects/get/index.json +15 -21
  2. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +38 -25
  3. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +38 -25
  4. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +38 -25
  5. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +38 -25
  6. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +38 -25
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +38 -25
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +38 -25
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +38 -25
  10. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +38 -25
  11. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +38 -25
  12. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +38 -25
  13. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +38 -25
  14. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +38 -25
  15. package/json-schemas/v3/tech-record/put/trl/complete/index.json +38 -25
  16. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +38 -25
  17. package/json-schemas/v3/tech-record/put/trl/testable/index.json +38 -25
  18. package/package.json +1 -1
  19. package/types/iva/defects/get/index.d.ts +4 -3
  20. package/types/v3/tech-record/get/hgv/complete/index.d.ts +6 -3
  21. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +6 -3
  22. package/types/v3/tech-record/get/hgv/testable/index.d.ts +6 -3
  23. package/types/v3/tech-record/get/lgv/complete/index.d.ts +6 -3
  24. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +6 -3
  25. package/types/v3/tech-record/get/trl/complete/index.d.ts +6 -3
  26. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +6 -3
  27. package/types/v3/tech-record/get/trl/testable/index.d.ts +6 -3
  28. package/types/v3/tech-record/put/hgv/complete/index.d.ts +6 -3
  29. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +6 -3
  30. package/types/v3/tech-record/put/hgv/testable/index.d.ts +6 -3
  31. package/types/v3/tech-record/put/lgv/complete/index.d.ts +6 -3
  32. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +6 -3
  33. package/types/v3/tech-record/put/trl/complete/index.d.ts +6 -3
  34. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +6 -3
  35. package/types/v3/tech-record/put/trl/testable/index.d.ts +6 -3
@@ -20,25 +20,6 @@
20
20
  "string"
21
21
  ]
22
22
  },
23
- "vehicleTypes": {
24
- "type": "array",
25
- "items": {
26
- "anyOf": [
27
- {
28
- "title": "Vehicle Type",
29
- "type": "string",
30
- "enum": [
31
- "psv",
32
- "trl",
33
- "hgv",
34
- "car",
35
- "lgv",
36
- "motorcycle"
37
- ]
38
- }
39
- ]
40
- }
41
- },
42
23
  "euVehicleCategories": {
43
24
  "type": "array",
44
25
  "items": {
@@ -99,8 +80,7 @@
99
80
  "rsNumber",
100
81
  "requiredStandard",
101
82
  "refCalculation",
102
- "additionalInfo",
103
- "inspectionTypes"
83
+ "additionalInfo"
104
84
  ],
105
85
  "properties": {
106
86
  "rsNumber": {
@@ -140,6 +120,20 @@
140
120
  }
141
121
  }
142
122
  }
123
+ },
124
+ "additionalInformation": {
125
+ "type": "object",
126
+ "additionalProperties": false,
127
+ "required": [
128
+ "notes"
129
+ ],
130
+ "properties": {
131
+ "notes": {
132
+ "type": [
133
+ "string"
134
+ ]
135
+ }
136
+ }
143
137
  }
144
138
  }
145
139
  }
@@ -321,34 +321,47 @@
321
321
  "null"
322
322
  ]
323
323
  },
324
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
325
- "anyOf": [
326
- {
327
- "type": "null"
328
- },
329
- {
330
- "title": "TC3 Types",
331
- "type": "string",
332
- "enum": [
333
- "intermediate",
334
- "periodic",
335
- "exceptional"
336
- ]
337
- }
338
- ]
339
- },
340
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
324
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
341
325
  "type": [
342
- "string",
326
+ "array",
343
327
  "null"
344
328
  ],
345
- "maxLength": 75
346
- },
347
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
348
- "type": [
349
- "string",
350
- "null"
351
- ]
329
+ "items": {
330
+ "type": "object",
331
+ "title": "TC3 Details",
332
+ "additionalProperties": false,
333
+ "properties": {
334
+ "tc3Type": {
335
+ "anyOf": [
336
+ {
337
+ "type": "null"
338
+ },
339
+ {
340
+ "title": "TC3 Types",
341
+ "type": "string",
342
+ "enum": [
343
+ "intermediate",
344
+ "periodic",
345
+ "exceptional"
346
+ ]
347
+ }
348
+ ]
349
+ },
350
+ "tc3Type_tc3PeriodicNumber": {
351
+ "type": [
352
+ "string",
353
+ "null"
354
+ ],
355
+ "maxLength": 75
356
+ },
357
+ "tc3Type_tc3PeriodicExpiryDate": {
358
+ "type": [
359
+ "string",
360
+ "null"
361
+ ]
362
+ }
363
+ }
364
+ }
352
365
  },
353
366
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
354
367
  "type": [
@@ -291,34 +291,47 @@
291
291
  "null"
292
292
  ]
293
293
  },
294
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
295
- "anyOf": [
296
- {
297
- "type": "null"
298
- },
299
- {
300
- "title": "TC3 Types",
301
- "type": "string",
302
- "enum": [
303
- "intermediate",
304
- "periodic",
305
- "exceptional"
306
- ]
307
- }
308
- ]
309
- },
310
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
294
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
311
295
  "type": [
312
- "string",
296
+ "array",
313
297
  "null"
314
298
  ],
315
- "maxLength": 75
316
- },
317
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
318
- "type": [
319
- "string",
320
- "null"
321
- ]
299
+ "items": {
300
+ "type": "object",
301
+ "title": "TC3 Details",
302
+ "additionalProperties": false,
303
+ "properties": {
304
+ "tc3Type": {
305
+ "anyOf": [
306
+ {
307
+ "type": "null"
308
+ },
309
+ {
310
+ "title": "TC3 Types",
311
+ "type": "string",
312
+ "enum": [
313
+ "intermediate",
314
+ "periodic",
315
+ "exceptional"
316
+ ]
317
+ }
318
+ ]
319
+ },
320
+ "tc3Type_tc3PeriodicNumber": {
321
+ "type": [
322
+ "string",
323
+ "null"
324
+ ],
325
+ "maxLength": 75
326
+ },
327
+ "tc3Type_tc3PeriodicExpiryDate": {
328
+ "type": [
329
+ "string",
330
+ "null"
331
+ ]
332
+ }
333
+ }
334
+ }
322
335
  },
323
336
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
324
337
  "type": [
@@ -295,34 +295,47 @@
295
295
  "null"
296
296
  ]
297
297
  },
298
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
299
- "anyOf": [
300
- {
301
- "type": "null"
302
- },
303
- {
304
- "title": "TC3 Types",
305
- "type": "string",
306
- "enum": [
307
- "intermediate",
308
- "periodic",
309
- "exceptional"
310
- ]
311
- }
312
- ]
313
- },
314
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
298
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
315
299
  "type": [
316
- "string",
300
+ "array",
317
301
  "null"
318
302
  ],
319
- "maxLength": 75
320
- },
321
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
322
- "type": [
323
- "string",
324
- "null"
325
- ]
303
+ "items": {
304
+ "type": "object",
305
+ "title": "TC3 Details",
306
+ "additionalProperties": false,
307
+ "properties": {
308
+ "tc3Type": {
309
+ "anyOf": [
310
+ {
311
+ "type": "null"
312
+ },
313
+ {
314
+ "title": "TC3 Types",
315
+ "type": "string",
316
+ "enum": [
317
+ "intermediate",
318
+ "periodic",
319
+ "exceptional"
320
+ ]
321
+ }
322
+ ]
323
+ },
324
+ "tc3Type_tc3PeriodicNumber": {
325
+ "type": [
326
+ "string",
327
+ "null"
328
+ ],
329
+ "maxLength": 75
330
+ },
331
+ "tc3Type_tc3PeriodicExpiryDate": {
332
+ "type": [
333
+ "string",
334
+ "null"
335
+ ]
336
+ }
337
+ }
338
+ }
326
339
  },
327
340
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
328
341
  "type": [
@@ -326,34 +326,47 @@
326
326
  "null"
327
327
  ]
328
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": {
329
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
346
330
  "type": [
347
- "string",
331
+ "array",
348
332
  "null"
349
333
  ],
350
- "maxLength": 75
351
- },
352
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
353
- "type": [
354
- "string",
355
- "null"
356
- ]
334
+ "items": {
335
+ "type": "object",
336
+ "title": "TC3 Details",
337
+ "additionalProperties": false,
338
+ "properties": {
339
+ "tc3Type": {
340
+ "anyOf": [
341
+ {
342
+ "type": "null"
343
+ },
344
+ {
345
+ "title": "TC3 Types",
346
+ "type": "string",
347
+ "enum": [
348
+ "intermediate",
349
+ "periodic",
350
+ "exceptional"
351
+ ]
352
+ }
353
+ ]
354
+ },
355
+ "tc3Type_tc3PeriodicNumber": {
356
+ "type": [
357
+ "string",
358
+ "null"
359
+ ],
360
+ "maxLength": 75
361
+ },
362
+ "tc3Type_tc3PeriodicExpiryDate": {
363
+ "type": [
364
+ "string",
365
+ "null"
366
+ ]
367
+ }
368
+ }
369
+ }
357
370
  },
358
371
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
359
372
  "type": [
@@ -323,34 +323,47 @@
323
323
  "null"
324
324
  ]
325
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": {
326
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
343
327
  "type": [
344
- "string",
328
+ "array",
345
329
  "null"
346
330
  ],
347
- "maxLength": 75
348
- },
349
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
350
- "type": [
351
- "string",
352
- "null"
353
- ]
331
+ "items": {
332
+ "type": "object",
333
+ "title": "TC3 Details",
334
+ "additionalProperties": false,
335
+ "properties": {
336
+ "tc3Type": {
337
+ "anyOf": [
338
+ {
339
+ "type": "null"
340
+ },
341
+ {
342
+ "title": "TC3 Types",
343
+ "type": "string",
344
+ "enum": [
345
+ "intermediate",
346
+ "periodic",
347
+ "exceptional"
348
+ ]
349
+ }
350
+ ]
351
+ },
352
+ "tc3Type_tc3PeriodicNumber": {
353
+ "type": [
354
+ "string",
355
+ "null"
356
+ ],
357
+ "maxLength": 75
358
+ },
359
+ "tc3Type_tc3PeriodicExpiryDate": {
360
+ "type": [
361
+ "string",
362
+ "null"
363
+ ]
364
+ }
365
+ }
366
+ }
354
367
  },
355
368
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
356
369
  "type": [
@@ -303,34 +303,47 @@
303
303
  "null"
304
304
  ]
305
305
  },
306
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
307
- "anyOf": [
308
- {
309
- "type": "null"
310
- },
311
- {
312
- "title": "TC3 Types",
313
- "type": "string",
314
- "enum": [
315
- "intermediate",
316
- "periodic",
317
- "exceptional"
318
- ]
319
- }
320
- ]
321
- },
322
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
306
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
323
307
  "type": [
324
- "string",
308
+ "array",
325
309
  "null"
326
310
  ],
327
- "maxLength": 75
328
- },
329
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
330
- "type": [
331
- "string",
332
- "null"
333
- ]
311
+ "items": {
312
+ "type": "object",
313
+ "title": "TC3 Details",
314
+ "additionalProperties": false,
315
+ "properties": {
316
+ "tc3Type": {
317
+ "anyOf": [
318
+ {
319
+ "type": "null"
320
+ },
321
+ {
322
+ "title": "TC3 Types",
323
+ "type": "string",
324
+ "enum": [
325
+ "intermediate",
326
+ "periodic",
327
+ "exceptional"
328
+ ]
329
+ }
330
+ ]
331
+ },
332
+ "tc3Type_tc3PeriodicNumber": {
333
+ "type": [
334
+ "string",
335
+ "null"
336
+ ],
337
+ "maxLength": 75
338
+ },
339
+ "tc3Type_tc3PeriodicExpiryDate": {
340
+ "type": [
341
+ "string",
342
+ "null"
343
+ ]
344
+ }
345
+ }
346
+ }
334
347
  },
335
348
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
336
349
  "type": [
@@ -283,34 +283,47 @@
283
283
  "null"
284
284
  ]
285
285
  },
286
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
287
- "anyOf": [
288
- {
289
- "type": "null"
290
- },
291
- {
292
- "title": "TC3 Types",
293
- "type": "string",
294
- "enum": [
295
- "intermediate",
296
- "periodic",
297
- "exceptional"
298
- ]
299
- }
300
- ]
301
- },
302
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
286
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
303
287
  "type": [
304
- "string",
288
+ "array",
305
289
  "null"
306
290
  ],
307
- "maxLength": 75
308
- },
309
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
310
- "type": [
311
- "string",
312
- "null"
313
- ]
291
+ "items": {
292
+ "type": "object",
293
+ "title": "TC3 Details",
294
+ "additionalProperties": false,
295
+ "properties": {
296
+ "tc3Type": {
297
+ "anyOf": [
298
+ {
299
+ "type": "null"
300
+ },
301
+ {
302
+ "title": "TC3 Types",
303
+ "type": "string",
304
+ "enum": [
305
+ "intermediate",
306
+ "periodic",
307
+ "exceptional"
308
+ ]
309
+ }
310
+ ]
311
+ },
312
+ "tc3Type_tc3PeriodicNumber": {
313
+ "type": [
314
+ "string",
315
+ "null"
316
+ ],
317
+ "maxLength": 75
318
+ },
319
+ "tc3Type_tc3PeriodicExpiryDate": {
320
+ "type": [
321
+ "string",
322
+ "null"
323
+ ]
324
+ }
325
+ }
326
+ }
314
327
  },
315
328
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
316
329
  "type": [
@@ -285,34 +285,47 @@
285
285
  "null"
286
286
  ]
287
287
  },
288
- "techRecord_adrDetails_tank_tankDetails_tc3Details_tc3Type": {
289
- "anyOf": [
290
- {
291
- "type": "null"
292
- },
293
- {
294
- "title": "TC3 Types",
295
- "type": "string",
296
- "enum": [
297
- "intermediate",
298
- "periodic",
299
- "exceptional"
300
- ]
301
- }
302
- ]
303
- },
304
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicNumber": {
288
+ "techRecord_adrDetails_tank_tankDetails_tc3Details": {
305
289
  "type": [
306
- "string",
290
+ "array",
307
291
  "null"
308
292
  ],
309
- "maxLength": 75
310
- },
311
- "techRecord_adrDetails_tank_tankDetails_tc3Type_tc3PeriodicExpiryDate": {
312
- "type": [
313
- "string",
314
- "null"
315
- ]
293
+ "items": {
294
+ "type": "object",
295
+ "title": "TC3 Details",
296
+ "additionalProperties": false,
297
+ "properties": {
298
+ "tc3Type": {
299
+ "anyOf": [
300
+ {
301
+ "type": "null"
302
+ },
303
+ {
304
+ "title": "TC3 Types",
305
+ "type": "string",
306
+ "enum": [
307
+ "intermediate",
308
+ "periodic",
309
+ "exceptional"
310
+ ]
311
+ }
312
+ ]
313
+ },
314
+ "tc3Type_tc3PeriodicNumber": {
315
+ "type": [
316
+ "string",
317
+ "null"
318
+ ],
319
+ "maxLength": 75
320
+ },
321
+ "tc3Type_tc3PeriodicExpiryDate": {
322
+ "type": [
323
+ "string",
324
+ "null"
325
+ ]
326
+ }
327
+ }
328
+ }
316
329
  },
317
330
  "techRecord_adrDetails_tank_tankDetails_tankStatement_substancesPermitted": {
318
331
  "type": [