debian-mirror-gitlab/spec/fixtures/api/schemas/entities/lint_job_entity.json

59 lines
1.1 KiB
JSON
Raw Normal View History

2020-11-24 15:15:51 +05:30
{
"type": "object",
"required": [
"name",
"stage",
"before_script",
"script",
"after_script",
"tag_list",
"environment",
"when",
"allow_failure",
"only",
"except"
],
"properties": {
"name": {
"type": ["string"]
},
"stage": {
"type": ["string"]
},
"before_script": {
"type": ["array"],
"items": { "type": "string" }
},
"script": {
"type": ["array"],
"items": { "type": "string" }
},
"after_script": {
"type": ["array"],
"items": { "type": "string" }
},
"when": {
"items": { "type": ["string"] }
},
"allow_failure": {
"type": ["boolean"]
},
"environment": {
"type": ["string", null]
},
"tag_list": {
"type": ["array"],
"items": { "type": "string" }
},
"only": {
"type": ["array", "object", null],
"items": { "type": ["string", "array"]}
},
"except": {
"type": ["array", "object", null],
"items": { "type": ["string", "array"]}
}
},
"additionalProperties": false
}