@webring-kit/schemas
v0.1.1
Published
JSON Schemas for Webring Kit ring and site manifests.
Readme
@webring-kit/schemas
JSON Schemas for Webring Kit manifests.
This package publishes schema files for tools, editors, CI workflows, and manifest maintainers.
Install
pnpm add -D @webring-kit/schemasnpm install --save-dev @webring-kit/schemasExports
import ringSchema from "@webring-kit/schemas/ring.schema.json";
import siteSchema from "@webring-kit/schemas/site.schema.json";The package also exposes the schema files as package subpaths for tools that consume JSON Schema directly.
Ring schema
Use ring.schema.json to validate a complete ring manifest.
{
"$schema": "https://webring.dev/schemas/ring.schema.json",
"version": 1,
"id": "indie-devs",
"name": "Indie Devs Webring",
"sites": [
{
"id": "alice",
"title": "Alice's Notes",
"url": "https://alice.example.com"
}
]
}Site schema
Use site.schema.json for validating individual site entries in custom tooling.
Related packages
@webring-kit/corefor runtime validation.@webring-kit/clifor command-line validation.
