2017-09-10 17:25:29 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
2019-09-30 21:07:59 +05:30
|
|
|
"required": ["name", "tag_name", "commit", "released_at"],
|
2019-07-31 22:56:46 +05:30
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"tag_name": { "type": "string" },
|
|
|
|
"description": { "type": "string" },
|
|
|
|
"description_html": { "type": "string" },
|
|
|
|
"created_at": { "type": "date" },
|
2019-09-30 21:07:59 +05:30
|
|
|
"released_at": { "type": "date" },
|
|
|
|
"upcoming_release": { "type": "boolean" },
|
2019-07-31 22:56:46 +05:30
|
|
|
"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
|
|
|
|
}
|