Wiktionary Schema
Wiktionary includes multiple language editions, and each edition has its own JSON structure (the fields differ from one edition to the next). Schemas are defined in Rust and Go.
| Edition | Rust module | Go package | Details |
|---|---|---|---|
en (English) | wiktionary_schema::en | en | English Edition |
zh (Chinese) | wiktionary_schema::zh | zh | Chinese Edition |
In both languages, API responses wrap the word data in a WrappedWordData type that adds a source object carrying provenance information (url and license).