{
  "type": "object",
  "required": [
    "agent_id",
    "department",
    "role",
    "allowed_tools",
    "max_cost_usd",
    "output_schema"
  ],
  "properties": {
    "agent_id": {
      "type": "string"
    },
    "department": {
      "type": "string"
    },
    "role": {
      "type": "string"
    },
    "allowed_tools": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "max_cost_usd": {
      "type": "number",
      "minimum": 0
    },
    "output_schema": {
      "type": "object"
    },
    "requires_approval": {
      "type": "boolean"
    }
  }
}