UNPKG

@dpkit/core

Version:

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

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