debian-mirror-gitlab/spec/fixtures/api/schemas/registry/repository.json

45 lines
741 B
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"required" : [
"id",
2019-03-02 22:35:43 +05:30
"name",
2018-03-17 18:26:18 +05:30
"path",
"location",
2019-03-02 22:35:43 +05:30
"created_at"
2018-03-17 18:26:18 +05:30
],
"properties" : {
"id": {
"type": "integer"
},
2019-03-02 22:35:43 +05:30
"name": {
"type": "string"
},
2018-03-17 18:26:18 +05:30
"path": {
"type": "string"
},
2019-10-12 21:52:04 +05:30
"project_id": {
"type": "integer"
},
2018-03-17 18:26:18 +05:30
"location": {
"type": "string"
},
2019-03-02 22:35:43 +05:30
"created_at": {
"type": "date-time"
},
2018-03-17 18:26:18 +05:30
"tags_path": {
"type": "string"
},
"destroy_path": {
"type": "string"
2019-10-12 21:52:04 +05:30
},
2020-04-22 19:07:51 +05:30
"status": {
"oneOf": [
{ "type": "null" },
{ "type": "string", "enum": ["delete_scheduled", "delete_failed"] }
]
},
2019-10-12 21:52:04 +05:30
"tags": { "$ref": "tags.json" }
2018-03-17 18:26:18 +05:30
},
"additionalProperties": false
}