debian-mirror-gitlab/spec/fixtures/api/schemas/job/job.json
2018-12-13 13:39:08 +05:30

35 lines
863 B
JSON

{
"description": "Basic job information",
"type": "object",
"required": [
"id",
"name",
"started",
"build_path",
"playable",
"created_at",
"updated_at",
"status",
"archived"
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"started": {
"oneOf": [
{ "type": "string", "format": "date-time" },
{ "type": "boolean" }
]
},
"build_path": { "type": "string" },
"retry_path": { "type": "string" },
"playable": { "type": "boolean" },
"created_at": { "type": "string" },
"updated_at": { "type": "string" },
"status": { "$ref": "../status/ci_detailed_status.json" },
"callout_message": { "type": "string" },
"recoverable": { "type": "boolean" },
"archived": { "type": "boolean" }
},
"additionalProperties": true
}