Properties
| Name | Type | Description |
|---|---|---|
| year | integer | |
| pto_days | integer | Scheduled working days to take off. |
| apply_transfers | boolean | Apply the 2026 workday transfers. Only valid for 2026. |
| constraints | object | |
| extra_days_off | array | Days that count as days off on top of public holidays, such as days an employer gives. Dates in 2026 or 2027. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/panembrivdienu-lv/json-schema/panembrivdienu-lv-optimize-request-schema.json",
"title": "OptimizeRequest",
"x-generated": "2026-11-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/panembrivdienu-lv-openapi.yml#/components/schemas/OptimizeRequest",
"type": "object",
"required": [
"year",
"pto_days"
],
"properties": {
"year": {
"type": "integer",
"enum": [
2026,
2027
]
},
"pto_days": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Scheduled working days to take off."
},
"apply_transfers": {
"type": "boolean",
"default": false,
"description": "Apply the 2026 workday transfers. Only valid for 2026."
},
"constraints": {
"type": "object",
"properties": {
"employment_start_date": {
"$ref": "#/$defs/Date"
}
}
},
"extra_days_off": {
"type": "array",
"maxItems": 100,
"description": "Days that count as days off on top of public holidays, such as days an employer gives. Dates in 2026 or 2027.",
"items": {
"$ref": "#/$defs/Date"
}
}
},
"$defs": {
"Date": {
"type": "string",
"format": "date"
}
}
}
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/panembrivdienu-lv-optimize-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. 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.