{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-token-request-schema.json",
  "title": "TokenRequest",
  "description": "A token request is an object used to obtain an access token through the OAuth 2 Client Credentials Grant flow.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-security-api-openapi.yml#/components/schemas/TokenRequest",
  "type": "object",
  "required": [
    "audience",
    "grant_type"
  ],
  "properties": {
    "grant_type": {
      "type": "string",
      "description": "The OAuth 2 flow that must be used to obtain an access token. The value must be set to \"client_credentials\"."
    },
    "audience": {
      "type": "string",
      "description": "The unique identifier of the target API to access"
    }
  }
}