UNPKG

@dpkit/core

Version:

Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames

11 lines (10 loc) 358 B
import { type Descriptor } from "../general/index.ts"; import type { Schema } from "./Schema.ts"; /** * Validate a Schema descriptor (JSON Object) against its profile */ export declare function validateSchema(source: Descriptor | Schema): Promise<{ valid: boolean; errors: import("../index.ts").MetadataError[]; schema: Schema | undefined; }>;