7shifts · Schema

Shift

7shifts Shift resource.

RestaurantSchedulingWorkforce ManagementEmployee SchedulingTime TrackingHRISLabor

Properties

Name Type Description
id integer
user_id integer
location_id integer
department_id integer
role_id integer
start string Start datetime of the shift. UTC in ISO8601 format.
end string End datetime of the shift. UTC in ISO8601 format.
hourly_wage integer The hourly wage for this shift, in cents.
draft boolean Publication status indicator.
open boolean Indicates an unassigned shift available for requests.
station string
attendance_status string
breaks array
created string
modified string
View JSON Schema on GitHub

JSON Schema

7shifts-shift-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/7shifts/refs/heads/main/json-schema/7shifts-shift-schema.json",
  "title": "Shift",
  "type": "object",
  "description": "7shifts Shift resource.",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "user_id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "location_id": {
      "type": "integer",
      "format": "int64"
    },
    "department_id": {
      "type": "integer",
      "format": "int64"
    },
    "role_id": {
      "type": "integer",
      "format": "int64"
    },
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "Start datetime of the shift. UTC in ISO8601 format."
    },
    "end": {
      "type": "string",
      "format": "date-time",
      "description": "End datetime of the shift. UTC in ISO8601 format."
    },
    "hourly_wage": {
      "type": "integer",
      "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",
      "nullable": true
    },
    "attendance_status": {
      "type": "string",
      "enum": [
        "none",
        "sick",
        "no_show",
        "late"
      ]
    },
    "breaks": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/7shifts-shift"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.