BigCommerce · Schema

TranslationDefinition

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
locale string Locale code for this language, such as 'en', 'en-us', 'fr-ca'.
keys object Language keys for the template. User-defined. Should match any language keys used in the template.
View JSON Schema on GitHub

JSON Schema

bigcommerce-translationdefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranslationDefinition",
  "title": "TranslationDefinition",
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "example": "en",
      "description": "Locale code for this language, such as 'en', 'en-us', 'fr-ca'."
    },
    "keys": {
      "type": "object",
      "description": "Language keys for the template. User-defined. Should match any language keys used in the template.",
      "properties": {},
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "locale",
    "keys"
  ],
  "x-internal": false
}