{
  "$id": "spec-kitty-events/runtime_actor_identity",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Identity of a runtime actor (human, LLM, or service).",
  "properties": {
    "actor_id": {
      "description": "Unique actor identifier",
      "minLength": 1,
      "title": "Actor Id",
      "type": "string"
    },
    "actor_type": {
      "description": "Actor category",
      "pattern": "^(human|llm|service)$",
      "title": "Actor Type",
      "type": "string"
    },
    "display_name": {
      "default": "",
      "description": "Human-readable display name",
      "title": "Display Name",
      "type": "string"
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Model identifier (e.g., 'claude-opus-4-6')",
      "title": "Model"
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Provider (e.g., 'anthropic', 'openai')",
      "title": "Provider"
    },
    "tool": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Tool identifier",
      "title": "Tool"
    }
  },
  "required": [
    "actor_id",
    "actor_type"
  ],
  "title": "RuntimeActorIdentity",
  "type": "object"
}
