tilwhen · Schema
Receipt
Auditable calculation record; field order in serialized responses is stable.
CompanyDateCountdownUtilitiesFree
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| query | object | |
| resolved | object | |
| answer | object | |
| timezone | string | |
| convention | string | |
| workweek | object | |
| jurisdiction | stringnull | |
| customHolidays | array | |
| holidaysExcluded | array | Itemised excluded holidays, capped at 500; see holidaysExcludedCount for the true total. |
| holidaysExcludedCount | integer | Total holidays excluded by the calculation. Exceeds holidaysExcluded.length on very wide spans, where a holiday_list_truncated warning also appears. |
| computedAt | string | |
| validFor | string | |
| engineVersion | string | |
| holidayDatasetVersion | string | |
| warnings | array | |
| sources | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/tilwhen-com/json-schema/tilwhen-com-receipt-schema.json",
"title": "Receipt",
"description": "Auditable calculation record; field order in serialized responses is stable.",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/tilwhen-com-openapi.json#/components/schemas/Receipt",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^tw1-[0-9a-f]{16}$"
},
"query": {
"type": "object"
},
"resolved": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"answer": {
"type": "object"
},
"timezone": {
"type": "string"
},
"convention": {
"type": "string",
"const": "exclusive-today-is-day-0"
},
"workweek": {
"$ref": "#/$defs/Workweek"
},
"jurisdiction": {
"type": [
"string",
"null"
]
},
"customHolidays": {
"type": "array",
"items": {
"type": "string"
}
},
"holidaysExcluded": {
"type": "array",
"description": "Itemised excluded holidays, capped at 500; see holidaysExcludedCount for the true total.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"dateISO": {
"type": "string"
}
}
}
},
"holidaysExcludedCount": {
"type": "integer",
"description": "Total holidays excluded by the calculation. Exceeds holidaysExcluded.length on very wide spans, where a holiday_list_truncated warning also appears."
},
"computedAt": {
"type": "string",
"format": "date-time"
},
"validFor": {
"type": "string",
"format": "date"
},
"engineVersion": {
"type": "string"
},
"holidayDatasetVersion": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"publisher": {
"type": "string"
},
"retrievedAt": {
"type": "string"
}
}
}
}
},
"$defs": {
"Workweek": {
"type": "string",
"enum": [
"mon-fri",
"sun-thu",
"mon-sat"
]
}
}
}
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/tilwhen-com-receipt"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.