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