UNPKG

@dpkit/core

Version:

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

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