Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch(CB2-9183): update vehicle class code and description #131

Merged
merged 5 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Vehicle Class Description",
"type": "string",
"tsEnumNames": [
"SMALL_PSV",
"LARGE_PSV"
],
"enum": [
"small psv (ie: less than or equal to 22 seats)",
"large psv(ie: greater than 23 seats)"
]
}
4 changes: 2 additions & 2 deletions json-definitions/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "v"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
7 changes: 2 additions & 5 deletions json-definitions/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -900,13 +900,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": [
"null",
"string"
]
"const": "v"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
4 changes: 2 additions & 2 deletions json-definitions/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -894,10 +894,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "v"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"type": "string"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"type": "string"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": "boolean"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"type": "string"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": [
Expand Down
4 changes: 2 additions & 2 deletions json-definitions/v3/tech-record/get/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -917,10 +917,10 @@
]
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "t"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"$ref": "../../../enums/vehicleConfiguration.ignore.json"
Expand Down
4 changes: 2 additions & 2 deletions json-definitions/v3/tech-record/get/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1098,10 +1098,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "t"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
4 changes: 2 additions & 2 deletions json-definitions/v3/tech-record/get/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -955,10 +955,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "t"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
"maxLength": 2
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@
"maxLength": 2
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@
"maxLength": 2
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"type": "integer"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
]
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"type": "integer"
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"$ref": "../../../enums/vehicleClassDescriptionPSV.enum.json"
},
"techRecord_hiddenInVta": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@
]
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"$ref": "../../../enums/vehicleConfiguration.ignore.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@
"maxLength": 2
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@
"maxLength": 2
},
"techRecord_vehicleClass_description": {
"$ref": "../../../enums/vehicleClassDescription.ignore.json"
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"$ref": "../../../enums/vehicleConfiguration.ignore.json"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Vehicle Class Description",
"type": "string",
"tsEnumNames": [
"SMALL_PSV",
"LARGE_PSV"
],
"enum": [
"small psv (ie: less than or equal to 22 seats)",
"large psv(ie: greater than 23 seats)"
]
}
18 changes: 2 additions & 16 deletions json-schemas/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -943,24 +943,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "v"
},
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
]
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
21 changes: 2 additions & 19 deletions json-schemas/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1021,27 +1021,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": [
"null",
"string"
]
"const": "v"
},
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
]
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
18 changes: 2 additions & 16 deletions json-schemas/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,24 +1015,10 @@
"maxLength": 2
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "v"
},
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
]
"const": "heavy goods vehicle"
},
"techRecord_vehicleConfiguration": {
"anyOf": [
Expand Down
15 changes: 5 additions & 10 deletions json-schemas/v3/tech-record/get/psv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,13 @@
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"tsEnumNames": [
"SMALL_PSV",
"LARGE_PSV"
],
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
"large psv(ie: greater than 23 seats)"
]
},
"techRecord_hiddenInVta": {
Expand Down
15 changes: 5 additions & 10 deletions json-schemas/v3/tech-record/get/psv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,13 @@
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"tsEnumNames": [
"SMALL_PSV",
"LARGE_PSV"
],
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
"large psv(ie: greater than 23 seats)"
]
},
"techRecord_hiddenInVta": {
Expand Down
15 changes: 5 additions & 10 deletions json-schemas/v3/tech-record/get/psv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,13 @@
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"tsEnumNames": [
"SMALL_PSV",
"LARGE_PSV"
],
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
"large psv(ie: greater than 23 seats)"
]
},
"techRecord_hiddenInVta": {
Expand Down
18 changes: 2 additions & 16 deletions json-schemas/v3/tech-record/get/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,24 +1081,10 @@
]
},
"techRecord_vehicleClass_code": {
"type": "string"
"const": "t"
},
"techRecord_vehicleClass_description": {
"title": "Vehicle Class Description",
"type": "string",
"enum": [
"motorbikes over 200cc or with a sidecar",
"not applicable",
"small psv (ie: less than or equal to 22 seats)",
"motorbikes up to 200cc",
"trailer",
"large psv(ie: greater than 23 seats)",
"3 wheelers",
"heavy goods vehicle",
"MOT class 4",
"MOT class 7",
"MOT class 5"
]
"const": "trailer"
},
"techRecord_vehicleConfiguration": {
"title": "Vehicle Configuration",
Expand Down
Loading