@alistigo/core-document
v0.3.0
Published
Base types and JSON schema for all Alistigo artifact documents.
Maintainers
Readme
@alistigo/core-document
Base types and JSON schema shared by all Alistigo artifact documents. This is the foundation that artifact-specific packages (e.g. @alistigo/list) build on top of.
What's in this package
- JSON schema of
alistigo:document - Typescript types of
AlistigoDocument
Usage
JSON Schema
The base JSON schema is available as a subpath export for tooling (AJV, $RefParser, etc.):
import alistigoDocumentSchema from "@alistigo/core-document/schemas/alistigo-document.json" with { type: "json" };Typescript types
import {
ALISTIGO_CONTEXT,
type AlistigoActorRecord,
type AlistigoPluginRecord,
type TypeIDString,
} from "@alistigo/core-document";Related
@alistigo/list— list document format built on top of this package
