Universal Paper UP/0.1-draft primitives
Machine-readable shapes of every Universal Paper object. Structural validity only: the axioms in spec/03-axioms.md decide whether a well-shaped object is valid.
| $id | https://universalpaper.org/schema/UP-0.1-draft/universal-paper.schema.json |
|---|---|
| Current version | https://universalpaper.org/schema/universal-paper.schema.json |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Source | schema/universal-paper.schema.json |
Universal Paper trace (up-trace/0.1)
Output of the reference interpreter's trace command. Each step records one event, every check each evaluator ran on it, whether each evaluator accepted it, each evaluator's independently computed state hashes, and the values derived after the step. Viewers such as the Explorer only play this back; they never compute validity themselves.
| $id | https://universalpaper.org/schema/UP-0.1-draft/trace.schema.json |
|---|---|
| Current version | https://universalpaper.org/schema/trace.schema.json |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Source | schema/trace.schema.json |
Validate a bundle
A schema checks shape only. Whether a well-shaped agreement or event is valid is decided by the axioms, which the reference interpreter (up validate) and the MCP server apply.
import json, urllib.request
import jsonschema # pip install jsonschema
url = "https://universalpaper.org/schema/UP-0.1-draft/universal-paper.schema.json"
schema = json.load(urllib.request.urlopen(url))
jsonschema.validate(json.load(open("bundle.json")), schema)
Versioning
Each $id names the specification version in its path and is served at exactly that URL, so a reference to it never changes meaning. The unversioned /schema/… addresses always serve the current version. Schemas are code, licensed under Apache-2.0.
Optional integration schemas
Schemas for the optional Fingerprint Coordination convention. They are not part of the language.
FingerprintContribution (optional Fingerprint Coordination convention)
Which Universal Paper artifacts a party shares for analysis, how much of each, and the rules for using them. Not part of the Universal Paper language. `fingerprint` is the Universal Paper fingerprint of every other member.
| $id | https://universalpaper.org/examples/integrations/fingerprint-coordination/schemas/contribution.schema.json |
|---|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Source | examples/integrations/fingerprint-coordination/schemas/contribution.schema.json |
DerivedProfile (optional Fingerprint Coordination convention)
A recomputable analytical profile derived from Universal Paper artifacts. Lists every input by fingerprint, plus inputsRoot; `fingerprint` is the Universal Paper fingerprint of every other member. Not part of the Universal Paper language.
| $id | https://universalpaper.org/examples/integrations/fingerprint-coordination/schemas/derived-profile.schema.json |
|---|---|
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Source | examples/integrations/fingerprint-coordination/schemas/derived-profile.schema.json |