{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TravelDetails",
  "type": "object",
  "description": "Travel Information, Applicable only if the client has a prepaid card.",
  "properties": {
    "type": {
      "type": "string",
      "description": "Indicates the purpose of travel for which the client will be using the card. For example, medical reasons, cultural trip, and business trip and so on. <BR/> Valid values are as configured on portal in Card Management > Program Setup >Travel Type Configuration section. <BR/> This field is required if configured as **Business Mandatory**<font color='red'>* </font>."
    },
    "startDate": {
      "type": "string",
      "description": "Start date of the planned travel. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided. <br/> Format - It is expressed in ISO 8601 - `YYYY-MM-DD`"
    },
    "endDate": {
      "type": "string",
      "description": "End date of the planned travel. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided. <br/> Format - It is expressed in ISO 8601 - `YYYY-MM-DD`"
    },
    "country": {
      "type": "string",
      "description": "Country Code where client is traveling to. <BR/> Expressed as a 2-letter (Alpha-2) country code as defined in ISO 3166. <BR/> **Conditional Mandatory**<font color='red'>* </font> field - Required if travel type is provided."
    }
  }
}