├── .editorconfig ├── .gitattributes ├── .github ├── dependabot.yml ├── stale.yml └── workflows │ └── ci.yml ├── .gitignore ├── .husky └── pre-commit ├── .npmignore ├── .npmrc ├── .nvmrc ├── LICENSE ├── README.md ├── docs └── API.md ├── eslint.config.js ├── package.json ├── src ├── ArraySchema.js ├── ArraySchema.test.js ├── BaseSchema.js ├── BaseSchema.test.js ├── BooleanSchema.js ├── BooleanSchema.test.js ├── FluentJSONSchema.js ├── FluentSchema.integration.test.js ├── FluentSchema.test.js ├── IntegerSchema.js ├── IntegerSchema.test.js ├── MixedSchema.js ├── MixedSchema.test.js ├── NullSchema.js ├── NullSchema.test.js ├── NumberSchema.js ├── NumberSchema.test.js ├── ObjectSchema.js ├── ObjectSchema.test.js ├── RawSchema.js ├── RawSchema.test.js ├── StringSchema.js ├── StringSchema.test.js ├── example.js ├── schemas │ └── basic.json ├── utils.js └── utils.test.js └── types ├── FluentJSONSchema.d.ts └── FluentJSONSchema.test-d.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v14.19.0 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/README.md -------------------------------------------------------------------------------- /docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/docs/API.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/package.json -------------------------------------------------------------------------------- /src/ArraySchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/ArraySchema.js -------------------------------------------------------------------------------- /src/ArraySchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/ArraySchema.test.js -------------------------------------------------------------------------------- /src/BaseSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/BaseSchema.js -------------------------------------------------------------------------------- /src/BaseSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/BaseSchema.test.js -------------------------------------------------------------------------------- /src/BooleanSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/BooleanSchema.js -------------------------------------------------------------------------------- /src/BooleanSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/BooleanSchema.test.js -------------------------------------------------------------------------------- /src/FluentJSONSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/FluentJSONSchema.js -------------------------------------------------------------------------------- /src/FluentSchema.integration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/FluentSchema.integration.test.js -------------------------------------------------------------------------------- /src/FluentSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/FluentSchema.test.js -------------------------------------------------------------------------------- /src/IntegerSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/IntegerSchema.js -------------------------------------------------------------------------------- /src/IntegerSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/IntegerSchema.test.js -------------------------------------------------------------------------------- /src/MixedSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/MixedSchema.js -------------------------------------------------------------------------------- /src/MixedSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/MixedSchema.test.js -------------------------------------------------------------------------------- /src/NullSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/NullSchema.js -------------------------------------------------------------------------------- /src/NullSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/NullSchema.test.js -------------------------------------------------------------------------------- /src/NumberSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/NumberSchema.js -------------------------------------------------------------------------------- /src/NumberSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/NumberSchema.test.js -------------------------------------------------------------------------------- /src/ObjectSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/ObjectSchema.js -------------------------------------------------------------------------------- /src/ObjectSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/ObjectSchema.test.js -------------------------------------------------------------------------------- /src/RawSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/RawSchema.js -------------------------------------------------------------------------------- /src/RawSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/RawSchema.test.js -------------------------------------------------------------------------------- /src/StringSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/StringSchema.js -------------------------------------------------------------------------------- /src/StringSchema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/StringSchema.test.js -------------------------------------------------------------------------------- /src/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/example.js -------------------------------------------------------------------------------- /src/schemas/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/schemas/basic.json -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/utils.js -------------------------------------------------------------------------------- /src/utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/src/utils.test.js -------------------------------------------------------------------------------- /types/FluentJSONSchema.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/types/FluentJSONSchema.d.ts -------------------------------------------------------------------------------- /types/FluentJSONSchema.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fluent-json-schema/HEAD/types/FluentJSONSchema.test-d.ts --------------------------------------------------------------------------------