Guide three
Exchange Format
An exchange snapshot is plain text: a person can read it, and a tool can parse it. The example below shows one entry with its definition, status, equivalents, context, banned form and review note.
Format example
{
"format": "thistlemoor.lexicon/1",
"headword": "calque",
"part_of_speech": "noun",
"definition": "A borrowing that copies the structure of a source expression.",
"status": "review",
"equivalents": {
"fr": "calque",
"de": "Lehnübersetzung",
"es": "calco"
},
"context": [
{
"sentence": "The glossary kept the calque in its original form.",
"source": "app.example.com/notes/glossary"
}
],
"banned_forms": [
{
"form": "literal borrowing",
"reason": "The phrase confuses a structural match with a copied word."
}
],
"review_notes": [
"Confirm the German equivalent before changing the status."
]
}
The values are illustrative. A real snapshot can hold many entries in the same shape, one object per headword.
What each field means
- format
- The name and version of the snapshot shape, written once at the start of a record.
- headword, part_of_speech, definition
- The three lines a dictionary reader meets first.
- status
- One of draft, review, approved or retired, as described in Term Entries.
- equivalents
- Language codes mapped to a chosen form for that language.
- context
- A list of example sentences, each with the reference it came from.
- banned_forms
- Expressions to avoid, paired with the reason for the rule.
- review_notes
- Short remarks left during a status change.
Using a snapshot
Keep the text where both people and tools can reach it. Differences between two snapshots are easy to inspect because each entry remains a separate object and the field names stay the same.
To see how a record reaches this point, start with Getting Started. The field definitions are collected in Term Entries.