Documentation
¶
Overview ¶
Package schema names the published JSON Schemas and locates them on disk.
The schemas in the repository's schemas/ directory are normative: they describe the documents DevProof reads, and the Go decoders in pkg/bundle and pkg/policy are one implementation of them, in the same way that pkg/conformance is one implementation of the bundle format specification.
This package exists so the drift test has one place to name them. It deliberately does not embed them into the binary: nothing at runtime validates a document against a schema, because the decoders already reject everything the schema forbids, and shipping a second enforcement path would mean two things to keep in step rather than one.
Index ¶
Constants ¶
const ( Bundle = "bundle.v1alpha1.schema.json" BundleLock = "bundle-lock.v1alpha1.schema.json" BundleConfig = "bundle-config.v1.schema.json" VerificationPolicy = "verification-policy.v1alpha1.schema.json" )
Schema file names, relative to the schemas/ directory.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.