{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openbrandexchange.com/schemas/v0.3/LocalizedText.json",
  "title": "LocalizedText",
  "description": "Free text per language, keyed by BCP 47 tag in its canonical form: language, optional script, optional region (`nl`, `de-CH`, `zh-Hant`, `sr-Latn-RS`, `es-419`). At least one language. Example: {\"nl\": \"Trui\", \"en\": \"Sweater\"}.",
  "type": "object",
  "minProperties": 1,
  "patternProperties": {
    "^[a-z]{2,3}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000
    }
  },
  "additionalProperties": false
}
