{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/flexpa/main/json-schema/flexpa-token-request-schema.json", "title": "TokenRequest", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/flexpa-access-tokens-api-openapi.yml#/components/schemas/TokenRequest", "type": "object", "required": [ "grant_type" ], "properties": { "grant_type": { "type": "string", "enum": [ "authorization_code", "refresh_token", "client_credentials" ] }, "code": { "type": "string", "description": "The authorization code (authorization_code grant)." }, "code_verifier": { "type": "string", "description": "The PKCE verifier (authorization_code grant)." }, "redirect_uri": { "type": "string", "format": "uri" }, "client_id": { "type": "string", "description": "Your publishable key." }, "refresh_token": { "type": "string", "description": "The refresh token (refresh_token grant)." } } }