{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-app-api-application-grant-schema.json", "title": "application-grant", "description": "The authorization associated with an OAuth Access.", "type": "object", "properties": { "id": { "type": "integer", "example": 1 }, "url": { "type": "string", "format": "uri", "example": "https://api.github.com/applications/grants/1" }, "app": { "type": "object", "properties": { "client_id": { "type": "string" }, "name": { "type": "string" }, "url": { "type": "string", "format": "uri" } }, "required": [ "client_id", "name", "url" ] }, "created_at": { "type": "string", "format": "date-time", "example": "2011-09-06T17:26:27Z" }, "updated_at": { "type": "string", "format": "date-time", "example": "2011-09-06T20:39:23Z" }, "scopes": { "type": "array", "items": { "type": "string" }, "example": [ "public_repo" ] }, "user": { "$ref": "#/components/schemas/nullable-simple-user" } }, "required": [ "app", "id", "scopes", "url", "created_at", "updated_at" ] }