30 lines
805 B
JSON
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
|
|
}
|