Factorial · Schema
Factorial Employee
An employee record in Factorial HR. Mirrors the Employee schema exposed by the public Core Employees v2 API.
HRHuman ResourcesPayrollTime OffTime TrackingATSPerformanceFinanceExpensesSpainBarcelonaAll-in-One
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique identifier of the employee. |
| string | ||
| first_name | string | |
| last_name | string | |
| birthday_on | string | |
| role | string | |
| terminated_on | string | |
| gender | string | |
| nationality | string | ISO 3166-1 alpha-2 country code of nationality. |
| bank_number | string | |
| swift_bic | string | |
| country | string | ISO 3166-1 alpha-2 country code. |
| city | string | |
| state | string | |
| postal_code | string | |
| address_line_1 | string | |
| address_line_2 | string | |
| identifier | string | National identifier (e.g. Spanish DNI/NIE). |
| company_id | integer | |
| legal_entity_id | integer | |
| manager_id | integer | |
| timeoff_manager_id | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/factorial-hr/main/json-schema/factorial-employee-schema.json",
"title": "Factorial Employee",
"description": "An employee record in Factorial HR. Mirrors the Employee schema exposed by the public Core Employees v2 API.",
"type": "object",
"properties": {
"id": { "type": "integer", "description": "Unique identifier of the employee." },
"email": { "type": "string", "format": "email" },
"first_name": { "type": "string" },
"last_name": { "type": "string" },
"birthday_on": { "type": "string", "format": "date" },
"role": { "type": "string", "enum": ["basic", "admin"] },
"terminated_on": { "type": "string", "format": "date" },
"gender": { "type": "string", "enum": ["male", "female"] },
"nationality": { "type": "string", "description": "ISO 3166-1 alpha-2 country code of nationality." },
"bank_number": { "type": "string" },
"swift_bic": { "type": "string" },
"country": { "type": "string", "description": "ISO 3166-1 alpha-2 country code." },
"city": { "type": "string" },
"state": { "type": "string" },
"postal_code": { "type": "string" },
"address_line_1": { "type": "string" },
"address_line_2": { "type": "string" },
"identifier": { "type": "string", "description": "National identifier (e.g. Spanish DNI/NIE)." },
"company_id": { "type": "integer" },
"legal_entity_id": { "type": "integer" },
"manager_id": { "type": "integer" },
"timeoff_manager_id": { "type": "integer" }
},
"required": ["email", "first_name", "last_name", "company_id"]
}