2017-09-10 17:25:29 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"description": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
|
|
|
"cron": { "type": "string" },
|
|
|
|
"cron_timezone": { "type": "string" },
|
2021-06-08 01:23:25 +05:30
|
|
|
"next_run_at": { "type": "string" },
|
2017-09-10 17:25:29 +05:30
|
|
|
"active": { "type": "boolean" },
|
2021-06-08 01:23:25 +05:30
|
|
|
"created_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"updated_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"last_pipeline": {
|
2017-09-10 17:25:29 +05:30
|
|
|
"type": ["object", "null"],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
2021-06-08 01:23:25 +05:30
|
|
|
"project_id": { "type": "integer" },
|
2017-09-10 17:25:29 +05:30
|
|
|
"sha": { "type": "string" },
|
|
|
|
"ref": { "type": "string" },
|
2021-06-08 01:23:25 +05:30
|
|
|
"status": { "type": "string" },
|
2021-10-27 15:23:28 +05:30
|
|
|
"source": { "type": "string" },
|
2021-06-08 01:23:25 +05:30
|
|
|
"web_url": { "type": ["string", "null"] },
|
|
|
|
"created_at": { "type": ["string", "null"], "format": "date-time" },
|
|
|
|
"updated_at": { "type": ["string", "null"], "format": "date-time" }
|
2017-09-10 17:25:29 +05:30
|
|
|
},
|
|
|
|
"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-24 23:13:21 +05:30
|
|
|
"required": [
|
|
|
|
"id", "name", "username", "state", "avatar_url", "web_url"
|
|
|
|
]
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
|
|
|
"variables": {
|
2019-07-31 22:56:46 +05:30
|
|
|
"type": "array",
|
2018-03-17 18:26:18 +05:30
|
|
|
"items": { "$ref": "pipeline_schedule_variable.json" }
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
2021-06-08 01:23:25 +05:30
|
|
|
"id", "description", "ref", "cron", "cron_timezone", "next_run_at",
|
2017-09-10 17:25:29 +05:30
|
|
|
"active", "created_at", "updated_at", "owner"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|