{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api-evangelist.github.io/deribit/json-schema/custody_settlement.json", "title": "Custody Settlement", "properties": { "id": { "type": "string", "description": "Unique identifier of the settlement instance" }, "status": { "type": "string", "enum": [ "completed", "completed_partially", "failed", "in_progress" ], "example": "completed", "description": "Status of the settlement" }, "created_at": { "type": "integer", "example": 1736712919000, "description": "The timestamp when the settlement was created (milliseconds since the Unix epoch)" }, "updated_at": { "type": "integer", "example": 1736713920000, "description": "Timestamp of the last update of the settlement (milliseconds since the Unix epoch)" }, "failed_at": { "type": "integer", "example": 1736713950000, "description": "Timestamp (in milliseconds since the Unix epoch) when the settlement or settlement instruction failed. Present only if the status is `failed`." }, "completed_at": { "type": "integer", "example": 1736714000000, "description": "Timestamp of when the settlement was completed (if applicable)" }, "instructions": { "type": "array", "items": { "type": "object", "properties": { "currency": { "type": "string", "description": "The currency supported by custodian and exchange" }, "amount": { "type": "number", "example": 1.3141, "description": "