Documentation
¶
Overview ¶
Package schemas embeds the normative JSON Schema (draft 2020-12) documents and the pointer ABNF grammar so that the binary validates against exactly the files published under spec/schemas. internal/schema compiles them; nothing else should read the files at runtime.
Index ¶
Constants ¶
View Source
const BaseURL = "https://fxvcs.dev/schemas/"
BaseURL is the $id prefix shared by every embedded schema; a file at path p has $id BaseURL+p.
Variables ¶
View Source
var FS embed.FS
FS contains every schema file, keyed by its path relative to spec/schemas (for example "v1alpha1/repository.schema.json" or "pointer-v1.schema.json").
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.