{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xitoring-com/json-schema/xitoring-com-get-api-v2-oncall-now-response-schema.json",
  "title": "GetApiV2OncallNowResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/xitoring-com-core-openapi-generated.yml#/components/schemas/GetApiV2OncallNowResponse",
  "type": "object",
  "properties": {
    "schedule_id": {
      "type": "string",
      "description": "Identifier of the on‑call schedule"
    },
    "person": {
      "type": "object",
      "description": "The person currently on call for this schedule"
    },
    "person.id": {
      "type": "string",
      "description": "User identifier"
    },
    "person.name": {
      "type": "string",
      "description": "User's display name"
    },
    "source": {
      "type": "string",
      "description": "Indicates whether the on‑call assignment comes from a rotation or an override"
    },
    "until": {
      "type": "string",
      "description": "Timestamp until which the person remains on call"
    },
    "on_call": {
      "type": "string",
      "description": "Null when nobody is on call; otherwise same structure as person"
    }
  }
}