Oyster HR · Schema
timeOffRequest
Human ResourcesGlobal EmploymentPayrollEmployer of RecordContractorsComplianceRemote Work
Properties
| Name | Type | Description |
|---|---|---|
| timeOffRequestId | string | |
| engagement | object | |
| startDate | string | |
| endDate | string | |
| firstDayDuration | stringnull | |
| lastDayDuration | stringnull | |
| firstDayDurationInHours | numbernull | |
| lastDayDurationInHours | numbernull | |
| state | string | |
| type | string | |
| requesterComments | stringnull | |
| rejectionReason | stringnull | |
| reason | string | |
| periodInHours | number | |
| submittedAt | string | |
| approvedAt | stringnull | |
| rejectedAt | stringnull | |
| attachment | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/oyster-hr/json-schema/oyster-hr-time-off-request-schema.json",
"title": "timeOffRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/oyster-hr-oysterhr-prepay-api-openapi.yml#/components/schemas/timeOffRequest",
"type": "object",
"properties": {
"timeOffRequestId": {
"type": "string"
},
"engagement": {
"$ref": "#/$defs/timeOffEngagementDetails"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"firstDayDuration": {
"type": [
"string",
"null"
],
"pattern": "^[A-Z_]+$"
},
"lastDayDuration": {
"type": [
"string",
"null"
],
"pattern": "^[A-Z_]+$"
},
"firstDayDurationInHours": {
"type": [
"number",
"null"
],
"format": "float"
},
"lastDayDurationInHours": {
"type": [
"number",
"null"
],
"format": "float"
},
"state": {
"type": "string",
"pattern": "^[A-Z_]+$"
},
"type": {
"type": "string",
"pattern": "^[A-Z_]+$"
},
"requesterComments": {
"type": [
"string",
"null"
]
},
"rejectionReason": {
"type": [
"string",
"null"
]
},
"reason": {
"type": "string",
"pattern": "^[A-Z_]+$"
},
"periodInHours": {
"type": "number",
"format": "float"
},
"submittedAt": {
"type": "string",
"format": "date-time"
},
"approvedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"rejectedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"attachment": {
"$ref": "#/$defs/attachmentDetails"
}
},
"$defs": {
"attachmentDetails": {
"type": [
"object",
"null"
],
"properties": {
"filename": {
"type": "string"
},
"url": {
"type": "string"
},
"contentType": {
"type": "string"
}
}
},
"timeOffEngagementDetails": {
"type": "object",
"properties": {
"engagementId": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"pattern": "^[A-Z_]+$"
},
"countryCode": {
"type": "string"
}
}
}
}
}
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/oyster-hr-time-off-request"
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.