{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-structure/investment-api-execution-structure.json", "name": "Execution", "description": "An execution fill for an order.", "type": "object", "properties": { "id": { "type": "uuid", "description": "The execution identifier.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "order_id": { "type": "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": "datetime", "description": "When the execution occurred.", "example": "2025-03-15T14:30:00Z" } } }