debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/deployment.json
2019-12-21 20:55:43 +05:30

35 lines
679 B
JSON

{
"type": "object",
"required": [
"id",
"iid",
"ref",
"sha",
"created_at",
"updated_at",
"user",
"deployable"
],
"properties": {
"id": { "type": "integer" },
"iid": { "type": "integer" },
"ref": { "type": "string" },
"sha": { "type": "string" },
"created_at": { "type": "string" },
"updated_at": { "type": "string" },
"user": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user/basic.json" }
]
},
"deployable": {
"oneOf": [
{ "type": "null" },
{ "$ref": "job.json" }
]
},
"status": { "type": "string" }
},
"additionalProperties": false
}