@stencila/schema
Version:
Extensions to schema.org to support semantic, composable, parameterize-able and executable documents
14 lines (13 loc) • 413 B
TypeScript
/**
* Check `schema/*.schema.yaml` files and generate `public/*.schema.json`
* from them.
*/
import { JsonSchema } from './JsonSchema';
/**
* Generate `public/*.schema.json` files from `schema/*.schema.yaml` files.
*/
export declare function build(cleanup?: boolean): Promise<void>;
/**
* Read a generated schema file
*/
export declare const readSchema: (type: string) => Promise<JsonSchema>;