{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-app-api-application-grant-structure.json", "name": "application-grant", "description": "The authorization associated with an OAuth Access.", "type": "object", "properties": { "id": { "type": "int32", "example": 1 }, "url": { "type": "uri", "example": "https://api.github.com/applications/grants/1" }, "app": { "type": "object", "properties": { "client_id": { "type": "string" }, "name": { "type": "string" }, "url": { "type": "uri" } }, "required": [ "client_id", "name", "url" ] }, "created_at": { "type": "datetime", "example": "2011-09-06T17:26:27Z" }, "updated_at": { "type": "datetime", "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" ] }