{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Address", "type": "object", "properties": { "line1": { "type": "string", "description": "Address line 1. If the any of the address line value is present but line 1 value is absent then blank value will be considered.
**Conditional Mandatory*** field -
Current Address line1 is required while creating new client.
Office or Permanent Address line1 is required if selected as preferred Mailing Address." }, "line2": { "type": "string", "description": "Address line 2. If the any of the address line value is present but line 2 value is absent then blank value will be considered.
This field is required if configured as **Business Mandatory*** ." }, "line3": { "type": "string", "description": "Address line 3. If the any of the address line value is present but line 3 value is absent then blank value will be considered.
This field is required if configured as **Business Mandatory*** ." }, "line4": { "type": "string", "description": "Address line 4. If the any of the address line value is present but line 4 value is absent then blank value will be considered.
This field is required if configured as **Business Mandatory*** ." }, "city": { "type": "string", "description": "City (free text).
This field will be ignored and populated internally if given country is same as institution country, and city is configured to be auto populated in Card Management > Institution Parameter Setup by selecting the option 'Validate Domestic Postal Code [Y]' or 'Do Not Validate Domestic Postal Code-Auto populate [D]'." }, "state": { "type": "string", "description": "State.
This field is required if configured as **Business Mandatory*** \n* If zip flag is configured at Institution level by selecting the 'Domestic Postal Code Mandatory' check box, then the state code must be present in the request, as per the state master configured in the system.\n* Otherwise, if the zip flag is not configured at institution level, then regardless of the applicant's state code, this field is a free text.\n* This field will be ignored and populated internally if given country is same as institution country, and state is configured to be auto populated in 'Card Management > Institution Parameter Setup' by selecting the option 'Validate Domestic Postal Code [Y]' or 'Do Not Validate Domestic Postal Code-Auto populate [D]'." }, "country": { "type": "string", "description": "Country Code. Expressed as a 2-letter (Alpha-2) country code as defined in ISO 3166.
**Conditional Mandatory*** field -
\n* Current Address country is required while creating new client.
\n* Office or Permanent Address country is required if selected as preferred Mailing Address." }, "zipCode": { "type": "string", "description": "Zip Code.
**Conditional Mandatory*** field -
\n* Required if given country is same as 'institution country', and 'zip code' is configured as mandatory in 'Card Management > Institution Parameter Setup' by selecting the 'Validate Domestic Postal Code [Y]'.
\n* Office or 'permanent address zip code' is required if selected as preferred 'mailing address'." } } }