UNPKG

@dpkit/core

Version:

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

13 lines (12 loc) 442 B
import { type Descriptor } from "../general/index.js"; import type { Resource } from "./Resource.js"; /** * Validate a Resource descriptor (JSON Object) against its profile */ export declare function validateResourceDescriptor(descriptorOrResource: Descriptor | Resource, options?: { basepath?: string; }): Promise<{ valid: boolean; errors: import("../general/Error.js").MetadataError[]; resource: Resource | undefined; }>;