2018-02-13 08:59:30 -05:00
|
|
|
{
|
2018-08-20 09:15:53 -04:00
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"sha",
|
|
|
|
"created_at",
|
|
|
|
"iid",
|
|
|
|
"tag",
|
|
|
|
"last?",
|
|
|
|
"ref",
|
|
|
|
"id"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"created_at": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"iid": { "type": "integer" },
|
|
|
|
"last?": { "type": "boolean" },
|
|
|
|
"ref": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"name"
|
|
|
|
],
|
|
|
|
"properties": {
|
2018-10-10 05:43:02 -04:00
|
|
|
"name": { "type": "string" },
|
|
|
|
"ref_path": { "type": "string" }
|
2018-08-20 09:15:53 -04:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2018-02-13 08:59:30 -05:00
|
|
|
},
|
2018-08-20 09:15:53 -04:00
|
|
|
"sha": { "type": "string" },
|
2018-10-10 05:43:02 -04:00
|
|
|
"tag": { "type": "boolean" },
|
|
|
|
"user": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "null" },
|
|
|
|
{ "$ref": "entities/user.json" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"commit": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "null" },
|
|
|
|
{ "$ref": "entities/commit.json" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"deployable": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "null" },
|
|
|
|
{ "$ref": "job/job.json" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"manual_actions": {
|
|
|
|
"type": "array",
|
|
|
|
"items": { "$ref": "job/job.json" }
|
2018-10-24 04:00:58 -04:00
|
|
|
},
|
|
|
|
"scheduled_actions": {
|
|
|
|
"type": "array",
|
|
|
|
"items": { "$ref": "job/job.json" }
|
2018-10-10 05:43:02 -04:00
|
|
|
}
|
2018-08-20 09:15:53 -04:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
2018-02-13 08:59:30 -05:00
|
|
|
}
|