{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/deel-com/main/json-schema/deel-eor-contract-schema.json", "title": "Deel EOR Contract", "description": "Canonical schema for a Deel Employer of Record contract including three-party signature state.", "type": "object", "required": ["id", "status", "country", "salary", "currency"], "properties": { "id": { "type": "string" }, "status": { "type": "string", "enum": ["draft", "quoted", "in_progress", "active", "cancelled", "terminated", "completed"] }, "country": { "type": "string" }, "state": { "type": "string" }, "job_title": { "type": "string" }, "seniority_level_id": { "type": "string" }, "salary": { "type": "number" }, "currency": { "type": "string" }, "salary_frequency": { "type": "string", "enum": ["yearly", "monthly"] }, "start_date": { "type": "string", "format": "date" }, "end_date": { "type": "string", "format": "date" }, "scope_of_work": { "type": "string" }, "employee": { "type": "object", "required": ["first_name", "last_name", "email"], "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "email": { "type": "string", "format": "email" }, "nationality": { "type": "string" }, "date_of_birth": { "type": "string", "format": "date" } } }, "signatures": { "type": "object", "properties": { "client": { "type": "object", "properties": { "signed": { "type": "boolean" }, "signed_at": { "type": "string", "format": "date-time" } } }, "employee": { "type": "object", "properties": { "signed": { "type": "boolean" }, "signed_at": { "type": "string", "format": "date-time" } } }, "deel": { "type": "object", "properties": { "signed": { "type": "boolean" }, "signed_at": { "type": "string", "format": "date-time" } } } } }, "external_id": { "type": "string" } }, "additionalProperties": true }