{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/api-evangelist/imgur/json-schema/imgur-access-token-schema.json", "title": "Imgur OAuth2 Access Token", "type": "object", "required": ["access_token", "token_type"], "properties": { "access_token": { "type": "string" }, "refresh_token": { "type": "string" }, "expires_in": { "type": "integer", "description": "Seconds until expiry." }, "token_type": { "type": "string", "enum": ["bearer"] }, "scope": { "type": ["string", "null"] }, "account_id": { "type": "integer" }, "account_username": { "type": "string" } } }