When I Work · Schema

RequestType

Employee SchedulingWorkforce ManagementTime TrackingTime ClockShift ManagementAttendanceTeam MessagingHourly WorkersLabor ForecastingHuman ResourcesScheduling

Properties

Name Type Description
id integer Unique ID of the request type.
account_id integer The ID of the account this request type belongs to.
name string Label for the time off request type.
built_in boolean Is this a default type all accounts have or a custom type. Built in types cannot be deleted.
enabled boolean Enabled toggles if the type is available for selecting.
allow_paid boolean Describes if the timeoff type is available for paid time off.
allow_unpaid boolean Describes if the timeoff type is available for unpaid time off.
is_deleted boolean Has the timeoff type been deleted.
created_at string Full datetime for when the type was created in ISO8601.
updated_at string Full datetime for when the type was last updated in ISO8601.
deleted_at string Full datetime for when the type was deleted in ISO8601.
View JSON Schema on GitHub

JSON Schema

when-i-work-request-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/when-i-work/json-schema/when-i-work-request-type-schema.json",
  "title": "RequestType",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/when-i-work-request-type-api-openapi.yml#/components/schemas/RequestType",
  "properties": {
    "id": {
      "description": "Unique ID of the request type.",
      "type": "integer"
    },
    "account_id": {
      "description": "The ID of the account this request type belongs to.",
      "type": "integer"
    },
    "name": {
      "type": "string",
      "description": "Label for the time off request type."
    },
    "built_in": {
      "type": "boolean",
      "description": "Is this a default type all accounts have or a custom type. Built in types cannot be deleted."
    },
    "enabled": {
      "type": "boolean",
      "description": "Enabled toggles if the type is available for selecting."
    },
    "allow_paid": {
      "type": "boolean",
      "description": "Describes if the timeoff type is available for paid time off."
    },
    "allow_unpaid": {
      "type": "boolean",
      "description": "Describes if the timeoff type is available for unpaid time off."
    },
    "is_deleted": {
      "type": "boolean",
      "description": "Has the timeoff type been deleted."
    },
    "created_at": {
      "type": "string",
      "description": "Full datetime for when the type was created in ISO8601."
    },
    "updated_at": {
      "type": "string",
      "description": "Full datetime for when the type was last updated in ISO8601."
    },
    "deleted_at": {
      "type": "string",
      "description": "Full datetime for when the type was deleted in ISO8601."
    }
  }
}

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/when-i-work-request-type"
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. See our Privacy Policy and Terms.

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