What this schema set is
The set is three JSON Schemas written for draft 2020-12, plus a small validator package. The schemas define shapes and contain no data. Several downstream repositories depend on them. Each schema's $id points to this site, so a document that names its schema resolves to the copy hosted here.
The schemas are published in the public engineering-decision-schema repository under the Apache License 2.0. The copies hosted at research/engineering-decision-schema/schemas/ are identical to the repository's files.
The three document kinds
Episode
One expert decision, with the situation before and after it and the expert's reasoning.
schemas/episode.schema.json
Run manifest
One reproducible run. It pins the design and PDK commits and the tool versions, and hashes the inputs with sha256.
schemas/run-manifest.schema.json
zkProf report
One profiling run of a proving workload. It attributes time to each primitive and records the deployment it was measured on.
schemas/zkprof-report.schema.json
The repository holds the validator package and the conformance tests. It also has examples.
Where to get it
- The schemas hosted on this page: episode.schema.json, run-manifest.schema.json, zkprof-report.schema.json.
- The source repository with the validator package: github.com/PostOakLabs/engineering-decision-schema.
- The licence: Apache License 2.0.
Tools should fetch a schema with a server-side client or clone the public repository.