{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/anilist/refs/heads/main/json-schema/anilist-tokenresponse-schema.json", "title": "TokenResponse", "description": "TokenResponse schema from AniList GraphQL API v2", "type": "object", "properties": { "token_type": { "type": "string", "example": "Bearer" }, "expires_in": { "type": "integer", "description": "Token lifetime in seconds (1 year)", "example": 31536000 }, "access_token": { "type": "string", "description": "JWT access token" }, "refresh_token": { "type": "string", "nullable": true, "description": "AniList does not currently support refresh tokens" } } }