UNPKG

json-schema-library

Version:

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

7 lines (6 loc) 250 B
import { JsonSchema } from "./types"; /** * merges to two json schema. In case of conflicts, will use overwrite first * schema or directly return first json schema. */ export declare function mergeSchema(a: JsonSchema, b: JsonSchema): JsonSchema;