-
Notifications
You must be signed in to change notification settings - Fork 41
/
release.schema.json
63 lines (63 loc) · 2.01 KB
/
release.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "common/release.schema.json",
"required": [
"url",
"assets_url",
"upload_url",
"html_url",
"id",
"node_id",
"tag_name",
"target_commitish",
"name",
"draft",
"author",
"prerelease",
"created_at",
"published_at",
"assets",
"tarball_url",
"zipball_url",
"body"
],
"type": "object",
"properties": {
"url": { "type": "string", "format": "uri" },
"assets_url": { "type": "string", "format": "uri" },
"upload_url": { "type": "string", "format": "uri-template" },
"html_url": { "type": "string", "format": "uri" },
"id": { "type": "integer" },
"node_id": { "type": "string" },
"tag_name": { "type": "string", "description": "The name of the tag." },
"target_commitish": {
"type": "string",
"description": "Specifies the commitish value that determines where the Git tag is created from."
},
"name": { "type": "string" },
"draft": {
"type": "boolean",
"description": "Wether the release is a draft or published"
},
"author": { "$ref": "user.schema.json" },
"prerelease": {
"type": "boolean",
"description": "Whether the release is identified as a prerelease or a full release."
},
"created_at": { "type": ["string", "null"], "format": "date-time" },
"published_at": { "type": ["string", "null"], "format": "date-time" },
"assets": {
"type": "array",
"items": { "$ref": "release-asset.schema.json" }
},
"tarball_url": { "type": ["string", "null"], "format": "uri" },
"zipball_url": { "type": ["string", "null"], "format": "uri" },
"body": { "type": "string" },
"mentions_count": { "type": "integer" },
"reactions": { "$ref": "reactions.schema.json" },
"discussion_url": { "type": "string", "format": "uri" }
},
"additionalProperties": false,
"description": "The [release](https://docs.github.com/en/rest/reference/repos/#get-a-release) object.",
"title": "Release"
}