-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-gists-gist-commit-schema.json
More file actions
47 lines (47 loc) · 1.12 KB
/
github-gists-gist-commit-schema.json
File metadata and controls
47 lines (47 loc) · 1.12 KB
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-gists-gist-commit-schema.json",
"title": "gist-commit",
"description": "Gist Commit",
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f"
},
"version": {
"type": "string",
"example": "57a7f021a713b1c5a6a199b54cc514735d2d462f"
},
"user": {
"$ref": "#/components/schemas/nullable-simple-user"
},
"change_status": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"additions": {
"type": "integer"
},
"deletions": {
"type": "integer"
}
}
},
"committed_at": {
"type": "string",
"format": "date-time",
"example": "2010-04-14T02:15:15Z"
}
},
"required": [
"url",
"user",
"version",
"committed_at",
"change_status"
]
}