gitlab-org--gitlab-foss/spec/fixtures/api/schemas/registry/repository.json

44 lines
834 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"
},
"cleanup_policy_started_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
}