Pinwheel · Schema

Shift

PayrollDirect DepositIncome VerificationEmploymentTax FormsFintechOpen FinanceBill SwitchingFinancial Data

Properties

Name Type Description
id string Unique identifier of the Shift object.
created_at string ISO 8601 timestamp of created time.
account_id string UUID of the payroll account.
start_date string The date the Shift started. ISO 8601 format.
end_date string The date the Shift ended. ISO 8601 format.
type object The type of the work performed.
timezone string The timezone where the work was completed. Valid names are in the IANA Timezone Database.
timestamps array An array of objects that tracks clock in and out times over a shift.
currency object Three-letter ISO 4217 currency code, uppercase. For example, the code for US dollars is USD.
earnings array An array of objects that represent a specific earning.
View JSON Schema on GitHub

JSON Schema

shiftobjresponse.json Raw ↑
{
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "id",
      "description": "Unique identifier of the Shift object."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "created_at",
      "description": "ISO 8601 timestamp of created time."
    },
    "account_id": {
      "type": "string",
      "format": "uuid",
      "title": "account_id",
      "description": "UUID of the payroll account."
    },
    "start_date": {
      "type": "string",
      "format": "date",
      "title": "start_date",
      "description": "The date the Shift started. ISO 8601 format."
    },
    "end_date": {
      "type": "string",
      "format": "date",
      "title": "end_date",
      "description": "The date the Shift ended. ISO 8601 format."
    },
    "type": {
      "allOf": [
        {
          "type": "string",
          "enum": [
            "shift",
            "rideshare",
            "delivery",
            "other"
          ]
        }
      ],
      "description": "The type of the work performed."
    },
    "timezone": {
      "type": "string",
      "title": "timezone",
      "description": "The timezone where the work was completed. Valid names are in the IANA Timezone Database."
    },
    "timestamps": {
      "items": {
        "$ref": "#/components/schemas/ShiftTimestamp"
      },
      "type": "array",
      "title": "timestamps",
      "description": "An array of objects that tracks clock in and out times over a shift."
    },
    "currency": {
      "allOf": [
        {
          "type": "string",
          "enum": [
            "AED",
            "AFN",
            "ALL",
            "AMD",
            "ANG",
            "AOA",
            "ARS",
            "AUD",
            "AWG",
            "AZN",
            "BAM",
            "BBD",
            "BDT",
            "BGN",
            "BHD",
            "BIF",
            "BMD",
            "BND",
            "BOB",
            "BOV",
            "BRL",
            "BSD",
            "BTN",
            "BWP",
            "BYR",
            "BZD",
            "CAD",
            "CDF",
            "CHE",
            "CHF",
            "CHW",
            "CLF",
            "CLP",
            "CNY",
            "COP",
            "COU",
            "CRC",
            "CUC",
            "CUP",
            "CVE",
            "CZK",
            "DJF",
            "DKK",
            "DOP",
            "DZD",
            "EGP",
            "ERN",
            "ETB",
            "EUR",
            "FJD",
            "FKP",
            "GBP",
            "GEL",
            "GHS",
            "GIP",
            "GMD",
            "GNF",
            "GTQ",
            "GYD",
            "HKD",
            "HNL",
            "HRK",
            "HTG",
            "HUF",
            "IDR",
            "ILS",
            "INR",
            "IQD",
            "IRR",
            "ISK",
            "JMD",
            "JOD",
            "JPY",
            "KES",
            "KGS",
            "KHR",
            "KMF",
            "KPW",
            "KRW",
            "KWD",
            "KYD",
            "KZT",
            "LAK",
            "LBP",
            "LKR",
            "LRD",
            "LSL",
            "LTL",
            "LVL",
            "LYD",
            "MAD",
            "MDL",
            "MGA",
            "MKD",
            "MMK",
            "MNT",
            "MOP",
            "MRO",
            "MUR",
            "MVR",
            "MWK",
            "MXN",
            "MXV",
            "MYR",
            "MZN",
            "NAD",
            "NGN",
            "NIO",
            "NOK",
            "NPR",
            "NZD",
            "OMR",
            "PAB",
            "PEN",
            "PGK",
            "PHP",
            "PKR",
            "PLN",
            "PYG",
            "QAR",
            "RON",
            "RSD",
            "RUB",
            "RWF",
            "SAR",
            "SBD",
            "SCR",
            "SDG",
            "SEK",
            "SGD",
            "SHP",
            "SLL",
            "SOS",
            "SRD",
            "SSP",
            "STD",
            "SYP",
            "SZL",
            "THB",
            "TJS",
            "TMT",
            "TND",
            "TOP",
            "TRY",
            "TTD",
            "TWD",
            "TZS",
            "UAH",
            "UGX",
            "USD",
            "USN",
            "USS",
            "UYI",
            "UYU",
            "UZS",
            "VEF",
            "VND",
            "VUV",
            "WST",
            "XAF",
            "XAG",
            "XAU",
            "XBA",
            "XBB",
            "XBC",
            "XBD",
            "XCD",
            "XDR",
            "XOF",
            "XPD",
            "XPF",
            "XPT",
            "XTS",
            "XXX",
            "YER",
            "ZAR",
            "ZMW"
          ]
        }
      ],
      "description": "Three-letter ISO 4217 currency code, uppercase. For example, the code for US dollars is USD."
    },
    "earnings": {
      "items": {
        "$ref": "#/components/schemas/ShiftEarningObjPublicResponseItem"
      },
      "type": "array",
      "title": "earnings",
      "description": "An array of objects that represent a specific earning."
    }
  },
  "type": "object",
  "required": [
    "id",
    "created_at",
    "account_id",
    "start_date",
    "end_date",
    "type",
    "timestamps",
    "currency",
    "earnings"
  ],
  "title": "Shift",
  "x-tags": [
    "Schemas"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.pinwheelapi.com/ShiftObjResponse.json"
}

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/shiftobjresponse"
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.