{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gbg/main/json-schema/gbg-client-credentials-grant-request-schema.json",
  "title": "ClientCredentialsGrantRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gbg-go-v2-openapi.yml#/components/schemas/ClientCredentialsGrantRequest",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The client ID assigned to your organization."
    },
    "client_secret": {
      "type": "string",
      "description": "The client secret assigned to your organization."
    },
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials"
      ],
      "description": "Must always be set to 'client_credentials'."
    },
    "scope": {
      "type": "string",
      "enum": [
        "gbg.token"
      ],
      "description": "Must always be set to 'gbg.token'."
    }
  },
  "required": [
    "client_id",
    "client_secret",
    "grant_type",
    "scope"
  ]
}