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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

65 lines
1 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
"id",
"name",
"path",
"location",
"created_at"
],
2020-06-23 00:09:42 +05:30
"properties": {
2018-03-17 18:26:18 +05:30
"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": {
2023-03-04 22:38:38 +05:30
"type": "string",
"format": "date-time"
2019-03-02 22:35:43 +05:30
},
2021-01-03 14:25:43 +05:30
"cleanup_policy_started_at": {
2023-03-04 22:38:38 +05:30
"type": [
"string",
"null"
],
"format": "date-time"
2021-01-03 14:25:43 +05:30
},
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": [
2023-03-04 22:38:38 +05:30
{
"type": "null"
},
{
"type": "string",
"enum": [
"delete_scheduled",
"delete_failed"
]
}
2020-04-22 19:07:51 +05:30
]
},
2023-03-04 22:38:38 +05:30
"tags": {
"$ref": "tags.json"
},
2020-06-23 00:09:42 +05:30
"tags_count": {
"type": "integer"
}
2018-03-17 18:26:18 +05:30
},
"additionalProperties": false
2023-03-04 22:38:38 +05:30
}