@dvsa/cvs-type-definitions 2.0.14 → 2.0.18
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/v1/activity/index.json +62 -62
- package/json-schemas/v1/defect-category-reference-data/index.json +440 -440
- package/json-schemas/v1/defect-details/index.json +265 -265
- package/json-schemas/v1/defect-location/index.json +49 -49
- package/json-schemas/v1/reason-item/index.json +17 -17
- package/json-schemas/v1/tech-record/index.json +639 -639
- package/json-schemas/v1/test/index.json +1843 -1843
- package/json-schemas/v1/test-result/index.json +636 -636
- package/json-schemas/v1/test-station/index.json +67 -67
- package/json-schemas/v1/test-type/index.json +479 -479
- package/json-schemas/v1/vehicle/index.json +1804 -1804
- package/json-schemas/v1/vehicle-tech-record/index.json +683 -683
- package/json-schemas/v1/visit/index.json +1895 -1895
- package/json-schemas/v3/tech-record/get/car/complete/index.json +216 -216
- package/json-schemas/v3/tech-record/get/car/skeleton/index.json +195 -195
- package/json-schemas/v3/tech-record/get/hgv/complete/index.json +1051 -1051
- package/json-schemas/v3/tech-record/get/hgv/skeleton/index.json +1124 -1124
- package/json-schemas/v3/tech-record/get/hgv/testable/index.json +1119 -1119
- package/json-schemas/v3/tech-record/get/lgv/complete/index.json +226 -226
- package/json-schemas/v3/tech-record/get/lgv/skeleton/index.json +202 -202
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +219 -219
- package/json-schemas/v3/tech-record/get/motorcycle/skeleton/index.json +202 -202
- package/json-schemas/v3/tech-record/get/psv/complete/index.json +1027 -1027
- package/json-schemas/v3/tech-record/get/psv/skeleton/index.json +1120 -1120
- package/json-schemas/v3/tech-record/get/psv/testable/index.json +1097 -1097
- package/json-schemas/v3/tech-record/get/search/complete/index.json +55 -55
- package/json-schemas/v3/tech-record/get/search/skeleton/index.json +55 -55
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +1307 -1307
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1002 -1002
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +1155 -1155
- package/json-schemas/v3/tech-record/post/psv/complete/index.json +1024 -1024
- package/json-schemas/v3/tech-record/post/psv/skeleton/index.json +1112 -1112
- package/json-schemas/v3/tech-record/post/psv/testable/index.json +1092 -1092
- package/json-schemas/v3/tech-record/put/car/complete/request/index.json +87 -87
- package/json-schemas/v3/tech-record/put/car/complete/response/index.json +237 -237
- package/json-schemas/v3/tech-record/put/car/skeleton/request/index.json +64 -64
- package/json-schemas/v3/tech-record/put/car/skeleton/response/index.json +216 -216
- package/json-schemas/v3/tech-record/put/hgv/complete/index.json +1009 -1009
- package/json-schemas/v3/tech-record/put/hgv/skeleton/index.json +1082 -1082
- package/json-schemas/v3/tech-record/put/hgv/testable/index.json +1077 -1077
- package/json-schemas/v3/tech-record/put/lgv/complete/request/index.json +97 -97
- package/json-schemas/v3/tech-record/put/lgv/complete/response/index.json +247 -247
- package/json-schemas/v3/tech-record/put/lgv/skeleton/request/index.json +71 -71
- package/json-schemas/v3/tech-record/put/lgv/skeleton/response/index.json +223 -223
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +1265 -1265
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +978 -978
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +1115 -1115
- package/package.json +31 -36
- package/{lib/src/schema-validation/schema-validator.d.ts → schema-validator.d.ts} +1 -1
- package/{lib/src/schema-validation/schema-validator.js → schema-validator.js} +2 -2
- package/README.md +0 -48
- /package/{lib/schemas.d.ts → schemas.d.ts} +0 -0
- /package/{lib/schemas.js → schemas.js} +0 -0
|
@@ -1,223 +1,223 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
}
|
|
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
|
+
}
|