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

24 lines
502 B
JSON

{
"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" }
]
},
"state": { "type": "string" }
},
"additionalProperties": false
}