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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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": {
2021-06-08 01:23:25 +05:30
"type": ["string", "null"]
2020-11-24 15:15:51 +05:30
},
"tag_list": {
"type": ["array"],
"items": { "type": "string" }
},
"only": {
2021-06-08 01:23:25 +05:30
"type": ["array", "object", "null"],
2020-11-24 15:15:51 +05:30
"items": { "type": ["string", "array"]}
},
"except": {
2021-06-08 01:23:25 +05:30
"type": ["array", "object", "null"],
2020-11-24 15:15:51 +05:30
"items": { "type": ["string", "array"]}
}
},
"additionalProperties": false
}