debian-mirror-gitlab/spec/fixtures/api/schemas/registry/repository.json
2020-06-23 00:09:42 +05:30

41 lines
766 B
JSON

{
"type": "object",
"required": ["id", "name", "path", "location", "created_at"],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"project_id": {
"type": "integer"
},
"location": {
"type": "string"
},
"created_at": {
"type": "date-time"
},
"tags_path": {
"type": "string"
},
"destroy_path": {
"type": "string"
},
"status": {
"oneOf": [
{ "type": "null" },
{ "type": "string", "enum": ["delete_scheduled", "delete_failed"] }
]
},
"tags": { "$ref": "tags.json" },
"tags_count": {
"type": "integer"
}
},
"additionalProperties": false
}