UNPKG

json-schema-describes-subset

Version:

Tools for static JSON schema analysis, including functions to determine if one schema describes a subset of another or if a schema describes the empty set or to convert a schema to its disjunctive normal form (DNF).

6 lines 309 B
export class UnsupportedKeywordError extends Error { constructor(keyword, value) { super(`Unsupported keyword '${keyword}'${value === undefined ? '' : ` with value '${String(value)}'`}. This currently cannot be transformed to a dnf.`); } } //# sourceMappingURL=unsupported-keyword-error.js.map