Note: Fontpub is in an early beta stage. Things may still change — schemas, commands, and verification logic are being refined as the project evolves. Feedback and experiments are very welcome!
This repository hosts the official JSON Schemas for the Fontpub Protocol.
These schemas define the structure of the core Fontpub specification:
fontpub.json— Manifest for distributing fontsfontpub-keys.json— Publisher public keysfontpub-curation.json— Curated lists of Fontpub packages
All schemas follow JSON Schema draft 2020-12
and are considered for schemaVersion: "1.0-beta".
Detailed field descriptions and examples are available in the docs/ directory:
- docs/manifest.md — Font package manifest (
fontpub.json) - docs/keys.md — Publisher key definitions (
fontpub-keys.json) - docs/curation.md — Curation documents (
fontpub-curation.json)
Each document explains:
- the purpose of the schema,
- required and optional fields,
- and minimal valid examples.
You can validate your JSON files directly using fontpub-cli.
fontpub manifest validate ./fontpub.jsonfontpub keys validate ./fontpub-keys.jsonfontpub curation validate ./fontpub-curation.jsonAll commands use the schemas embedded from this repository.
- Current schema version: 1.0-beta (
schemaVersion: "1.0-beta") - Future versions will be added under new directories, e.g.
schema/v2/ - Version upgrades will only occur for breaking or structural changes.