{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-schema/investment-api-execution-schema.json", "title": "Execution", "description": "An execution fill for an order.", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "The execution identifier.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "order_id": { "type": "string", "format": "uuid", "description": "The order this execution belongs to.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "status": { "type": "string", "enum": [ "NEW", "SETTLED", "CANCELLED" ], "description": "The execution status.", "example": "NEW" }, "quantity": { "type": "string", "description": "The executed quantity as a decimal string.", "example": "example-value" }, "price": { "type": "string", "description": "The execution price as a decimal string.", "example": "example-value" }, "executed_at": { "type": "string", "format": "date-time", "description": "When the execution occurred.", "example": "2025-03-15T14:30:00Z" } } }