{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-oauth2-token-schema.json", "title": "OAuth2Token", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/memo-bank-oauth2-api-openapi.yml#/components/schemas/OAuth2Token", "required": [ "access_token", "connection_id", "expires_in", "refresh_token", "scope", "token_type" ], "type": "object", "properties": { "access_token": { "type": "string", "description": "The access token." }, "token_type": { "type": "string", "description": "The token type." }, "expires_in": { "type": "integer", "description": "The lifetime of the access token in seconds.", "format": "int64" }, "refresh_token": { "type": "string", "description": "The refresh token." }, "scope": { "type": "string", "description": "Space-separated list of granted scopes." }, "connection_id": { "type": "string", "description": "ID of the connection this token is linked to.", "format": "uuid" } } }