{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ofx/main/json-schema/ofx-post-v1-oauth-token-request-schema.json",
  "title": "PostV1OauthTokenRequest",
  "x-generated": "2026-09-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ofx-aisp-openapi-generated.yml#/components/schemas/PostV1OauthTokenRequest",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "client identifier"
    },
    "client_secret": {
      "type": "string",
      "description": "client secret password"
    },
    "grant_type": {
      "type": "string",
      "description": "authorization grant flow. can be client_credentials or authorization_code or refresh_token"
    },
    "scope": {
      "type": "string",
      "description": "the scope of the access request"
    }
  },
  "required": [
    "client_id",
    "client_secret",
    "grant_type",
    "scope"
  ]
}