Skip to content

JSON Schemas

paccor publishes JSON Schema artifacts for the same helper classes the CLI reads at runtime. These schemas are useful for editor validation and for readers who want a slightly more detailed view.

JSON Schemas

Schema Title Description
attributes-schema.json / json Attributes Schema JSON input for platform attributes.
extensions-schema.json / json Extensions Schema Top-level JSON input for X.509 extension values accepted by this project.
hardwaremanifest-schema.json / json Hardware Manifest Hardware Manifest input. PLATFORM fields are platform identifiers intended for SubjectAltName.
global-definitions.json / json Global ASN.1 Definitions

Detail pages

Generation

The schemas are produced by json.SchemaUtils in docs/doc-tools/ using victools/jsonschema-generator. Run:

./gradlew generateSchemas

Outputs to build/schema/, and ./gradlew generateDocs stages the JSON plus the rendered schema pages under docs/reference/_generated/ for MkDocs publication.