{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elhub/main/json-schema/elhub-client-credentials-request-schema.json",
  "title": "client_credentials_request",
  "description": "Client credentials body",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elhub-flex-information-system-auth-api-openapi.yml#/components/schemas/client_credentials_request",
  "properties": {
    "grant_type": {
      "type": "string",
      "enum": [
        "client_credentials"
      ],
      "description": "The grant type of the request signals which step of the login process we want to use."
    },
    "client_id": {
      "type": "string",
      "description": "The identifier of the entity that logs in.",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
    },
    "client_secret": {
      "type": "string",
      "description": "The password of the entity that logs in."
    }
  },
  "required": [
    "grant_type",
    "client_id",
    "client_secret"
  ]
}