7shifts · JSON Structure

7Shifts Shift Structure

7shifts Shift structure.

Type: object Properties: 15
RestaurantSchedulingWorkforce ManagementEmployee SchedulingTime TrackingHRISLabor

Shift is a JSON Structure definition published by 7shifts, describing 15 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id user_id location_id department_id role_id start end hourly_wage draft open station attendance_status breaks created modified

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/7shifts/refs/heads/main/json-structure/7shifts-shift-structure.json",
  "name": "Shift",
  "type": "object",
  "description": "7shifts Shift structure.",
  "properties": {
    "id": {
      "type": "int64",
      "description": ""
    },
    "user_id": {
      "type": "int64",
      "description": ""
    },
    "location_id": {
      "type": "int64",
      "description": ""
    },
    "department_id": {
      "type": "int64",
      "description": ""
    },
    "role_id": {
      "type": "int64",
      "description": ""
    },
    "start": {
      "type": "datetime",
      "description": "Start datetime of the shift. UTC in ISO8601 format."
    },
    "end": {
      "type": "datetime",
      "description": "End datetime of the shift. UTC in ISO8601 format."
    },
    "hourly_wage": {
      "type": "int64",
      "description": "The hourly wage for this shift, in cents."
    },
    "draft": {
      "type": "boolean",
      "description": "Publication status indicator."
    },
    "open": {
      "type": "boolean",
      "description": "Indicates an unassigned shift available for requests."
    },
    "station": {
      "type": "string",
      "description": ""
    },
    "attendance_status": {
      "type": "string",
      "description": ""
    },
    "breaks": {
      "type": "array",
      "description": "",
      "items": {
        "type": "object"
      }
    },
    "created": {
      "type": "datetime",
      "description": ""
    },
    "modified": {
      "type": "datetime",
      "description": ""
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/7shifts-shift-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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