Skip to content

Commit

Permalink
minor(cb2-10740): add international journey type def (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcrawleyy authored Apr 11, 2024
1 parent 5bd117d commit 544d59a
Show file tree
Hide file tree
Showing 53 changed files with 634 additions and 1 deletion.
14 changes: 14 additions & 0 deletions json-definitions/v3/tech-record/enums/radioButtonOptions.enum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Radio Button Options",
"type": "string",
"tsEnumNames": [
"yes",
"no",
"not_applicable"
],
"enum": [
"yes",
"no",
"n/a"
]
}
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/lgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/lgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/get/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/lgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/lgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
10 changes: 10 additions & 0 deletions json-definitions/v3/tech-record/put/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"$ref": "../../../enums/radioButtonOptions.enum.json"
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
14 changes: 14 additions & 0 deletions json-schemas/v3/tech-record/enums/radioButtonOptions.enum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Radio Button Options",
"type": "string",
"tsEnumNames": [
"yes",
"no",
"not_applicable"
],
"enum": [
"yes",
"no",
"n/a"
]
}
21 changes: 21 additions & 0 deletions json-schemas/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,27 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"title": "Radio Button Options",
"type": "string",
"tsEnumNames": [
"yes",
"no",
"not_applicable"
],
"enum": [
"yes",
"no",
"n/a"
]
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
21 changes: 21 additions & 0 deletions json-schemas/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,27 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"title": "Radio Button Options",
"type": "string",
"tsEnumNames": [
"yes",
"no",
"not_applicable"
],
"enum": [
"yes",
"no",
"n/a"
]
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
21 changes: 21 additions & 0 deletions json-schemas/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,27 @@
"null"
]
},
"techRecord_adrDetails_vehicleDetails_usedOnInternationalJourneys": {
"anyOf": [
{
"type": "null"
},
{
"title": "Radio Button Options",
"type": "string",
"tsEnumNames": [
"yes",
"no",
"not_applicable"
],
"enum": [
"yes",
"no",
"n/a"
]
}
]
},
"techRecord_adrDetails_vehicleDetails_approvalDate": {
"anyOf": [
{
Expand Down
Loading

0 comments on commit 544d59a

Please sign in to comment.