{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-conversion-dates-schema.json", "title": "ConversionDates", "description": "Conversion dates.", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/currencycloud-reference-api-openapi.yml#/components/schemas/ConversionDates", "type": "object", "properties": { "first_conversion_cutoff_datetime": { "type": "string", "format": "date-time", "description": "The first conversion date and cutoff time by when conversions can be created." }, "first_conversion_date": { "type": "string", "format": "date", "description": "The first available date that a trade can be made on, in the format YYYY-MM-DD." }, "next_day_conversion_date": { "type": "string", "format": "date", "description": "The next available date that a trade can be made on, in the format YYYY-MM-DD." }, "default_conversion_date": { "type": "string", "format": "date", "description": "The default available date that a trade can be made on, in the format YYYY-MM-DD." }, "optimize_liquidity_conversion_date": { "type": "string", "format": "date", "description": "Optimal conversion date for maximizing chances of getting a successful rate." }, "invalid_conversion_dates": { "type": "object", "additionalProperties": { "type": "string", "description": "Maps dates (eg. \"2020-12-27\") to string values that explain why trading is not available on the date (eg. \"No trading on Sunday\")." } }, "offline_conversion_dates": { "type": "array", "items": { "type": "string", "description": "The list of available offline conversion dates." } } } }