{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-apikey-schema.json",
  "title": "APIKey",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-user-management-api-openapi.yml#/components/schemas/APIKey",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "api_key"
      ]
    },
    "api_version": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "2.0.0"
      ]
    },
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "title": {
      "type": "string",
      "maxLength": 1023
    },
    "summary": {
      "type": "string",
      "maxLength": 65535
    },
    "client_type": {
      "type": "string",
      "enum": [
        "toolkit",
        "atm",
        "ai",
        "transition_helper"
      ]
    },
    "realm": {
      "type": "string"
    },
    "user_url": {
      "type": "string"
    },
    "id_token": {
      "type": "string"
    },
    "token_exp": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647
    },
    "token_iat": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647
    },
    "token_jti": {
      "type": "string"
    },
    "api_key": {
      "type": "string"
    },
    "multiple_use": {
      "type": "boolean"
    },
    "description": {
      "type": "string"
    },
    "ttl": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "url": {
      "type": "string",
      "readOnly": true,
      "format": "uri"
    }
  }
}