Skip to content
HALOWERK

Live World Data

two office overnight overlap

Office overlap returns UTC intersections between one dated shift and a repeating second office schedule, including overnight shifts. Use it when an agent needs finding staffed handoff windows.

POST https://welt.halowerk.com/v1/two-office-overnight-overlap

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
zonestringYes
other_zonestringYes
datestringYes
opensstringYes
closesstringYes
other_opensstringYes
other_closesstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "zone": {
      "type": "string",
      "maxLength": 85,
      "minLength": 1
    },
    "other_zone": {
      "type": "string",
      "maxLength": 85,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    },
    "opens": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
    },
    "closes": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
    },
    "other_opens": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
    },
    "other_closes": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$"
    }
  },
  "required": [
    "zone",
    "other_zone",
    "date",
    "opens",
    "closes",
    "other_opens",
    "other_closes"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "zone": "Europe/Berlin",
  "other_zone": "America/Chicago",
  "date": "2025-05-14",
  "opens": "20:00",
  "closes": "05:00",
  "other_opens": "09:00",
  "other_closes": "19:00"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "overlap_minutes": {
          "type": "integer"
        },
        "windows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string"
              },
              "end": {
                "type": "string"
              },
              "minutes": {
                "type": "integer"
              }
            },
            "required": [
              "start",
              "end",
              "minutes"
            ]
          }
        }
      },
      "required": [
        "overlap_minutes",
        "windows"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’