Outputs

Status: implemented

Besides the readers, a schema gives three outputs, each derived from the one declaration:

OutputFrom a schema s
the TypeScript typeTs<typeof s>, and printer()(s) as text
a JSON Schema, draft 2020-12toJsonSchema(s)
a canonical form, with equal, cmp and subsettoData(s)

Pages

Where it is implemented

ts, media/json/schema and data.

Emergent Testing

Idle. Press Run to start the suite.

  • ./data-form/proof.f.mjs
  • ./json-schema/proof.f.mjs
  • ./proof.f.mjs
  • ./typescript/proof.f.mjs