{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-create-apikey-request-schema.json",
  "title": "CreateAPIKeyRequest",
  "description": "Request to create a new API key.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-api-keys-api-openapi.yml#/components/schemas/CreateAPIKeyRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "description": "Human-readable name for the key"
    },
    "scope": {
      "type": "string",
      "title": "Scope",
      "description": "Permission scope: read-only, read-write, or admin",
      "default": "read-only"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}