{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ForexQuote", "title": "ForexQuote", "properties": { "account": { "description": "The account name.", "type": "string" }, "accountType": { "description": "The account type.", "type": "string" }, "baseAmount": { "description": "The base amount.", "$ref": "#/components/schemas/Amount" }, "basePoints": { "description": "The base points.", "format": "int32", "type": "integer" }, "buy": { "description": "The buy rate.", "$ref": "#/components/schemas/Amount" }, "interbank": { "description": "The interbank amount.", "$ref": "#/components/schemas/Amount" }, "reference": { "description": "The reference assigned to the forex quote request.", "type": "string" }, "sell": { "description": "The sell rate.", "$ref": "#/components/schemas/Amount" }, "signature": { "description": "The signature to validate the integrity.", "type": "string" }, "source": { "description": "The source of the forex quote.", "type": "string" }, "type": { "description": "The type of forex.", "type": "string" }, "validTill": { "description": "The date until which the forex quote is valid.", "format": "date-time", "type": "string" } }, "required": [ "validTill", "basePoints" ], "type": "object" }