{
  "additionalProperties": false,
  "properties": {
    "amount": {
      "maxLength": 64,
      "minLength": 1,
      "type": "string",
      "x-lumen-title": {
        "en": "Amount",
        "he": "סכום"
      },
      "x-lumen-widget": "field-picker"
    },
    "date": {
      "maxLength": 32,
      "type": "string",
      "x-lumen-title": {
        "en": "Rate of the day",
        "he": "שער ליום"
      },
      "x-lumen-widget": "field-picker"
    },
    "dateMode": {
      "default": "latest",
      "enum": [
        "latest",
        "date",
        "field"
      ],
      "type": "string",
      "x-lumen-title": {
        "en": "Rate date",
        "he": "תאריך השער"
      },
      "x-lumen-widget": "segmented"
    },
    "from": {
      "default": "USD",
      "enum": [
        "ILS",
        "USD",
        "EUR",
        "GBP",
        "JPY",
        "CHF",
        "AUD",
        "CAD",
        "DKK",
        "NOK",
        "SEK",
        "ZAR",
        "JOD",
        "EGP",
        "LBP"
      ],
      "type": "string",
      "x-lumen-title": {
        "en": "From currency",
        "he": "ממטבע"
      },
      "x-lumen-widget": "currency"
    },
    "to": {
      "default": "ILS",
      "enum": [
        "ILS",
        "USD",
        "EUR",
        "GBP",
        "JPY",
        "CHF",
        "AUD",
        "CAD",
        "DKK",
        "NOK",
        "SEK",
        "ZAR",
        "JOD",
        "EGP",
        "LBP"
      ],
      "type": "string",
      "x-lumen-title": {
        "en": "To currency",
        "he": "למטבע"
      },
      "x-lumen-widget": "currency"
    }
  },
  "required": [
    "amount",
    "from",
    "to"
  ],
  "type": "object"
}
