{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-user-presences-schema.json",
  "title": "user_presences",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-presences-api-openapi.yml#/components/schemas/user_presences",
  "type": "object",
  "properties": {
    "team_id": {
      "type": "integer",
      "format": "int64",
      "description": "The user's team id"
    },
    "user_id": {
      "type": "integer",
      "format": "int64",
      "description": "The user's id"
    },
    "in_call": {
      "type": "integer",
      "format": "int64",
      "description": "Number of current calls (it can be more than 1)"
    },
    "connected_devices": {
      "type": "integer",
      "format": "int64",
      "description": "Number of devices connected to myringover"
    },
    "planning_enable": {
      "type": "boolean",
      "description": "True if the user have the planning option activated on myringover"
    },
    "is_planning": {
      "type": "boolean",
      "description": "True if the user is currently in his planning schedule"
    },
    "is_planned_snooze": {
      "type": "boolean",
      "description": "False if the user is currently in his planning schedule"
    },
    "is_snoozed": {
      "type": "boolean",
      "description": "True if the user is currently in snooze"
    },
    "snooze_type": {
      "type": "string",
      "description": "The type of snooze currently used. Null if is_snoozed is false"
    },
    "snooze_end": {
      "type": "string",
      "description": "End date/time of the snooze"
    }
  }
}