UNPKG

@netwerk-digitaal-erfgoed/ld-workbench

Version:

LDWorkbench is a Linked Data Transformation tool designed to use only SPARQL as transformation language.

9 lines 464 B
import { type ErrorObject } from 'ajv'; /** * Validate an object against a JSON Schema provided as a YAML file. * @param configuration - The object to validate. * @param schemaFilePath - The path to the YAML file containing the JSON Schema. * @returns An array of validation errors if any, otherwise returns the configuration. */ export default function validate(filePathOrObject: object | string): ErrorObject[] | null; //# sourceMappingURL=validate.d.ts.map