@dvsa/cvs-type-definitions 2.0.24 → 2.0.26
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 +2 -2
- 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 +4 -4
- package/json-schemas/v3/tech-record/get/motorcycle/complete/index.json +2 -2
- package/json-schemas/v3/tech-record/get/trl/complete/index.json +16 -18
- package/json-schemas/v3/tech-record/get/trl/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/get/trl/testable/index.json +16 -18
- package/json-schemas/v3/tech-record/put/car/complete/index.json +2 -2
- package/json-schemas/v3/tech-record/put/car/skeleton/index.json +1 -1
- 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 +4 -4
- package/json-schemas/v3/tech-record/put/lgv/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/put/trl/complete/index.json +16 -18
- package/json-schemas/v3/tech-record/put/trl/skeleton/index.json +1 -1
- package/json-schemas/v3/tech-record/put/trl/testable/index.json +16 -18
- package/package.json +1 -1
- package/types/v3/tech-record/get/car/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/hgv/complete/index.d.ts +2 -2
- package/types/v3/tech-record/get/hgv/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/get/hgv/testable/index.d.ts +2 -2
- package/types/v3/tech-record/get/lgv/complete/index.d.ts +3 -3
- package/types/v3/tech-record/get/motorcycle/complete/index.d.ts +1 -1
- package/types/v3/tech-record/get/trl/complete/index.d.ts +3 -4
- package/types/v3/tech-record/get/trl/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/get/trl/testable/index.d.ts +3 -4
- package/types/v3/tech-record/put/car/complete/index.d.ts +1 -1
- package/types/v3/tech-record/put/car/skeleton/index.d.ts +1 -1
- package/types/v3/tech-record/put/hgv/complete/index.d.ts +2 -2
- package/types/v3/tech-record/put/hgv/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/put/hgv/testable/index.d.ts +2 -2
- package/types/v3/tech-record/put/lgv/complete/index.d.ts +2 -2
- package/types/v3/tech-record/put/lgv/skeleton/index.d.ts +1 -1
- package/types/v3/tech-record/put/trl/complete/index.d.ts +3 -4
- package/types/v3/tech-record/put/trl/skeleton/index.d.ts +2 -2
- package/types/v3/tech-record/put/trl/testable/index.d.ts +3 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"createdTimestamp",
|
|
8
8
|
"systemNumber",
|
|
9
9
|
"vin"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"vin": {
|
|
197
197
|
"type": "string"
|
|
198
198
|
},
|
|
199
|
-
"
|
|
199
|
+
"techRecord_vehicleSubclass": {
|
|
200
200
|
"title": "Vehicle Subclass",
|
|
201
201
|
"type": "array",
|
|
202
202
|
"items": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "Tech Record Complete
|
|
2
|
+
"title": "Tech Record Complete LGV Schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass"
|
|
7
7
|
],
|
|
8
8
|
"allOf": [
|
|
9
9
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "object",
|
|
12
12
|
"additionalProperties": false,
|
|
13
13
|
"required": [
|
|
14
|
-
"
|
|
14
|
+
"techRecord_vehicleSubclass",
|
|
15
15
|
"createdTimestamp",
|
|
16
16
|
"systemNumber",
|
|
17
17
|
"vin"
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"vin": {
|
|
205
205
|
"type": "string"
|
|
206
206
|
},
|
|
207
|
-
"
|
|
207
|
+
"techRecord_vehicleSubclass": {
|
|
208
208
|
"title": "Vehicle Subclass",
|
|
209
209
|
"type": "array",
|
|
210
210
|
"items": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"createdTimestamp",
|
|
8
8
|
"systemNumber",
|
|
9
9
|
"vin"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"vin": {
|
|
197
197
|
"type": "string"
|
|
198
198
|
},
|
|
199
|
-
"
|
|
199
|
+
"techRecord_vehicleSubclass": {
|
|
200
200
|
"title": "Vehicle Subclass",
|
|
201
201
|
"type": "array",
|
|
202
202
|
"items": {
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
"type": "null"
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
|
-
"title": "Microfilm Document
|
|
798
|
+
"title": "Microfilm Document Type",
|
|
799
799
|
"type": "string",
|
|
800
800
|
"enum": [
|
|
801
801
|
"PSV Miscellaneous",
|
|
@@ -1176,23 +1176,21 @@
|
|
|
1176
1176
|
]
|
|
1177
1177
|
},
|
|
1178
1178
|
"brakes": {
|
|
1179
|
-
"type": "
|
|
1180
|
-
"
|
|
1181
|
-
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
"
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
"
|
|
1194
|
-
"type": "boolean"
|
|
1195
|
-
}
|
|
1179
|
+
"type": "object",
|
|
1180
|
+
"additionalProperties": false,
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"brakeActuator": {
|
|
1183
|
+
"type": "integer",
|
|
1184
|
+
"minimum": 0,
|
|
1185
|
+
"maximum": 999
|
|
1186
|
+
},
|
|
1187
|
+
"leverLength": {
|
|
1188
|
+
"type": "integer",
|
|
1189
|
+
"minimum": 0,
|
|
1190
|
+
"maximum": 999
|
|
1191
|
+
},
|
|
1192
|
+
"springBrakeParking": {
|
|
1193
|
+
"type": "boolean"
|
|
1196
1194
|
}
|
|
1197
1195
|
}
|
|
1198
1196
|
},
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
"type": "null"
|
|
671
671
|
},
|
|
672
672
|
{
|
|
673
|
-
"title": "Microfilm Document
|
|
673
|
+
"title": "Microfilm Document Type",
|
|
674
674
|
"type": "string",
|
|
675
675
|
"enum": [
|
|
676
676
|
"PSV Miscellaneous",
|
|
@@ -1027,23 +1027,21 @@
|
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
1029
|
"brakes": {
|
|
1030
|
-
"type": "
|
|
1031
|
-
"
|
|
1032
|
-
|
|
1033
|
-
"
|
|
1034
|
-
"
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
"
|
|
1045
|
-
"type": "boolean"
|
|
1046
|
-
}
|
|
1030
|
+
"type": "object",
|
|
1031
|
+
"additionalProperties": false,
|
|
1032
|
+
"properties": {
|
|
1033
|
+
"brakeActuator": {
|
|
1034
|
+
"type": "integer",
|
|
1035
|
+
"minimum": 0,
|
|
1036
|
+
"maximum": 999
|
|
1037
|
+
},
|
|
1038
|
+
"leverLength": {
|
|
1039
|
+
"type": "integer",
|
|
1040
|
+
"minimum": 0,
|
|
1041
|
+
"maximum": 999
|
|
1042
|
+
},
|
|
1043
|
+
"springBrakeParking": {
|
|
1044
|
+
"type": "boolean"
|
|
1047
1045
|
}
|
|
1048
1046
|
}
|
|
1049
1047
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass",
|
|
7
7
|
"vin"
|
|
8
8
|
],
|
|
9
9
|
"properties": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"techRecord_notes": {
|
|
68
68
|
"type": "string"
|
|
69
69
|
},
|
|
70
|
-
"
|
|
70
|
+
"techRecord_vehicleSubclass": {
|
|
71
71
|
"title": "Vehicle Subclass",
|
|
72
72
|
"type": "array",
|
|
73
73
|
"items": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "Tech Record Complete
|
|
2
|
+
"title": "Tech Record Complete LGV Schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"additionalProperties": false,
|
|
5
5
|
"required": [
|
|
6
|
-
"
|
|
6
|
+
"techRecord_vehicleSubclass"
|
|
7
7
|
],
|
|
8
8
|
"allOf": [
|
|
9
9
|
{
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "object",
|
|
12
12
|
"additionalProperties": false,
|
|
13
13
|
"required": [
|
|
14
|
-
"
|
|
14
|
+
"techRecord_vehicleSubclass",
|
|
15
15
|
"vin"
|
|
16
16
|
],
|
|
17
17
|
"properties": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"techRecord_notes": {
|
|
76
76
|
"type": "string"
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"techRecord_vehicleSubclass": {
|
|
79
79
|
"title": "Vehicle Subclass",
|
|
80
80
|
"type": "array",
|
|
81
81
|
"items": {
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
"type": "null"
|
|
775
775
|
},
|
|
776
776
|
{
|
|
777
|
-
"title": "Microfilm Document
|
|
777
|
+
"title": "Microfilm Document Type",
|
|
778
778
|
"type": "string",
|
|
779
779
|
"enum": [
|
|
780
780
|
"PSV Miscellaneous",
|
|
@@ -1134,23 +1134,21 @@
|
|
|
1134
1134
|
]
|
|
1135
1135
|
},
|
|
1136
1136
|
"brakes": {
|
|
1137
|
-
"type": "
|
|
1138
|
-
"
|
|
1139
|
-
|
|
1140
|
-
"
|
|
1141
|
-
"
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
"
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
"
|
|
1152
|
-
"type": "boolean"
|
|
1153
|
-
}
|
|
1137
|
+
"type": "object",
|
|
1138
|
+
"additionalProperties": false,
|
|
1139
|
+
"properties": {
|
|
1140
|
+
"brakeActuator": {
|
|
1141
|
+
"type": "integer",
|
|
1142
|
+
"minimum": 0,
|
|
1143
|
+
"maximum": 999
|
|
1144
|
+
},
|
|
1145
|
+
"leverLength": {
|
|
1146
|
+
"type": "integer",
|
|
1147
|
+
"minimum": 0,
|
|
1148
|
+
"maximum": 999
|
|
1149
|
+
},
|
|
1150
|
+
"springBrakeParking": {
|
|
1151
|
+
"type": "boolean"
|
|
1154
1152
|
}
|
|
1155
1153
|
}
|
|
1156
1154
|
},
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
"type": "null"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
|
-
"title": "Microfilm Document
|
|
654
|
+
"title": "Microfilm Document Type",
|
|
655
655
|
"type": "string",
|
|
656
656
|
"enum": [
|
|
657
657
|
"PSV Miscellaneous",
|
|
@@ -987,23 +987,21 @@
|
|
|
987
987
|
}
|
|
988
988
|
},
|
|
989
989
|
"brakes": {
|
|
990
|
-
"type": "
|
|
991
|
-
"
|
|
992
|
-
|
|
993
|
-
"
|
|
994
|
-
"
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
"
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
"
|
|
1005
|
-
"type": "boolean"
|
|
1006
|
-
}
|
|
990
|
+
"type": "object",
|
|
991
|
+
"additionalProperties": false,
|
|
992
|
+
"properties": {
|
|
993
|
+
"brakeActuator": {
|
|
994
|
+
"type": "integer",
|
|
995
|
+
"minimum": 0,
|
|
996
|
+
"maximum": 999
|
|
997
|
+
},
|
|
998
|
+
"leverLength": {
|
|
999
|
+
"type": "integer",
|
|
1000
|
+
"minimum": 0,
|
|
1001
|
+
"maximum": 999
|
|
1002
|
+
},
|
|
1003
|
+
"springBrakeParking": {
|
|
1004
|
+
"type": "boolean"
|
|
1007
1005
|
}
|
|
1008
1006
|
}
|
|
1009
1007
|
},
|
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export interface TechRecordCompleteCarSchema {
|
|
|
71
71
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
72
72
|
techRecord_vehicleType?: VehicleType;
|
|
73
73
|
vin: string;
|
|
74
|
-
|
|
74
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
75
75
|
techRecord_hiddenInVta?: boolean;
|
|
76
76
|
techRecord_updateType?: string;
|
|
77
77
|
}
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Complete {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear: number;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model: string;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Skeleton {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear?: number | null;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model?: string | null;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -230,7 +230,7 @@ export interface GETHGVTechnicalRecordV3Testable {
|
|
|
230
230
|
techRecord_maxTrainEecWeight?: number | null;
|
|
231
231
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
232
232
|
techRecord_manufactureYear?: number | null;
|
|
233
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
233
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
234
234
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
235
235
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
236
236
|
techRecord_model?: string | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type TechRecordCompleteLGVSchema = TechRecordCompleteCarSchema;
|
|
9
9
|
export type EUVehicleCategory =
|
|
10
10
|
| "m1"
|
|
11
11
|
| "m2"
|
|
@@ -42,7 +42,7 @@ export type VehicleConfiguration =
|
|
|
42
42
|
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
43
43
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
44
44
|
|
|
45
|
-
export interface
|
|
45
|
+
export interface TechRecordCompleteCarSchema {
|
|
46
46
|
techRecord_applicantDetails_name?: string | null;
|
|
47
47
|
techRecord_applicantDetails_address1?: null | string;
|
|
48
48
|
techRecord_applicantDetails_address2?: null | string;
|
|
@@ -72,7 +72,7 @@ export interface TechRecordCompleteCarSchema1 {
|
|
|
72
72
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
73
73
|
techRecord_vehicleType?: VehicleType;
|
|
74
74
|
vin: string;
|
|
75
|
-
|
|
75
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
76
76
|
techRecord_hiddenInVta?: boolean;
|
|
77
77
|
techRecord_updateType?: string;
|
|
78
78
|
}
|
|
@@ -71,7 +71,7 @@ export interface TechRecordCompleteMotorcycleSchema {
|
|
|
71
71
|
techRecord_vehicleConfiguration?: VehicleConfiguration;
|
|
72
72
|
techRecord_vehicleType?: VehicleType;
|
|
73
73
|
vin: string;
|
|
74
|
-
|
|
74
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
75
75
|
numberOfWheelsDriven?: number;
|
|
76
76
|
techRecord_hiddenInVta?: boolean;
|
|
77
77
|
techRecord_updateType?: string;
|
|
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
|
|
|
71
71
|
| "Fuel cell"
|
|
72
72
|
| "LNG"
|
|
73
73
|
| "Other";
|
|
74
|
-
export type
|
|
74
|
+
export type MicrofilmDocumentType =
|
|
75
75
|
| "PSV Miscellaneous"
|
|
76
76
|
| "AAT - Trailer Annual Test"
|
|
77
77
|
| "AIV - HGV International App"
|
|
@@ -279,7 +279,7 @@ export interface GETTRLTechnicalRecordV3Complete {
|
|
|
279
279
|
techRecord_manufacturerDetails?: string | null;
|
|
280
280
|
techRecord_maxLoadOnCoupling: number | null;
|
|
281
281
|
techRecord_microfilm?: string | null;
|
|
282
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
282
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
283
283
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
284
284
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
285
285
|
techRecord_model: string | null;
|
|
@@ -337,8 +337,7 @@ export interface TRLAxles {
|
|
|
337
337
|
brakeActuator?: number;
|
|
338
338
|
leverLength?: number;
|
|
339
339
|
springBrakeParking?: boolean;
|
|
340
|
-
|
|
341
|
-
}[];
|
|
340
|
+
};
|
|
342
341
|
weights_gbWeight?: number | null;
|
|
343
342
|
weights_designWeight?: number | null;
|
|
344
343
|
weights_ladenWeight?: number | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -214,7 +214,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
|
|
|
214
214
|
techRecord_manufacturerDetails?: string | null;
|
|
215
215
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
216
216
|
techRecord_microfilm?: string | null;
|
|
217
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
217
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
218
218
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
219
219
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
220
220
|
techRecord_model?: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -231,7 +231,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
231
231
|
techRecord_manufacturerDetails?: string | null;
|
|
232
232
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
233
233
|
techRecord_microfilm?: string | null;
|
|
234
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
234
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
235
235
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
236
236
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
237
237
|
techRecord_model?: string | null;
|
|
@@ -269,8 +269,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
269
269
|
brakeActuator?: number;
|
|
270
270
|
leverLength?: number;
|
|
271
271
|
springBrakeParking?: boolean;
|
|
272
|
-
|
|
273
|
-
}[];
|
|
272
|
+
};
|
|
274
273
|
weights_gbWeight?: number | null;
|
|
275
274
|
weights_designWeight?: number | null;
|
|
276
275
|
weights_ladenWeight?: number | null;
|
|
@@ -20,7 +20,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
|
|
|
20
20
|
techRecord_manufactureYear?: string | null;
|
|
21
21
|
techRecord_noOfAxles?: number | null;
|
|
22
22
|
techRecord_notes?: string;
|
|
23
|
-
|
|
23
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
24
24
|
techRecord_hiddenInVta?: boolean;
|
|
25
25
|
techRecord_updateType?: string;
|
|
26
26
|
}
|
|
@@ -13,7 +13,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
13
13
|
primaryVrm?: string;
|
|
14
14
|
trailerId?: string | null;
|
|
15
15
|
techRecord_reasonForCreation?: string | null;
|
|
16
|
-
techRecord_vehicleType
|
|
16
|
+
techRecord_vehicleType: VehicleType;
|
|
17
17
|
techRecord_statusCode?: StatusCode;
|
|
18
18
|
techRecord_regnDate?: string | null;
|
|
19
19
|
techRecord_manufactureYear?: string | null;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Complete {
|
|
|
225
225
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
226
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
227
|
techRecord_manufactureYear: number;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
228
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
229
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
230
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
231
|
techRecord_model: string;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Skeleton {
|
|
|
225
225
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
226
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
227
|
techRecord_manufactureYear?: number | null;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
228
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
229
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
230
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
231
|
techRecord_model?: string | null;
|
|
@@ -37,7 +37,7 @@ export type FuelPropulsionSystem =
|
|
|
37
37
|
| "Fuel cell"
|
|
38
38
|
| "LNG"
|
|
39
39
|
| "Other";
|
|
40
|
-
export type
|
|
40
|
+
export type MicrofilmDocumentType =
|
|
41
41
|
| "PSV Miscellaneous"
|
|
42
42
|
| "AAT - Trailer Annual Test"
|
|
43
43
|
| "AIV - HGV International App"
|
|
@@ -225,7 +225,7 @@ export interface PUTHGVTechnicalRecordV3Testable {
|
|
|
225
225
|
techRecord_maxTrainEecWeight?: number | null;
|
|
226
226
|
techRecord_maxTrainDesignWeight?: number | null;
|
|
227
227
|
techRecord_manufactureYear?: number | null;
|
|
228
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
228
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
229
229
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
230
230
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
231
231
|
techRecord_model?: string | null;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type TechRecordCompleteLGVSchema = TechRecordPUTRequestCompleteCarSchema;
|
|
9
9
|
export type VehicleType = "psv" | "trl" | "hgv" | "car" | "lgv" | "motorcycle";
|
|
10
10
|
export type StatusCode = "provisional" | "current" | "archived";
|
|
11
11
|
export type VehicleSubclass = ("n" | "p" | "a" | "s" | "c" | "l" | "t" | "e" | "m" | "r" | "w")[];
|
|
@@ -21,7 +21,7 @@ export interface TechRecordPUTRequestCompleteCarSchema {
|
|
|
21
21
|
techRecord_manufactureYear?: string | null;
|
|
22
22
|
techRecord_noOfAxles?: number | null;
|
|
23
23
|
techRecord_notes?: string;
|
|
24
|
-
|
|
24
|
+
techRecord_vehicleSubclass: VehicleSubclass;
|
|
25
25
|
techRecord_hiddenInVta?: boolean;
|
|
26
26
|
techRecord_updateType?: string;
|
|
27
27
|
}
|
|
@@ -14,7 +14,7 @@ export interface TechRecordPUTRequestSkeletonCarSchema {
|
|
|
14
14
|
primaryVrm?: string;
|
|
15
15
|
trailerId?: string | null;
|
|
16
16
|
techRecord_reasonForCreation?: string | null;
|
|
17
|
-
techRecord_vehicleType
|
|
17
|
+
techRecord_vehicleType: VehicleType;
|
|
18
18
|
techRecord_statusCode?: StatusCode;
|
|
19
19
|
techRecord_regnDate?: string | null;
|
|
20
20
|
techRecord_manufactureYear?: string | null;
|
|
@@ -71,7 +71,7 @@ export type FuelPropulsionSystem =
|
|
|
71
71
|
| "Fuel cell"
|
|
72
72
|
| "LNG"
|
|
73
73
|
| "Other";
|
|
74
|
-
export type
|
|
74
|
+
export type MicrofilmDocumentType =
|
|
75
75
|
| "PSV Miscellaneous"
|
|
76
76
|
| "AAT - Trailer Annual Test"
|
|
77
77
|
| "AIV - HGV International App"
|
|
@@ -274,7 +274,7 @@ export interface PUTTRLTechnicalRecordV3Complete {
|
|
|
274
274
|
techRecord_manufacturerDetails?: string | null;
|
|
275
275
|
techRecord_maxLoadOnCoupling: number | null;
|
|
276
276
|
techRecord_microfilm?: string | null;
|
|
277
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
277
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
278
278
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
279
279
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
280
280
|
techRecord_model: string | null;
|
|
@@ -328,8 +328,7 @@ export interface PSVAxles {
|
|
|
328
328
|
brakeActuator?: number;
|
|
329
329
|
leverLength?: number;
|
|
330
330
|
springBrakeParking?: boolean;
|
|
331
|
-
|
|
332
|
-
}[];
|
|
331
|
+
};
|
|
333
332
|
weights_gbWeight?: number | null;
|
|
334
333
|
weights_designWeight?: number | null;
|
|
335
334
|
weights_ladenWeight?: number | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -209,7 +209,7 @@ export interface GETTRLTechnicalRecordV3Skeleton {
|
|
|
209
209
|
techRecord_manufacturerDetails?: string | null;
|
|
210
210
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
211
211
|
techRecord_microfilm?: string | null;
|
|
212
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
212
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
213
213
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
214
214
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
215
215
|
techRecord_model?: string | null;
|
|
@@ -36,7 +36,7 @@ export type FrameDescription =
|
|
|
36
36
|
| "integral"
|
|
37
37
|
| "Box section"
|
|
38
38
|
| "U section";
|
|
39
|
-
export type
|
|
39
|
+
export type MicrofilmDocumentType =
|
|
40
40
|
| "PSV Miscellaneous"
|
|
41
41
|
| "AAT - Trailer Annual Test"
|
|
42
42
|
| "AIV - HGV International App"
|
|
@@ -226,7 +226,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
226
226
|
techRecord_manufacturerDetails?: string | null;
|
|
227
227
|
techRecord_maxLoadOnCoupling?: number | null;
|
|
228
228
|
techRecord_microfilm?: string | null;
|
|
229
|
-
techRecord_microfilm_microfilmDocumentType?: null |
|
|
229
|
+
techRecord_microfilm_microfilmDocumentType?: null | MicrofilmDocumentType;
|
|
230
230
|
techRecord_microfilm_microfilmRollNumber?: string | null;
|
|
231
231
|
techRecord_microfilm_microfilmSerialNumber?: string | null;
|
|
232
232
|
techRecord_model?: string | null;
|
|
@@ -260,8 +260,7 @@ export interface GETTRLTechnicalRecordV3Testable {
|
|
|
260
260
|
brakeActuator?: number;
|
|
261
261
|
leverLength?: number;
|
|
262
262
|
springBrakeParking?: boolean;
|
|
263
|
-
|
|
264
|
-
}[];
|
|
263
|
+
};
|
|
265
264
|
weights_gbWeight?: number | null;
|
|
266
265
|
weights_designWeight?: number | null;
|
|
267
266
|
weights_ladenWeight?: number | null;
|