docs(book): std json-schema #833
No reviewers
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language!833
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/647-std-json-schema"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the Std page
book/std/json-schema.md(package: std/json-schema, order 15) and its line in the generated block ofbook/std/index.md. Documentation only: no syntax change, no native, no seed.The page opens with what the module is for and the most common task (read a schema, validate a document), then covers: a schema refused at read time (a
trb errorblock for theResult, and three refusals), what aValidationErrorsays (keyword, schema location, instance location,anyOfbranches), comparison by value, a schema as a value,$defsand$ref, theSchemaRegistry,$dynamicRef,unevaluatedProperties, format assertion (assertFormat: trueand the formats checked), and the bundled 2020-12 meta-schema. Every example is a real program with its real output.Old page
docs/standard-library/json-schema.mdstays indocs/, unpublished: the Agent Skilltorbscript-standard-libraryis still built from it (skills/torbscript-standard-library/references/standard-library/json-schema.md), as for the other standard library pages whose Std page is already in the book. Nothing links to it from the book, so no link had to change, and the skills are unchanged (docs skill docs skills --checkis green).Checks
torb docs check book --no-native,torb docs index --check book,torb docs site book --check,torb docs skill docs skills --check: pass locally with the nightly-20261116torbbinary against this checkout'sstd/.trb runblocks was not run here. Everytrb runblock was run withtorb run(VM) and everytrb errorblock checked withtorb check, each compared with itsoutputblock by a script; all match. The forge CI does the native run.Closes #647
Approved at
628bf1b. Documentation only (book/std/json-schema.md+ one index line), scope matches #647.trb run/trb errorblock is followed by itsoutputblock, and the author ran them viatorb run/torb check; the native run is done by CI.kind: page,status: stable,order: 15,package: std/json-schema) matches the body; index line matches the page summary; links only to existing pages (json.md,regex.md).docs/standard-library/json-schema.mdstays unpublished because a skill is still built from it, as the PR body names it (#647 acceptance criterion).Non-blocking: none.