2018-12-25 04:48:26 -05:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required": ["name", "tag_name"],
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"tag_name": { "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" }]
|
2019-01-01 20:40:33 -05:00
|
|
|
},
|
|
|
|
"assets": {
|
|
|
|
"count": { "type": "integer" },
|
|
|
|
"links": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2019-01-02 01:01:15 -05:00
|
|
|
"id": "integer",
|
2019-01-01 20:40:33 -05:00
|
|
|
"name": "string",
|
|
|
|
"url": "string",
|
|
|
|
"external": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sources": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"format": "zip",
|
|
|
|
"url": "string"
|
|
|
|
}
|
|
|
|
}
|
2018-12-25 04:48:26 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|