{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openbrandexchange.com/schemas/v0.1/LocalizedText.json",
  "title": "LocalizedText",
  "description": "Free text per language, keyed by BCP 47 tag. At least one language. Example: {\"nl\": \"Trui\", \"en\": \"Sweater\"}.",
  "type": "object",
  "minProperties": 1,
  "patternProperties": {
    "^[a-z]{2,3}(-[A-Z]{2})?$": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000
    }
  },
  "additionalProperties": false
}
