@dvsa/cvs-type-definitions 3.0.25 → 3.0.27
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/motorcycle/complete/index.json +21 -0
- package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +21 -0
- package/json-schemas/v3/tech-record/get/small trl/complete/index.json +209 -0
- package/json-schemas/v3/tech-record/get/small trl/skeleton/index.json +217 -0
- package/json-schemas/v3/tech-record/put/motorcycle/complete/index.json +21 -0
- package/json-schemas/v3/tech-record/put/motorcycle/skeleton/index.json +21 -0
- package/json-schemas/v3/tech-record/put/small trl/complete/index.json +171 -0
- package/json-schemas/v3/tech-record/put/small trl/skeleton/index.json +176 -0
- package/package.json +1 -1
- package/schemas.d.ts +1 -1
- package/schemas.js +4 -0
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +14 -0
- package/types/v3/tech-record/get/motorcycle/skeleton/index.d.ts +14 -0
- package/types/v3/tech-record/get/small trl/complete/index.d.ts +66 -0
- package/types/v3/tech-record/get/small trl/skeleton/index.d.ts +67 -0
- package/types/v3/tech-record/put/motorcycle/complete/index.d.ts +14 -0
- package/types/v3/tech-record/put/motorcycle/skeleton/index.d.ts +14 -0
- package/types/v3/tech-record/put/small trl/complete/index.d.ts +58 -0
- package/types/v3/tech-record/put/small trl/skeleton/index.d.ts +58 -0
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"required": [
|
|
6
6
|
"techRecord_numberOfWheelsDriven",
|
|
7
7
|
"techRecord_vehicleClass_description",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
8
9
|
"systemNumber",
|
|
9
10
|
"primaryVrm",
|
|
10
11
|
"techRecord_createdByName",
|
|
@@ -207,6 +208,26 @@
|
|
|
207
208
|
}
|
|
208
209
|
]
|
|
209
210
|
},
|
|
211
|
+
"techRecord_vehicleClass_description": {
|
|
212
|
+
"title": "Vehicle Class Description",
|
|
213
|
+
"type": "string",
|
|
214
|
+
"enum": [
|
|
215
|
+
"motorbikes over 200cc or with a sidecar",
|
|
216
|
+
"not applicable",
|
|
217
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
218
|
+
"motorbikes up to 200cc",
|
|
219
|
+
"trailer",
|
|
220
|
+
"large psv(ie: greater than 23 seats)",
|
|
221
|
+
"3 wheelers",
|
|
222
|
+
"heavy goods vehicle",
|
|
223
|
+
"MOT class 4",
|
|
224
|
+
"MOT class 7",
|
|
225
|
+
"MOT class 5"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"techRecord_vehicleClass_code": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
210
231
|
"techRecord_vehicleConfiguration": {
|
|
211
232
|
"anyOf": [
|
|
212
233
|
{
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
6
|
"techRecord_vehicleClass_description",
|
|
7
|
+
"techRecord_vehicleClass_code",
|
|
7
8
|
"systemNumber",
|
|
8
9
|
"primaryVrm",
|
|
9
10
|
"techRecord_createdByName",
|
|
@@ -200,6 +201,26 @@
|
|
|
200
201
|
}
|
|
201
202
|
]
|
|
202
203
|
},
|
|
204
|
+
"techRecord_vehicleClass_description": {
|
|
205
|
+
"title": "Vehicle Class Description",
|
|
206
|
+
"type": "string",
|
|
207
|
+
"enum": [
|
|
208
|
+
"motorbikes over 200cc or with a sidecar",
|
|
209
|
+
"not applicable",
|
|
210
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
211
|
+
"motorbikes up to 200cc",
|
|
212
|
+
"trailer",
|
|
213
|
+
"large psv(ie: greater than 23 seats)",
|
|
214
|
+
"3 wheelers",
|
|
215
|
+
"heavy goods vehicle",
|
|
216
|
+
"MOT class 4",
|
|
217
|
+
"MOT class 7",
|
|
218
|
+
"MOT class 5"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"techRecord_vehicleClass_code": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
203
224
|
"techRecord_vehicleConfiguration": {
|
|
204
225
|
"anyOf": [
|
|
205
226
|
{
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Tech Record GET Small TRL Complete",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"required": [
|
|
6
|
+
"vin",
|
|
7
|
+
"techRecord_statusCode",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
9
|
+
"techRecord_vehicleClass_description",
|
|
10
|
+
"techRecord_vehicleType",
|
|
11
|
+
"techRecord_euVehicleCategory",
|
|
12
|
+
"techRecord_reasonForCreation",
|
|
13
|
+
"techRecord_noOfAxles",
|
|
14
|
+
"techRecord_vehicleConfiguration",
|
|
15
|
+
"techRecord_createdAt",
|
|
16
|
+
"techRecord_createdById",
|
|
17
|
+
"techRecord_createdByName",
|
|
18
|
+
"systemNumber",
|
|
19
|
+
"createdTimestamp"
|
|
20
|
+
],
|
|
21
|
+
"properties": {
|
|
22
|
+
"techRecord_applicantDetails_address1": {
|
|
23
|
+
"type": [
|
|
24
|
+
"string",
|
|
25
|
+
"null"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"techRecord_applicantDetails_address2": {
|
|
29
|
+
"type": [
|
|
30
|
+
"string",
|
|
31
|
+
"null"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"techRecord_applicantDetails_address3": {
|
|
35
|
+
"type": [
|
|
36
|
+
"string",
|
|
37
|
+
"null"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
41
|
+
"type": [
|
|
42
|
+
"string",
|
|
43
|
+
"null"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"techRecord_applicantDetails_name": {
|
|
47
|
+
"type": [
|
|
48
|
+
"string",
|
|
49
|
+
"null"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"techRecord_applicantDetails_postCode": {
|
|
53
|
+
"type": [
|
|
54
|
+
"string",
|
|
55
|
+
"null"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"techRecord_applicantDetails_postTown": {
|
|
59
|
+
"type": [
|
|
60
|
+
"string",
|
|
61
|
+
"null"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
65
|
+
"type": [
|
|
66
|
+
"string",
|
|
67
|
+
"null"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"techRecord_createdAt": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"techRecord_createdById": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"techRecord_createdByName": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"techRecord_euVehicleCategory": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": [
|
|
82
|
+
"o1",
|
|
83
|
+
"o2"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"techRecord_lastUpdatedAt": {
|
|
87
|
+
"type": [
|
|
88
|
+
"string",
|
|
89
|
+
"null"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"techRecord_lastUpdatedById": {
|
|
93
|
+
"type": [
|
|
94
|
+
"string",
|
|
95
|
+
"null"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"techRecord_lastUpdatedByName": {
|
|
99
|
+
"type": [
|
|
100
|
+
"string",
|
|
101
|
+
"null"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"techRecord_manufactureYear": {
|
|
105
|
+
"type": [
|
|
106
|
+
"integer",
|
|
107
|
+
"null"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"techRecord_noOfAxles": {
|
|
111
|
+
"type": [
|
|
112
|
+
"integer",
|
|
113
|
+
"null"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"techRecord_notes": {
|
|
117
|
+
"type": [
|
|
118
|
+
"string",
|
|
119
|
+
"null"
|
|
120
|
+
],
|
|
121
|
+
"maxLength": 1024
|
|
122
|
+
},
|
|
123
|
+
"techRecord_reasonForCreation": {
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"techRecord_statusCode": {
|
|
127
|
+
"title": "Status Code",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"enum": [
|
|
130
|
+
"provisional",
|
|
131
|
+
"current",
|
|
132
|
+
"archived"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"techRecord_vehicleClass_code": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"techRecord_vehicleClass_description": {
|
|
139
|
+
"title": "Vehicle Class Description",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"enum": [
|
|
142
|
+
"motorbikes over 200cc or with a sidecar",
|
|
143
|
+
"not applicable",
|
|
144
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
145
|
+
"motorbikes up to 200cc",
|
|
146
|
+
"trailer",
|
|
147
|
+
"large psv(ie: greater than 23 seats)",
|
|
148
|
+
"3 wheelers",
|
|
149
|
+
"heavy goods vehicle",
|
|
150
|
+
"MOT class 4",
|
|
151
|
+
"MOT class 7",
|
|
152
|
+
"MOT class 5"
|
|
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_vehicleSubclass": {
|
|
174
|
+
"title": "Vehicle Subclass",
|
|
175
|
+
"type": "array",
|
|
176
|
+
"items": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"enum": [
|
|
179
|
+
"n",
|
|
180
|
+
"p",
|
|
181
|
+
"a",
|
|
182
|
+
"s",
|
|
183
|
+
"c",
|
|
184
|
+
"l",
|
|
185
|
+
"t",
|
|
186
|
+
"e",
|
|
187
|
+
"m",
|
|
188
|
+
"r",
|
|
189
|
+
"w"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"techRecord_vehicleType": {
|
|
194
|
+
"const": "trl"
|
|
195
|
+
},
|
|
196
|
+
"vin": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"trailerId": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"systemNumber": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"createdTimestamp": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Tech Record GET Small TRL Skeleton",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"required": [
|
|
6
|
+
"vin",
|
|
7
|
+
"techRecord_statusCode",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
9
|
+
"techRecord_vehicleClass_description",
|
|
10
|
+
"techRecord_vehicleType",
|
|
11
|
+
"techRecord_euVehicleCategory",
|
|
12
|
+
"techRecord_reasonForCreation",
|
|
13
|
+
"techRecord_createdAt",
|
|
14
|
+
"techRecord_createdById",
|
|
15
|
+
"techRecord_createdByName",
|
|
16
|
+
"systemNumber",
|
|
17
|
+
"createdTimestamp"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"techRecord_applicantDetails_address1": {
|
|
21
|
+
"type": [
|
|
22
|
+
"string",
|
|
23
|
+
"null"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"techRecord_applicantDetails_address2": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"techRecord_applicantDetails_address3": {
|
|
33
|
+
"type": [
|
|
34
|
+
"string",
|
|
35
|
+
"null"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
39
|
+
"type": [
|
|
40
|
+
"string",
|
|
41
|
+
"null"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"techRecord_applicantDetails_name": {
|
|
45
|
+
"type": [
|
|
46
|
+
"string",
|
|
47
|
+
"null"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"techRecord_applicantDetails_postCode": {
|
|
51
|
+
"type": [
|
|
52
|
+
"string",
|
|
53
|
+
"null"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"techRecord_applicantDetails_postTown": {
|
|
57
|
+
"type": [
|
|
58
|
+
"string",
|
|
59
|
+
"null"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
63
|
+
"type": [
|
|
64
|
+
"string",
|
|
65
|
+
"null"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"techRecord_createdAt": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"techRecord_createdById": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"techRecord_createdByName": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"techRecord_euVehicleCategory": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"o1",
|
|
81
|
+
"o2"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"techRecord_lastUpdatedAt": {
|
|
85
|
+
"type": [
|
|
86
|
+
"string",
|
|
87
|
+
"null"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"techRecord_lastUpdatedById": {
|
|
91
|
+
"type": [
|
|
92
|
+
"string",
|
|
93
|
+
"null"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"techRecord_lastUpdatedByName": {
|
|
97
|
+
"type": [
|
|
98
|
+
"string",
|
|
99
|
+
"null"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"techRecord_manufactureYear": {
|
|
103
|
+
"type": [
|
|
104
|
+
"integer",
|
|
105
|
+
"null"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"techRecord_noOfAxles": {
|
|
109
|
+
"type": [
|
|
110
|
+
"integer",
|
|
111
|
+
"null"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"techRecord_notes": {
|
|
115
|
+
"type": [
|
|
116
|
+
"string",
|
|
117
|
+
"null"
|
|
118
|
+
],
|
|
119
|
+
"maxLength": 1024
|
|
120
|
+
},
|
|
121
|
+
"techRecord_reasonForCreation": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"techRecord_statusCode": {
|
|
125
|
+
"title": "Status Code",
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"provisional",
|
|
129
|
+
"current",
|
|
130
|
+
"archived"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"techRecord_vehicleClass_code": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"techRecord_vehicleClass_description": {
|
|
137
|
+
"title": "Vehicle Class Description",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"motorbikes over 200cc or with a sidecar",
|
|
141
|
+
"not applicable",
|
|
142
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
143
|
+
"motorbikes up to 200cc",
|
|
144
|
+
"trailer",
|
|
145
|
+
"large psv(ie: greater than 23 seats)",
|
|
146
|
+
"3 wheelers",
|
|
147
|
+
"heavy goods vehicle",
|
|
148
|
+
"MOT class 4",
|
|
149
|
+
"MOT class 7",
|
|
150
|
+
"MOT class 5"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"techRecord_vehicleConfiguration": {
|
|
154
|
+
"anyOf": [
|
|
155
|
+
{
|
|
156
|
+
"type": "null"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"title": "Vehicle Configuration",
|
|
160
|
+
"type": "string",
|
|
161
|
+
"enum": [
|
|
162
|
+
"rigid",
|
|
163
|
+
"articulated",
|
|
164
|
+
"centre axle drawbar",
|
|
165
|
+
"semi-car transporter",
|
|
166
|
+
"semi-trailer",
|
|
167
|
+
"long semi-trailer",
|
|
168
|
+
"low loader",
|
|
169
|
+
"other",
|
|
170
|
+
"drawbar",
|
|
171
|
+
"four-in-line",
|
|
172
|
+
"dolly",
|
|
173
|
+
"full drawbar"
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"techRecord_vehicleSubclass": {
|
|
179
|
+
"title": "Vehicle Subclass",
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"enum": [
|
|
184
|
+
"n",
|
|
185
|
+
"p",
|
|
186
|
+
"a",
|
|
187
|
+
"s",
|
|
188
|
+
"c",
|
|
189
|
+
"l",
|
|
190
|
+
"t",
|
|
191
|
+
"e",
|
|
192
|
+
"m",
|
|
193
|
+
"r",
|
|
194
|
+
"w"
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"techRecord_vehicleType": {
|
|
199
|
+
"const": "trl"
|
|
200
|
+
},
|
|
201
|
+
"vin": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"trailerId": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"systemNumber": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
},
|
|
210
|
+
"createdTimestamp": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"techRecord_recordCompleteness": {
|
|
214
|
+
"const": "skeleton"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"required": [
|
|
6
6
|
"techRecord_numberOfWheelsDriven",
|
|
7
7
|
"techRecord_vehicleClass_description",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
8
9
|
"techRecord_reasonForCreation",
|
|
9
10
|
"vin"
|
|
10
11
|
],
|
|
@@ -172,6 +173,26 @@
|
|
|
172
173
|
}
|
|
173
174
|
]
|
|
174
175
|
},
|
|
176
|
+
"techRecord_vehicleClass_description": {
|
|
177
|
+
"title": "Vehicle Class Description",
|
|
178
|
+
"type": "string",
|
|
179
|
+
"enum": [
|
|
180
|
+
"motorbikes over 200cc or with a sidecar",
|
|
181
|
+
"not applicable",
|
|
182
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
183
|
+
"motorbikes up to 200cc",
|
|
184
|
+
"trailer",
|
|
185
|
+
"large psv(ie: greater than 23 seats)",
|
|
186
|
+
"3 wheelers",
|
|
187
|
+
"heavy goods vehicle",
|
|
188
|
+
"MOT class 4",
|
|
189
|
+
"MOT class 7",
|
|
190
|
+
"MOT class 5"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"techRecord_vehicleClass_code": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
175
196
|
"techRecord_vehicleConfiguration": {
|
|
176
197
|
"anyOf": [
|
|
177
198
|
{
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
6
|
"techRecord_vehicleClass_description",
|
|
7
|
+
"techRecord_vehicleClass_code",
|
|
7
8
|
"techRecord_reasonForCreation",
|
|
8
9
|
"vin"
|
|
9
10
|
],
|
|
@@ -162,6 +163,26 @@
|
|
|
162
163
|
}
|
|
163
164
|
]
|
|
164
165
|
},
|
|
166
|
+
"techRecord_vehicleClass_description": {
|
|
167
|
+
"title": "Vehicle Class Description",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"enum": [
|
|
170
|
+
"motorbikes over 200cc or with a sidecar",
|
|
171
|
+
"not applicable",
|
|
172
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
173
|
+
"motorbikes up to 200cc",
|
|
174
|
+
"trailer",
|
|
175
|
+
"large psv(ie: greater than 23 seats)",
|
|
176
|
+
"3 wheelers",
|
|
177
|
+
"heavy goods vehicle",
|
|
178
|
+
"MOT class 4",
|
|
179
|
+
"MOT class 7",
|
|
180
|
+
"MOT class 5"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"techRecord_vehicleClass_code": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
165
186
|
"techRecord_vehicleConfiguration": {
|
|
166
187
|
"anyOf": [
|
|
167
188
|
{
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Tech Record PUT Small TRL Complete",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"required": [
|
|
6
|
+
"vin",
|
|
7
|
+
"techRecord_statusCode",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
9
|
+
"techRecord_vehicleClass_description",
|
|
10
|
+
"techRecord_vehicleType",
|
|
11
|
+
"techRecord_euVehicleCategory",
|
|
12
|
+
"techRecord_reasonForCreation",
|
|
13
|
+
"techRecord_noOfAxles",
|
|
14
|
+
"techRecord_vehicleConfiguration"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"techRecord_applicantDetails_address1": {
|
|
18
|
+
"type": [
|
|
19
|
+
"string",
|
|
20
|
+
"null"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"techRecord_applicantDetails_address2": {
|
|
24
|
+
"type": [
|
|
25
|
+
"string",
|
|
26
|
+
"null"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"techRecord_applicantDetails_address3": {
|
|
30
|
+
"type": [
|
|
31
|
+
"string",
|
|
32
|
+
"null"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
36
|
+
"type": [
|
|
37
|
+
"string",
|
|
38
|
+
"null"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"techRecord_applicantDetails_name": {
|
|
42
|
+
"type": [
|
|
43
|
+
"string",
|
|
44
|
+
"null"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"techRecord_applicantDetails_postCode": {
|
|
48
|
+
"type": [
|
|
49
|
+
"string",
|
|
50
|
+
"null"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"techRecord_applicantDetails_postTown": {
|
|
54
|
+
"type": [
|
|
55
|
+
"string",
|
|
56
|
+
"null"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
60
|
+
"type": [
|
|
61
|
+
"string",
|
|
62
|
+
"null"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"techRecord_euVehicleCategory": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": [
|
|
68
|
+
"o1",
|
|
69
|
+
"o2"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"techRecord_manufactureYear": {
|
|
73
|
+
"type": [
|
|
74
|
+
"integer",
|
|
75
|
+
"null"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"techRecord_noOfAxles": {
|
|
79
|
+
"type": [
|
|
80
|
+
"integer",
|
|
81
|
+
"null"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"techRecord_notes": {
|
|
85
|
+
"type": [
|
|
86
|
+
"string",
|
|
87
|
+
"null"
|
|
88
|
+
],
|
|
89
|
+
"maxLength": 1024
|
|
90
|
+
},
|
|
91
|
+
"techRecord_reasonForCreation": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"techRecord_statusCode": {
|
|
95
|
+
"title": "Status Code",
|
|
96
|
+
"type": "string",
|
|
97
|
+
"enum": [
|
|
98
|
+
"provisional",
|
|
99
|
+
"current",
|
|
100
|
+
"archived"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"techRecord_vehicleClass_code": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"techRecord_vehicleClass_description": {
|
|
107
|
+
"title": "Vehicle Class Description",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": [
|
|
110
|
+
"motorbikes over 200cc or with a sidecar",
|
|
111
|
+
"not applicable",
|
|
112
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
113
|
+
"motorbikes up to 200cc",
|
|
114
|
+
"trailer",
|
|
115
|
+
"large psv(ie: greater than 23 seats)",
|
|
116
|
+
"3 wheelers",
|
|
117
|
+
"heavy goods vehicle",
|
|
118
|
+
"MOT class 4",
|
|
119
|
+
"MOT class 7",
|
|
120
|
+
"MOT class 5"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"techRecord_vehicleConfiguration": {
|
|
124
|
+
"title": "Vehicle Configuration",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"enum": [
|
|
127
|
+
"rigid",
|
|
128
|
+
"articulated",
|
|
129
|
+
"centre axle drawbar",
|
|
130
|
+
"semi-car transporter",
|
|
131
|
+
"semi-trailer",
|
|
132
|
+
"long semi-trailer",
|
|
133
|
+
"low loader",
|
|
134
|
+
"other",
|
|
135
|
+
"drawbar",
|
|
136
|
+
"four-in-line",
|
|
137
|
+
"dolly",
|
|
138
|
+
"full drawbar"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"techRecord_vehicleSubclass": {
|
|
142
|
+
"title": "Vehicle Subclass",
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"enum": [
|
|
147
|
+
"n",
|
|
148
|
+
"p",
|
|
149
|
+
"a",
|
|
150
|
+
"s",
|
|
151
|
+
"c",
|
|
152
|
+
"l",
|
|
153
|
+
"t",
|
|
154
|
+
"e",
|
|
155
|
+
"m",
|
|
156
|
+
"r",
|
|
157
|
+
"w"
|
|
158
|
+
]
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"techRecord_vehicleType": {
|
|
162
|
+
"const": "trl"
|
|
163
|
+
},
|
|
164
|
+
"vin": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"trailerId": {
|
|
168
|
+
"type": "string"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Tech Record PUT Small TRL Skeleton",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"required": [
|
|
6
|
+
"vin",
|
|
7
|
+
"techRecord_statusCode",
|
|
8
|
+
"techRecord_vehicleClass_code",
|
|
9
|
+
"techRecord_vehicleClass_description",
|
|
10
|
+
"techRecord_vehicleType",
|
|
11
|
+
"techRecord_euVehicleCategory",
|
|
12
|
+
"techRecord_reasonForCreation"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"techRecord_applicantDetails_address1": {
|
|
16
|
+
"type": [
|
|
17
|
+
"string",
|
|
18
|
+
"null"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"techRecord_applicantDetails_address2": {
|
|
22
|
+
"type": [
|
|
23
|
+
"string",
|
|
24
|
+
"null"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"techRecord_applicantDetails_address3": {
|
|
28
|
+
"type": [
|
|
29
|
+
"string",
|
|
30
|
+
"null"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"techRecord_applicantDetails_emailAddress": {
|
|
34
|
+
"type": [
|
|
35
|
+
"string",
|
|
36
|
+
"null"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"techRecord_applicantDetails_name": {
|
|
40
|
+
"type": [
|
|
41
|
+
"string",
|
|
42
|
+
"null"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"techRecord_applicantDetails_postCode": {
|
|
46
|
+
"type": [
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"techRecord_applicantDetails_postTown": {
|
|
52
|
+
"type": [
|
|
53
|
+
"string",
|
|
54
|
+
"null"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"techRecord_applicantDetails_telephoneNumber": {
|
|
58
|
+
"type": [
|
|
59
|
+
"string",
|
|
60
|
+
"null"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"techRecord_euVehicleCategory": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": [
|
|
66
|
+
"o1",
|
|
67
|
+
"o2"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"techRecord_manufactureYear": {
|
|
71
|
+
"type": [
|
|
72
|
+
"integer",
|
|
73
|
+
"null"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"techRecord_noOfAxles": {
|
|
77
|
+
"type": [
|
|
78
|
+
"integer",
|
|
79
|
+
"null"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"techRecord_notes": {
|
|
83
|
+
"type": [
|
|
84
|
+
"string",
|
|
85
|
+
"null"
|
|
86
|
+
],
|
|
87
|
+
"maxLength": 1024
|
|
88
|
+
},
|
|
89
|
+
"techRecord_reasonForCreation": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"techRecord_statusCode": {
|
|
93
|
+
"title": "Status Code",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"provisional",
|
|
97
|
+
"current",
|
|
98
|
+
"archived"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
"techRecord_vehicleClass_code": {
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"techRecord_vehicleClass_description": {
|
|
105
|
+
"title": "Vehicle Class Description",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"enum": [
|
|
108
|
+
"motorbikes over 200cc or with a sidecar",
|
|
109
|
+
"not applicable",
|
|
110
|
+
"small psv (ie: less than or equal to 22 seats)",
|
|
111
|
+
"motorbikes up to 200cc",
|
|
112
|
+
"trailer",
|
|
113
|
+
"large psv(ie: greater than 23 seats)",
|
|
114
|
+
"3 wheelers",
|
|
115
|
+
"heavy goods vehicle",
|
|
116
|
+
"MOT class 4",
|
|
117
|
+
"MOT class 7",
|
|
118
|
+
"MOT class 5"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"techRecord_vehicleConfiguration": {
|
|
122
|
+
"anyOf": [
|
|
123
|
+
{
|
|
124
|
+
"type": "null"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"title": "Vehicle Configuration",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"enum": [
|
|
130
|
+
"rigid",
|
|
131
|
+
"articulated",
|
|
132
|
+
"centre axle drawbar",
|
|
133
|
+
"semi-car transporter",
|
|
134
|
+
"semi-trailer",
|
|
135
|
+
"long semi-trailer",
|
|
136
|
+
"low loader",
|
|
137
|
+
"other",
|
|
138
|
+
"drawbar",
|
|
139
|
+
"four-in-line",
|
|
140
|
+
"dolly",
|
|
141
|
+
"full drawbar"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"techRecord_vehicleSubclass": {
|
|
147
|
+
"title": "Vehicle Subclass",
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"enum": [
|
|
152
|
+
"n",
|
|
153
|
+
"p",
|
|
154
|
+
"a",
|
|
155
|
+
"s",
|
|
156
|
+
"c",
|
|
157
|
+
"l",
|
|
158
|
+
"t",
|
|
159
|
+
"e",
|
|
160
|
+
"m",
|
|
161
|
+
"r",
|
|
162
|
+
"w"
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"techRecord_vehicleType": {
|
|
167
|
+
"const": "trl"
|
|
168
|
+
},
|
|
169
|
+
"vin": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"trailerId": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const schemas: readonly ["v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
|
|
1
|
+
export declare const schemas: readonly ["v1/activity/index.json", "v1/defect-category-reference-data/index.json", "v1/defect-details/index.json", "v1/defect-location/index.json", "v1/reason-item/index.json", "v1/tech-record/index.json", "v1/test/index.json", "v1/test-result/index.json", "v1/test-station/index.json", "v1/test-type/index.json", "v1/vehicle/index.json", "v1/vehicle-tech-record/index.json", "v1/visit/index.json", "v3/tech-record/get/car/complete/index.json", "v3/tech-record/get/car/skeleton/index.json", "v3/tech-record/get/hgv/complete/index.json", "v3/tech-record/get/hgv/skeleton/index.json", "v3/tech-record/get/hgv/testable/index.json", "v3/tech-record/get/lgv/complete/index.json", "v3/tech-record/get/lgv/skeleton/index.json", "v3/tech-record/get/motorcycle/complete/index.json", "v3/tech-record/get/motorcycle/skeleton/index.json", "v3/tech-record/get/psv/complete/index.json", "v3/tech-record/get/psv/skeleton/index.json", "v3/tech-record/get/psv/testable/index.json", "v3/tech-record/get/search/index.json", "v3/tech-record/get/small trl/complete/index.json", "v3/tech-record/get/small trl/skeleton/index.json", "v3/tech-record/get/trl/complete/index.json", "v3/tech-record/get/trl/skeleton/index.json", "v3/tech-record/get/trl/testable/index.json", "v3/tech-record/put/car/complete/index.json", "v3/tech-record/put/car/skeleton/index.json", "v3/tech-record/put/hgv/complete/index.json", "v3/tech-record/put/hgv/skeleton/index.json", "v3/tech-record/put/hgv/testable/index.json", "v3/tech-record/put/lgv/complete/index.json", "v3/tech-record/put/lgv/skeleton/index.json", "v3/tech-record/put/motorcycle/complete/index.json", "v3/tech-record/put/motorcycle/skeleton/index.json", "v3/tech-record/put/psv/complete/index.json", "v3/tech-record/put/psv/skeleton/index.json", "v3/tech-record/put/psv/testable/index.json", "v3/tech-record/put/small trl/complete/index.json", "v3/tech-record/put/small trl/skeleton/index.json", "v3/tech-record/put/trl/complete/index.json", "v3/tech-record/put/trl/skeleton/index.json", "v3/tech-record/put/trl/testable/index.json"];
|
package/schemas.js
CHANGED
|
@@ -28,6 +28,8 @@ exports.schemas = [
|
|
|
28
28
|
"v3/tech-record/get/psv/skeleton/index.json",
|
|
29
29
|
"v3/tech-record/get/psv/testable/index.json",
|
|
30
30
|
"v3/tech-record/get/search/index.json",
|
|
31
|
+
"v3/tech-record/get/small trl/complete/index.json",
|
|
32
|
+
"v3/tech-record/get/small trl/skeleton/index.json",
|
|
31
33
|
"v3/tech-record/get/trl/complete/index.json",
|
|
32
34
|
"v3/tech-record/get/trl/skeleton/index.json",
|
|
33
35
|
"v3/tech-record/get/trl/testable/index.json",
|
|
@@ -43,6 +45,8 @@ exports.schemas = [
|
|
|
43
45
|
"v3/tech-record/put/psv/complete/index.json",
|
|
44
46
|
"v3/tech-record/put/psv/skeleton/index.json",
|
|
45
47
|
"v3/tech-record/put/psv/testable/index.json",
|
|
48
|
+
"v3/tech-record/put/small trl/complete/index.json",
|
|
49
|
+
"v3/tech-record/put/small trl/skeleton/index.json",
|
|
46
50
|
"v3/tech-record/put/trl/complete/index.json",
|
|
47
51
|
"v3/tech-record/put/trl/skeleton/index.json",
|
|
48
52
|
"v3/tech-record/put/trl/testable/index.json",
|
|
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
|
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
28
|
+
export type VehicleClassDescription =
|
|
29
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
30
|
+
| "not applicable"
|
|
31
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
32
|
+
| "motorbikes up to 200cc"
|
|
33
|
+
| "trailer"
|
|
34
|
+
| "large psv(ie: greater than 23 seats)"
|
|
35
|
+
| "3 wheelers"
|
|
36
|
+
| "heavy goods vehicle"
|
|
37
|
+
| "MOT class 4"
|
|
38
|
+
| "MOT class 7"
|
|
39
|
+
| "MOT class 5";
|
|
28
40
|
export type VehicleConfiguration =
|
|
29
41
|
| "rigid"
|
|
30
42
|
| "articulated"
|
|
@@ -67,6 +79,8 @@ export interface TechRecordGETMotorcycleComplete {
|
|
|
67
79
|
techRecord_reasonForCreation: string;
|
|
68
80
|
techRecord_regnDate?: string | null;
|
|
69
81
|
techRecord_statusCode?: null | StatusCode;
|
|
82
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
83
|
+
techRecord_vehicleClass_code: string;
|
|
70
84
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
71
85
|
techRecord_vehicleType?: "motorcycle";
|
|
72
86
|
vin: string;
|
|
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
|
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
28
|
+
export type VehicleClassDescription =
|
|
29
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
30
|
+
| "not applicable"
|
|
31
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
32
|
+
| "motorbikes up to 200cc"
|
|
33
|
+
| "trailer"
|
|
34
|
+
| "large psv(ie: greater than 23 seats)"
|
|
35
|
+
| "3 wheelers"
|
|
36
|
+
| "heavy goods vehicle"
|
|
37
|
+
| "MOT class 4"
|
|
38
|
+
| "MOT class 7"
|
|
39
|
+
| "MOT class 5";
|
|
28
40
|
export type VehicleConfiguration =
|
|
29
41
|
| "rigid"
|
|
30
42
|
| "articulated"
|
|
@@ -66,6 +78,8 @@ export interface TechRecordGETMotorcycleSkeleton {
|
|
|
66
78
|
techRecord_reasonForCreation: string;
|
|
67
79
|
techRecord_regnDate?: string | null;
|
|
68
80
|
techRecord_statusCode?: null | StatusCode;
|
|
81
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
82
|
+
techRecord_vehicleClass_code: string;
|
|
69
83
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
70
84
|
techRecord_vehicleType?: "motorcycle";
|
|
71
85
|
vin: string;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleClassDescription =
|
|
10
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
11
|
+
| "not applicable"
|
|
12
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
13
|
+
| "motorbikes up to 200cc"
|
|
14
|
+
| "trailer"
|
|
15
|
+
| "large psv(ie: greater than 23 seats)"
|
|
16
|
+
| "3 wheelers"
|
|
17
|
+
| "heavy goods vehicle"
|
|
18
|
+
| "MOT class 4"
|
|
19
|
+
| "MOT class 7"
|
|
20
|
+
| "MOT class 5";
|
|
21
|
+
export type VehicleConfiguration =
|
|
22
|
+
| "rigid"
|
|
23
|
+
| "articulated"
|
|
24
|
+
| "centre axle drawbar"
|
|
25
|
+
| "semi-car transporter"
|
|
26
|
+
| "semi-trailer"
|
|
27
|
+
| "long semi-trailer"
|
|
28
|
+
| "low loader"
|
|
29
|
+
| "other"
|
|
30
|
+
| "drawbar"
|
|
31
|
+
| "four-in-line"
|
|
32
|
+
| "dolly"
|
|
33
|
+
| "full drawbar";
|
|
34
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
35
|
+
|
|
36
|
+
export interface TechRecordGETSmallTRLComplete {
|
|
37
|
+
techRecord_applicantDetails_address1?: string | null;
|
|
38
|
+
techRecord_applicantDetails_address2?: string | null;
|
|
39
|
+
techRecord_applicantDetails_address3?: string | null;
|
|
40
|
+
techRecord_applicantDetails_emailAddress?: string | null;
|
|
41
|
+
techRecord_applicantDetails_name?: string | null;
|
|
42
|
+
techRecord_applicantDetails_postCode?: string | null;
|
|
43
|
+
techRecord_applicantDetails_postTown?: string | null;
|
|
44
|
+
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
45
|
+
techRecord_createdAt: string;
|
|
46
|
+
techRecord_createdById: string;
|
|
47
|
+
techRecord_createdByName: string;
|
|
48
|
+
techRecord_euVehicleCategory: "o1" | "o2";
|
|
49
|
+
techRecord_lastUpdatedAt?: string | null;
|
|
50
|
+
techRecord_lastUpdatedById?: string | null;
|
|
51
|
+
techRecord_lastUpdatedByName?: string | null;
|
|
52
|
+
techRecord_manufactureYear?: number | null;
|
|
53
|
+
techRecord_noOfAxles: number | null;
|
|
54
|
+
techRecord_notes?: string | null;
|
|
55
|
+
techRecord_reasonForCreation: string;
|
|
56
|
+
techRecord_statusCode: StatusCode;
|
|
57
|
+
techRecord_vehicleClass_code: string;
|
|
58
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
59
|
+
techRecord_vehicleConfiguration: VehicleConfiguration;
|
|
60
|
+
techRecord_vehicleSubclass?: VehicleSubclass;
|
|
61
|
+
techRecord_vehicleType: "trl";
|
|
62
|
+
vin: string;
|
|
63
|
+
trailerId?: string;
|
|
64
|
+
systemNumber: string;
|
|
65
|
+
createdTimestamp: string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleClassDescription =
|
|
10
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
11
|
+
| "not applicable"
|
|
12
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
13
|
+
| "motorbikes up to 200cc"
|
|
14
|
+
| "trailer"
|
|
15
|
+
| "large psv(ie: greater than 23 seats)"
|
|
16
|
+
| "3 wheelers"
|
|
17
|
+
| "heavy goods vehicle"
|
|
18
|
+
| "MOT class 4"
|
|
19
|
+
| "MOT class 7"
|
|
20
|
+
| "MOT class 5";
|
|
21
|
+
export type VehicleConfiguration =
|
|
22
|
+
| "rigid"
|
|
23
|
+
| "articulated"
|
|
24
|
+
| "centre axle drawbar"
|
|
25
|
+
| "semi-car transporter"
|
|
26
|
+
| "semi-trailer"
|
|
27
|
+
| "long semi-trailer"
|
|
28
|
+
| "low loader"
|
|
29
|
+
| "other"
|
|
30
|
+
| "drawbar"
|
|
31
|
+
| "four-in-line"
|
|
32
|
+
| "dolly"
|
|
33
|
+
| "full drawbar";
|
|
34
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
35
|
+
|
|
36
|
+
export interface TechRecordGETSmallTRLSkeleton {
|
|
37
|
+
techRecord_applicantDetails_address1?: string | null;
|
|
38
|
+
techRecord_applicantDetails_address2?: string | null;
|
|
39
|
+
techRecord_applicantDetails_address3?: string | null;
|
|
40
|
+
techRecord_applicantDetails_emailAddress?: string | null;
|
|
41
|
+
techRecord_applicantDetails_name?: string | null;
|
|
42
|
+
techRecord_applicantDetails_postCode?: string | null;
|
|
43
|
+
techRecord_applicantDetails_postTown?: string | null;
|
|
44
|
+
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
45
|
+
techRecord_createdAt: string;
|
|
46
|
+
techRecord_createdById: string;
|
|
47
|
+
techRecord_createdByName: string;
|
|
48
|
+
techRecord_euVehicleCategory: "o1" | "o2";
|
|
49
|
+
techRecord_lastUpdatedAt?: string | null;
|
|
50
|
+
techRecord_lastUpdatedById?: string | null;
|
|
51
|
+
techRecord_lastUpdatedByName?: string | null;
|
|
52
|
+
techRecord_manufactureYear?: number | null;
|
|
53
|
+
techRecord_noOfAxles?: number | null;
|
|
54
|
+
techRecord_notes?: string | null;
|
|
55
|
+
techRecord_reasonForCreation: string;
|
|
56
|
+
techRecord_statusCode: StatusCode;
|
|
57
|
+
techRecord_vehicleClass_code: string;
|
|
58
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
59
|
+
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
60
|
+
techRecord_vehicleSubclass?: VehicleSubclass;
|
|
61
|
+
techRecord_vehicleType: "trl";
|
|
62
|
+
vin: string;
|
|
63
|
+
trailerId?: string;
|
|
64
|
+
systemNumber: string;
|
|
65
|
+
createdTimestamp: string;
|
|
66
|
+
techRecord_recordCompleteness?: "skeleton";
|
|
67
|
+
}
|
|
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
|
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
28
|
+
export type VehicleClassDescription =
|
|
29
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
30
|
+
| "not applicable"
|
|
31
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
32
|
+
| "motorbikes up to 200cc"
|
|
33
|
+
| "trailer"
|
|
34
|
+
| "large psv(ie: greater than 23 seats)"
|
|
35
|
+
| "3 wheelers"
|
|
36
|
+
| "heavy goods vehicle"
|
|
37
|
+
| "MOT class 4"
|
|
38
|
+
| "MOT class 7"
|
|
39
|
+
| "MOT class 5";
|
|
28
40
|
export type VehicleConfiguration =
|
|
29
41
|
| "rigid"
|
|
30
42
|
| "articulated"
|
|
@@ -60,6 +72,8 @@ export interface TechRecordPUTMotorcycleComplete {
|
|
|
60
72
|
techRecord_reasonForCreation: string;
|
|
61
73
|
techRecord_regnDate?: string | null;
|
|
62
74
|
techRecord_statusCode?: null | StatusCode;
|
|
75
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
76
|
+
techRecord_vehicleClass_code: string;
|
|
63
77
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
64
78
|
techRecord_vehicleType?: "motorcycle";
|
|
65
79
|
vin: string;
|
|
@@ -25,6 +25,18 @@ export type EUVehicleCategory =
|
|
|
25
25
|
| "l6e"
|
|
26
26
|
| "l7e";
|
|
27
27
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
28
|
+
export type VehicleClassDescription =
|
|
29
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
30
|
+
| "not applicable"
|
|
31
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
32
|
+
| "motorbikes up to 200cc"
|
|
33
|
+
| "trailer"
|
|
34
|
+
| "large psv(ie: greater than 23 seats)"
|
|
35
|
+
| "3 wheelers"
|
|
36
|
+
| "heavy goods vehicle"
|
|
37
|
+
| "MOT class 4"
|
|
38
|
+
| "MOT class 7"
|
|
39
|
+
| "MOT class 5";
|
|
28
40
|
export type VehicleConfiguration =
|
|
29
41
|
| "rigid"
|
|
30
42
|
| "articulated"
|
|
@@ -59,6 +71,8 @@ export interface TechRecordPUTMotorcycleSkeleton {
|
|
|
59
71
|
techRecord_reasonForCreation: string;
|
|
60
72
|
techRecord_regnDate?: string | null;
|
|
61
73
|
techRecord_statusCode?: null | StatusCode;
|
|
74
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
75
|
+
techRecord_vehicleClass_code: string;
|
|
62
76
|
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
63
77
|
techRecord_vehicleType?: "motorcycle";
|
|
64
78
|
vin: string;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleClassDescription =
|
|
10
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
11
|
+
| "not applicable"
|
|
12
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
13
|
+
| "motorbikes up to 200cc"
|
|
14
|
+
| "trailer"
|
|
15
|
+
| "large psv(ie: greater than 23 seats)"
|
|
16
|
+
| "3 wheelers"
|
|
17
|
+
| "heavy goods vehicle"
|
|
18
|
+
| "MOT class 4"
|
|
19
|
+
| "MOT class 7"
|
|
20
|
+
| "MOT class 5";
|
|
21
|
+
export type VehicleConfiguration =
|
|
22
|
+
| "rigid"
|
|
23
|
+
| "articulated"
|
|
24
|
+
| "centre axle drawbar"
|
|
25
|
+
| "semi-car transporter"
|
|
26
|
+
| "semi-trailer"
|
|
27
|
+
| "long semi-trailer"
|
|
28
|
+
| "low loader"
|
|
29
|
+
| "other"
|
|
30
|
+
| "drawbar"
|
|
31
|
+
| "four-in-line"
|
|
32
|
+
| "dolly"
|
|
33
|
+
| "full drawbar";
|
|
34
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
35
|
+
|
|
36
|
+
export interface TechRecordPUTSmallTRLComplete {
|
|
37
|
+
techRecord_applicantDetails_address1?: string | null;
|
|
38
|
+
techRecord_applicantDetails_address2?: string | null;
|
|
39
|
+
techRecord_applicantDetails_address3?: string | null;
|
|
40
|
+
techRecord_applicantDetails_emailAddress?: string | null;
|
|
41
|
+
techRecord_applicantDetails_name?: string | null;
|
|
42
|
+
techRecord_applicantDetails_postCode?: string | null;
|
|
43
|
+
techRecord_applicantDetails_postTown?: string | null;
|
|
44
|
+
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
45
|
+
techRecord_euVehicleCategory: "o1" | "o2";
|
|
46
|
+
techRecord_manufactureYear?: number | null;
|
|
47
|
+
techRecord_noOfAxles: number | null;
|
|
48
|
+
techRecord_notes?: string | null;
|
|
49
|
+
techRecord_reasonForCreation: string;
|
|
50
|
+
techRecord_statusCode: StatusCode;
|
|
51
|
+
techRecord_vehicleClass_code: string;
|
|
52
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
53
|
+
techRecord_vehicleConfiguration: VehicleConfiguration;
|
|
54
|
+
techRecord_vehicleSubclass?: VehicleSubclass;
|
|
55
|
+
techRecord_vehicleType: "trl";
|
|
56
|
+
vin: string;
|
|
57
|
+
trailerId?: string;
|
|
58
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type StatusCode = "provisional" | "current" | "archived";
|
|
9
|
+
export type VehicleClassDescription =
|
|
10
|
+
| "motorbikes over 200cc or with a sidecar"
|
|
11
|
+
| "not applicable"
|
|
12
|
+
| "small psv (ie: less than or equal to 22 seats)"
|
|
13
|
+
| "motorbikes up to 200cc"
|
|
14
|
+
| "trailer"
|
|
15
|
+
| "large psv(ie: greater than 23 seats)"
|
|
16
|
+
| "3 wheelers"
|
|
17
|
+
| "heavy goods vehicle"
|
|
18
|
+
| "MOT class 4"
|
|
19
|
+
| "MOT class 7"
|
|
20
|
+
| "MOT class 5";
|
|
21
|
+
export type VehicleConfiguration =
|
|
22
|
+
| "rigid"
|
|
23
|
+
| "articulated"
|
|
24
|
+
| "centre axle drawbar"
|
|
25
|
+
| "semi-car transporter"
|
|
26
|
+
| "semi-trailer"
|
|
27
|
+
| "long semi-trailer"
|
|
28
|
+
| "low loader"
|
|
29
|
+
| "other"
|
|
30
|
+
| "drawbar"
|
|
31
|
+
| "four-in-line"
|
|
32
|
+
| "dolly"
|
|
33
|
+
| "full drawbar";
|
|
34
|
+
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
35
|
+
|
|
36
|
+
export interface TechRecordPUTSmallTRLSkeleton {
|
|
37
|
+
techRecord_applicantDetails_address1?: string | null;
|
|
38
|
+
techRecord_applicantDetails_address2?: string | null;
|
|
39
|
+
techRecord_applicantDetails_address3?: string | null;
|
|
40
|
+
techRecord_applicantDetails_emailAddress?: string | null;
|
|
41
|
+
techRecord_applicantDetails_name?: string | null;
|
|
42
|
+
techRecord_applicantDetails_postCode?: string | null;
|
|
43
|
+
techRecord_applicantDetails_postTown?: string | null;
|
|
44
|
+
techRecord_applicantDetails_telephoneNumber?: string | null;
|
|
45
|
+
techRecord_euVehicleCategory: "o1" | "o2";
|
|
46
|
+
techRecord_manufactureYear?: number | null;
|
|
47
|
+
techRecord_noOfAxles?: number | null;
|
|
48
|
+
techRecord_notes?: string | null;
|
|
49
|
+
techRecord_reasonForCreation: string;
|
|
50
|
+
techRecord_statusCode: StatusCode;
|
|
51
|
+
techRecord_vehicleClass_code: string;
|
|
52
|
+
techRecord_vehicleClass_description: VehicleClassDescription;
|
|
53
|
+
techRecord_vehicleConfiguration?: null | VehicleConfiguration;
|
|
54
|
+
techRecord_vehicleSubclass?: VehicleSubclass;
|
|
55
|
+
techRecord_vehicleType: "trl";
|
|
56
|
+
vin: string;
|
|
57
|
+
trailerId?: string;
|
|
58
|
+
}
|