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