json-schema-library

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

    Language: typescript

    Author: Dustin Berry (@thedustin)

    10 stars · 324 views

    Files

    • sanitizeErrors.ts (ts)
    • isListOfStrings.ts (ts)
    • issue52.multipleTypeIds.test.ts (ts)
    • tsdown.config.ts (ts)
    • splitRef.ts (ts)
    • copyDraft.ts (ts)
    • docs (txt)
    • json-schema-library-10.png (image)
    • json-schema-library.png (image)
    • tsconfig.test.json (json)
    • bowtie (txt)
    • bowtie-jlib.ts (ts)
    • bowtie.test.ts (ts)
    • tsconfig.json (json)
    • BOWTIE.md (md)
    • package.json (json)
    • Dockerfile (txt)
    • bowtie-api.ts (ts)
    • eslint.config.mjs (mjs)
    • .mocharc.js (js)
    • README.md (md)
    • tsconfig.json (json)
    • tsdown.iife.config.ts (ts)
    • tools (txt)
    • default-data.json (json)
    • doValidations.js (js)
    • profile.sh (sh)
    • default-schema.json (json)
    • package.json (json)
    • .github (github)
    • workflows (txt)
    • badges.yaml (yaml)
    • ci.yaml (yaml)
    • scripts (txt)
    • parse-test-results.js (js)
    • LICENSE.md (md)
    • pnpm-lock.yaml (yaml)
    • src (txt)
    • Keyword.ts (ts)
    • draft2019.ts (ts)
    • isPropertyEvaluated.ts (ts)
    • utils (txt)
    • getTypeOf.test.ts (ts)
    • isType.ts (ts)
    • getDefaultValue.ts (ts)
    • resolveUri.test.ts (ts)
    • mergeSchema.test.ts (ts)
    • getValue.ts (ts)
    • isFile.ts (ts)
    • mergeSchema.ts (ts)
    • omit.ts (ts)
    • isEmpty.ts (ts)
    • hasProperty.ts (ts)
    • getSchemaType.test.ts (ts)
    • getPrecision.ts (ts)
    • getSchemaType.ts (ts)
    • resolveUri.ts (ts)
    • splitRef.test.ts (ts)
    • isObject.ts (ts)
    • collectValidationErrors.ts (ts)
    • getTypeOf.ts (ts)
    • getPrecision.test.ts (ts)
    • punycode.ucs2decode.ts (ts)
    • pick.ts (ts)
    • keywords (txt)
    • propertyNames.ts (ts)
    • minProperties.ts (ts)
    • dependencies.ts (ts)
    • unevaluatedProperties.test.ts (ts)
    • pattern.ts (ts)
    • maxItems.ts (ts)
    • prefixItems.ts (ts)
    • string.test.ts (ts)
    • maxProperties.ts (ts)
    • minItems.ts (ts)
    • multipleOf.ts (ts)
    • additionalProperties.ts (ts)
    • additionalProperties.test.ts (ts)
    • exclusiveMaximum.ts (ts)
    • propertyDependencies.test.ts (ts)
    • dependentRequired.ts (ts)
    • enum.test.ts (ts)
    • patternProperties.test.ts (ts)
    • enum.ts (ts)
    • maximum.ts (ts)
    • anyOf.ts (ts)
    • patternProperties.ts (ts)
    • ifthenelse.test.ts (ts)
    • unevaluatedItems.ts (ts)
    • $defs.ts (ts)
    • type.test.ts (ts)
    • oneOf.ts (ts)
    • required.test.ts (ts)
    • unevaluatedProperties.ts (ts)
    • type.ts (ts)
    • exclusiveMinimum.ts (ts)
    • allOf.ts (ts)
    • draft2020.ts (ts)
    • draft06 (txt)
    • minimum.ts (ts)
    • dependentSchemas.ts (ts)
    • deprecated.ts (ts)
    • const.ts (ts)
    • uniqueItems.ts (ts)
    • properties.test.ts (ts)
    • required.ts (ts)
    • not.ts (ts)
    • $ref.ts (ts)
    • maxLength.ts (ts)
    • items.ts (ts)
    • allOf.test.ts (ts)
    • keywords (txt)
    • const.test.ts (ts)
    • ifthenelse.ts (ts)
    • oneOf.test.ts (ts)
    • object.test.ts (ts)
    • propertyDependencies.ts (ts)
    • properties.ts (ts)
    • contains.ts (ts)
    • minLength.ts (ts)
    • format.ts (ts)
    • mergeNode.ts (ts)
    • draftEditor.ts (ts)
    • getNodeChild.ts (ts)
    • draft04 (txt)
    • keywords (txt)
    • exclusiveMaximum.ts (ts)
    • exclusiveMinimum.ts (ts)
    • draft04.spec.ts (ts)
    • $ref.ts (ts)
    • validateSchema.test.ts (ts)
    • settings.test.ts (ts)
    • validate.test.ts (ts)
    • settings.ts (ts)
    • getChildNode.test.ts (ts)
    • compileSchema.ts (ts)
    • types.ts (ts)
    • Draft.ts (ts)
    • $ref.ts (ts)
    • compileSchema.test.ts (ts)
    • draft04.ts (ts)
    • getNode.test.ts (ts)
    • extendDraft.test.ts (ts)
    • draft06.ts (ts)
    • mergeNode.test.ts (ts)
    • validateSchema.test.ts (ts)
    • draft07.spec.ts (ts)
    • validateNode.ts (ts)
    • validationPath.test.ts (ts)
    • methods (txt)
    • getChildSelection.ts (ts)
    • getData.test.ts (ts)
    • createSchema.test.ts (ts)
    • toSchemaNodes.ts (ts)
    • eachSchema.test.ts (ts)
    • toDataNodes.ts (ts)
    • getData.ts (ts)
    • createSchema.ts (ts)
    • getChildSelection.test.ts (ts)
    • toDataNodes.test.ts (ts)
    • draft2019-09.spec.ts (ts)
    • issue43.multipleOf.float.test.ts (ts)
    • getNode.oneOfProperty.test.ts (ts)
    • tests (txt)
    • docs (txt)
    • remoteSchema.test.ts (ts)
    • html (txt)
    • index.html (html)
    • utils (txt)
    • getDraftTests.ts (ts)
    • runTestCases.ts (ts)
    • addRemotes.ts (ts)
    • spec (txt)
    • draft2020-12.spec.ts (ts)
    • draft06.spec.ts (ts)
    • types.ts (ts)
    • issues (txt)
    • issue38.getTemplate.anyOf.test.ts (ts)
    • issue21.getTemplate.test.ts (ts)
    • issue64.compileSchema.test.ts (ts)
    • issue22.each.test.ts (ts)
    • issue93.booleanSchema.test.ts (ts)
    • jsoneditor.getChildSelection-fails.test.ts (ts)
    • issue57.allOfMutatesData.test.ts (ts)
    • issue32.getTemplate.integer.test.ts (ts)
    • issue82.test.ts (ts)
    • issue58.oneOfType.test.ts (ts)
    • issue35.oneOf.remote.test.ts (ts)
    • issue19.get.dependencies.test.ts (ts)
    • issue44.chainedNegLogic.test.ts (ts)
    • issue33.rootOneOf.test.ts (ts)
    • issue79.csn.ref-resolution.test.ts (ts)
    • errors (txt)
    • render.ts (ts)
    • errors.ts (ts)
    • reduceNode.test.ts (ts)
    • draft2019-09 (txt)
    • keywords (txt)
    • additionalItems.test.ts (ts)
    • compileSchema.getNode.test.ts (ts)
    • unevaluatedItems.ts (ts)
    • $ref.test.ts (ts)
    • items.test.ts (ts)
    • $ref.ts (ts)
    • items.ts (ts)
    • additionalItems.ts (ts)
    • validateSchema.test.ts (ts)
    • methods (txt)
    • getChildSelection.ts (ts)
    • getData.test.ts (ts)
    • getData.ts (ts)
    • toDataNodes.test.ts (ts)
    • getChildSchemaSelection.test.ts (ts)
    • compileSchema.validate.test.ts (ts)
    • isItemEvaluated.ts (ts)
    • draft2020-12_meta_validation.json (json)
    • draft07.ts (ts)
    • formats (txt)
    • formats.ts (ts)
    • additionalFormats.ts (ts)
    • hyperjump.d.ts (ts)
    • getNode.ts (ts)
    • SchemaNode.ts (ts)
    • remotes (txt)
    • draft2020-12_meta_format_assertion.json (json)
    • draft2020-12_meta_unevaluated.json (json)
    • draft2019-09_meta_core.json (json)
    • draft2019-09.json (json)
    • draft2019-09_meta_applicator.json (json)
    • draft2020-12_meta_meta_data.json (json)
    • draft2019-09_meta_content.json (json)
    • draft2020-12_meta_format_annotation.json (json)
    • draft07.json (json)
    • draft2020-12_meta_applicator.json (json)
    • draft2019-09_meta_validation.json (json)
    • draft06.json (json)
    • draft2020-12_meta_core.json (json)
    • draft04.json (json)
    • draft2020-12_meta_content.json (json)
    • draft2020-12.json (json)
    • draft2019-09_meta_format.json (json)
    • index.ts (ts)
    • draft2019-09_meta_meta-data.json (json)
    • index.ts (ts)
    • CHANGELOG.md (md)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…