127 lines
2.6 KiB
JSON
127 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"repository": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"html_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"assets_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"upload_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"tarball_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"zipball_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"node_id": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"tag_name": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"target_commitish": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"name": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"body": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"draft": {
|
|
"type": ["null", "boolean"]
|
|
},
|
|
"prerelease": {
|
|
"type": ["null", "boolean"]
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"published_at": {
|
|
"type": ["null", "string"],
|
|
"format": "date-time"
|
|
},
|
|
"author": {
|
|
"$ref": "user.json"
|
|
},
|
|
"assets": {
|
|
"type": ["null", "array"],
|
|
"items": {
|
|
"type": ["null", "object"],
|
|
"properties": {
|
|
"url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"browser_download_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"id": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"node_id": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"name": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"label": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"state": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"content_type": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"size": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"download_count": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"uploader_id": {
|
|
"type": ["null", "integer"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"body_html": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"body_text": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"mentions_count": {
|
|
"type": ["null", "integer"]
|
|
},
|
|
"discussion_url": {
|
|
"type": ["null", "string"]
|
|
},
|
|
"reactions": {
|
|
"$ref": "reactions.json"
|
|
}
|
|
}
|
|
}
|