123 class Item(msgspec.Struct, kw_only=
True):
124 """A single element of the translations / a translation. A translation
125 consists of at least a mandatory ``text`` property (the translation) ,
126 optional properties such as *definitions*, *synonyms* and *examples* are
130 """Translated text."""
132 transliteration: str =
""
133 """Transliteration_ of the requested translation.
135 .. _Transliteration: https://en.wikipedia.org/wiki/Transliteration
138 examples: list[str] = []
139 """List of examples for the requested translation."""
141 definitions: list[str] = []
142 """List of definitions for the requested translation."""
144 synonyms: list[str] = []
145 """List of synonyms for the requested translation."""