The locale object

Example locale object

{
  "object": "locale",
  "coverage": {
    "coverage-id": {},
    "coverage-id2": {},
  },
  "action_buttons": {},
  "benefits": {},
  "title": "Protect your product with",
  "evy_logo_url": "https://evy-logo.svg",
  "learn_more": {}
}

Attributes

objectstring, value is "locale"String representing the object’s type. Objects of the same type share the same value.
coveragedictionaryA dictionary where the coverage-id keys are the ones returned in the coverage_id field of the offer object, and their corresponding values are coverage locale dictionaries.
action_buttonsaction buttons dictionaryA nested object containing the locale of the action buttons.
attached_offerdictionaryA nested object containing the locale language to display in the cart.
benefitsfooter dictionaryA nested object containing the benefits info of Evy to be displayed in the UI component.
titlestringTitle for the UI component.
evy_logo_urlstringURL to Evy logo to display in the UI component.
learn_more"learn more" dictionaryA nested object representing the locale language for the "learn more" text.

Coverage locale dictionary

{
  "title": "Panne + Casse",
  "items": [
    "Warranty extended by 1 year (total: 2-year warranty)",
    "2-year coverage for drops, spills, and cracked screens from normal use",
    "Service fees apply $19 to repair your phone or $39 to replace it"
  ],
  "excluded_items": [
    "Theft"
  ],
  "legal_documents": [
    {
      "id": "terms_of_service",
      "title": "Terms of Service",
      "url": "https://static.evy.eu/terms_of_service.pdf"
    },
    {
      "id": "insurance_product_information_document",
      "title": "Insurance Product Information Document",
      "url": "https://static.evy.eu/insurance_product_information_document.pdf"
    },
    {
      "id": "price_and_warranty_document",
      "title": "Price & Warranty",
      "url": "https://static.evy.eu/price_and_warranty.pdf"
    }
  ]
}
titlestringString representing the locale language for the title of the coverage section.
itemsstring arrayAn array of strings representing what is covered by the offers.
excluded_itemsstring arrayAn array of strings representing what is not covered by the offers.
legal_documentsarray of nested objectsAn array containing the list of legal documents to display to the customer. Each item is a legal document dictionary.

Legal document dictionary

{
  "id": "terms_of_service",
  "title": "Terms of Service",
  "url": "https://static.evy.eu/terms_of_service.pdf"
}
idstringIdentifier for this legal_document link.
titlestringTitle of the legal document to display to customer.
urlstringLink to the legal document.

Action buttons dictionary

{
  "accept": "Add product protection",
  "decline": "No thanks",
  "close": "Close",
  "remove": "Delete"
}
acceptstringString representing the locale language for the modal accept button
declinestringString representing the locale language for the modal decline button
closestringString representing the locale language for the modal close button
removestringString representing the locale language for the modal remove button

Footer dictionary

{
  "title": "Why choose Evy ?",
  "items": [
    {
      "title": "Simple",
      "description": "No hard to find documents",
      "icon": "https://evy.eu/icon.svg"
    },
    {
      "title": "Fast",
      "description": "File a claim in under 2 minutes",
      "icon": "https://evy.eu/icon.svg"
    }
  ]
}
titlestringString representing the locale language for the title of the footer section.
itemsdictionary arrayAn array of nested dictionaries containing the copy language and urls of the footer items.
item.descriptionstringString representing the locale language for the description of the footer item.
item.iconstringLink to a footer icon.
item.titlestringString representing the locale language for the title of the footer item.

"Learn more" dictionary

"learn_more": {
  "title": "Learn more",
  "preamble": "Protect your purchase with",
  "modal_content": "Product protection plans designed for busy people who need real-life issues handled seamlessly.",
  "preamble_evy_icon": "https://static.evy.eu/images/evy_logo_learn_more.svg"
 }
modal_contentstringFurther information related to the learn more modal to be displayed.
preamblestringString representing the preamble before the coverage terms.
preamble_evy_iconstringURL to Evy logo to display in the UI learn more modal before the preamble.
titlestringTitle of the learn more button in the inline offer component.