addedInput schema / properties / amount
Added value: +{
+ "description": "Amount to convert: a property price, a monthly rent, any amount from 1 up. Not a deposit or an instalment plan.",
+ "maximum": 10000000000,
+ "minimum": 1,
+ "type": "number"
+}
changedInput schema / properties / currency / description
Previous value: -"Currency of the price (default GBP)."New value: +"Currency of the amount. Default GBP. Lower case, symbols (£ € $ ₺) and names (pound, euro, dollar, lira) are read."
addedInput schema / properties / locale
Added value: +{
+ "description": "Language of the answer and the number format. Pass the language the user writes in. Default en.",
+ "enum": [
+ "tr",
+ "en",
+ "ru",
+ "de",
+ "ar"
+ ],
+ "type": "string"
+}
removedInput schema / properties / price
Removed value: -{
- "description": "Entered property asking-price amount; not a deposit or installment.",
- "maximum": 100000000,
- "minimum": 1000,
- "type": "number"
-}
changedInput schema / required
Previous value: -[
- "price"
-]New value: +[
+ "amount"
+]
addedOutput schema / properties / assumedCurrency
Added value: +{
+ "description": "True when no currency was given and GBP was assumed.",
+ "type": "boolean"
+}
addedOutput schema / properties / code
Added value: +{
+ "description": "Present on a soft refusal (FX_UNAVAILABLE) and on invalid arguments (INVALID_PARAMS).",
+ "type": "string"
+}
addedOutput schema / properties / contentLocale
Added value: +{
+ "enum": [
+ "tr",
+ "en",
+ "ru",
+ "de",
+ "ar"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / fx / properties / ageHours
Added value: +{
+ "description": "Whole hours since the rates were stored.",
+ "type": "number"
+}
addedOutput schema / properties / fx / properties / asOf / description
Added value: +"When the rates were stored (ISO 8601, UTC)."
addedOutput schema / properties / fx / properties / rates / description
Added value: +"Units of each currency per 1 GBP, as stored."
addedOutput schema / properties / fx / properties / stale
Added value: +{
+ "description": "True when the rates are older than 24 hours (at most 72 hours: older ones are refused).",
+ "type": "boolean"
+}
changedOutput schema / properties / fx / required
Previous value: -[
- "base",
- "source",
- "asOf",
- "rates"
-]New value: +[
+ "base",
+ "source",
+ "asOf",
+ "rates",
+ "stale",
+ "ageHours"
+]
addedOutput schema / properties / inputCurrency / enum
Added value: +[
+ "GBP",
+ "EUR",
+ "USD",
+ "TRY"
+]
addedOutput schema / properties / issues
Added value: +{
+ "items": {
+ "properties": {
+ "allowedValues": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "suggestion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "field",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / priceGBP / description
Added value: +"The amount in GBP (the same number as amounts.GBP)."
addedOutput schema / properties / rateAgeHours
Added value: +{
+ "description": "FX_UNAVAILABLE with reason too_old: how old the stored rates are, in hours.",
+ "type": "number"
+}
addedOutput schema / properties / reason
Added value: +{
+ "enum": [
+ "unavailable",
+ "too_old"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / retryable
Added value: +{
+ "type": "boolean"
+}
addedOutput schema / properties / stale
Added value: +{
+ "description": "True when the stored rates are older than 24 hours.",
+ "type": "boolean"
+}
addedOutput schema / properties / warnings
Added value: +{
+ "items": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "inputCurrency",
- "priceGBP",
- "amounts"
-]New value: +[]