@dynamicalsystems/orn-schemas
v0.1.0
Published
TypeBox schemas and JSON Schema definitions for ORN-1 references, manifests, and registry documents
Readme
@dynamicalsystems/orn-schemas
JSON Schema (2020-12) definitions, TypeBox schemas, and pre-compiled TypeCompiler validators for ORN-1 references, manifests, and registry documents.
Features
- TypeBox Schemas:
ReferenceSchema,ManifestSchema,RegistryEntrySchema,RegistryDocSchema. - Pre-compiled Validators:
validateReference,validateManifest,validateRegistryEntry,validateRegistryDoccompiled withTypeCompiler. - RFC 8785 JCS: Canonical JSON stringifier
jcsStringifyfor deterministic payload hashing. - Single Runtime Dependency:
@sinclair/typebox.
Installation
pnpm add @dynamicalsystems/orn-schemas