Provider Gargamelle reference

6 providers · 16 contracts · generated from the annotated Gleam definitions

Field meanings come from Gargamelle descriptions. Shapes, required fields and bounds come from the same emitted schemas used for validation. Prose about semantic admission describes additional checks; it is not an executable schema constraint.

These are provider-owned payloads. Host run IDs, occurrence IDs and completion receipts belong to the app API and are not duplicated here. Length bounds below count Unicode code points unless a semantic UTF-16 limit is explicitly stated.

cloze

Source: providers/cloze/contracts.gleam

cloze / content

Fill-in-the-blanks content. Beyond structural decoding, admission checks unique IDs, exactly one reference per blank, normalized answer uniqueness and UTF-16 text bounds.

payload object strict
blanks array required

Answer definitions with unique IDs, each referenced exactly once in parts.

items: 1 … 12

each item object strict
answers array required

Accepted alternatives; NFC, whitespace and English-case normalization applies. Empty or duplicate normalized alternatives are rejected.

items: 1 … 10

each item string

characters: 1 … 500

id string required

Stable local identifier, referenced by other fields in this card.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

label string required

Accessible name for this answer field.

characters: 1 … 500

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

parts array required

Ordered literal text and blank references forming the exercise.

items: 1 … 50

each item exactly one alternative
alternative 1 string

characters: 1 … 500

alternative 2 object strict
blank string required

Reference to a declared blank ID. Each blank must appear exactly once in parts.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

title string required

Human-readable card title.

characters: 1 … 500

type "cloze" required

Provider discriminator; selects the implementation that owns this payload.

weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

cloze / work

Resumable unfinished answers. Host run, occurrence and completion identity live in the outer work envelope; this payload only owns compatibility and responses.

payload object

extra fields allowed; decoded output omits undeclared fields

clozeSignature string required

JSON serialization of [parts, blanks, learningVersion]; must match the current card to restore.

responses dictionary required

Blank-ID to entered-text map. Missing responses are empty; unknown IDs or responses over 500 UTF-16 code units reject restoration.

keys: 0 … 12

each map value string

characters: 0 … 500

cloze / result

Version 1 completed cloze evidence. Semantic decoding recomputes each correctness flag and totals. Historical grading uses recorded alternatives, while new writes also check the current card.

payload object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

correct integer required

Count of correct entries; semantic validation recomputes this total.

value: 0 … 12

entries array required

One entry per blank, with unique IDs. New writes must match the current answer key.

items: 1 … 12

each item object

extra fields allowed; decoded output omits undeclared fields

accepted array required

Snapshot of accepted alternatives at completion; later card edits do not regrade this try.

items: 1 … 10

each item string

characters: 1 … 500

blankId string required

Stable ID of the blank answered in this entry.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

correct boolean required

Whether the recorded response matches a recorded alternative after normalization.

response string required

Entered text retained as evidence, including an empty response.

characters: 0 … 500

total integer required

Number of entries; semantic validation checks this count.

value: 1 … 12

type "cloze" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

equation

Source: providers/equation/contracts.gleam

Expression references carry the remaining depth in their name. Level 20 permits all variants; each child reduces the level by one. Level 0 permits only a symbol. Repeated levels are omitted from this reference, but retained in the schema.

equation / content

Expression-entry content with editor controls, accepted expressions and grading assumptions. Expressions allow at most 20 structural levels above symbol leaves. Semantic admission also limits total complexity, checks complete matrix rows and validates supported editor operations.

payload object strict
answers array required

Accepted expression trees, compared using this card's grading assumptions.

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
editor object required strict

Available expression-entry controls and initial reveal behavior.

digits array required

Digit buttons available in this editor.

items: 0 … 10

each item "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
initialAnswerVisible boolean required

Whether to show the initial answer; semantic admission requires a stepwise sequence.

operations array required

Enabled structural and arithmetic insertion operations.

items: 0 … 40

each item "−" | "+" | "fraction" | "=" | "," | "(" | ")" | "square" | "power" | "||" | "|" | "⟨" | "⟩" | "sqrt" | "×" | "/" | "{" | "}" | "column" | "matrix" | "matrix-1x1" | "matrix-1x2" | "matrix-1x3" | "matrix-2x1" | "matrix-2x2" | "matrix-2x3" | "matrix-3x1" | "matrix-3x2" | "matrix-3x3" | "inverse" | "transpose"
palette array required

Authored symbol insertion buttons.

items: 0 … 300

each item object strict
accessibleLabel string optional

Optional accessible name for the palette button.

characters: 0 … 50000

label string required

Visible label for this palette button.

characters: 0 … 50000

tool exactly one alternative required

Symbol insertion token or ordered group of tokens.

alternative 1 string

characters: 1 … 200

alternative 2 array

items: 1 … 20

each item string

characters: 1 … 200

explanation object required strict

Optional explanatory definition or proof.

definition string optional

Explanatory definition text.

characters: 0 … 50000

kind "proof" | "definition" required

Selects the explanation presentation: definition or proof.

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

grading object required strict

Mathematical assumptions and comparison options used to judge equivalent answers.

equalityChain boolean required

Enables equality-chain comparison.

implicitArguments dictionary required

Symbol-to-argument-list map for implicit function arguments.

each map value array

items: 0 … 10

each item string

characters: 1 … 200

matrixShapes dictionary optional

Declared matrix shapes used by the equivalence checker.

each map value "square" | "column" | "row"
nonnegative array required

Expressions assumed to be greater than or equal to zero.

items: 0 … 10000

each item string

characters: 1 … 200

nonzero array required

Expressions assumed to be nonzero.

items: 0 … 10000

each item string

characters: 1 … 200

positive array required

Expressions assumed to be strictly positive.

items: 0 … 10000

each item string

characters: 1 … 200

scalarProducts boolean required

Enables scalar-product handling in comparison.

symbolTypes dictionary required

Symbol-to-kind map distinguishing scalars, vectors and matrices.

each map value "scalar" | "vector" | "matrix"
symmetricMatrices array optional

Names of matrices assumed symmetric.

items: 0 … 100

each item string

characters: 1 … 200

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

legacyKey string optional

Historical lookup key retained for compatibility with earlier card identities.

characters: 1 … 200

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

recallPrompt string optional

Optional shorter prompt for recall mode. Omit to use the ordinary prompt.

characters: 1 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

sequence array optional

Ordered expression steps for the stepwise exercise mode.

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
slipAllowance integer optional

Number of light errors allowed before solved becomes corrected. Defaults to legacy multiplier minus one, otherwise zero. Independent of progress weight.

value: 0 … 3

title string required

Human-readable card title.

characters: 1 … 500

translations dictionary optional

Locale-keyed replacements for the corresponding authored text.

each map value object strict
definition string optional

Explanatory definition text.

characters: 0 … 50000

prompt string optional

Instructions displayed before answering.

characters: 0 … 50000

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

title string optional

Human-readable card title.

characters: 1 … 200

type "equation" required

Provider discriminator; selects the implementation that owns this payload.

variants array optional

Finite question/answer variants selected by the Attempt random seed. Outside an Attempt the base content is used. Order is part of the card revision.

items: 1 … 100

each item object strict
answers array required

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
editor object optional strict
digits array required

Digit buttons available in this editor.

items: 0 … 10

each item "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
initialAnswerVisible boolean required

Whether to show the initial answer; semantic admission requires a stepwise sequence.

operations array required

Enabled structural and arithmetic insertion operations.

items: 0 … 40

each item "−" | "+" | "fraction" | "=" | "," | "(" | ")" | "square" | "power" | "||" | "|" | "⟨" | "⟩" | "sqrt" | "×" | "/" | "{" | "}" | "column" | "matrix" | "matrix-1x1" | "matrix-1x2" | "matrix-1x3" | "matrix-2x1" | "matrix-2x2" | "matrix-2x3" | "matrix-3x1" | "matrix-3x2" | "matrix-3x3" | "inverse" | "transpose"
palette array required

Authored symbol insertion buttons.

items: 0 … 300

each item object strict
accessibleLabel string optional

Optional accessible name for the palette button.

characters: 0 … 50000

label string required

Visible label for this palette button.

characters: 0 … 50000

tool exactly one alternative required

Symbol insertion token or ordered group of tokens.

alternative 1 string

characters: 1 … 200

alternative 2 array

items: 1 … 20

each item string

characters: 1 … 200

explanation object optional strict
definition string optional

Explanatory definition text.

characters: 0 … 50000

kind "proof" | "definition" required

Selects the explanation presentation: definition or proof.

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

prompt string required

characters: 1 … 50000

recallPrompt string optional

characters: 1 … 5000

sequence array optional

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

Shared definitions

equation-expression-20 exactly one alternative
alternative kind = "symbol" object strict
kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object strict
children array required

Ordered expressions in a row.

items: 1 … 1500

each item #/$defs/equation-expression-19
See shared structure ↗
kind "row" required
alternative kind = "fraction" object strict
bottom #/$defs/equation-expression-19 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-expression-19 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object strict
base #/$defs/equation-expression-19 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-expression-19 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object strict
kind "radical" required
radicand #/$defs/equation-expression-19 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object strict
cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-expression-19
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required

equation / work

Editor state restored only in the same Run and Occurrence; never reused across Runs.

payload object strict
answerViews integer optional

answerViews retained for in-Run editor restoration.

value: 0 … 1000000

answerVisible boolean optional

answerVisible retained for in-Run editor restoration.

cheatOutcome "solved" | "corrected" | "assisted" optional

cheatOutcome retained for in-Run editor restoration.

detailsOpen boolean optional

detailsOpen retained for in-Run editor restoration.

document #/$defs/equation-work-expression-20 optional

Current editable expression; absent before the first mount.

See shared structure ↗
hadDeletion boolean optional

hadDeletion retained for in-Run editor restoration.

history array optional

Undo expressions, oldest first; at most forty.

items: 0 … 40

each item #/$defs/equation-work-expression-20
See shared structure ↗
initialProofPreview boolean optional

initialProofPreview retained for in-Run editor restoration.

lastAccess number optional

lastAccess retained for in-Run editor restoration.

lightErrors integer optional

lightErrors retained for in-Run editor restoration.

value: 0 … 1000000

outcome "solved" | "corrected" | "assisted" optional

Current grading evidence, not host completion authority.

proofCompleted array optional

Expressions accepted for earlier proof steps.

items: 0 … 1500

each item #/$defs/equation-work-expression-20
See shared structure ↗
proofCurrentViewCounted boolean optional

proofCurrentViewCounted retained for in-Run editor restoration.

proofStarted boolean optional

proofStarted retained for in-Run editor restoration.

proofStep integer optional

Zero-based active proof step.

value: 0 … 1500

revealed boolean optional

revealed retained for in-Run editor restoration.

scroll number optional

scroll retained for in-Run editor restoration.

Shared definitions

equation-work-expression-0 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

equation-work-expression-1 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-0
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-0 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-0 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-0 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-0 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-0 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-0
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-10 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-9
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-9 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-9 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-9 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-9 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-9 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-9
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-11 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-10
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-10 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-10 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-10 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-10 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-10 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-10
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-12 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-11
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-11 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-11 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-11 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-11 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-11 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-11
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-13 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-12
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-12 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-12 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-12 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-12 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-12 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-12
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-14 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-13
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-13 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-13 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-13 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-13 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-13 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-13
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-15 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-14
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-14 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-14 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-14 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-14 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-14 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-14
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-16 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-15
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-15 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-15 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-15 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-15 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-15 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-15
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-17 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-16
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-16 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-16 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-16 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-16 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-16 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-16
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-18 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-17
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-17 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-17 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-17 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-17 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-17 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-17
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-19 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-18
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-18 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-18 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-18 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-18 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-18 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-18
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-2 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-1
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-1 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-1 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-1 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-1 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-1 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-1
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-20 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-19
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-19 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-19 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-19 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-19 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-19 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-19
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-3 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-2
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-2 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-2 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-2 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-2 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-2 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-2
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-4 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-3
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-3 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-3 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-3 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-3 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-3 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-3
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-5 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-4
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-4 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-4 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-4 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-4 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-4 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-4
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-6 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-5
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-5 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-5 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-5 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-5 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-5 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-5
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-7 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-6
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-6 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-6 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-6 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-6 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-6 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-6
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-8 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-7
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-7 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-7 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-7 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-7 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-7 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-7
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-9 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-8
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-8 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-8 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-8 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-8 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-8 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-8
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required

equation / result

Version 1 completed equation evidence. Outcome is required; optional counters preserve grading context. Older records without this envelope remain the responsibility of the legacy interpreter.

payload object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

cheat boolean optional

Whether the solution was revealed through the equation help action.

heavyErrors integer optional

Count of recorded heavy grading errors.

value: 0 … 9007199254740991

lightErrors integer optional

Count of recorded light grading errors.

value: 0 … 9007199254740991

multiplier integer optional

Legacy evidence field: grading threshold (slip allowance plus one). Progress weight is recorded separately by the attempt host.

value: 1 … 9007199254740991

outcome "solved" | "corrected" | "assisted" required

Recorded outcome. Interpretation is owned by this provider; the course maps outcomes to progress colors.

type "equation" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

verbatim

Source: providers/verbatim/contracts.gleam

verbatim / content

Typed-recall content with prose, formula tokens and insertion vocabulary. Semantic admission checks answer construction and formula references.

payload object strict
answer array required

Ordered prose fragments and formula references making up the official answer. Prose is matched case-insensitively with supported spelling normalization.

items: 1 … 200

each item exactly one alternative
alternative 1 string

characters: 0 … 20000

alternative 2 object strict
id string required

Stable local identifier, referenced by other fields in this card.

characters: 1 … 80

formulas array required

Declared mathematical tokens available to the editor. Answer references must resolve to these IDs.

items: 0 … 100

each item object strict
aliases array optional

Additional keyboard codes that insert this formula.

items: 0 … 10

each item string

characters: 1 … 80

code string required

Primary keyboard insertion code for this formula.

characters: 1 … 80

id string required

Stable local identifier, referenced by other fields in this card.

characters: 1 … 80

label string required

Human-readable name of the formula.

characters: 1 … 200

latex string required

LaTeX used to display the mathematical token.

characters: 1 … 2000

gradingScale integer optional

Warning/reveal grading scale, independent of progress weight. Defaults to legacy multiplier or answer-length scale.

value: 1 … 4

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

title string required

Human-readable card title.

characters: 1 … 500

translations dictionary optional

Locale-keyed replacements for the corresponding authored text.

each map value object strict
answer array optional

Ordered prose fragments and formula references making up the official answer. Prose is matched case-insensitively with supported spelling normalization.

items: 1 … 200

each item exactly one alternative
alternative 1 string

characters: 0 … 20000

alternative 2 object strict
id string required

Stable local identifier, referenced by other fields in this card.

characters: 1 … 80

formulaLabels dictionary optional

Formula-ID to translated display-label map.

each map value string

characters: 1 … 200

prompt string optional

Instructions displayed before answering.

characters: 1 … 20000

title string optional

Human-readable card title.

characters: 1 … 200

vocabulary array optional

Legacy vocabulary metadata, retained for compatibility. Capsules are now derived from answer prose with a ten-character minimum.

items: 0 … 200; unique items

each item string

characters: 1 … 120

vocabularyAlways array optional

Legacy capsule overrides, retained for compatibility. These no longer bypass the answer-derived capsule length cutoff.

items: 0 … 200; unique items

each item string

characters: 1 … 120

type "verbatim" required

Provider discriminator; selects the implementation that owns this payload.

vocabulary array optional

Legacy vocabulary metadata, retained for compatibility. Capsules are now derived from answer prose with a ten-character minimum.

items: 0 … 200; unique items

each item string

characters: 1 … 120

vocabularyAlways array optional

Legacy capsule overrides, retained for compatibility. These no longer bypass the answer-derived capsule length cutoff.

items: 0 … 200; unique items

each item string

characters: 1 … 120

weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

Saved work: this provider retains no payload. A new mount starts fresh.

verbatim / result

Historical evidence formats coexist. Version 1 uses the original fixed warning/peek rules. Version 2 grants multiplier free warnings and multiplier minus one free peeks, with showing the answer always assisted. Version 3 counts each reveal as two warnings: drops = ceil(max(0, warnings + 2 * answerReveals - multiplier) / (multiplier == 1 ? 1 : 2)). Zero drops is solved, one corrected, otherwise assisted. Historical records retain their original rules.

payload exactly one alternative
alternative type = "verbatim", version = 1 object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

answerShown boolean required

Whether the answer was shown. Versions 1 and 2 make this assisted; version 3 grades using the reveal count.

outcome "solved" | "corrected" | "assisted" optional

Optional recorded grade. The interpreter derives the authoritative outcome from the versioned counters.

peeks integer required

Historical peek count. Required for compatibility; version 3 grading uses warnings and answerReveals instead.

value: 0 … 9007199254740991

warnings integer required

Count of red-warning occurrences, not the number of highlighted characters.

value: 0 … 9007199254740991

type "verbatim" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

alternative type = "verbatim", version = 2 object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

answerShown boolean required

Whether the answer was shown. Versions 1 and 2 make this assisted; version 3 grades using the reveal count.

multiplier integer required

Recorded card weight; historical evidence keeps the weight earned at completion.

value: 1 … 3

outcome "solved" | "corrected" | "assisted" optional

Optional recorded grade. The interpreter derives the authoritative outcome from the versioned counters.

peeks integer required

Historical peek count. Required for compatibility; version 3 grading uses warnings and answerReveals instead.

value: 0 … 9007199254740991

warnings integer required

Count of red-warning occurrences, not the number of highlighted characters.

value: 0 … 9007199254740991

type "verbatim" required

Provider discriminator; selects the implementation that owns this payload.

version 2 required

Evidence format version; selects the historical interpretation rules.

alternative type = "verbatim", version = 3 object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

answerReveals integer required

Number of answer reveals; each counts as two warnings in version 3.

value: 0 … 9007199254740991

answerShown boolean required

Whether the answer was shown. Versions 1 and 2 make this assisted; version 3 grades using the reveal count.

multiplier integer required

Recorded card weight; historical evidence keeps the weight earned at completion.

value: 1 … 4

outcome "solved" | "corrected" | "assisted" optional

Optional recorded grade. The interpreter derives the authoritative outcome from the versioned counters.

peeks integer required

Historical peek count. Required for compatibility; version 3 grading uses warnings and answerReveals instead.

value: 0 … 9007199254740991

warnings integer required

Count of red-warning occurrences, not the number of highlighted characters.

value: 0 … 9007199254740991

type "verbatim" required

Provider discriminator; selects the implementation that owns this payload.

version 3 required

Evidence format version; selects the historical interpretation rules.

self-review

Source: providers/self-review/contracts.gleam

self-review / content

A reveal-and-rate card. The learner reads the front, reveals the back, then supplies one rating.

payload object strict
attribution string required

Source and credit text associated with this card.

characters: 1 … 5000

back string required

Answer-side text revealed before self-rating.

characters: 1 … 5000

backLanguage string required

Language tag for the back text.

characters: 0 … 35; pattern: ^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$

front string required

Question-side text, shown before reveal.

characters: 1 … 5000

frontLanguage string required

Language tag for the front text.

characters: 0 … 35; pattern: ^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

noteId string required

Optional source-note identifier linking related cards.

characters: 0 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

title string required

Human-readable card title.

characters: 1 … 500

type "self-review" required

Provider discriminator; selects the implementation that owns this payload.

weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

Saved work: this provider retains no payload. A new mount starts fresh.

self-review / result

Version 1 self-assessment evidence. The selected rating is the outcome; the course owns its progress color and weight interpretation.

payload object strict
data object required strict

Provider-owned evidence from a completed try.

rating "again" | "hard" | "good" | "easy" required

Learner self-assessment: again = failed recall; hard = difficult recall; good = successful recall; easy = effortless recall. Colors are assigned by the course.

type "self-review" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

diagram-labeling

Source: providers/diagram-labeling/contracts.gleam

diagram-labeling / content

Diagram placement content. Semantic admission additionally checks unique IDs, label references and embedded-image validity. Primitive coordinates are diagram units; target coordinates are percentages.

payload object strict
diagram exactly one alternative required

Accessible diagram, either geometric primitives or an embedded PNG.

alternative 1 object strict
circles array required

Circles in the 600-by-360 diagram coordinate system.

items: 0 … 12

each item object strict
cx integer required

Horizontal coordinate of the circle center.

value: 0 … 600

cy integer required

Vertical coordinate of the circle center.

value: 0 … 600

r integer required

Circle radius in diagram units.

value: 0 … 600

description string required

Text alternative describing the diagram.

characters: 1 … 500

lines array required

Line segments in the 600-by-360 diagram coordinate system.

items: 0 … 30

each item object strict
x1 integer required

Horizontal coordinate of the line start.

value: 0 … 600

x2 integer required

Horizontal coordinate of the line end.

value: 0 … 600

y1 integer required

Vertical coordinate of the line start.

value: 0 … 600

y2 integer required

Vertical coordinate of the line end.

value: 0 … 600

alternative 2 object strict
description string required

Text alternative describing the diagram.

characters: 1 … 500

image object required strict

Embedded PNG with declared pixel dimensions; semantic admission checks the image payload.

data string required

Base64-encoded PNG bytes, without a data-URL prefix.

characters: 60 … 349528; pattern: ^[A-Za-z0-9+/]*={0,2}$

height integer required

Declared image height in pixels.

value: 1 … 2048

mimeType "image/png" required

Supported embedded image media type.

width integer required

Declared image width in pixels.

value: 1 … 2048

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

labels array required

Available labels with unique IDs.

items: 1 … 12

each item object strict
id string required

Stable local identifier, referenced by other fields in this card.

characters: 0 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

text string required

Text shown on the label.

characters: 1 … 500

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

targets array required

Placement targets with unique IDs and valid label references.

items: 1 … 12

each item object strict
id string required

Stable local identifier, referenced by other fields in this card.

characters: 0 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

labelId string required

ID of the label assigned to this target.

characters: 0 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

x integer required

Target horizontal position as a percentage of the diagram width.

value: 5 … 95

y integer required

Target vertical position as a percentage of the diagram height.

value: 5 … 95

title string required

Human-readable card title.

characters: 1 … 500

type "diagram-labeling" required

Provider discriminator; selects the implementation that owns this payload.

weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

diagram-labeling / work

Resumable label placements. The outer host envelope owns run and occurrence identity. Compatibility and placement validity are checked against the current card.

payload object

extra fields allowed; decoded output omits undeclared fields

diagramSignature string required

Content signature checked against the current diagram before restoring placements.

placements dictionary optional

Target-ID to label-ID map. Unknown targets, unknown labels and repeated assigned labels reject restoration. Omission restores an empty map for legacy drafts.

keys: 0 … 12; default: {}

each map value string

diagram-labeling / result

Version 1 completed placement evidence. Correctness and totals are recomputed from the recorded assignments; new writes also validate the current answer key.

payload object strict
data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

correct integer required

Count of correct entries; semantic validation recomputes this total.

value: 0 … 9007199254740991

entries array required

Recorded target assignments. Semantic checks enforce unique IDs and consistency; new writes must match the current answer key.

items: 1 … 12

each item object

extra fields allowed; decoded output omits undeclared fields

correct boolean required

Whether the submitted label matches the recorded expected label.

expectedLabelId string required

Snapshot of the correct label ID; historical grading uses this saved answer key.

labelId exactly one alternative required

Submitted label ID, or null when this target was unanswered.

alternative 1 string
alternative 2 null
targetId string required

ID of the target being answered.

total integer required

Number of entries; must agree with the recorded array.

value: 1 … 9007199254740991

type "diagram-labeling" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

equation-practice

Source: providers/equation-practice/contracts.gleam

Expression references carry the remaining depth in their name. Level 20 permits all variants; each child reduces the level by one. Level 0 permits only a symbol. Repeated levels are omitted from this reference, but retained in the schema.

equation / content

Expression-entry content with editor controls, accepted expressions and grading assumptions. Expressions allow at most 20 structural levels above symbol leaves. Semantic admission also limits total complexity, checks complete matrix rows and validates supported editor operations.

payload object strict
answers array required

Accepted expression trees, compared using this card's grading assumptions.

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
editor object required strict

Available expression-entry controls and initial reveal behavior.

digits array required

Digit buttons available in this editor.

items: 0 … 10

each item "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
initialAnswerVisible boolean required

Whether to show the initial answer; semantic admission requires a stepwise sequence.

operations array required

Enabled structural and arithmetic insertion operations.

items: 0 … 40

each item "−" | "+" | "fraction" | "=" | "," | "(" | ")" | "square" | "power" | "||" | "|" | "⟨" | "⟩" | "sqrt" | "×" | "/" | "{" | "}" | "column" | "matrix" | "matrix-1x1" | "matrix-1x2" | "matrix-1x3" | "matrix-2x1" | "matrix-2x2" | "matrix-2x3" | "matrix-3x1" | "matrix-3x2" | "matrix-3x3" | "inverse" | "transpose"
palette array required

Authored symbol insertion buttons.

items: 0 … 300

each item object strict
accessibleLabel string optional

Optional accessible name for the palette button.

characters: 0 … 50000

label string required

Visible label for this palette button.

characters: 0 … 50000

tool exactly one alternative required

Symbol insertion token or ordered group of tokens.

alternative 1 string

characters: 1 … 200

alternative 2 array

items: 1 … 20

each item string

characters: 1 … 200

explanation object required strict

Optional explanatory definition or proof.

definition string optional

Explanatory definition text.

characters: 0 … 50000

kind "proof" | "definition" required

Selects the explanation presentation: definition or proof.

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

grading object required strict

Mathematical assumptions and comparison options used to judge equivalent answers.

equalityChain boolean required

Enables equality-chain comparison.

implicitArguments dictionary required

Symbol-to-argument-list map for implicit function arguments.

each map value array

items: 0 … 10

each item string

characters: 1 … 200

matrixShapes dictionary optional

Declared matrix shapes used by the equivalence checker.

each map value "square" | "column" | "row"
nonnegative array required

Expressions assumed to be greater than or equal to zero.

items: 0 … 10000

each item string

characters: 1 … 200

nonzero array required

Expressions assumed to be nonzero.

items: 0 … 10000

each item string

characters: 1 … 200

positive array required

Expressions assumed to be strictly positive.

items: 0 … 10000

each item string

characters: 1 … 200

scalarProducts boolean required

Enables scalar-product handling in comparison.

symbolTypes dictionary required

Symbol-to-kind map distinguishing scalars, vectors and matrices.

each map value "scalar" | "vector" | "matrix"
symmetricMatrices array optional

Names of matrices assumed symmetric.

items: 0 … 100

each item string

characters: 1 … 200

id string required

Stable card identifier within its course.

characters: 1 … 120; pattern: ^[A-Za-z][A-Za-z0-9_-]*$

learningVersion integer required

Positive learning revision used when grouping compatible learning history.

value: 1 … 9007199254740991

legacyKey string optional

Historical lookup key retained for compatibility with earlier card identities.

characters: 1 … 200

multiplier integer optional

Legacy coupled weight and grading setting. Use weight and provider grading settings for new content.

value: 1 … 9007199254740991

prompt string required

Instructions displayed before answering.

characters: 0 … 5000

recallPrompt string optional

Optional shorter prompt for recall mode. Omit to use the ordinary prompt.

characters: 1 … 5000

retired boolean optional

Excludes the card from ordinary practice while preserving authored deck membership and history.

sequence array optional

Ordered expression steps for the stepwise exercise mode.

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
slipAllowance integer optional

Number of light errors allowed before solved becomes corrected. Defaults to legacy multiplier minus one, otherwise zero. Independent of progress weight.

value: 0 … 3

title string required

Human-readable card title.

characters: 1 … 500

translations dictionary optional

Locale-keyed replacements for the corresponding authored text.

each map value object strict
definition string optional

Explanatory definition text.

characters: 0 … 50000

prompt string optional

Instructions displayed before answering.

characters: 0 … 50000

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

title string optional

Human-readable card title.

characters: 1 … 200

type "equation-practice" required

Provider discriminator; selects the implementation that owns this payload.

variants array optional

Finite question/answer variants selected by the Attempt random seed. Outside an Attempt the base content is used. Order is part of the card revision.

items: 1 … 100

each item object strict
answers array required

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
editor object optional strict
digits array required

Digit buttons available in this editor.

items: 0 … 10

each item "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
initialAnswerVisible boolean required

Whether to show the initial answer; semantic admission requires a stepwise sequence.

operations array required

Enabled structural and arithmetic insertion operations.

items: 0 … 40

each item "−" | "+" | "fraction" | "=" | "," | "(" | ")" | "square" | "power" | "||" | "|" | "⟨" | "⟩" | "sqrt" | "×" | "/" | "{" | "}" | "column" | "matrix" | "matrix-1x1" | "matrix-1x2" | "matrix-1x3" | "matrix-2x1" | "matrix-2x2" | "matrix-2x3" | "matrix-3x1" | "matrix-3x2" | "matrix-3x3" | "inverse" | "transpose"
palette array required

Authored symbol insertion buttons.

items: 0 … 300

each item object strict
accessibleLabel string optional

Optional accessible name for the palette button.

characters: 0 … 50000

label string required

Visible label for this palette button.

characters: 0 … 50000

tool exactly one alternative required

Symbol insertion token or ordered group of tokens.

alternative 1 string

characters: 1 … 200

alternative 2 array

items: 1 … 20

each item string

characters: 1 … 200

explanation object optional strict
definition string optional

Explanatory definition text.

characters: 0 … 50000

kind "proof" | "definition" required

Selects the explanation presentation: definition or proof.

proof object optional strict

Proof introduction and ordered explanatory steps.

intro string required

Introductory prose preceding the proof steps.

characters: 0 … 50000

steps array required

Ordered proof steps, pairing prose with an optional expression.

items: 0 … 200

each item object strict
equation #/$defs/equation-expression-20 optional

Expression displayed with this proof step.

See shared structure ↗
text string optional

Explanatory text for this proof step.

characters: 0 … 50000

prompt string required

characters: 1 … 50000

recallPrompt string optional

characters: 1 … 5000

sequence array optional

items: 1 … 100

each item #/$defs/equation-expression-20
See shared structure ↗
weight integer optional

Progress credit only; never changes grading. Defaults to legacy multiplier or provider default. Historical tries retain their earned weight.

value: 1 … 9007199254740991

Shared definitions

equation-expression-20 exactly one alternative
alternative kind = "symbol" object strict
kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object strict
children array required

Ordered expressions in a row.

items: 1 … 1500

each item #/$defs/equation-expression-19
See shared structure ↗
kind "row" required
alternative kind = "fraction" object strict
bottom #/$defs/equation-expression-19 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-expression-19 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object strict
base #/$defs/equation-expression-19 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-expression-19 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object strict
kind "radical" required
radicand #/$defs/equation-expression-19 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object strict
cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-expression-19
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required

equation / work

Editor state restored only in the same Run and Occurrence; never reused across Runs.

payload object strict
answerViews integer optional

answerViews retained for in-Run editor restoration.

value: 0 … 1000000

answerVisible boolean optional

answerVisible retained for in-Run editor restoration.

cheatOutcome "solved" | "corrected" | "assisted" optional

cheatOutcome retained for in-Run editor restoration.

detailsOpen boolean optional

detailsOpen retained for in-Run editor restoration.

document #/$defs/equation-work-expression-20 optional

Current editable expression; absent before the first mount.

See shared structure ↗
hadDeletion boolean optional

hadDeletion retained for in-Run editor restoration.

history array optional

Undo expressions, oldest first; at most forty.

items: 0 … 40

each item #/$defs/equation-work-expression-20
See shared structure ↗
initialProofPreview boolean optional

initialProofPreview retained for in-Run editor restoration.

lastAccess number optional

lastAccess retained for in-Run editor restoration.

lightErrors integer optional

lightErrors retained for in-Run editor restoration.

value: 0 … 1000000

outcome "solved" | "corrected" | "assisted" optional

Current grading evidence, not host completion authority.

proofCompleted array optional

Expressions accepted for earlier proof steps.

items: 0 … 1500

each item #/$defs/equation-work-expression-20
See shared structure ↗
proofCurrentViewCounted boolean optional

proofCurrentViewCounted retained for in-Run editor restoration.

proofStarted boolean optional

proofStarted retained for in-Run editor restoration.

proofStep integer optional

Zero-based active proof step.

value: 0 … 1500

revealed boolean optional

revealed retained for in-Run editor restoration.

scroll number optional

scroll retained for in-Run editor restoration.

Shared definitions

equation-work-expression-0 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

equation-work-expression-1 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-0
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-0 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-0 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-0 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-0 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-0 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-0
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-10 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-9
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-9 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-9 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-9 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-9 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-9 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-9
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-11 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-10
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-10 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-10 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-10 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-10 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-10 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-10
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-12 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-11
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-11 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-11 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-11 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-11 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-11 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-11
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-13 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-12
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-12 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-12 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-12 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-12 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-12 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-12
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-14 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-13
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-13 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-13 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-13 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-13 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-13 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-13
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-15 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-14
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-14 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-14 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-14 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-14 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-14 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-14
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-16 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-15
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-15 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-15 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-15 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-15 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-15 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-15
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-17 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-16
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-16 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-16 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-16 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-16 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-16 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-16
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-18 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-17
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-17 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-17 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-17 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-17 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-17 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-17
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-19 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-18
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-18 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-18 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-18 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-18 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-18 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-18
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-2 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-1
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-1 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-1 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-1 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-1 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-1 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-1
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-20 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-19
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-19 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-19 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-19 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-19 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-19 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-19
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-3 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-2
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-2 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-2 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-2 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-2 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-2 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-2
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-4 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-3
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-3 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-3 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-3 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-3 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-3 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-3
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-5 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-4
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-4 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-4 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-4 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-4 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-4 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-4
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-6 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-5
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-5 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-5 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-5 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-5 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-5 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-5
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-7 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-6
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-6 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-6 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-6 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-6 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-6 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-6
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-8 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-7
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-7 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-7 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-7 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-7 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-7 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-7
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required
equation-work-expression-9 exactly one alternative
alternative kind = "empty" object

extra fields allowed; decoded output omits undeclared fields

kind "empty" required
alternative kind = "symbol" object

extra fields allowed; decoded output omits undeclared fields

kind "symbol" required
text string required

Atomic mathematical symbol text.

characters: 1 … 200

alternative kind = "row" object

extra fields allowed; decoded output omits undeclared fields

children array required

Ordered expressions in a row.

items: 0 … 1500

each item #/$defs/equation-work-expression-8
See shared structure ↗
kind "row" required
alternative kind = "fraction" object

extra fields allowed; decoded output omits undeclared fields

bottom #/$defs/equation-work-expression-8 required

Denominator expression.

See shared structure ↗
kind "fraction" required
top #/$defs/equation-work-expression-8 required

Numerator expression.

See shared structure ↗
alternative kind = "power" object

extra fields allowed; decoded output omits undeclared fields

base #/$defs/equation-work-expression-8 required

Base expression.

See shared structure ↗
exponent #/$defs/equation-work-expression-8 required

Exponent expression.

See shared structure ↗
kind "power" required
alternative kind = "radical" object

extra fields allowed; decoded output omits undeclared fields

kind "radical" required
radicand #/$defs/equation-work-expression-8 required

Expression under the radical.

See shared structure ↗
alternative kind = "matrix" object

extra fields allowed; decoded output omits undeclared fields

cells array required

Matrix entries in row-major order; semantic validation requires complete rows.

items: 1 … 9

each item #/$defs/equation-work-expression-8
See shared structure ↗
cols integer required

Number of matrix columns. Cells must fill complete rows.

value: 1 … 3

kind "matrix" required

equation-practice / result

Measured equation outcomes, recall ratings, or completed listening, identified by result type.

payload exactly one alternative
alternative type = "equation", version = 1 object strict

Version 1 completed equation evidence. Outcome is required; optional counters preserve grading context. Older records without this envelope remain the responsibility of the legacy interpreter.

data object required

Provider-owned evidence from a completed try.

extra fields allowed; decoded output omits undeclared fields

cheat boolean optional

Whether the solution was revealed through the equation help action.

heavyErrors integer optional

Count of recorded heavy grading errors.

value: 0 … 9007199254740991

lightErrors integer optional

Count of recorded light grading errors.

value: 0 … 9007199254740991

multiplier integer optional

Legacy evidence field: grading threshold (slip allowance plus one). Progress weight is recorded separately by the attempt host.

value: 1 … 9007199254740991

outcome "solved" | "corrected" | "assisted" required

Recorded outcome. Interpretation is owned by this provider; the course maps outcomes to progress colors.

type "equation" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

alternative type = "self-review", version = 1 object strict

Version 1 self-assessment evidence. The selected rating is the outcome; the course owns its progress color and weight interpretation.

data object required strict

Provider-owned evidence from a completed try.

rating "again" | "hard" | "good" | "easy" required

Learner self-assessment: again = failed recall; hard = difficult recall; good = successful recall; easy = effortless recall. Colors are assigned by the course.

type "self-review" required

Provider discriminator; selects the implementation that owns this payload.

version 1 required

Evidence format version; selects the historical interpretation rules.

alternative type = "equation-practice", version = 1 object strict
data object required strict
duration number required
outcome "listened" required
recording string required
type "equation-practice" required
version 1 required