Files
lakehouse-personio/tap-personio/tap_personio/schemas/employments.json
2025-06-03 16:22:21 +02:00

157 lines
3.3 KiB
JSON

{
"type": "object",
"properties": {
"id": {
"type": ["string", "null"]
},
"status": {
"type": ["string", "null"],
"enum": ["ACTIVE", "INACTIVE", "ONBOARDING", "LEAVE", "UNSPECIFIED"]
},
"weekly_working_hours": {
"type": ["integer", "null"]
},
"full_time_weekly_working_hours": {
"type": ["integer", "null"]
},
"probation_end_date": {
"type": ["string", "null"],
"format": "date"
},
"employment_start_date": {
"type": ["string", "null"],
"format": "date"
},
"employment_end_date": {
"type": ["string", "null"],
"format": "date"
},
"type": {
"type": ["string", "null"],
"enum": ["INTERNAL", "EXTERNAL", "UNSPECIFIED"]
},
"contract_end_date": {
"type": ["string", "null"],
"format": "date"
},
"created_at": {
"type": ["string", "null"],
"format": "date-time"
},
"updated_at": {
"type": ["string", "null"],
"format": "date-time"
},
"position": {
"type": "object",
"properties": {
"title": {
"type": ["string", "null"]
}
}
},
"supervisor": {
"type": "object",
"properties": {
"id": {
"type": ["string", "null"]
}
}
},
"office": {
"type": "object",
"properties": {
"id": {
"type": ["string", "null"]
}
}
},
"legal_entity": {
"type": "object",
"properties": {
"id": {
"type": ["string", "null"],
"description": "Identifier of the legal entity"
}
},
"required": ["id"],
"additionalProperties": false
},
"org_units": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": ["string", "null"]
},
"id": {
"type": ["string", "null"]
}
}
}
},
"cost_centers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": ["string", "null"]
},
"weight": {
"type": ["integer", "null"]
}
}
}
},
"person": {
"type": "object",
"properties": {
"id": {
"type": ["string", "null"]
}
}
},
"termination": {
"type": ["object", "null"],
"properties": {
"termination_date": {
"type": ["string", "null"],
"format": "date"
},
"last_working_date": {
"type": ["string", "null"],
"format": "date"
},
"terminated_at": {
"type": ["string", "null"],
"format": "date"
},
"type": {
"type": ["string", "null"],
"enum": [
"UNSPECIFIED",
"EMPLOYEE",
"FIRED",
"DEATH",
"CONTRACT_EXPIRED",
"AGREEMENT",
"SUB_COMPANY_SWITCH",
"IRREVOCABLE_SUSPENSION",
"CANCELLATION",
"COLLECTIVE_AGREEMENT",
"SETTLEMENT_AGREEMENT",
"RETIREMENT",
"COURT_SETTLEMENT",
"QUIT"
]
},
"reason": {
"type": ["string", "null"]
}
}
}
}
}