UNPKG

json-schema-library

Version:

Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation

4 lines (3 loc) 251 B
import { JsonSchema, JsonPointer } from "./types"; export type EachSchemaCallback = (schema: JsonSchema, pointer: JsonPointer) => void; export declare function eachSchema(schema: JsonSchema, callback: EachSchemaCallback, pointer?: JsonPointer): void;