debian-mirror-gitlab/spec/fixtures/api/schemas/registry/repository.json
2020-04-22 19:07:51 +05:30

44 lines
741 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" }
},
"additionalProperties": false
}