@dvsa/cvs-type-definitions 4.1.0 → 4.2.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 (39) hide show
  1. package/json-schemas/v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.json +12 -0
  2. package/json-schemas/v3/tech-record/get/hgv/complete/index.json +50 -2
  3. package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +50 -2
  4. package/json-schemas/v3/tech-record/get/hgv/testable/index.json +50 -2
  5. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +50 -2
  6. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +50 -2
  7. package/json-schemas/v3/tech-record/get/trl/complete/index.json +50 -2
  8. package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +50 -2
  9. package/json-schemas/v3/tech-record/get/trl/testable/index.json +50 -2
  10. package/json-schemas/v3/tech-record/put/hgv/complete/index.json +50 -2
  11. package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +50 -2
  12. package/json-schemas/v3/tech-record/put/hgv/testable/index.json +50 -2
  13. package/json-schemas/v3/tech-record/put/lgv/complete/index.json +50 -2
  14. package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +50 -2
  15. package/json-schemas/v3/tech-record/put/trl/complete/index.json +50 -2
  16. package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +50 -2
  17. package/json-schemas/v3/tech-record/put/trl/testable/index.json +50 -2
  18. package/package.json +1 -1
  19. package/schemas.d.ts +1 -1
  20. package/schemas.js +1 -0
  21. package/types/v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.d.ts +9 -0
  22. package/types/v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.js +14 -0
  23. package/types/v3/tech-record/enums/adrTankDetailsTankStatementSelect.enum.ts +11 -0
  24. package/types/v3/tech-record/get/hgv/complete/index.d.ts +11 -1
  25. package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +11 -1
  26. package/types/v3/tech-record/get/hgv/testable/index.d.ts +11 -1
  27. package/types/v3/tech-record/get/lgv/complete/index.d.ts +11 -1
  28. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +11 -1
  29. package/types/v3/tech-record/get/trl/complete/index.d.ts +11 -1
  30. package/types/v3/tech-record/get/trl/skeleton/index.d.ts +11 -1
  31. package/types/v3/tech-record/get/trl/testable/index.d.ts +11 -1
  32. package/types/v3/tech-record/put/hgv/complete/index.d.ts +11 -1
  33. package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +11 -1
  34. package/types/v3/tech-record/put/hgv/testable/index.d.ts +11 -1
  35. package/types/v3/tech-record/put/lgv/complete/index.d.ts +11 -1
  36. package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +11 -1
  37. package/types/v3/tech-record/put/trl/complete/index.d.ts +11 -1
  38. package/types/v3/tech-record/put/trl/skeleton/index.d.ts +11 -1
  39. package/types/v3/tech-record/put/trl/testable/index.d.ts +11 -1
@@ -0,0 +1,12 @@
1
+ {
2
+ "title": "ADR Tank Details Tank Statement Select",
3
+ "type": "string",
4
+ "tsEnumNames": [
5
+ "STATEMENT",
6
+ "PRODUCT_LIST"
7
+ ],
8
+ "enum": [
9
+ "Statement",
10
+ "Product list"
11
+ ]
12
+ }
@@ -120,10 +120,39 @@
120
120
  },
121
121
  "techRecord_adrDetails_additionalExaminerNotes": {
122
122
  "type": [
123
- "string",
123
+ "array",
124
124
  "null"
125
125
  ],
126
- "maxLength": 1024
126
+ "items": {
127
+ "title": "Additional Examiner Notes",
128
+ "additionalProperties": false,
129
+ "properties": {
130
+ "note": {
131
+ "type": [
132
+ "string",
133
+ "null"
134
+ ],
135
+ "maxLength": 1024
136
+ },
137
+ "createdAtDate": {
138
+ "anyOf": [
139
+ {
140
+ "type": "string",
141
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
142
+ },
143
+ {
144
+ "type": "null"
145
+ }
146
+ ]
147
+ },
148
+ "lastUpdatedBy": {
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ]
153
+ }
154
+ }
155
+ }
127
156
  },
128
157
  "techRecord_adrDetails_applicantDetails_name": {
129
158
  "type": [
@@ -390,6 +419,25 @@
390
419
  "null"
391
420
  ]
392
421
  },
422
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
423
+ "anyOf": [
424
+ {
425
+ "type": "null"
426
+ },
427
+ {
428
+ "title": "ADR Tank Details Tank Statement Select",
429
+ "type": "string",
430
+ "tsEnumNames": [
431
+ "STATEMENT",
432
+ "PRODUCT_LIST"
433
+ ],
434
+ "enum": [
435
+ "Statement",
436
+ "Product list"
437
+ ]
438
+ }
439
+ ]
440
+ },
393
441
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
394
442
  "type": [
395
443
  "string",
@@ -90,10 +90,39 @@
90
90
  },
91
91
  "techRecord_adrDetails_additionalExaminerNotes": {
92
92
  "type": [
93
- "string",
93
+ "array",
94
94
  "null"
95
95
  ],
96
- "maxLength": 1024
96
+ "items": {
97
+ "title": "Additional Examiner Notes",
98
+ "additionalProperties": false,
99
+ "properties": {
100
+ "note": {
101
+ "type": [
102
+ "string",
103
+ "null"
104
+ ],
105
+ "maxLength": 1024
106
+ },
107
+ "createdAtDate": {
108
+ "anyOf": [
109
+ {
110
+ "type": "string",
111
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
112
+ },
113
+ {
114
+ "type": "null"
115
+ }
116
+ ]
117
+ },
118
+ "lastUpdatedBy": {
119
+ "type": [
120
+ "string",
121
+ "null"
122
+ ]
123
+ }
124
+ }
125
+ }
97
126
  },
98
127
  "techRecord_adrDetails_applicantDetails_name": {
99
128
  "type": [
@@ -360,6 +389,25 @@
360
389
  "null"
361
390
  ]
362
391
  },
392
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
393
+ "anyOf": [
394
+ {
395
+ "type": "null"
396
+ },
397
+ {
398
+ "title": "ADR Tank Details Tank Statement Select",
399
+ "type": "string",
400
+ "tsEnumNames": [
401
+ "STATEMENT",
402
+ "PRODUCT_LIST"
403
+ ],
404
+ "enum": [
405
+ "Statement",
406
+ "Product list"
407
+ ]
408
+ }
409
+ ]
410
+ },
363
411
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
364
412
  "type": [
365
413
  "string",
@@ -94,10 +94,39 @@
94
94
  },
95
95
  "techRecord_adrDetails_additionalExaminerNotes": {
96
96
  "type": [
97
- "string",
97
+ "array",
98
98
  "null"
99
99
  ],
100
- "maxLength": 1024
100
+ "items": {
101
+ "title": "Additional Examiner Notes",
102
+ "additionalProperties": false,
103
+ "properties": {
104
+ "note": {
105
+ "type": [
106
+ "string",
107
+ "null"
108
+ ],
109
+ "maxLength": 1024
110
+ },
111
+ "createdAtDate": {
112
+ "anyOf": [
113
+ {
114
+ "type": "string",
115
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
116
+ },
117
+ {
118
+ "type": "null"
119
+ }
120
+ ]
121
+ },
122
+ "lastUpdatedBy": {
123
+ "type": [
124
+ "string",
125
+ "null"
126
+ ]
127
+ }
128
+ }
129
+ }
101
130
  },
102
131
  "techRecord_adrDetails_applicantDetails_name": {
103
132
  "type": [
@@ -364,6 +393,25 @@
364
393
  "null"
365
394
  ]
366
395
  },
396
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
397
+ "anyOf": [
398
+ {
399
+ "type": "null"
400
+ },
401
+ {
402
+ "title": "ADR Tank Details Tank Statement Select",
403
+ "type": "string",
404
+ "tsEnumNames": [
405
+ "STATEMENT",
406
+ "PRODUCT_LIST"
407
+ ],
408
+ "enum": [
409
+ "Statement",
410
+ "Product list"
411
+ ]
412
+ }
413
+ ]
414
+ },
367
415
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
368
416
  "type": [
369
417
  "string",
@@ -125,10 +125,39 @@
125
125
  },
126
126
  "techRecord_adrDetails_additionalExaminerNotes": {
127
127
  "type": [
128
- "string",
128
+ "array",
129
129
  "null"
130
130
  ],
131
- "maxLength": 1024
131
+ "items": {
132
+ "title": "Additional Examiner Notes",
133
+ "additionalProperties": false,
134
+ "properties": {
135
+ "note": {
136
+ "type": [
137
+ "string",
138
+ "null"
139
+ ],
140
+ "maxLength": 1024
141
+ },
142
+ "createdAtDate": {
143
+ "anyOf": [
144
+ {
145
+ "type": "string",
146
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
147
+ },
148
+ {
149
+ "type": "null"
150
+ }
151
+ ]
152
+ },
153
+ "lastUpdatedBy": {
154
+ "type": [
155
+ "string",
156
+ "null"
157
+ ]
158
+ }
159
+ }
160
+ }
132
161
  },
133
162
  "techRecord_adrDetails_applicantDetails_name": {
134
163
  "type": [
@@ -395,6 +424,25 @@
395
424
  "null"
396
425
  ]
397
426
  },
427
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
428
+ "anyOf": [
429
+ {
430
+ "type": "null"
431
+ },
432
+ {
433
+ "title": "ADR Tank Details Tank Statement Select",
434
+ "type": "string",
435
+ "tsEnumNames": [
436
+ "STATEMENT",
437
+ "PRODUCT_LIST"
438
+ ],
439
+ "enum": [
440
+ "Statement",
441
+ "Product list"
442
+ ]
443
+ }
444
+ ]
445
+ },
398
446
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
399
447
  "type": [
400
448
  "string",
@@ -122,10 +122,39 @@
122
122
  },
123
123
  "techRecord_adrDetails_additionalExaminerNotes": {
124
124
  "type": [
125
- "string",
125
+ "array",
126
126
  "null"
127
127
  ],
128
- "maxLength": 1024
128
+ "items": {
129
+ "title": "Additional Examiner Notes",
130
+ "additionalProperties": false,
131
+ "properties": {
132
+ "note": {
133
+ "type": [
134
+ "string",
135
+ "null"
136
+ ],
137
+ "maxLength": 1024
138
+ },
139
+ "createdAtDate": {
140
+ "anyOf": [
141
+ {
142
+ "type": "string",
143
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
144
+ },
145
+ {
146
+ "type": "null"
147
+ }
148
+ ]
149
+ },
150
+ "lastUpdatedBy": {
151
+ "type": [
152
+ "string",
153
+ "null"
154
+ ]
155
+ }
156
+ }
157
+ }
129
158
  },
130
159
  "techRecord_adrDetails_applicantDetails_name": {
131
160
  "type": [
@@ -392,6 +421,25 @@
392
421
  "null"
393
422
  ]
394
423
  },
424
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
425
+ "anyOf": [
426
+ {
427
+ "type": "null"
428
+ },
429
+ {
430
+ "title": "ADR Tank Details Tank Statement Select",
431
+ "type": "string",
432
+ "tsEnumNames": [
433
+ "STATEMENT",
434
+ "PRODUCT_LIST"
435
+ ],
436
+ "enum": [
437
+ "Statement",
438
+ "Product list"
439
+ ]
440
+ }
441
+ ]
442
+ },
395
443
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
396
444
  "type": [
397
445
  "string",
@@ -102,10 +102,39 @@
102
102
  },
103
103
  "techRecord_adrDetails_additionalExaminerNotes": {
104
104
  "type": [
105
- "string",
105
+ "array",
106
106
  "null"
107
107
  ],
108
- "maxLength": 1024
108
+ "items": {
109
+ "title": "Additional Examiner Notes",
110
+ "additionalProperties": false,
111
+ "properties": {
112
+ "note": {
113
+ "type": [
114
+ "string",
115
+ "null"
116
+ ],
117
+ "maxLength": 1024
118
+ },
119
+ "createdAtDate": {
120
+ "anyOf": [
121
+ {
122
+ "type": "string",
123
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
124
+ },
125
+ {
126
+ "type": "null"
127
+ }
128
+ ]
129
+ },
130
+ "lastUpdatedBy": {
131
+ "type": [
132
+ "string",
133
+ "null"
134
+ ]
135
+ }
136
+ }
137
+ }
109
138
  },
110
139
  "techRecord_adrDetails_applicantDetails_name": {
111
140
  "type": [
@@ -372,6 +401,25 @@
372
401
  "null"
373
402
  ]
374
403
  },
404
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
405
+ "anyOf": [
406
+ {
407
+ "type": "null"
408
+ },
409
+ {
410
+ "title": "ADR Tank Details Tank Statement Select",
411
+ "type": "string",
412
+ "tsEnumNames": [
413
+ "STATEMENT",
414
+ "PRODUCT_LIST"
415
+ ],
416
+ "enum": [
417
+ "Statement",
418
+ "Product list"
419
+ ]
420
+ }
421
+ ]
422
+ },
375
423
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
376
424
  "type": [
377
425
  "string",
@@ -82,10 +82,39 @@
82
82
  },
83
83
  "techRecord_adrDetails_additionalExaminerNotes": {
84
84
  "type": [
85
- "string",
85
+ "array",
86
86
  "null"
87
87
  ],
88
- "maxLength": 1024
88
+ "items": {
89
+ "title": "Additional Examiner Notes",
90
+ "additionalProperties": false,
91
+ "properties": {
92
+ "note": {
93
+ "type": [
94
+ "string",
95
+ "null"
96
+ ],
97
+ "maxLength": 1024
98
+ },
99
+ "createdAtDate": {
100
+ "anyOf": [
101
+ {
102
+ "type": "string",
103
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
104
+ },
105
+ {
106
+ "type": "null"
107
+ }
108
+ ]
109
+ },
110
+ "lastUpdatedBy": {
111
+ "type": [
112
+ "string",
113
+ "null"
114
+ ]
115
+ }
116
+ }
117
+ }
89
118
  },
90
119
  "techRecord_adrDetails_applicantDetails_name": {
91
120
  "type": [
@@ -352,6 +381,25 @@
352
381
  "null"
353
382
  ]
354
383
  },
384
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
385
+ "anyOf": [
386
+ {
387
+ "type": "null"
388
+ },
389
+ {
390
+ "title": "ADR Tank Details Tank Statement Select",
391
+ "type": "string",
392
+ "tsEnumNames": [
393
+ "STATEMENT",
394
+ "PRODUCT_LIST"
395
+ ],
396
+ "enum": [
397
+ "Statement",
398
+ "Product list"
399
+ ]
400
+ }
401
+ ]
402
+ },
355
403
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
356
404
  "type": [
357
405
  "string",
@@ -84,10 +84,39 @@
84
84
  },
85
85
  "techRecord_adrDetails_additionalExaminerNotes": {
86
86
  "type": [
87
- "string",
87
+ "array",
88
88
  "null"
89
89
  ],
90
- "maxLength": 1024
90
+ "items": {
91
+ "title": "Additional Examiner Notes",
92
+ "additionalProperties": false,
93
+ "properties": {
94
+ "note": {
95
+ "type": [
96
+ "string",
97
+ "null"
98
+ ],
99
+ "maxLength": 1024
100
+ },
101
+ "createdAtDate": {
102
+ "anyOf": [
103
+ {
104
+ "type": "string",
105
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
106
+ },
107
+ {
108
+ "type": "null"
109
+ }
110
+ ]
111
+ },
112
+ "lastUpdatedBy": {
113
+ "type": [
114
+ "string",
115
+ "null"
116
+ ]
117
+ }
118
+ }
119
+ }
91
120
  },
92
121
  "techRecord_adrDetails_applicantDetails_name": {
93
122
  "type": [
@@ -354,6 +383,25 @@
354
383
  "null"
355
384
  ]
356
385
  },
386
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
387
+ "anyOf": [
388
+ {
389
+ "type": "null"
390
+ },
391
+ {
392
+ "title": "ADR Tank Details Tank Statement Select",
393
+ "type": "string",
394
+ "tsEnumNames": [
395
+ "STATEMENT",
396
+ "PRODUCT_LIST"
397
+ ],
398
+ "enum": [
399
+ "Statement",
400
+ "Product list"
401
+ ]
402
+ }
403
+ ]
404
+ },
357
405
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
358
406
  "type": [
359
407
  "string",
@@ -108,10 +108,39 @@
108
108
  },
109
109
  "techRecord_adrDetails_additionalExaminerNotes": {
110
110
  "type": [
111
- "string",
111
+ "array",
112
112
  "null"
113
113
  ],
114
- "maxLength": 1024
114
+ "items": {
115
+ "title": "Additional Examiner Notes",
116
+ "additionalProperties": false,
117
+ "properties": {
118
+ "note": {
119
+ "type": [
120
+ "string",
121
+ "null"
122
+ ],
123
+ "maxLength": 1024
124
+ },
125
+ "createdAtDate": {
126
+ "anyOf": [
127
+ {
128
+ "type": "string",
129
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
130
+ },
131
+ {
132
+ "type": "null"
133
+ }
134
+ ]
135
+ },
136
+ "lastUpdatedBy": {
137
+ "type": [
138
+ "string",
139
+ "null"
140
+ ]
141
+ }
142
+ }
143
+ }
115
144
  },
116
145
  "techRecord_adrDetails_applicantDetails_name": {
117
146
  "type": [
@@ -378,6 +407,25 @@
378
407
  "null"
379
408
  ]
380
409
  },
410
+ "techRecord_adrDetails_tank_tankDetails_tankStatement_select": {
411
+ "anyOf": [
412
+ {
413
+ "type": "null"
414
+ },
415
+ {
416
+ "title": "ADR Tank Details Tank Statement Select",
417
+ "type": "string",
418
+ "tsEnumNames": [
419
+ "STATEMENT",
420
+ "PRODUCT_LIST"
421
+ ],
422
+ "enum": [
423
+ "Statement",
424
+ "Product list"
425
+ ]
426
+ }
427
+ ]
428
+ },
381
429
  "techRecord_adrDetails_tank_tankDetails_tankStatement_statement": {
382
430
  "type": [
383
431
  "string",