JSON Schemas for OpenQuarry files
JSON Schema draft 2020-12 files for thread frontmatter, the YAML manifests and the blocks index, each at a stable address beside its YAML source.
In an editor, associate each YAML manifest with its schema's address. In CI, load the JSON file into any validator that supports draft 2020-12. Schema responses carry Access-Control-Allow-Origin: *. The YAML files are the package's files byte for byte, and each JSON file adds its own $id.
- thread.schemaJSON · YAML
- blocks-index.schemaJSON · YAML
- catalogue.schemaJSON · YAML
- fabric.schemaJSON · YAML
- loom.schemaJSON · YAML
- weave.schemaJSON · YAML
- strand.schema (deprecated alias)JSON · YAML
index.json lists every schema with the SHA-256 of its YAML source and the package version
Version 1 fabrics explains strand.schema, the deprecated name of the thread schema.