{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/zluri/refs/heads/main/json-schema/sync.json", "title": "Zluri Sync Session", "description": "A sync session used to upload batches of entity data to Zluri. Only one sync can be active per instance at a time.", "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier of the sync session." }, "instance_id": { "type": "string", "description": "The instance this sync belongs to." }, "status": { "type": "string", "description": "Current status of the sync.", "enum": ["running", "finished", "failed"] }, "created_at": { "type": "string", "format": "date-time", "description": "When the sync was created." }, "finished_at": { "type": ["string", "null"], "format": "date-time", "description": "When the sync was finished. Null if still running." } }, "required": ["id", "instance_id", "status"] }