debian-mirror-gitlab/spec/fixtures/api/schemas/pipeline_schedule.json

46 lines
1.3 KiB
JSON
Raw Normal View History

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" },
"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" },
"status": { "type": "string" }
},
"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
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": [
"id", "description", "ref", "cron", "cron_timezone", "next_run_at",
"active", "created_at", "updated_at", "owner"
],
"additionalProperties": false
}