2017-05-11 15:12:04 -04:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"description": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
|
|
|
"cron": { "type": "string" },
|
|
|
|
"cron_timezone": { "type": "string" },
|
|
|
|
"next_run_at": { "type": "date" },
|
|
|
|
"active": { "type": "boolean" },
|
|
|
|
"created_at": { "type": "date" },
|
|
|
|
"updated_at": { "type": "date" },
|
|
|
|
"last_pipeline": {
|
|
|
|
"type": ["object", "null"],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"sha": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
2017-05-18 04:45:08 -04:00
|
|
|
"status": { "type": "string" }
|
2017-05-11 15:12:04 -04:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"owner": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2017-08-18 04:25:35 -04:00
|
|
|
},
|
|
|
|
"variables": {
|
|
|
|
"type": ["array", "null"],
|
2017-08-21 13:21:37 -04:00
|
|
|
"items": { "$ref": "pipeline_schedule_variable.json" }
|
2017-05-11 15:12:04 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "description", "ref", "cron", "cron_timezone", "next_run_at",
|
2017-05-19 09:24:31 -04:00
|
|
|
"active", "created_at", "updated_at", "owner"
|
2017-05-11 15:12:04 -04:00
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|