Taktovka · Schema

Shift

Company

Properties

Name Type Description
id string
schedule_id string
version integer The published version the shift is read from
location_id string
position_id object
date string Local date the shift starts on
start_local string Wall-clock time at the location, HH:MM
end_local string Wall-clock end; not after start_local means the next day
tz string IANA time zone of the location when the version was published
starts_at string ISO 8601 instant with the location's offset at that moment
ends_at string ISO 8601 instant with the location's offset at that moment
break_min integer Unpaid break, minutes
minutes integer Elapsed minutes from start to end
paid_minutes integer Elapsed minutes less the break
headcount integer People the shift needs
assignments array
View JSON Schema on GitHub

JSON Schema

taktovka-com-shift-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/taktovka-com/json-schema/taktovka-com-shift-schema.json",
  "title": "Shift",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/taktovka-com-openapi.json#/components/schemas/Shift",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "schedule_id": {
      "type": "string",
      "format": "uuid"
    },
    "version": {
      "type": "integer",
      "description": "The published version the shift is read from"
    },
    "location_id": {
      "type": "string",
      "format": "uuid"
    },
    "position_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Local date the shift starts on"
    },
    "start_local": {
      "type": "string",
      "pattern": "^\\d{2}:\\d{2}$",
      "description": "Wall-clock time at the location, HH:MM"
    },
    "end_local": {
      "type": "string",
      "pattern": "^\\d{2}:\\d{2}$",
      "description": "Wall-clock end; not after start_local means the next day"
    },
    "tz": {
      "type": "string",
      "description": "IANA time zone of the location when the version was published"
    },
    "starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 instant with the location's offset at that moment"
    },
    "ends_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 instant with the location's offset at that moment"
    },
    "break_min": {
      "type": "integer",
      "description": "Unpaid break, minutes"
    },
    "minutes": {
      "type": "integer",
      "description": "Elapsed minutes from start to end"
    },
    "paid_minutes": {
      "type": "integer",
      "description": "Elapsed minutes less the break"
    },
    "headcount": {
      "type": "integer",
      "description": "People the shift needs"
    },
    "assignments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "employee_id": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string",
            "enum": [
              "assigned",
              "confirmed",
              "swap_requested",
              "declined"
            ],
            "description": "declined: the person gave the seat back and does not work it"
          }
        },
        "required": [
          "employee_id",
          "state"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "id",
    "schedule_id",
    "version",
    "location_id",
    "position_id",
    "date",
    "start_local",
    "end_local",
    "tz",
    "starts_at",
    "ends_at",
    "break_min",
    "minutes",
    "paid_minutes",
    "headcount",
    "assignments"
  ],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/taktovka-com-shift"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.