{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/deel-com/main/json-schema/deel-payroll-event-schema.json", "title": "Deel Payroll Event", "description": "Canonical schema for a Deel Global Payroll event/cycle.", "type": "object", "required": ["id", "legal_entity_id", "country", "currency", "cycle_start", "cycle_end", "status"], "properties": { "id": { "type": "string" }, "legal_entity_id": { "type": "string" }, "country": { "type": "string" }, "currency": { "type": "string" }, "cycle_start": { "type": "string", "format": "date" }, "cycle_end": { "type": "string", "format": "date" }, "cutoff_date": { "type": "string", "format": "date" }, "pay_date": { "type": "string", "format": "date" }, "status": { "type": "string", "enum": ["draft", "open", "locked", "processed", "paid", "closed"] }, "total_gross": { "type": "number" }, "total_net": { "type": "number" }, "worker_count": { "type": "integer" } }, "additionalProperties": true }