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

142 lines
2.4 KiB
JSON
Raw Normal View History

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