@dvsa/cvs-type-definitions 3.0.29 → 3.0.30

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.
@@ -379,17 +379,11 @@
379
379
  "maxLength": 150
380
380
  },
381
381
  "techRecord_applicantDetails_address1": {
382
- "type": [
383
- "null",
384
- "string"
385
- ],
382
+ "type": "string",
386
383
  "maxLength": 60
387
384
  },
388
385
  "techRecord_applicantDetails_address2": {
389
- "type": [
390
- "null",
391
- "string"
392
- ],
386
+ "type": "string",
393
387
  "maxLength": 60
394
388
  },
395
389
  "techRecord_applicantDetails_postTown": {
@@ -103,18 +103,11 @@
103
103
  ]
104
104
  },
105
105
  "techRecord_vehicleSize": {
106
- "anyOf": [
107
- {
108
- "title": "Vehicle Size",
109
- "type": "string",
110
- "enum": [
111
- "small",
112
- "large"
113
- ]
114
- },
115
- {
116
- "type": "null"
117
- }
106
+ "title": "Vehicle Size",
107
+ "type": "string",
108
+ "enum": [
109
+ "small",
110
+ "large"
118
111
  ]
119
112
  },
120
113
  "techRecord_seatsLowerDeck": {
@@ -212,16 +205,9 @@
212
205
  ]
213
206
  },
214
207
  "techRecord_noOfAxles": {
215
- "anyOf": [
216
- {
217
- "type": "integer",
218
- "minimum": 0,
219
- "maximum": 99
220
- },
221
- {
222
- "type": "null"
223
- }
224
- ]
208
+ "type": "integer",
209
+ "minimum": 0,
210
+ "maximum": 99
225
211
  },
226
212
  "techRecord_departmentalVehicleMarker": {
227
213
  "type": [
@@ -859,10 +845,7 @@
859
845
  "maxLength": 255
860
846
  },
861
847
  "techRecord_brakes_dtpNumber": {
862
- "type": [
863
- "string",
864
- "null"
865
- ],
848
+ "type": "string",
866
849
  "maxLength": 6
867
850
  },
868
851
  "techRecord_brakes_brakeCode": {
@@ -18,7 +18,6 @@
18
18
  "techRecord_reasonForCreation",
19
19
  "techRecord_vehicleClass_code",
20
20
  "techRecord_vehicleClass_description",
21
- "techRecord_createdAt",
22
21
  "techRecord_brakes_dtpNumber"
23
22
  ],
24
23
  "properties": {
@@ -184,16 +183,9 @@
184
183
  ]
185
184
  },
186
185
  "techRecord_noOfAxles": {
187
- "anyOf": [
188
- {
189
- "type": "integer",
190
- "minimum": 0,
191
- "maximum": 99
192
- },
193
- {
194
- "type": "null"
195
- }
196
- ]
186
+ "type": "integer",
187
+ "minimum": 0,
188
+ "maximum": 99
197
189
  },
198
190
  "techRecord_departmentalVehicleMarker": {
199
191
  "type": [
@@ -877,10 +869,7 @@
877
869
  "maxLength": 255
878
870
  },
879
871
  "techRecord_brakes_dtpNumber": {
880
- "type": [
881
- "string",
882
- "null"
883
- ],
872
+ "type": "string",
884
873
  "maxLength": 6
885
874
  },
886
875
  "techRecord_brakes_brakeCode": {
@@ -367,17 +367,11 @@
367
367
  "maxLength": 150
368
368
  },
369
369
  "techRecord_applicantDetails_address1": {
370
- "type": [
371
- "null",
372
- "string"
373
- ],
370
+ "type": "string",
374
371
  "maxLength": 60
375
372
  },
376
373
  "techRecord_applicantDetails_address2": {
377
- "type": [
378
- "null",
379
- "string"
380
- ],
374
+ "type": "string",
381
375
  "maxLength": 60
382
376
  },
383
377
  "techRecord_applicantDetails_postTown": {
@@ -97,18 +97,11 @@
97
97
  ]
98
98
  },
99
99
  "techRecord_vehicleSize": {
100
- "anyOf": [
101
- {
102
- "title": "Vehicle Size",
103
- "type": "string",
104
- "enum": [
105
- "small",
106
- "large"
107
- ]
108
- },
109
- {
110
- "type": "null"
111
- }
100
+ "title": "Vehicle Size",
101
+ "type": "string",
102
+ "enum": [
103
+ "small",
104
+ "large"
112
105
  ]
113
106
  },
114
107
  "techRecord_seatsLowerDeck": {
@@ -203,16 +196,9 @@
203
196
  ]
204
197
  },
205
198
  "techRecord_noOfAxles": {
206
- "anyOf": [
207
- {
208
- "type": "integer",
209
- "minimum": 0,
210
- "maximum": 99
211
- },
212
- {
213
- "type": "null"
214
- }
215
- ]
199
+ "type": "integer",
200
+ "minimum": 0,
201
+ "maximum": 99
216
202
  },
217
203
  "techRecord_departmentalVehicleMarker": {
218
204
  "type": [
@@ -184,16 +184,9 @@
184
184
  ]
185
185
  },
186
186
  "techRecord_noOfAxles": {
187
- "anyOf": [
188
- {
189
- "type": "integer",
190
- "minimum": 0,
191
- "maximum": 99
192
- },
193
- {
194
- "type": "null"
195
- }
196
- ]
187
+ "type": "integer",
188
+ "minimum": 0,
189
+ "maximum": 99
197
190
  },
198
191
  "techRecord_departmentalVehicleMarker": {
199
192
  "type": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvsa/cvs-type-definitions",
3
- "version": "3.0.29",
3
+ "version": "3.0.30",
4
4
  "description": "type definitions for cvs vta application",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -189,8 +189,8 @@ export interface TechRecordGETHGVComplete {
189
189
  techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
190
190
  techRecord_alterationMarker?: boolean | null;
191
191
  techRecord_applicantDetails_name: string;
192
- techRecord_applicantDetails_address1: null | string;
193
- techRecord_applicantDetails_address2: null | string;
192
+ techRecord_applicantDetails_address1: string;
193
+ techRecord_applicantDetails_address2: string;
194
194
  techRecord_applicantDetails_postTown: string;
195
195
  techRecord_applicantDetails_address3?: null | string;
196
196
  techRecord_applicantDetails_postCode?: null | string;
@@ -194,7 +194,7 @@ export interface TechRecordGETPSVComplete {
194
194
  techRecord_reasonForCreation: string;
195
195
  techRecord_createdAt: string;
196
196
  techRecord_vehicleConfiguration: VehicleConfiguration;
197
- techRecord_vehicleSize: VehicleSize | null;
197
+ techRecord_vehicleSize: VehicleSize;
198
198
  techRecord_seatsLowerDeck: number;
199
199
  techRecord_seatsUpperDeck: number;
200
200
  techRecord_numberOfWheelsDriven: number | null;
@@ -205,7 +205,7 @@ export interface TechRecordGETPSVComplete {
205
205
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
206
206
  techRecord_regnDate?: null | string;
207
207
  techRecord_manufactureYear?: number | null;
208
- techRecord_noOfAxles: number | null;
208
+ techRecord_noOfAxles: number;
209
209
  techRecord_departmentalVehicleMarker?: boolean | null;
210
210
  techRecord_alterationMarker?: boolean | null;
211
211
  techRecord_approvalType?: ApprovalType | null;
@@ -278,7 +278,7 @@ export interface TechRecordGETPSVComplete {
278
278
  techRecord_applicantDetails_postCode?: null | string;
279
279
  techRecord_applicantDetails_telephoneNumber?: null | string;
280
280
  techRecord_applicantDetails_emailAddress?: null | string;
281
- techRecord_brakes_dtpNumber: string | null;
281
+ techRecord_brakes_dtpNumber: string;
282
282
  techRecord_brakes_brakeCode: string;
283
283
  techRecord_brakes_brakeCodeOriginal?: string | null;
284
284
  techRecord_brakes_dataTrBrakeOne: string;
@@ -191,7 +191,7 @@ export interface TechRecordGETPSVTestable {
191
191
  techRecord_vehicleType: "psv";
192
192
  techRecord_statusCode: StatusCode;
193
193
  techRecord_reasonForCreation: string;
194
- techRecord_createdAt: string;
194
+ techRecord_createdAt?: string;
195
195
  techRecord_vehicleConfiguration: VehicleConfiguration;
196
196
  techRecord_vehicleSize: VehicleSize;
197
197
  techRecord_seatsLowerDeck: number;
@@ -204,7 +204,7 @@ export interface TechRecordGETPSVTestable {
204
204
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
205
205
  techRecord_regnDate?: string | null;
206
206
  techRecord_manufactureYear?: number | null;
207
- techRecord_noOfAxles: number | null;
207
+ techRecord_noOfAxles: number;
208
208
  techRecord_departmentalVehicleMarker?: boolean | null;
209
209
  techRecord_alterationMarker?: boolean | null;
210
210
  techRecord_approvalType?: ApprovalType | null;
@@ -274,7 +274,7 @@ export interface TechRecordGETPSVTestable {
274
274
  techRecord_applicantDetails_postCode?: null | string;
275
275
  techRecord_applicantDetails_telephoneNumber?: null | string;
276
276
  techRecord_applicantDetails_emailAddress?: null | string;
277
- techRecord_brakes_dtpNumber: string | null;
277
+ techRecord_brakes_dtpNumber: string;
278
278
  techRecord_brakes_brakeCode?: string | null;
279
279
  techRecord_brakes_brakeCodeOriginal?: string | null;
280
280
  techRecord_brakes_dataTrBrakeOne?: string | null;
@@ -187,8 +187,8 @@ export interface TechRecordPUTHGVComplete {
187
187
  techRecord_adrDetails_tank_tankDetails_tankStatement_productList?: string | null;
188
188
  techRecord_alterationMarker?: boolean | null;
189
189
  techRecord_applicantDetails_name: string;
190
- techRecord_applicantDetails_address1: null | string;
191
- techRecord_applicantDetails_address2: null | string;
190
+ techRecord_applicantDetails_address1: string;
191
+ techRecord_applicantDetails_address2: string;
192
192
  techRecord_applicantDetails_postTown: string;
193
193
  techRecord_applicantDetails_address3?: null | string;
194
194
  techRecord_applicantDetails_postCode?: null | string;
@@ -193,7 +193,7 @@ export interface TechRecordPUTPSVComplete {
193
193
  techRecord_reasonForCreation: string;
194
194
  techRecord_createdAt?: null | string;
195
195
  techRecord_vehicleConfiguration: VehicleConfiguration;
196
- techRecord_vehicleSize: VehicleSize | null;
196
+ techRecord_vehicleSize: VehicleSize;
197
197
  techRecord_seatsLowerDeck: number;
198
198
  techRecord_seatsUpperDeck: number;
199
199
  techRecord_numberOfWheelsDriven: number | null;
@@ -203,7 +203,7 @@ export interface TechRecordPUTPSVComplete {
203
203
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
204
204
  techRecord_regnDate?: null | string;
205
205
  techRecord_manufactureYear?: number | null;
206
- techRecord_noOfAxles: number | null;
206
+ techRecord_noOfAxles: number;
207
207
  techRecord_departmentalVehicleMarker?: boolean | null;
208
208
  techRecord_alterationMarker?: boolean | null;
209
209
  techRecord_approvalType?: ApprovalType | null;
@@ -203,7 +203,7 @@ export interface TechRecordPUTPSVTestable {
203
203
  techRecord_euVehicleCategory?: EUVehicleCategory | null;
204
204
  techRecord_regnDate?: string | null;
205
205
  techRecord_manufactureYear?: number | null;
206
- techRecord_noOfAxles: number | null;
206
+ techRecord_noOfAxles: number;
207
207
  techRecord_departmentalVehicleMarker?: boolean | null;
208
208
  techRecord_alterationMarker?: boolean | null;
209
209
  techRecord_approvalType?: ApprovalType | null;