@dvsa/cvs-type-definitions 2.0.18 → 2.0.19

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 (37) hide show
  1. package/json-schemas/v3/tech-record/get/car/complete/index.json +2 -1
  2. package/json-schemas/v3/tech-record/get/car/skeleton/index.json +2 -1
  3. package/json-schemas/v3/tech-record/get/lgv/complete/index.json +2 -1
  4. package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +2 -1
  5. package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +2 -1
  6. package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +2 -1
  7. package/json-schemas/v3/tech-record/put/car/complete/{request/index.json → index.json} +2 -1
  8. package/json-schemas/v3/tech-record/put/car/skeleton/{request/index.json → index.json} +4 -0
  9. package/json-schemas/v3/tech-record/put/lgv/complete/{request/index.json → index.json} +2 -1
  10. package/json-schemas/v3/tech-record/put/lgv/skeleton/{request/index.json → index.json} +4 -0
  11. package/package.json +1 -1
  12. package/schemas.d.ts +1 -1
  13. package/schemas.js +7 -11
  14. package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
  15. package/types/v3/tech-record/get/car/skeleton/index.d.ts +1 -1
  16. package/types/v3/tech-record/get/lgv/complete/index.d.ts +1 -1
  17. package/types/v3/tech-record/get/lgv/skeleton/index.d.ts +1 -1
  18. package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
  19. package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +1 -1
  20. package/types/v3/tech-record/put/car/complete/{request/index.d.ts → index.d.ts} +1 -1
  21. package/types/v3/tech-record/put/car/skeleton/{request/index.d.ts → index.d.ts} +1 -1
  22. package/types/v3/tech-record/put/lgv/complete/{request/index.d.ts → index.d.ts} +1 -1
  23. package/types/v3/tech-record/put/lgv/skeleton/{request/index.d.ts → index.d.ts} +1 -1
  24. package/json-schemas/v3/tech-record/put/car/complete/response/index.json +0 -237
  25. package/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +0 -216
  26. package/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +0 -247
  27. package/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +0 -223
  28. package/types/v3/tech-record/put/car/complete/response/index.d.ts +0 -75
  29. package/types/v3/tech-record/put/car/skeleton/response/index.d.ts +0 -75
  30. package/types/v3/tech-record/put/lgv/complete/response/index.d.ts +0 -76
  31. package/types/v3/tech-record/put/lgv/skeleton/response/index.d.ts +0 -76
  32. /package/json-schemas/v3/tech-record/{post → put}/psv/complete/index.json +0 -0
  33. /package/json-schemas/v3/tech-record/{post → put}/psv/skeleton/index.json +0 -0
  34. /package/json-schemas/v3/tech-record/{post → put}/psv/testable/index.json +0 -0
  35. /package/types/v3/tech-record/{post → put}/psv/complete/index.d.ts +0 -0
  36. /package/types/v3/tech-record/{post → put}/psv/skeleton/index.d.ts +0 -0
  37. /package/types/v3/tech-record/{post → put}/psv/testable/index.d.ts +0 -0
@@ -1,216 +0,0 @@
1
- {
2
- "title": "Tech Record PUT Response Skeleton Car Schema",
3
- "type": "object",
4
- "additionalProperties": true,
5
- "required": [
6
- "createdTimestamp",
7
- "systemNumber"
8
- ],
9
- "properties": {
10
- "techRecord_applicantDetails_name": {
11
- "type": [
12
- "string",
13
- "null"
14
- ],
15
- "maxLength": 150
16
- },
17
- "techRecord_applicantDetails_address1": {
18
- "type": [
19
- "null",
20
- "string"
21
- ],
22
- "maxLength": 60
23
- },
24
- "techRecord_applicantDetails_address2": {
25
- "type": [
26
- "null",
27
- "string"
28
- ],
29
- "maxLength": 60
30
- },
31
- "techRecord_applicantDetails_postTown": {
32
- "type": [
33
- "null",
34
- "string"
35
- ],
36
- "maxLength": 60
37
- },
38
- "techRecord_applicantDetails_address3": {
39
- "type": [
40
- "null",
41
- "string"
42
- ],
43
- "maxLength": 60
44
- },
45
- "techRecord_applicantDetails_postCode": {
46
- "type": [
47
- "null",
48
- "string"
49
- ],
50
- "maxLength": 12
51
- },
52
- "techRecord_applicantDetails_telephoneNumber": {
53
- "type": [
54
- "null",
55
- "string"
56
- ],
57
- "maxLength": 25
58
- },
59
- "techRecord_applicantDetails_emailAddress": {
60
- "type": [
61
- "null",
62
- "string"
63
- ],
64
- "maxLength": 255
65
- },
66
- "vin": {
67
- "type": "string"
68
- },
69
- "systemNumber": {
70
- "type": "string"
71
- },
72
- "createdTimestamp": {
73
- "type": "string"
74
- },
75
- "partialVin": {
76
- "type": "string"
77
- },
78
- "primaryVrm": {
79
- "type": "string"
80
- },
81
- "techRecord_createdAt": {
82
- "type": "string"
83
- },
84
- "techRecord_createdByName": {
85
- "type": [
86
- "string",
87
- "null"
88
- ]
89
- },
90
- "techRecord_createdById": {
91
- "type": [
92
- "string",
93
- "null"
94
- ]
95
- },
96
- "techRecord_euVehicleCategory": {
97
- "title": "EU vehicle category",
98
- "type": "string",
99
- "enum": [
100
- "m1",
101
- "m2",
102
- "m3",
103
- "n1",
104
- "n2",
105
- "n3",
106
- "o1",
107
- "o2",
108
- "o3",
109
- "o4",
110
- "l1e-a",
111
- "l1e",
112
- "l2e",
113
- "l3e",
114
- "l4e",
115
- "l5e",
116
- "l6e",
117
- "l7e"
118
- ]
119
- },
120
- "techRecord_lastUpdatedAt": {
121
- "type": [
122
- "string",
123
- "null"
124
- ]
125
- },
126
- "techRecord_lastUpdatedByName": {
127
- "type": [
128
- "string",
129
- "null"
130
- ]
131
- },
132
- "techRecord_lastUpdatedById": {
133
- "type": [
134
- "string",
135
- "null"
136
- ]
137
- },
138
- "techRecord_recordCompleteness": {
139
- "type": "string",
140
- "enum": [
141
- "complete",
142
- "testable",
143
- "skeleton"
144
- ]
145
- },
146
- "techRecord_vehicleConfiguration": {
147
- "title": "Vehicle Configuration",
148
- "type": "string",
149
- "enum": [
150
- "rigid",
151
- "articulated",
152
- "centre axle drawbar",
153
- "semi-car transporter",
154
- "semi-trailer",
155
- "long semi-trailer",
156
- "low loader",
157
- "other",
158
- "drawbar",
159
- "four-in-line",
160
- "dolly",
161
- "full drawbar"
162
- ]
163
- },
164
- "techRecord_noOfAxles": {
165
- "type": [
166
- "integer",
167
- "null"
168
- ]
169
- },
170
- "techRecord_manufactureYear": {
171
- "type": [
172
- "integer",
173
- "null"
174
- ]
175
- },
176
- "techRecord_regnDate": {
177
- "type": [
178
- "string",
179
- "null"
180
- ]
181
- },
182
- "techRecord_statusCode": {
183
- "title": "Status Code",
184
- "type": "string",
185
- "enum": [
186
- "provisional",
187
- "current",
188
- "archived"
189
- ]
190
- },
191
- "techRecord_vehicleType": {
192
- "title": "Vehicle Type",
193
- "type": "string",
194
- "enum": [
195
- "psv",
196
- "trl",
197
- "hgv",
198
- "car",
199
- "lgv",
200
- "motorcycle"
201
- ]
202
- },
203
- "techRecord_reasonForCreation": {
204
- "type": [
205
- "string",
206
- "null"
207
- ]
208
- },
209
- "techRecord_bodyType_code": {
210
- "type": "string"
211
- },
212
- "techRecord_bodyType_description": {
213
- "type": "string"
214
- }
215
- }
216
- }
@@ -1,247 +0,0 @@
1
- {
2
- "title": "Tech Record Complete Car Schema",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "required": [
6
- "vehicleSubclass"
7
- ],
8
- "allOf": [
9
- {
10
- "title": "Tech Record PUT Response Complete Car Schema",
11
- "type": "object",
12
- "additionalProperties": true,
13
- "required": [
14
- "vehicleSubclass",
15
- "createdTimestamp",
16
- "systemNumber"
17
- ],
18
- "properties": {
19
- "techRecord_applicantDetails_name": {
20
- "type": [
21
- "string",
22
- "null"
23
- ],
24
- "maxLength": 150
25
- },
26
- "techRecord_applicantDetails_address1": {
27
- "type": [
28
- "null",
29
- "string"
30
- ],
31
- "maxLength": 60
32
- },
33
- "techRecord_applicantDetails_address2": {
34
- "type": [
35
- "null",
36
- "string"
37
- ],
38
- "maxLength": 60
39
- },
40
- "techRecord_applicantDetails_postTown": {
41
- "type": [
42
- "null",
43
- "string"
44
- ],
45
- "maxLength": 60
46
- },
47
- "techRecord_applicantDetails_address3": {
48
- "type": [
49
- "null",
50
- "string"
51
- ],
52
- "maxLength": 60
53
- },
54
- "techRecord_applicantDetails_postCode": {
55
- "type": [
56
- "null",
57
- "string"
58
- ],
59
- "maxLength": 12
60
- },
61
- "techRecord_applicantDetails_telephoneNumber": {
62
- "type": [
63
- "null",
64
- "string"
65
- ],
66
- "maxLength": 25
67
- },
68
- "techRecord_applicantDetails_emailAddress": {
69
- "type": [
70
- "null",
71
- "string"
72
- ],
73
- "maxLength": 255
74
- },
75
- "vin": {
76
- "type": "string"
77
- },
78
- "systemNumber": {
79
- "type": "string"
80
- },
81
- "createdTimestamp": {
82
- "type": "string"
83
- },
84
- "partialVin": {
85
- "type": "string"
86
- },
87
- "primaryVrm": {
88
- "type": "string"
89
- },
90
- "techRecord_createdAt": {
91
- "type": "string"
92
- },
93
- "techRecord_createdByName": {
94
- "type": [
95
- "string",
96
- "null"
97
- ]
98
- },
99
- "techRecord_createdById": {
100
- "type": [
101
- "string",
102
- "null"
103
- ]
104
- },
105
- "techRecord_euVehicleCategory": {
106
- "title": "EU vehicle category",
107
- "type": "string",
108
- "enum": [
109
- "m1",
110
- "m2",
111
- "m3",
112
- "n1",
113
- "n2",
114
- "n3",
115
- "o1",
116
- "o2",
117
- "o3",
118
- "o4",
119
- "l1e-a",
120
- "l1e",
121
- "l2e",
122
- "l3e",
123
- "l4e",
124
- "l5e",
125
- "l6e",
126
- "l7e"
127
- ]
128
- },
129
- "techRecord_lastUpdatedAt": {
130
- "type": [
131
- "string",
132
- "null"
133
- ]
134
- },
135
- "techRecord_lastUpdatedByName": {
136
- "type": [
137
- "string",
138
- "null"
139
- ]
140
- },
141
- "techRecord_lastUpdatedById": {
142
- "type": [
143
- "string",
144
- "null"
145
- ]
146
- },
147
- "techRecord_recordCompleteness": {
148
- "type": "string",
149
- "enum": [
150
- "complete",
151
- "testable",
152
- "skeleton"
153
- ]
154
- },
155
- "techRecord_vehicleConfiguration": {
156
- "title": "Vehicle Configuration",
157
- "type": "string",
158
- "enum": [
159
- "rigid",
160
- "articulated",
161
- "centre axle drawbar",
162
- "semi-car transporter",
163
- "semi-trailer",
164
- "long semi-trailer",
165
- "low loader",
166
- "other",
167
- "drawbar",
168
- "four-in-line",
169
- "dolly",
170
- "full drawbar"
171
- ]
172
- },
173
- "techRecord_noOfAxles": {
174
- "type": [
175
- "integer",
176
- "null"
177
- ]
178
- },
179
- "techRecord_manufactureYear": {
180
- "type": [
181
- "integer",
182
- "null"
183
- ]
184
- },
185
- "techRecord_regnDate": {
186
- "type": [
187
- "string",
188
- "null"
189
- ]
190
- },
191
- "techRecord_statusCode": {
192
- "title": "Status Code",
193
- "type": "string",
194
- "enum": [
195
- "provisional",
196
- "current",
197
- "archived"
198
- ]
199
- },
200
- "techRecord_vehicleType": {
201
- "title": "Vehicle Type",
202
- "type": "string",
203
- "enum": [
204
- "psv",
205
- "trl",
206
- "hgv",
207
- "car",
208
- "lgv",
209
- "motorcycle"
210
- ]
211
- },
212
- "techRecord_reasonForCreation": {
213
- "type": [
214
- "string",
215
- "null"
216
- ]
217
- },
218
- "techRecord_bodyType_code": {
219
- "type": "string"
220
- },
221
- "techRecord_bodyType_description": {
222
- "type": "string"
223
- }
224
- },
225
- "vehicleSubclass": {
226
- "title": "Vehicle Subclass",
227
- "type": "array",
228
- "items": {
229
- "type": "string",
230
- "enum": [
231
- "n",
232
- "p",
233
- "a",
234
- "s",
235
- "c",
236
- "l",
237
- "t",
238
- "e",
239
- "m",
240
- "r",
241
- "w"
242
- ]
243
- }
244
- }
245
- }
246
- ]
247
- }
@@ -1,223 +0,0 @@
1
- {
2
- "title": "Tech Record Complete Car Schema",
3
- "type": "object",
4
- "additionalProperties": false,
5
- "allOf": [
6
- {
7
- "title": "Tech Record PUT Response Skeleton Car Schema",
8
- "type": "object",
9
- "additionalProperties": true,
10
- "required": [
11
- "createdTimestamp",
12
- "systemNumber"
13
- ],
14
- "properties": {
15
- "techRecord_applicantDetails_name": {
16
- "type": [
17
- "string",
18
- "null"
19
- ],
20
- "maxLength": 150
21
- },
22
- "techRecord_applicantDetails_address1": {
23
- "type": [
24
- "null",
25
- "string"
26
- ],
27
- "maxLength": 60
28
- },
29
- "techRecord_applicantDetails_address2": {
30
- "type": [
31
- "null",
32
- "string"
33
- ],
34
- "maxLength": 60
35
- },
36
- "techRecord_applicantDetails_postTown": {
37
- "type": [
38
- "null",
39
- "string"
40
- ],
41
- "maxLength": 60
42
- },
43
- "techRecord_applicantDetails_address3": {
44
- "type": [
45
- "null",
46
- "string"
47
- ],
48
- "maxLength": 60
49
- },
50
- "techRecord_applicantDetails_postCode": {
51
- "type": [
52
- "null",
53
- "string"
54
- ],
55
- "maxLength": 12
56
- },
57
- "techRecord_applicantDetails_telephoneNumber": {
58
- "type": [
59
- "null",
60
- "string"
61
- ],
62
- "maxLength": 25
63
- },
64
- "techRecord_applicantDetails_emailAddress": {
65
- "type": [
66
- "null",
67
- "string"
68
- ],
69
- "maxLength": 255
70
- },
71
- "vin": {
72
- "type": "string"
73
- },
74
- "systemNumber": {
75
- "type": "string"
76
- },
77
- "createdTimestamp": {
78
- "type": "string"
79
- },
80
- "partialVin": {
81
- "type": "string"
82
- },
83
- "primaryVrm": {
84
- "type": "string"
85
- },
86
- "techRecord_createdAt": {
87
- "type": "string"
88
- },
89
- "techRecord_createdByName": {
90
- "type": [
91
- "string",
92
- "null"
93
- ]
94
- },
95
- "techRecord_createdById": {
96
- "type": [
97
- "string",
98
- "null"
99
- ]
100
- },
101
- "techRecord_euVehicleCategory": {
102
- "title": "EU vehicle category",
103
- "type": "string",
104
- "enum": [
105
- "m1",
106
- "m2",
107
- "m3",
108
- "n1",
109
- "n2",
110
- "n3",
111
- "o1",
112
- "o2",
113
- "o3",
114
- "o4",
115
- "l1e-a",
116
- "l1e",
117
- "l2e",
118
- "l3e",
119
- "l4e",
120
- "l5e",
121
- "l6e",
122
- "l7e"
123
- ]
124
- },
125
- "techRecord_lastUpdatedAt": {
126
- "type": [
127
- "string",
128
- "null"
129
- ]
130
- },
131
- "techRecord_lastUpdatedByName": {
132
- "type": [
133
- "string",
134
- "null"
135
- ]
136
- },
137
- "techRecord_lastUpdatedById": {
138
- "type": [
139
- "string",
140
- "null"
141
- ]
142
- },
143
- "techRecord_recordCompleteness": {
144
- "type": "string",
145
- "enum": [
146
- "complete",
147
- "testable",
148
- "skeleton"
149
- ]
150
- },
151
- "techRecord_vehicleConfiguration": {
152
- "title": "Vehicle Configuration",
153
- "type": "string",
154
- "enum": [
155
- "rigid",
156
- "articulated",
157
- "centre axle drawbar",
158
- "semi-car transporter",
159
- "semi-trailer",
160
- "long semi-trailer",
161
- "low loader",
162
- "other",
163
- "drawbar",
164
- "four-in-line",
165
- "dolly",
166
- "full drawbar"
167
- ]
168
- },
169
- "techRecord_noOfAxles": {
170
- "type": [
171
- "integer",
172
- "null"
173
- ]
174
- },
175
- "techRecord_manufactureYear": {
176
- "type": [
177
- "integer",
178
- "null"
179
- ]
180
- },
181
- "techRecord_regnDate": {
182
- "type": [
183
- "string",
184
- "null"
185
- ]
186
- },
187
- "techRecord_statusCode": {
188
- "title": "Status Code",
189
- "type": "string",
190
- "enum": [
191
- "provisional",
192
- "current",
193
- "archived"
194
- ]
195
- },
196
- "techRecord_vehicleType": {
197
- "title": "Vehicle Type",
198
- "type": "string",
199
- "enum": [
200
- "psv",
201
- "trl",
202
- "hgv",
203
- "car",
204
- "lgv",
205
- "motorcycle"
206
- ]
207
- },
208
- "techRecord_reasonForCreation": {
209
- "type": [
210
- "string",
211
- "null"
212
- ]
213
- },
214
- "techRecord_bodyType_code": {
215
- "type": "string"
216
- },
217
- "techRecord_bodyType_description": {
218
- "type": "string"
219
- }
220
- }
221
- }
222
- ]
223
- }