debian-mirror-gitlab/spec/fixtures/api/schemas/release.json
2019-12-26 22:10:19 +05:30

30 lines
805 B
JSON

{
"type": "object",
"required": ["tag_name", "description"],
"properties": {
"name": { "type": "string" },
"tag_name": { "type": "string" },
"ref": { "type": "string "},
"description": { "type": "string" },
"description_html": { "type": "string" },
"created_at": { "type": "date" },
"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
}