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

34 lines
887 B
JSON
Raw Normal View History

2017-09-10 17:25:29 +05:30
{
"type": "object",
2019-07-31 22:56:46 +05:30
"required": ["name", "tag_name", "commit"],
"properties": {
"name": { "type": "string" },
"tag_name": { "type": "string" },
"description": { "type": "string" },
"description_html": { "type": "string" },
"created_at": { "type": "date" },
"commit": {
"oneOf": [{ "type": "null" }, { "$ref": "commit/basic.json" }]
},
"author": {
"oneOf": [{ "type": "null" }, { "$ref": "user/basic.json" }]
},
"assets": {
"required": ["count", "links", "sources"],
"properties": {
"count": { "type": "integer" },
"links": { "$ref": "../../release/links.json" },
"sources": {
"type": "array",
"items": {
"format": "zip",
"url": "string"
}
}
},
"additionalProperties": false
}
2017-09-10 17:25:29 +05:30
},
"additionalProperties": false
}