debian-mirror-gitlab/spec/fixtures/api/schemas/registry/repository.json
2023-03-04 22:38:38 +05:30

65 lines
No EOL
1 KiB
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": "string",
"format": "date-time"
},
"cleanup_policy_started_at": {
"type": [
"string",
"null"
],
"format": "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
}