Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| user_id | integer | |
| leave_type_id | integer | |
| start_datetime | string | |
| end_datetime | string | |
| is_approved | boolean | |
| created_time | string | |
| modified_time | string | |
| deleted_time | string | |
| approved_by_id | integer | |
| created_by_id | integer | |
| modified_by_id | integer | |
| deleted_by_id | integer | |
| status_id | integer | |
| responded_by_id | integernull | |
| responded_at | stringnull | |
| attachment_path | stringnull | |
| description | stringnull | |
| comments | stringnull | |
| user | object | |
| leave_type | object | |
| status | object | |
| leave_dates | array | |
| attachment_url | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/assignar/json-schema/assignar-leave-request-schema.json",
"title": "LeaveRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/assignar-leave-requests-api-openapi.yml#/components/schemas/LeaveRequest",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"user_id": {
"type": "integer"
},
"leave_type_id": {
"type": "integer"
},
"start_datetime": {
"type": "string",
"format": "date-time"
},
"end_datetime": {
"type": "string",
"format": "date-time"
},
"is_approved": {
"type": "boolean"
},
"created_time": {
"type": "string",
"format": "date-time"
},
"modified_time": {
"type": "string",
"format": "date-time"
},
"deleted_time": {
"type": "string",
"format": "date-time"
},
"approved_by_id": {
"type": "integer"
},
"created_by_id": {
"type": "integer"
},
"modified_by_id": {
"type": "integer"
},
"deleted_by_id": {
"type": "integer"
},
"status_id": {
"type": "integer"
},
"responded_by_id": {
"type": [
"integer",
"null"
]
},
"responded_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"attachment_path": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"comments": {
"type": [
"string",
"null"
]
},
"user": {
"type": "object",
"properties": {
"full_name": {
"type": "string"
},
"user_id": {
"type": "integer"
},
"username": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
}
}
},
"leave_type": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"label": {
"type": "string"
},
"code": {
"type": [
"string",
"null"
]
}
}
},
"status": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"label": {
"type": "string"
}
}
},
"leave_dates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"start_at": {
"type": "string",
"format": "date-time"
},
"end_at": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "integer"
},
"leave_request_id": {
"type": "integer"
},
"timesheet_id": {
"type": "integer"
},
"created_by_id": {
"type": "integer"
},
"modified_by_id": {
"type": "integer"
}
}
}
},
"attachment_url": {
"$ref": "#/$defs/UrlAttachment"
}
},
"$defs": {
"UrlAttachment": {
"type": "object",
"readOnly": true,
"properties": {
"url": {
"type": "string",
"format": "url",
"description": "Download URL for the file."
},
"expiry": {
"type": "integer",
"description": "Expiry date of the download url in timestamp."
}
}
}
}
}
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/assignar-leave-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.