{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-structure/investment-api-order-cancellation-structure.json", "name": "OrderCancellation", "description": "A cancellation request for an order.", "type": "object", "properties": { "id": { "type": "uuid", "description": "The cancellation identifier.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "order_id": { "type": "uuid", "description": "The order being cancelled.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "status": { "type": "string", "enum": [ "PENDING", "CONFIRMED", "REJECTED" ], "description": "The status of the cancellation request.", "example": "PENDING" }, "created_at": { "type": "datetime", "description": "When the cancellation was requested.", "example": "2025-03-15T14:30:00Z" } } }