{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/axonflow/json-schema/axonflow-create-override-request-schema.json",
  "title": "CreateOverrideRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/axonflow-decisions-overrides-api-openapi.yml#/components/schemas/CreateOverrideRequest",
  "type": "object",
  "required": [
    "policy_id",
    "policy_type",
    "override_reason"
  ],
  "properties": {
    "policy_id": {
      "type": "string",
      "description": "Policy UUID, or the human-readable slug (static) / name (dynamic)"
    },
    "policy_type": {
      "type": "string",
      "enum": [
        "static",
        "dynamic"
      ]
    },
    "tool_signature": {
      "type": "string",
      "description": "Optional tool scope for the override"
    },
    "override_reason": {
      "type": "string",
      "maxLength": 500,
      "description": "Mandatory justification (ADR-044)"
    },
    "ttl_seconds": {
      "type": "integer",
      "format": "int64",
      "description": "Override lifetime in seconds. Omitted/0 defaults to 3600.\nClamped server-side to [60, 86400]; the response reports any clamp.\n"
    }
  }
}