debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/environment.json

24 lines
467 B
JSON
Raw Normal View History

2019-07-31 22:56:46 +05:30
{
"type": "object",
"required": [
"id",
"name",
"slug",
"external_url",
"last_deployment"
],
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"slug": { "type": "string" },
"external_url": { "$ref": "../../types/nullable_string.json" },
"last_deployment": {
"oneOf": [
{ "type": "null" },
{ "$ref": "deployment.json" }
]
}
},
"additionalProperties": false
}