71433c5525
Start validating against the exciting JSON schema for the job controller JSON response. The JSON schema is not complete since there is quite a lot missing, this will be done in a separate issue.
31 lines
714 B
JSON
31 lines
714 B
JSON
{
|
|
"description": "Basic job information",
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"started",
|
|
"build_path",
|
|
"playable",
|
|
"created_at",
|
|
"updated_at",
|
|
"status"
|
|
],
|
|
"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": "../ci_detailed_status.json" }
|
|
},
|
|
"additionalProperties": true
|
|
}
|