{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/markaestro-com/json-schema/markaestro-com-post-api-public-v1-oauth-token-request-schema.json",
  "title": "PostApiPublicV1OauthTokenRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/markaestro-com-openapi-generated.yml#/components/schemas/PostApiPublicV1OauthTokenRequest",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "authorization_code or refresh_token"
    },
    "code": {
      "type": "string",
      "description": "Authorization code"
    },
    "code_verifier": {
      "type": "string",
      "description": "PKCE verifier"
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token"
    }
  },
  "required": [
    "grant_type"
  ]
}