{
    "title": "support_seats",
    "type": "object",
    "properties": {
        "id": {
            "type": "integer",
            "description": "Primary key, auto-increment"
        },
        "user_id": {
            "type": "string",
            "description": "Atoms Cloud user id owning this seat"
        },
        "display_name": {
            "type": "string",
            "description": "Agent display name shown in chat"
        },
        "email": {
            "type": "string",
            "description": "Agent email"
        },
        "role": {
            "type": "string",
            "description": "admin|supervisor|support_agent|billing_agent|technical_agent"
        },
        "department_id": {
            "type": "integer",
            "description": "FK to support_departments.id"
        },
        "status": {
            "type": "string",
            "description": "active|suspended"
        },
        "chat_limit": {
            "type": "integer",
            "description": "Max concurrent chats"
        },
        "working_hours": {
            "type": "string",
            "description": "JSON string of per-day working hours"
        },
        "permissions": {
            "type": "string",
            "description": "JSON string of granular permissions"
        }
    },
    "required": [
        "id",
        "display_name",
        "email",
        "role"
    ]
}