changedInput schema / properties / cards / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Displays how a span of the target language is built, for a learner who wants to see it: the text split into chunks, a literal gloss for each word, links between parts that stand apart, and a translation of the span.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "chunks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "image": {
- "type": "string"
- },
- "means": {
- "type": "string"
- },
- "words": {
- "items": {
- "anyOf": [
- {
- "maxItems": 2,
- "minItems": 2,
- "prefixItems": [
- {
- "type": "string"
- },
- {
- "type": "string"
- }
- ],
- "type": "array"
- },
- {
- "maxItems": 3,
- "minItems": 3,
- "prefixItems": [
- {
- "type": "string"
- },
- {
- "type": "string"
- },
- {
- "type": "string"
- }
- ],
- "type": "array"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "words"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fix": {
- "additionalProperties": false,
- "properties": {
- "changes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "type": "string"
- },
- "to": {
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "why"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "wrote": {
- "type": "string"
- }
- },
- "required": [
- "wrote",
- "changes"
- ],
- "type": "object"
- },
- "links": {
- "additionalProperties": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "type": "string"
- },
- "lemma": {
- "type": "string"
- },
- "means": {
- "type": "string"
- }
- },
- "required": [
- "lemma",
- "means",
- "kind"
- ],
- "type": "object"
- },
- "type": "object"
- },
- "structure": {
- "additionalProperties": false,
- "properties": {
- "clauses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "type": "string"
- },
- "parts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "class": {
- "type": "string"
- },
- "role": {
- "type": "string"
- },
- "words": {
- "type": "string"
- }
- },
- "required": [
- "words",
- "role",
- "class"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "parts"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "clauses"
- ],
- "type": "object"
- },
- "text": {
- "type": "string"
- },
- "translation": {
- "type": "string"
- },
- "widened": {
- "type": "boolean"
- }
- },
- "required": [
- "text",
- "chunks",
- "translation"
- ],
- "type": "object"
- },
- "widget": {
- "const": "gloss-chunks"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays 3 to 6 example sentences of a word, chunk or pattern at work, for a learner who wants to see it in use. Each has its translation and the target part marked, and may have a picture.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "image": {
- "type": "string"
- },
- "mark": {
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean",
- "mark"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "note": {
- "type": "string"
- },
- "target": {
- "type": "string"
- }
- },
- "required": [
- "target",
- "items"
- ],
- "type": "object"
- },
- "widget": {
- "const": "examples"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays other ways to say the same thing, for a learner who wants to sound more natural or find a simpler form: the original and 2 to 5 alternatives, each tagged by kind, such as simpler or more formal.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "mean": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "say": {
- "type": "string"
- },
- "tag": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "tag"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "original": {
- "type": "string"
- }
- },
- "required": [
- "original",
- "items"
- ],
- "type": "object"
- },
- "widget": {
- "const": "alternatives"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a short explanation of one rule, exception or tip that explains what the learner met: a title, a few points and an optional small table.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "kind": {
- "type": "string"
- },
- "points": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "table": {
- "additionalProperties": false,
- "properties": {
- "head": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "rows": {
- "items": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "type": "array"
- }
- },
- "required": [
- "head",
- "rows"
- ],
- "type": "object"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "kind",
- "points"
- ],
- "type": "object"
- },
- "widget": {
- "const": "explain"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays tips that help a learner keep or use what they met: a tip for their exam, how people use it, or a memory trick, with an optional example sentence.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "tips": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "example": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "exam",
- "use",
- "memory"
- ],
- "type": "string"
- },
- "points": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "points"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "tips"
- ],
- "type": "object"
- },
- "widget": {
- "const": "tips"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays two or three look-alike forms side by side, for a learner confused by the difference: one row per side with examples, and a test to tell them apart.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "key": {
- "type": "string"
- },
- "sides": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "example": {
- "additionalProperties": false,
- "properties": {
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean"
- ],
- "type": "object"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- },
- "use": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean",
- "use",
- "example"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "sides",
- "key"
- ],
- "type": "object"
- },
- "widget": {
- "const": "contrast"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a reusable sentence frame with slots, the fillers that fit each slot, and sentences built from it, for a learner who met a pattern they can use with other words.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "built": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "frame": {
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "slots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "fill": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "hint": {
- "type": "string"
- }
- },
- "required": [
- "hint",
- "fill"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "frame",
- "mean",
- "slots",
- "built"
- ],
- "type": "object"
- },
- "widget": {
- "const": "pattern"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays the forms of one word as a table, for a learner who asks about them: verb conjugation, article or gender, plural, comparative or diminutive.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "lemma": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "pos": {
- "type": "string"
- },
- "table": {
- "additionalProperties": false,
- "properties": {
- "head": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "rows": {
- "items": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "prefixItems": [
- {
- "type": "string"
- }
- ],
- "type": "array"
- },
- "type": "array"
- }
- },
- "required": [
- "head",
- "rows"
- ],
- "type": "object"
- }
- },
- "required": [
- "lemma",
- "pos",
- "table"
- ],
- "type": "object"
- },
- "widget": {
- "const": "forms"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a check of the learner's own writing in a language they learn: what they wrote, the corrected text with the changes marked, a short reason for each fix, and a more natural version.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "fixed": {
- "type": "string"
- },
- "fixes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "type": "string"
- },
- "to": {
- "type": "string"
- },
- "why": {
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "why"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "gloss": {
- "type": "string"
- },
- "natural": {
- "type": "string"
- },
- "ok": {
- "type": "boolean"
- },
- "wrote": {
- "type": "string"
- }
- },
- "required": [
- "wrote",
- "fixed",
- "ok",
- "fixes"
- ],
- "type": "object"
- },
- "widget": {
- "const": "correction"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one quick question for the learner to use what was just shown: choice, cloze, order or translate. The view checks the answer and shows the result with an explanation.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- },
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- ]
- },
- "ask": {
- "type": "string"
- },
- "explain": {
- "type": "string"
- },
- "gloss": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "choice",
- "cloze",
- "order",
- "translate"
- ],
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "prompt": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "ask",
- "answer",
- "explain"
- ],
- "type": "object"
- },
- "widget": {
- "const": "quiz"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Plays short lines of the target language one by one and pauses after each for the learner to say it aloud, with each line's meaning.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "speed": {
- "type": "number"
- }
- },
- "required": [
- "lines"
- ],
- "type": "object"
- },
- "widget": {
- "const": "shadow"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Plays a line or short dialogue for the learner to listen to, with the transcript hidden until shown or answered. It can limit replays like an exam's listening part, ask one question, or serve as repeat-after-me practice.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "by": {
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "plays": {
- "type": "number"
- },
- "question": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "type": "number"
- },
- "ask": {
- "type": "string"
- },
- "explain": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "ask",
- "options",
- "answer",
- "explain"
- ],
- "type": "object"
- },
- "shadow": {
- "type": "boolean"
- },
- "speed": {
- "type": "number"
- },
- "title": {
- "type": "string"
- },
- "transcript": {
- "enum": [
- "hidden",
- "shown"
- ],
- "type": "string"
- }
- },
- "required": [
- "lines"
- ],
- "type": "object"
- },
- "widget": {
- "const": "voice"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one library picture of a concrete word, chunk, action or scene, with the words it teaches, for a learner who remembers better with an image.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "image": {
- "type": "string"
- },
- "means": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "image",
- "say",
- "means"
- ],
- "type": "object"
- },
- "widget": {
- "const": "picture"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a role-play of a real situation, such as calling the doctor or asking the way, for a learner who wants to practise a conversation: 4 to 8 lines where the learner plays B and sees each B line on request.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "a": {
- "type": "string"
- },
- "b": {
- "type": "string"
- },
- "lines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "by": {
- "enum": [
- "a",
- "b"
- ],
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "by",
- "say",
- "mean"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "situation": {
- "type": "string"
- }
- },
- "required": [
- "situation",
- "a",
- "b",
- "lines"
- ],
- "type": "object"
- },
- "widget": {
- "const": "dialogue"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one sentence split into the places its words take, for a learner who asks about word order: slots such as subject and verbs, the verb places marked, and a note on the rule.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "mean": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "say": {
- "type": "string"
- },
- "slots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "verb": {
- "type": "boolean"
- },
- "words": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "words"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "say",
- "mean",
- "slots"
- ],
- "type": "object"
- },
- "widget": {
- "const": "sentence-frame"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays the grammar structure of one sentence, for a learner who wants to see how it is built: each part with its role and word class, and the kind of each clause.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "clauses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "type": "string"
- },
- "parts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "class": {
- "type": "string"
- },
- "role": {
- "type": "string"
- },
- "words": {
- "type": "string"
- }
- },
- "required": [
- "words",
- "role",
- "class"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "parts"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "mean": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "mean",
- "clauses"
- ],
- "type": "object"
- },
- "widget": {
- "const": "structure"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one message in a formal and an informal version, for a learner who asks how to say it politely or casually: the changed words are marked, with a note on who gets which.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "formal": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "marks": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "say",
- "marks"
- ],
- "type": "object"
- },
- "informal": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "type": "string"
- },
- "marks": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "say",
- "marks"
- ],
- "type": "object"
- },
- "mean": {
- "type": "string"
- },
- "note": {
- "type": "string"
- }
- },
- "required": [
- "mean",
- "formal",
- "informal"
- ],
- "type": "object"
- },
- "widget": {
- "const": "register"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one practice item in an exam's own format, for a learner who wants exam practice: a short text, a question, options and an optional timer. The view checks the pick and shows the explanation.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "type": "number"
- },
- "ask": {
- "type": "string"
- },
- "exam": {
- "type": "string"
- },
- "explain": {
- "type": "string"
- },
- "gloss": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "seconds": {
- "type": "number"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "exam",
- "text",
- "ask",
- "options",
- "answer",
- "explain"
- ],
- "type": "object"
- },
- "widget": {
- "const": "exam-task"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays one library picture of a place or situation with its 3 to 6 key words beside it, for a learner who wants the vocabulary of a waiting room, a pharmacy or a kitchen.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "image": {
- "type": "string"
- },
- "means": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "words": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "means": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "means"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "image",
- "title",
- "means",
- "words"
- ],
- "type": "object"
- },
- "widget": {
- "const": "scene"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a chart for a learner who needs to see how things relate: a verb grid across tenses, a time line, a sentence tree or a topic map.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "chart": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "gloss": {
- "type": "string"
- },
- "head": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "irregular": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "kind": {
- "const": "verbs",
- "type": "string"
- },
- "lemma": {
- "type": "string"
- },
- "rows": {
- "items": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "prefixItems": [
- {
- "type": "string"
- }
- ],
- "type": "array"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "lemma",
- "head",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "events": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "type": "number"
- },
- "label": {
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- },
- "to": {
- "type": "number"
- }
- },
- "required": [
- "label",
- "say",
- "from"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "timeline",
- "type": "string"
- },
- "now": {
- "type": "number"
- }
- },
- "required": [
- "kind",
- "now",
- "events"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "tree",
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "parts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "parts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "role": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "role"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "role": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say",
- "role"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "say",
- "mean",
- "parts"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "branches": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "link": {
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "map",
- "type": "string"
- },
- "mean": {
- "type": "string"
- },
- "topic": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "topic",
- "branches"
- ],
- "type": "object"
- }
- ]
- },
- "note": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "chart"
- ],
- "type": "object"
- },
- "widget": {
- "const": "visual"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays a small layout built from blocks (say, text, table, list, image), for a learner who asks for something the other widgets do not show, such as a grid of prices or a mini dictionary of one theme.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "blocks": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "say",
- "type": "string"
- },
- "means": {
- "type": "string"
- },
- "say": {
- "type": "string"
- },
- "words": {
- "items": {
- "maxItems": 2,
- "minItems": 2,
- "prefixItems": [
- {
- "type": "string"
- },
- {
- "type": "string"
- }
- ],
- "type": "array"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "say"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "text",
- "type": "string"
- },
- "text": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "head": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "kind": {
- "const": "table",
- "type": "string"
- },
- "rows": {
- "items": {
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "note": {
- "type": "string"
- }
- },
- "required": [
- "note"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": "array"
- }
- },
- "required": [
- "kind",
- "head",
- "rows"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "means": {
- "type": "string"
- },
- "note": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "say"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "list",
- "type": "string"
- },
- "ordered": {
- "type": "boolean"
- }
- },
- "required": [
- "kind",
- "items"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "image": {
- "type": "string"
- },
- "kind": {
- "const": "image",
- "type": "string"
- },
- "means": {
- "type": "string"
- },
- "say": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "image"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "blocks"
- ],
- "type": "object"
- },
- "widget": {
- "const": "custom"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Displays 1 to 6 one-click next steps under a reply: further asks the learner might make, and the next text to study. Clicking an item sends its message.",
- "properties": {
- "fold": {
- "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
- "type": "boolean"
- },
- "props": {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "play",
- "dig-in",
- "examples",
- "other-ways",
- "quiz",
- "check",
- "make-questions",
- "tour"
- ],
- "type": "string"
- },
- "ask": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "on": {
- "type": "string"
- }
- },
- "required": [
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "items"
- ],
- "type": "object"
- },
- "widget": {
- "const": "next"
- }
- },
- "required": [
- "widget",
- "props"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Displays how a span of the target language is built, for a learner who wants to see it: the text split into chunks, a literal gloss for each word, links between parts that stand apart, and a translation of the span.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "chunks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ },
+ "words": {
+ "items": {
+ "anyOf": [
+ {
+ "maxItems": 2,
+ "minItems": 2,
+ "prefixItems": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ },
+ {
+ "maxItems": 3,
+ "minItems": 3,
+ "prefixItems": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "words"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fix": {
+ "additionalProperties": false,
+ "properties": {
+ "changes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "why"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "wrote": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "wrote",
+ "changes"
+ ],
+ "type": "object"
+ },
+ "links": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "lemma": {
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "lemma",
+ "means",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "description": "Construct a type with a set of properties K of type T",
+ "type": "object"
+ },
+ "structure": {
+ "additionalProperties": false,
+ "properties": {
+ "clauses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "parts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "class": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ },
+ "words": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "words",
+ "role",
+ "class"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "parts"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "clauses"
+ ],
+ "type": "object"
+ },
+ "text": {
+ "type": "string"
+ },
+ "translation": {
+ "type": "string"
+ },
+ "widened": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "text",
+ "chunks",
+ "translation"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "gloss-chunks"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays 3 to 6 example sentences of a word, chunk or pattern at work, for a learner who wants to see it in use. Each has its translation and the target part marked, and may have a picture.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "type": "string"
+ },
+ "mark": {
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean",
+ "mark"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "target": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "target",
+ "items"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "examples"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays other ways to say the same thing, for a learner who wants to sound more natural or find a simpler form: the original and 2 to 5 alternatives, each tagged by kind, such as simpler or more formal.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mean": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ },
+ "tag": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "tag"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "original": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "original",
+ "items"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "alternatives"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a short explanation of one rule, exception or tip that explains what the learner met: a title, a few points and an optional small table.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "points": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "table": {
+ "additionalProperties": false,
+ "properties": {
+ "head": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "head",
+ "rows"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "kind",
+ "points"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "explain"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays tips that help a learner keep or use what they met: a tip for their exam, how people use it, or a memory trick, with an optional example sentence.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "tips": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "example": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "exam",
+ "use",
+ "memory"
+ ],
+ "type": "string"
+ },
+ "points": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "points"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "tips"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "tips"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays two or three look-alike forms side by side, for a learner confused by the difference: one row per side with examples, and a test to tell them apart.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "sides": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "example": {
+ "additionalProperties": false,
+ "properties": {
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean"
+ ],
+ "type": "object"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ },
+ "use": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean",
+ "use",
+ "example"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "sides",
+ "key"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "contrast"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a reusable sentence frame with slots, the fillers that fit each slot, and sentences built from it, for a learner who met a pattern they can use with other words.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "built": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "frame": {
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "slots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "fill": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "hint": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "hint",
+ "fill"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "frame",
+ "mean",
+ "slots",
+ "built"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "pattern"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays the forms of one word as a table, for a learner who asks about them: verb conjugation, article or gender, plural, comparative or diminutive.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "lemma": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "pos": {
+ "type": "string"
+ },
+ "table": {
+ "additionalProperties": false,
+ "properties": {
+ "head": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "prefixItems": [
+ {
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "head",
+ "rows"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "lemma",
+ "pos",
+ "table"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "forms"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a check of the learner's own writing in a language they learn: what they wrote, the corrected text with the changes marked, a short reason for each fix, and a more natural version.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "fixed": {
+ "type": "string"
+ },
+ "fixes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ },
+ "why": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "why"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "gloss": {
+ "type": "string"
+ },
+ "natural": {
+ "type": "string"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "wrote": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "wrote",
+ "fixed",
+ "ok",
+ "fixes"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "correction"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one quick question for the learner to use what was just shown: choice, cloze, order or translate. The view checks the answer and shows the result with an explanation.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ ]
+ },
+ "ask": {
+ "type": "string"
+ },
+ "explain": {
+ "type": "string"
+ },
+ "gloss": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "choice",
+ "cloze",
+ "order",
+ "translate"
+ ],
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "prompt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "ask",
+ "answer",
+ "explain"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "quiz"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Plays short lines of the target language one by one and pauses after each for the learner to say it aloud, with each line's meaning.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "speed": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "lines"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "shadow"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Plays a line or short dialogue for the learner to listen to, with the transcript hidden until shown or answered. It can limit replays like an exam's listening part, ask one question, or serve as repeat-after-me practice.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "by": {
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "plays": {
+ "type": "number"
+ },
+ "question": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "type": "number"
+ },
+ "ask": {
+ "type": "string"
+ },
+ "explain": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "ask",
+ "options",
+ "answer",
+ "explain"
+ ],
+ "type": "object"
+ },
+ "shadow": {
+ "type": "boolean"
+ },
+ "speed": {
+ "type": "number"
+ },
+ "title": {
+ "type": "string"
+ },
+ "transcript": {
+ "enum": [
+ "hidden",
+ "shown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "lines"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "voice"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one library picture of a concrete word, chunk, action or scene, with the words it teaches, for a learner who remembers better with an image.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "say",
+ "means"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "picture"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a role-play of a real situation, such as calling the doctor or asking the way, for a learner who wants to practise a conversation: 4 to 8 lines where the learner plays B and sees each B line on request.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "a": {
+ "type": "string"
+ },
+ "b": {
+ "type": "string"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "by": {
+ "enum": [
+ "a",
+ "b"
+ ],
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "by",
+ "say",
+ "mean"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "situation": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "situation",
+ "a",
+ "b",
+ "lines"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "dialogue"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one sentence split into the places its words take, for a learner who asks about word order: slots such as subject and verbs, the verb places marked, and a note on the rule.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "mean": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ },
+ "slots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "verb": {
+ "type": "boolean"
+ },
+ "words": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "words"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "say",
+ "mean",
+ "slots"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "sentence-frame"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays the grammar structure of one sentence, for a learner who wants to see how it is built: each part with its role and word class, and the kind of each clause.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "clauses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "parts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "class": {
+ "type": "string"
+ },
+ "role": {
+ "type": "string"
+ },
+ "words": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "words",
+ "role",
+ "class"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "parts"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "mean",
+ "clauses"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "structure"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one message in a formal and an informal version, for a learner who asks how to say it politely or casually: the changed words are marked, with a note on who gets which.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "formal": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "marks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "say",
+ "marks"
+ ],
+ "type": "object"
+ },
+ "informal": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "marks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label",
+ "say",
+ "marks"
+ ],
+ "type": "object"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mean",
+ "formal",
+ "informal"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "register"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one practice item in an exam's own format, for a learner who wants exam practice: a short text, a question, options and an optional timer. The view checks the pick and shows the explanation.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "type": "number"
+ },
+ "ask": {
+ "type": "string"
+ },
+ "exam": {
+ "type": "string"
+ },
+ "explain": {
+ "type": "string"
+ },
+ "gloss": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "seconds": {
+ "type": "number"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "exam",
+ "text",
+ "ask",
+ "options",
+ "answer",
+ "explain"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "exam-task"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays one library picture of a place or situation with its 3 to 6 key words beside it, for a learner who wants the vocabulary of a waiting room, a pharmacy or a kitchen.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "words": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "means": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "means"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "image",
+ "title",
+ "means",
+ "words"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "scene"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a chart for a learner who needs to see how things relate: a verb grid across tenses, a time line, a sentence tree or a topic map.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "chart": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gloss": {
+ "type": "string"
+ },
+ "head": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "irregular": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "verbs",
+ "type": "string"
+ },
+ "lemma": {
+ "type": "string"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "prefixItems": [
+ {
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "lemma",
+ "head",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "events": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "number"
+ },
+ "label": {
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ },
+ "to": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "label",
+ "say",
+ "from"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "timeline",
+ "type": "string"
+ },
+ "now": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "kind",
+ "now",
+ "events"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "tree",
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "parts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "parts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "role"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "role": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say",
+ "role"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "say",
+ "mean",
+ "parts"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "branches": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "link": {
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "map",
+ "type": "string"
+ },
+ "mean": {
+ "type": "string"
+ },
+ "topic": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "topic",
+ "branches"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "note": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "chart"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "visual"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays a small layout built from blocks (say, text, table, list, image), for a learner who asks for something the other widgets do not show, such as a grid of prices or a mini dictionary of one theme.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "blocks": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "say",
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ },
+ "words": {
+ "items": {
+ "maxItems": 2,
+ "minItems": 2,
+ "prefixItems": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "say"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "text",
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "head": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "table",
+ "type": "string"
+ },
+ "rows": {
+ "items": {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "note"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "kind",
+ "head",
+ "rows"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "means": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "say"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "list",
+ "type": "string"
+ },
+ "ordered": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "kind",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "image": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "image",
+ "type": "string"
+ },
+ "means": {
+ "type": "string"
+ },
+ "say": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "image"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "blocks"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "custom"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Displays 1 to 6 one-click next steps under a reply: further asks the learner might make, and the next text to study. Clicking an item sends its message.",
+ "properties": {
+ "fold": {
+ "description": "true: a secondary card, shown as its title row until one tap opens it. Omit on the main cards.",
+ "type": "boolean"
+ },
+ "props": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "play",
+ "dig-in",
+ "examples",
+ "other-ways",
+ "quiz",
+ "check",
+ "make-questions",
+ "tour"
+ ],
+ "type": "string"
+ },
+ "ask": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "on": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object"
+ },
+ "widget": {
+ "const": "next"
+ }
+ },
+ "required": [
+ "widget",
+ "props"
+ ],
+ "type": "object"
+ }
+]