dev.tsunagite.translatable

A piece of text with multiple translations, transliterations, or localizations into different languages.

Repository @tsunagite.dev did:plc:pz4sp2vf5w26wnaee253gfms namespace authority
Details · object
Kindobject
Authoritytsunagite.dev
Indexed
cid bafyreictkillou2477cbrqxymxxemg7ijq54d46jkc52yt6khxzzy74diu

Checks

Valid
  • field-name-syntax defs.main.properties.translations.properties.$keyFormatThe field name $keyFormat should be letters and digits, starting with a letter.
  • field-name-syntax defs.main.properties.translations.properties.$valueTypeThe field name $valueType should be letters and digits, starting with a letter.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "properties": {
        "default": {
          "description": "The default text, used as a fallback for languages without a dedicated translation.",
          "maxGraphemes": 300,
          "maxLength": 3000,
          "minLength": 1,
          "type": "string"
        },
        "translations": {
          "description": "A key-value map of RFC 5646 IETF language tags to translated strings.",
          "properties": {
            "$keyFormat": {
              "format": "language",
              "type": "string"
            },
            "$valueType": {
              "maxGraphemes": 300,
              "maxLength": 3000,
              "minLength": 1,
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "required": [
        "default",
        "translations"
      ],
      "type": "object"
    }
  },
  "description": "A piece of text with multiple translations, transliterations, or localizations into different languages.",
  "id": "dev.tsunagite.translatable",
  "lexicon": 1
}