{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CurrencyConversionQuote", "title": "CurrencyConversionQuote", "type": "object", "properties": { "amount": { "type": "object", "description": "The amount to convert.", "readOnly": false, "writeOnly": true, "$ref": "#/components/schemas/Amount" }, "currency_source": { "type": "string", "description": "The currency we are converting.", "readOnly": false, "writeOnly": true }, "currency_target": { "type": "string", "description": "The currency we are converting towards.", "readOnly": false, "writeOnly": true }, "order_type": { "type": "string", "description": "The type of the quote, SELL or BUY.", "readOnly": false, "writeOnly": true }, "counterparty_alias": { "type": "object", "description": "The Alias of the party we are transferring the money to.", "readOnly": false, "writeOnly": true, "$ref": "#/components/schemas/Pointer" }, "status": { "type": "string", "description": "The status of the quote.", "readOnly": false, "writeOnly": false } }, "required": [ "amount", "currency_source", "currency_target", "order_type", "counterparty_alias" ] }