debian-mirror-gitlab/spec/fixtures/api/schemas/release.json

31 lines
830 B
JSON
Raw Normal View History

2019-02-15 15:39:39 +05:30
{
"type": "object",
2019-12-26 22:10:19 +05:30
"required": ["tag_name", "description"],
2019-02-15 15:39:39 +05:30
"properties": {
"name": { "type": "string" },
"tag_name": { "type": "string" },
2019-12-26 22:10:19 +05:30
"ref": { "type": "string "},
2019-02-15 15:39:39 +05:30
"description": { "type": "string" },
"description_html": { "type": "string" },
2021-06-08 01:23:25 +05:30
"created_at": { "type": "string", "format": "date-time" },
2019-02-15 15:39:39 +05:30
"commit": {
"oneOf": [{ "type": "null" }, { "$ref": "public_api/v4/commit/basic.json" }]
},
"author": {
"oneOf": [{ "type": "null" }, { "$ref": "public_api/v4/user/basic.json" }]
},
"assets": {
"count": { "type": "integer" },
"links": { "$ref": "release/links.json" },
"sources": {
"type": "array",
"items": {
"format": "zip",
"url": "string"
}
}
}
},
"additionalProperties": false
}