dev.tsunagite.translatable
A piece of text with multiple translations, transliterations, or localizations into different languages.
Details · object
| Kind | object |
|---|---|
| Authority | tsunagite.dev |
| Indexed |
Checks
Validfield-name-syntaxdefs.main.properties.translations.properties.$keyFormatThe field name $keyFormat should be letters and digits, starting with a letter.field-name-syntaxdefs.main.properties.translations.properties.$valueTypeThe field name $valueType should be letters and digits, starting with a letter.
{
"$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
}