When I Work · Schema
ShiftTemplate
Employee SchedulingWorkforce ManagementTime TrackingTime ClockShift ManagementAttendanceTeam MessagingHourly WorkersLabor ForecastingHR
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| account_id | integer | |
| break_time | number | |
| breaks | array | An array of breaks for the shift template. When updating a template, any existing breaks for the shift that are not included in the request will be deleted. |
| color | string | |
| end_time | string | |
| start_time | string | |
| location_id | integer | |
| notes | string | |
| position_id | integer | |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true,
"example": 10000
},
"account_id": {
"type": "integer",
"example": 10000
},
"break_time": {
"type": "number",
"format": "double",
"example": 0.5
},
"breaks": {
"description": "An array of breaks for the shift template. When updating a template, any existing breaks for the shift that are not included in the request will be deleted.",
"type": "array",
"items": {
"$ref": "#/components/schemas/BlockScheduledBreak"
}
},
"color": {
"type": "string",
"example": "8da6d9"
},
"end_time": {
"type": "string",
"example": "17:00:00"
},
"start_time": {
"type": "string",
"example": "09:00:00"
},
"location_id": {
"type": "integer",
"example": 10000
},
"notes": {
"type": "string",
"example": "Here are some shift notes"
},
"position_id": {
"type": "integer",
"example": 10000
},
"created_at": {
"type": "string",
"format": "date-time",
"example": "2019-05-16T06:57:28+05:00"
},
"updated_at": {
"type": "string",
"format": "date-time",
"example": "2019-05-16T06:57:28+05:00"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://when-i-work.com/schemas/shifttemplate",
"title": "ShiftTemplate"
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/when-i-work-shifttemplate"
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.