gitlab-org--gitlab-foss/spec/fixtures/api/schemas/job/trigger.json
jhampton 242bead1fb Adds optional attribute to value property
- Value is no longer required
2018-12-06 13:42:34 -05:00

27 lines
557 B
JSON

{
"type": "object",
"required": [
"short_token",
"variables"
],
"properties": {
"short_token": { "type": "string" },
"variables": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"public"
],
"properties": {
"key": { "type": "string" },
"value": { "type": "string", "optional": true },
"public": { "type": "boolean" }
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}