2017-05-11 19:12:04 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"description": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
|
|
|
"cron": { "type": "string" },
|
|
|
|
"cron_timezone": { "type": "string" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"next_run_at": { "type": "string" },
|
2017-05-11 19:12:04 +00:00
|
|
|
"active": { "type": "boolean" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"created_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"updated_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"last_pipeline": {
|
2017-05-11 19:12:04 +00:00
|
|
|
"type": ["object", "null"],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"project_id": { "type": "integer" },
|
2017-05-11 19:12:04 +00:00
|
|
|
"sha": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"status": { "type": "string" },
|
2021-08-13 21:09:54 +00:00
|
|
|
"source": { "type": "string" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"web_url": { "type": ["string", "null"] },
|
|
|
|
"created_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"updated_at": { "type": ["string", "null"], "format": "date-time" }
|
2017-05-11 19:12:04 +00: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" }
|
|
|
|
},
|
2020-05-12 12:09:47 +00:00
|
|
|
"required": [
|
|
|
|
"id", "name", "username", "state", "avatar_url", "web_url"
|
|
|
|
]
|
2017-08-18 08:25:35 +00:00
|
|
|
},
|
|
|
|
"variables": {
|
2019-05-06 13:11:42 +00:00
|
|
|
"type": "array",
|
2017-08-21 17:21:37 +00:00
|
|
|
"items": { "$ref": "pipeline_schedule_variable.json" }
|
2017-05-11 19:12:04 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-04-26 12:09:44 +00:00
|
|
|
"id", "description", "ref", "cron", "cron_timezone", "next_run_at",
|
2017-05-19 13:24:31 +00:00
|
|
|
"active", "created_at", "updated_at", "owner"
|
2017-05-11 19:12:04 +00:00
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|