Absence is a JSON Structure definition published by Absence.io, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/absence-io/refs/heads/main/json-structure/absence-structure.json",
"name": "Absence",
"description": "An employee absence record.",
"type": "object",
"properties": {
"_id": {
"type": "string",
"description": "Unique identifier of the absence.",
"example": "500123"
},
"assignedToId": {
"type": "string",
"description": "ID of the user this absence is assigned to.",
"example": "500456"
},
"reasonId": {
"type": "string",
"description": "ID of the absence reason type.",
"example": "500789"
},
"approverId": {
"type": "string",
"description": "ID of the user who approved this absence.",
"example": "500654"
},
"start": {
"type": "datetime",
"description": "Start date and time of the absence.",
"example": "2025-06-01T00:00:00.000Z"
},
"end": {
"type": "datetime",
"description": "End date and time of the absence.",
"example": "2025-06-05T23:59:59.999Z"
},
"days": {
"type": "double",
"description": "Number of working days covered by the absence.",
"example": 5
},
"status": {
"type": "int32",
"description": "Absence approval status: 0=pending, 1=approved, 2=declined.",
"example": 1
},
"comment": {
"type": "string",
"description": "Optional comment or note on the absence.",
"example": "Annual leave"
}
}
}
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.