{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datarobot/main/json-schema/datarobot-post-oauth2-token-request-schema.json",
  "title": "PostOauth2TokenRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/datarobot-openapi-generated.yml#/components/schemas/PostOauth2TokenRequest",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "urn:ietf:params:oauth:grant-type:token-exchange"
    },
    "subject_token": {
      "type": "string",
      "description": "Your IDP access token."
    },
    "subject_token_type": {
      "type": "string",
      "description": "urn:ietf:params:oauth:token-type:access_token"
    }
  },
  "required": [
    "grant_type",
    "subject_token",
    "subject_token_type"
  ]
}