xinference 0.6.5__py3-none-any.whl → 0.7.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of xinference might be problematic. Click here for more details.
- xinference/_version.py +3 -3
- xinference/api/restful_api.py +18 -4
- xinference/core/model.py +33 -10
- xinference/core/supervisor.py +10 -0
- xinference/core/worker.py +40 -13
- xinference/deploy/utils.py +4 -1
- xinference/model/embedding/__init__.py +5 -1
- xinference/model/embedding/core.py +10 -7
- xinference/model/llm/ggml/chatglm.py +7 -5
- xinference/model/llm/llm_family.py +41 -15
- xinference/model/llm/pytorch/core.py +1 -0
- xinference/model/llm/pytorch/utils.py +3 -0
- xinference/model/llm/vllm/core.py +8 -2
- xinference/model/rerank/__init__.py +5 -1
- xinference/model/rerank/core.py +7 -6
- xinference/model/utils.py +38 -2
- xinference/types.py +4 -4
- xinference/web/ui/build/asset-manifest.json +3 -3
- xinference/web/ui/build/index.html +1 -1
- xinference/web/ui/build/static/js/main.778615cc.js +3 -0
- xinference/web/ui/build/static/js/main.778615cc.js.map +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/0cccfbe5d963b8e31eb679f9d9677392839cedd04aa2956ac6b33cf19599d597.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/2f651cf60b1bde50c0601c7110f77dd44819fb6e2501ff748a631724d91445d4.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/35204b265d70210394b0a8571e5b01c8c0f9a748437b8a923961e3560ae3d550.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/47887a9524ffeecdc2a7839dace146b24f97a5564fc3d431d6179ad2b153cf1f.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/483eb7e5f01e34c6a42ad7c64dad550ff945ee21053a52c2e5e7ebe108b85411.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/667753ce39ce1d4bcbf9a5f1a103d653be1d19d42f4e1fbaceb9b507679a52c7.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/6a60ae66b29c2f3634fd081d369b9e63b4522fe18eb9e43e9979d1ff264b68ad.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/6e63957e4e0801705c6cb258379bfda0007ce6c3ddd2e3b62898b68455c3edf4.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/8d2b0b3c6988d1894694dcbbe708ef91cfe62d62dac317031f09915ced637953.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/8d77975a2735d67a618407026e5325608ccd66f1b379a74faf35b4087db536f3.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/a158a9ffa0c9b169aee53dd4a0c44501a596755b4e4f6ede7746d65a72e2a71f.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/a5e2e9f707eb7039bea096ca117d996b8f9cbc2a5613fd8e0c5b0094444ce23c.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/b374bf2be1eac3cff5e0a8528a8e816e266ece911f714c123110961798a93a3b.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/d8a42e9df7157de9f28eecefdf178fd113bf2280d28471b6e32a8a45276042df.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/e26750d9556e9741912333349e4da454c53dbfddbfc6002ab49518dcf02af745.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/ed010102f476cd1a22b49be031a7f94f2ab3dd7ba8bf58839a771d46e28ff559.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/ef42ec014d7bc373b874b2a1ff0dcd785490f125e913698bc049b0bd778e4d66.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/fe3eb4d76c79ca98833f686d642224eeeb94cc83ad14300d281623796d087f0a.json +1 -0
- xinference/web/ui/node_modules/.cache/babel-loader/fe653ca0ca4297b415c0be4013574870d0465a657ae0f3d3f5b66ef6a831390c.json +1 -0
- xinference/web/ui/node_modules/.package-lock.json +1077 -405
- xinference/web/ui/node_modules/@eslint/eslintrc/node_modules/globals/globals.json +163 -3
- xinference/web/ui/node_modules/@eslint/eslintrc/node_modules/globals/package.json +1 -1
- xinference/web/ui/node_modules/@eslint/eslintrc/node_modules/ignore/package.json +64 -0
- xinference/web/ui/node_modules/@eslint/eslintrc/package.json +18 -37
- xinference/web/ui/node_modules/@eslint/js/package.json +1 -1
- xinference/web/ui/node_modules/@eslint-community/regexpp/package.json +9 -4
- xinference/web/ui/node_modules/@humanwhocodes/config-array/package.json +14 -14
- xinference/web/ui/node_modules/@rushstack/eslint-patch/package.json +6 -4
- xinference/web/ui/node_modules/@types/semver/package.json +15 -15
- xinference/web/ui/node_modules/@ungap/structured-clone/cjs/package.json +1 -0
- xinference/web/ui/node_modules/@ungap/structured-clone/package.json +53 -0
- xinference/web/ui/node_modules/ansi-colors/package.json +129 -0
- xinference/web/ui/node_modules/array-includes/package.json +8 -8
- xinference/web/ui/node_modules/array.prototype.findlastindex/package.json +120 -0
- xinference/web/ui/node_modules/array.prototype.flat/package.json +8 -8
- xinference/web/ui/node_modules/array.prototype.flatmap/package.json +8 -8
- xinference/web/ui/node_modules/arraybuffer.prototype.slice/package.json +103 -0
- xinference/web/ui/node_modules/ast-types-flow/package.json +2 -2
- xinference/web/ui/node_modules/astral-regex/package.json +33 -0
- xinference/web/ui/node_modules/asynciterator.prototype/package.json +72 -0
- xinference/web/ui/node_modules/axe-core/locales/_template.json +0 -12
- xinference/web/ui/node_modules/axe-core/package.json +1 -2
- xinference/web/ui/node_modules/axe-core/sri-history.json +0 -8
- xinference/web/ui/node_modules/call-bind/package.json +33 -23
- xinference/web/ui/node_modules/define-data-property/package.json +113 -0
- xinference/web/ui/node_modules/define-data-property/tsconfig.json +59 -0
- xinference/web/ui/node_modules/define-properties/package.json +5 -4
- xinference/web/ui/node_modules/enquirer/package.json +112 -0
- xinference/web/ui/node_modules/es-abstract/helpers/caseFolding.json +1430 -0
- xinference/web/ui/node_modules/es-abstract/package.json +29 -23
- xinference/web/ui/node_modules/es-iterator-helpers/index.json +17 -0
- xinference/web/ui/node_modules/es-iterator-helpers/package.json +185 -0
- xinference/web/ui/node_modules/eslint/conf/{rule-type-list.json → category-list.json} +9 -6
- xinference/web/ui/node_modules/eslint/node_modules/@babel/code-frame/package.json +25 -0
- xinference/web/ui/node_modules/eslint/node_modules/eslint-visitor-keys/lib/visitor-keys.json +289 -0
- xinference/web/ui/node_modules/eslint/node_modules/eslint-visitor-keys/package.json +39 -0
- xinference/web/ui/node_modules/eslint/node_modules/glob-parent/package.json +48 -0
- xinference/web/ui/node_modules/eslint/node_modules/ignore/package.json +64 -0
- xinference/web/ui/node_modules/eslint/package.json +53 -82
- xinference/web/ui/node_modules/eslint-config-prettier/package.json +13 -0
- xinference/web/ui/node_modules/eslint-import-resolver-node/package.json +3 -3
- xinference/web/ui/node_modules/eslint-plugin-import/package.json +22 -17
- xinference/web/ui/node_modules/eslint-plugin-jsx-a11y/package.json +25 -24
- xinference/web/ui/node_modules/eslint-plugin-simple-import-sort/package.json +23 -0
- xinference/web/ui/node_modules/eslint-plugin-testing-library/package.json +1 -1
- xinference/web/ui/node_modules/eslint-scope/package.json +19 -34
- xinference/web/ui/node_modules/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.json +284 -0
- xinference/web/ui/node_modules/eslint-utils/node_modules/eslint-visitor-keys/package.json +40 -0
- xinference/web/ui/node_modules/eslint-utils/package.json +65 -0
- xinference/web/ui/node_modules/eslint-visitor-keys/package.json +15 -15
- xinference/web/ui/node_modules/espree/node_modules/acorn/package.json +35 -0
- xinference/web/ui/node_modules/espree/node_modules/eslint-visitor-keys/lib/visitor-keys.json +284 -0
- xinference/web/ui/node_modules/espree/node_modules/eslint-visitor-keys/package.json +40 -0
- xinference/web/ui/node_modules/espree/package.json +27 -51
- xinference/web/ui/node_modules/function-bind/package.json +38 -14
- xinference/web/ui/node_modules/function.prototype.name/package.json +32 -13
- xinference/web/ui/node_modules/functional-red-black-tree/package.json +40 -0
- xinference/web/ui/node_modules/get-intrinsic/package.json +11 -11
- xinference/web/ui/node_modules/hasown/package.json +91 -0
- xinference/web/ui/node_modules/hasown/tsconfig.json +49 -0
- xinference/web/ui/node_modules/is-async-function/package.json +86 -0
- xinference/web/ui/node_modules/is-core-module/core.json +3 -3
- xinference/web/ui/node_modules/is-core-module/package.json +7 -7
- xinference/web/ui/node_modules/is-finalizationregistry/package.json +67 -0
- xinference/web/ui/node_modules/is-generator-function/package.json +87 -0
- xinference/web/ui/node_modules/is-typed-array/package.json +8 -10
- xinference/web/ui/node_modules/iterator.prototype/package.json +73 -0
- xinference/web/ui/node_modules/jsx-ast-utils/package.json +5 -5
- xinference/web/ui/node_modules/language-tags/package.json +48 -8
- xinference/web/ui/node_modules/lodash.truncate/package.json +17 -0
- xinference/web/ui/node_modules/object-inspect/package.json +8 -6
- xinference/web/ui/node_modules/object.entries/package.json +7 -7
- xinference/web/ui/node_modules/object.fromentries/package.json +7 -7
- xinference/web/ui/node_modules/object.groupby/package.json +83 -0
- xinference/web/ui/node_modules/object.values/package.json +7 -7
- xinference/web/ui/node_modules/prettier/package.json +21 -0
- xinference/web/ui/node_modules/progress/package.json +26 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/@eslint/eslintrc/package.json +82 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/@humanwhocodes/config-array/package.json +61 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/@humanwhocodes/object-schema/package.json +33 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/ansi-styles/package.json +56 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/chalk/package.json +68 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/color-convert/package.json +48 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/color-name/package.json +28 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/escape-string-regexp/package.json +38 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/eslint/conf/replacements.json +22 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/eslint/conf/rule-type-list.json +28 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/eslint/package.json +179 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/eslint-scope/package.json +63 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/espree/package.json +88 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/globals/globals.json +1974 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/globals/package.json +55 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/has-flag/package.json +46 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/supports-color/package.json +53 -0
- xinference/web/ui/node_modules/react-scripts/node_modules/type-fest/package.json +58 -0
- xinference/web/ui/node_modules/reflect.getprototypeof/package.json +99 -0
- xinference/web/ui/node_modules/regexp.prototype.flags/package.json +8 -7
- xinference/web/ui/node_modules/regexpp/package.json +91 -0
- xinference/web/ui/node_modules/resolve/lib/core.json +4 -1
- xinference/web/ui/node_modules/resolve/package.json +9 -8
- xinference/web/ui/node_modules/resolve/test/resolver/multirepo/package.json +1 -1
- xinference/web/ui/node_modules/safe-array-concat/package.json +5 -5
- xinference/web/ui/node_modules/set-function-length/package.json +84 -0
- xinference/web/ui/node_modules/set-function-name/package.json +80 -0
- xinference/web/ui/node_modules/slice-ansi/node_modules/ansi-styles/package.json +56 -0
- xinference/web/ui/node_modules/slice-ansi/node_modules/color-convert/package.json +48 -0
- xinference/web/ui/node_modules/slice-ansi/node_modules/color-name/package.json +28 -0
- xinference/web/ui/node_modules/slice-ansi/package.json +52 -0
- xinference/web/ui/node_modules/string.prototype.trim/package.json +7 -7
- xinference/web/ui/node_modules/string.prototype.trimend/package.json +7 -7
- xinference/web/ui/node_modules/string.prototype.trimstart/package.json +7 -7
- xinference/web/ui/node_modules/table/dist/src/schemas/config.json +95 -0
- xinference/web/ui/node_modules/table/dist/src/schemas/shared.json +139 -0
- xinference/web/ui/node_modules/table/dist/src/schemas/streamConfig.json +25 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/data.json +13 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/data.json +13 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- xinference/web/ui/node_modules/table/node_modules/ajv/package.json +126 -0
- xinference/web/ui/node_modules/table/node_modules/json-schema-traverse/package.json +43 -0
- xinference/web/ui/node_modules/table/package.json +77 -0
- xinference/web/ui/node_modules/typed-array-buffer/package.json +73 -0
- xinference/web/ui/node_modules/typed-array-byte-length/package.json +98 -0
- xinference/web/ui/node_modules/v8-compile-cache/package.json +34 -0
- xinference/web/ui/node_modules/which-builtin-type/package.json +93 -0
- xinference/web/ui/node_modules/which-typed-array/package.json +4 -5
- xinference/web/ui/package-lock.json +1085 -406
- xinference/web/ui/package.json +10 -2
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/METADATA +46 -35
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/RECORD +217 -110
- xinference/web/ui/build/static/js/main.9b46963e.js +0 -3
- xinference/web/ui/build/static/js/main.9b46963e.js.map +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/06363becf51869c421a8b3e34b4e3f50aa0aac3d590446044f9412e379f4ebbe.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/2849edddeb99a8ecdda577e810eead74b8f8a291cdfbd987839d604666ed79d0.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/2c774712d327cdf0b192aaa22785ec380e9427c587350c33289828d99e9c4abc.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/34c578e50d3040519ca8dc28bf0f7fec8674c2d6c0fcc3e98401c0a3f9f013cf.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/5933910e7c33febbabc0297ef7ba80f5e53ed96aa125b6a44ff2910aec29ced1.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/5e18a8354ea03d22a967fd8cb2171aa798edcb3da5d66ab1fd3b9663affd0abe.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/717cd7c186ace4812d1e602bdd299d8dc507f072670cc43974d53aac2574df5d.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/a178cfde289ffd15fd54b1c80fd9d231ae0f9644db33acb02084e69b32bfee37.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/aad919619ddb400e30bf9886f3ad7f59d5ec7cdbb98ed8b8442565bb19164237.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/adaec65f73accce3171b51b0fbcbfd8d0cd83f81a2e1b28eb34148644875499a.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/ae8f44c77c2e6f79680fe32fb00174183cd867093ebbda967b8985c33cc10fa2.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/b10bd04b4d6e28bfcaaaab37b0a4c1986e87a5b7e62e5ce4d56019880ef26990.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/cfc5da1cedee985a556e04865affccb72d0f624cbfb73da348bbe8693e8a4983.json +0 -1
- xinference/web/ui/node_modules/.cache/babel-loader/eebd0123c4b4396737e56b9181406a9fd76b107dd32971d23b0de99f51dd38d6.json +0 -1
- xinference/web/ui/node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope/package.json +0 -48
- xinference/web/ui/node_modules/@typescript-eslint/utils/node_modules/eslint-scope/package.json +0 -48
- xinference/web/ui/node_modules/@typescript-eslint/utils/node_modules/estraverse/package.json +0 -40
- xinference/web/ui/node_modules/eslint/node_modules/argparse/package.json +0 -31
- xinference/web/ui/node_modules/eslint/node_modules/js-yaml/package.json +0 -66
- xinference/web/ui/node_modules/eslint-plugin-jsx-a11y/node_modules/semver/package.json +0 -38
- xinference/web/ui/node_modules/function-bind/.jscs.json +0 -176
- xinference/web/ui/node_modules/resolve/test/resolver/malformed_package_json/package.json +0 -1
- xinference/web/ui/node_modules/webpack/node_modules/eslint-scope/package.json +0 -48
- xinference/web/ui/node_modules/webpack/node_modules/estraverse/package.json +0 -40
- /xinference/web/ui/build/static/js/{main.9b46963e.js.LICENSE.txt → main.778615cc.js.LICENSE.txt} +0 -0
- /xinference/web/ui/node_modules/{@nicolo-ribaudo/eslint-scope-5-internals → eslint-scope}/node_modules/estraverse/package.json +0 -0
- /xinference/web/ui/node_modules/{@eslint/eslintrc → react-scripts}/node_modules/argparse/package.json +0 -0
- /xinference/web/ui/node_modules/{eslint → react-scripts/node_modules/eslint}/lib/cli-engine/formatters/formatters-meta.json +0 -0
- /xinference/web/ui/node_modules/{eslint-config-react-app → react-scripts/node_modules/eslint-config-react-app}/package.json +0 -0
- /xinference/web/ui/node_modules/{eslint-plugin-flowtype → react-scripts/node_modules/eslint-plugin-flowtype}/dist/configs/recommended.json +0 -0
- /xinference/web/ui/node_modules/{eslint-plugin-flowtype → react-scripts/node_modules/eslint-plugin-flowtype}/package.json +0 -0
- /xinference/web/ui/node_modules/{@eslint/eslintrc → react-scripts}/node_modules/js-yaml/package.json +0 -0
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/LICENSE +0 -0
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/WHEEL +0 -0
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/entry_points.txt +0 -0
- {xinference-0.6.5.dist-info → xinference-0.7.1.dist-info}/top_level.txt +0 -0
xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2019-09/schema",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2019-09/vocab/core": true,
|
|
6
|
+
"https://json-schema.org/draft/2019-09/vocab/applicator": true,
|
|
7
|
+
"https://json-schema.org/draft/2019-09/vocab/validation": true,
|
|
8
|
+
"https://json-schema.org/draft/2019-09/vocab/meta-data": true,
|
|
9
|
+
"https://json-schema.org/draft/2019-09/vocab/format": false,
|
|
10
|
+
"https://json-schema.org/draft/2019-09/vocab/content": true
|
|
11
|
+
},
|
|
12
|
+
"$recursiveAnchor": true,
|
|
13
|
+
|
|
14
|
+
"title": "Core and Validation specifications meta-schema",
|
|
15
|
+
"allOf": [
|
|
16
|
+
{"$ref": "meta/core"},
|
|
17
|
+
{"$ref": "meta/applicator"},
|
|
18
|
+
{"$ref": "meta/validation"},
|
|
19
|
+
{"$ref": "meta/meta-data"},
|
|
20
|
+
{"$ref": "meta/format"},
|
|
21
|
+
{"$ref": "meta/content"}
|
|
22
|
+
],
|
|
23
|
+
"type": ["object", "boolean"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"definitions": {
|
|
26
|
+
"$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"additionalProperties": {"$recursiveRef": "#"},
|
|
29
|
+
"default": {}
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": {
|
|
35
|
+
"anyOf": [{"$recursiveRef": "#"}, {"$ref": "meta/validation#/$defs/stringArray"}]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/applicator",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/applicator": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Applicator vocabulary meta-schema",
|
|
10
|
+
"type": ["object", "boolean"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"prefixItems": {"$ref": "#/$defs/schemaArray"},
|
|
13
|
+
"items": {"$dynamicRef": "#meta"},
|
|
14
|
+
"contains": {"$dynamicRef": "#meta"},
|
|
15
|
+
"additionalProperties": {"$dynamicRef": "#meta"},
|
|
16
|
+
"properties": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": {"$dynamicRef": "#meta"},
|
|
19
|
+
"default": {}
|
|
20
|
+
},
|
|
21
|
+
"patternProperties": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": {"$dynamicRef": "#meta"},
|
|
24
|
+
"propertyNames": {"format": "regex"},
|
|
25
|
+
"default": {}
|
|
26
|
+
},
|
|
27
|
+
"dependentSchemas": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"additionalProperties": {"$dynamicRef": "#meta"},
|
|
30
|
+
"default": {}
|
|
31
|
+
},
|
|
32
|
+
"propertyNames": {"$dynamicRef": "#meta"},
|
|
33
|
+
"if": {"$dynamicRef": "#meta"},
|
|
34
|
+
"then": {"$dynamicRef": "#meta"},
|
|
35
|
+
"else": {"$dynamicRef": "#meta"},
|
|
36
|
+
"allOf": {"$ref": "#/$defs/schemaArray"},
|
|
37
|
+
"anyOf": {"$ref": "#/$defs/schemaArray"},
|
|
38
|
+
"oneOf": {"$ref": "#/$defs/schemaArray"},
|
|
39
|
+
"not": {"$dynamicRef": "#meta"}
|
|
40
|
+
},
|
|
41
|
+
"$defs": {
|
|
42
|
+
"schemaArray": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"minItems": 1,
|
|
45
|
+
"items": {"$dynamicRef": "#meta"}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/content",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/content": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Content vocabulary meta-schema",
|
|
10
|
+
|
|
11
|
+
"type": ["object", "boolean"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"contentEncoding": {"type": "string"},
|
|
14
|
+
"contentMediaType": {"type": "string"},
|
|
15
|
+
"contentSchema": {"$dynamicRef": "#meta"}
|
|
16
|
+
}
|
|
17
|
+
}
|
xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/core",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/core": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Core vocabulary meta-schema",
|
|
10
|
+
"type": ["object", "boolean"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"$id": {
|
|
13
|
+
"$ref": "#/$defs/uriReferenceString",
|
|
14
|
+
"$comment": "Non-empty fragments not allowed.",
|
|
15
|
+
"pattern": "^[^#]*#?$"
|
|
16
|
+
},
|
|
17
|
+
"$schema": {"$ref": "#/$defs/uriString"},
|
|
18
|
+
"$ref": {"$ref": "#/$defs/uriReferenceString"},
|
|
19
|
+
"$anchor": {"$ref": "#/$defs/anchorString"},
|
|
20
|
+
"$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
|
|
21
|
+
"$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
|
|
22
|
+
"$vocabulary": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"propertyNames": {"$ref": "#/$defs/uriString"},
|
|
25
|
+
"additionalProperties": {
|
|
26
|
+
"type": "boolean"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"$comment": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"$defs": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": {"$dynamicRef": "#meta"}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"$defs": {
|
|
38
|
+
"anchorString": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
|
|
41
|
+
},
|
|
42
|
+
"uriString": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "uri"
|
|
45
|
+
},
|
|
46
|
+
"uriReferenceString": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": "uri-reference"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Format vocabulary meta-schema for annotation results",
|
|
10
|
+
"type": ["object", "boolean"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"format": {"type": "string"}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Meta-data vocabulary meta-schema",
|
|
10
|
+
|
|
11
|
+
"type": ["object", "boolean"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"description": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"default": true,
|
|
20
|
+
"deprecated": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"default": false
|
|
23
|
+
},
|
|
24
|
+
"readOnly": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
"writeOnly": {
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
"examples": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Unevaluated applicator vocabulary meta-schema",
|
|
10
|
+
"type": ["object", "boolean"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"unevaluatedItems": {"$dynamicRef": "#meta"},
|
|
13
|
+
"unevaluatedProperties": {"$dynamicRef": "#meta"}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/meta/validation",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/validation": true
|
|
6
|
+
},
|
|
7
|
+
"$dynamicAnchor": "meta",
|
|
8
|
+
|
|
9
|
+
"title": "Validation vocabulary meta-schema",
|
|
10
|
+
"type": ["object", "boolean"],
|
|
11
|
+
"properties": {
|
|
12
|
+
"type": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{"$ref": "#/$defs/simpleTypes"},
|
|
15
|
+
{
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {"$ref": "#/$defs/simpleTypes"},
|
|
18
|
+
"minItems": 1,
|
|
19
|
+
"uniqueItems": true
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"const": true,
|
|
24
|
+
"enum": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": true
|
|
27
|
+
},
|
|
28
|
+
"multipleOf": {
|
|
29
|
+
"type": "number",
|
|
30
|
+
"exclusiveMinimum": 0
|
|
31
|
+
},
|
|
32
|
+
"maximum": {
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
"exclusiveMaximum": {
|
|
36
|
+
"type": "number"
|
|
37
|
+
},
|
|
38
|
+
"minimum": {
|
|
39
|
+
"type": "number"
|
|
40
|
+
},
|
|
41
|
+
"exclusiveMinimum": {
|
|
42
|
+
"type": "number"
|
|
43
|
+
},
|
|
44
|
+
"maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
|
|
45
|
+
"minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
|
|
46
|
+
"pattern": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": "regex"
|
|
49
|
+
},
|
|
50
|
+
"maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
|
|
51
|
+
"minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
|
|
52
|
+
"uniqueItems": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"default": false
|
|
55
|
+
},
|
|
56
|
+
"maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
|
|
57
|
+
"minContains": {
|
|
58
|
+
"$ref": "#/$defs/nonNegativeInteger",
|
|
59
|
+
"default": 1
|
|
60
|
+
},
|
|
61
|
+
"maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
|
|
62
|
+
"minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
|
|
63
|
+
"required": {"$ref": "#/$defs/stringArray"},
|
|
64
|
+
"dependentRequired": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": {
|
|
67
|
+
"$ref": "#/$defs/stringArray"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"$defs": {
|
|
72
|
+
"nonNegativeInteger": {
|
|
73
|
+
"type": "integer",
|
|
74
|
+
"minimum": 0
|
|
75
|
+
},
|
|
76
|
+
"nonNegativeIntegerDefault0": {
|
|
77
|
+
"$ref": "#/$defs/nonNegativeInteger",
|
|
78
|
+
"default": 0
|
|
79
|
+
},
|
|
80
|
+
"simpleTypes": {
|
|
81
|
+
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
|
82
|
+
},
|
|
83
|
+
"stringArray": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"items": {"type": "string"},
|
|
86
|
+
"uniqueItems": true,
|
|
87
|
+
"default": []
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
xinference/web/ui/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"$vocabulary": {
|
|
5
|
+
"https://json-schema.org/draft/2020-12/vocab/core": true,
|
|
6
|
+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
|
|
7
|
+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
|
|
8
|
+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
|
|
9
|
+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
|
|
10
|
+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
|
|
11
|
+
"https://json-schema.org/draft/2020-12/vocab/content": true
|
|
12
|
+
},
|
|
13
|
+
"$dynamicAnchor": "meta",
|
|
14
|
+
|
|
15
|
+
"title": "Core and Validation specifications meta-schema",
|
|
16
|
+
"allOf": [
|
|
17
|
+
{"$ref": "meta/core"},
|
|
18
|
+
{"$ref": "meta/applicator"},
|
|
19
|
+
{"$ref": "meta/unevaluated"},
|
|
20
|
+
{"$ref": "meta/validation"},
|
|
21
|
+
{"$ref": "meta/meta-data"},
|
|
22
|
+
{"$ref": "meta/format-annotation"},
|
|
23
|
+
{"$ref": "meta/content"}
|
|
24
|
+
],
|
|
25
|
+
"type": ["object", "boolean"],
|
|
26
|
+
"$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
|
|
27
|
+
"properties": {
|
|
28
|
+
"definitions": {
|
|
29
|
+
"$comment": "\"definitions\" has been replaced by \"$defs\".",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": {"$dynamicRef": "#meta"},
|
|
32
|
+
"deprecated": true,
|
|
33
|
+
"default": {}
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": {
|
|
39
|
+
"anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
|
|
40
|
+
},
|
|
41
|
+
"deprecated": true,
|
|
42
|
+
"default": {}
|
|
43
|
+
},
|
|
44
|
+
"$recursiveAnchor": {
|
|
45
|
+
"$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
|
|
46
|
+
"$ref": "meta/core#/$defs/anchorString",
|
|
47
|
+
"deprecated": true
|
|
48
|
+
},
|
|
49
|
+
"$recursiveRef": {
|
|
50
|
+
"$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
|
|
51
|
+
"$ref": "meta/core#/$defs/uriReferenceString",
|
|
52
|
+
"deprecated": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-06/schema#",
|
|
3
|
+
"$id": "http://json-schema.org/draft-06/schema#",
|
|
4
|
+
"title": "Core schema meta-schema",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"schemaArray": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"minItems": 1,
|
|
9
|
+
"items": {"$ref": "#"}
|
|
10
|
+
},
|
|
11
|
+
"nonNegativeInteger": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nonNegativeIntegerDefault0": {
|
|
16
|
+
"allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
|
|
17
|
+
},
|
|
18
|
+
"simpleTypes": {
|
|
19
|
+
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
|
20
|
+
},
|
|
21
|
+
"stringArray": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {"type": "string"},
|
|
24
|
+
"uniqueItems": true,
|
|
25
|
+
"default": []
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"type": ["object", "boolean"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"$id": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "uri-reference"
|
|
33
|
+
},
|
|
34
|
+
"$schema": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "uri"
|
|
37
|
+
},
|
|
38
|
+
"$ref": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "uri-reference"
|
|
41
|
+
},
|
|
42
|
+
"title": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"description": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"default": {},
|
|
49
|
+
"examples": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {}
|
|
52
|
+
},
|
|
53
|
+
"multipleOf": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"exclusiveMinimum": 0
|
|
56
|
+
},
|
|
57
|
+
"maximum": {
|
|
58
|
+
"type": "number"
|
|
59
|
+
},
|
|
60
|
+
"exclusiveMaximum": {
|
|
61
|
+
"type": "number"
|
|
62
|
+
},
|
|
63
|
+
"minimum": {
|
|
64
|
+
"type": "number"
|
|
65
|
+
},
|
|
66
|
+
"exclusiveMinimum": {
|
|
67
|
+
"type": "number"
|
|
68
|
+
},
|
|
69
|
+
"maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
70
|
+
"minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
71
|
+
"pattern": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"format": "regex"
|
|
74
|
+
},
|
|
75
|
+
"additionalItems": {"$ref": "#"},
|
|
76
|
+
"items": {
|
|
77
|
+
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
|
|
78
|
+
"default": {}
|
|
79
|
+
},
|
|
80
|
+
"maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
81
|
+
"minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
82
|
+
"uniqueItems": {
|
|
83
|
+
"type": "boolean",
|
|
84
|
+
"default": false
|
|
85
|
+
},
|
|
86
|
+
"contains": {"$ref": "#"},
|
|
87
|
+
"maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
88
|
+
"minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
89
|
+
"required": {"$ref": "#/definitions/stringArray"},
|
|
90
|
+
"additionalProperties": {"$ref": "#"},
|
|
91
|
+
"definitions": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"additionalProperties": {"$ref": "#"},
|
|
94
|
+
"default": {}
|
|
95
|
+
},
|
|
96
|
+
"properties": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": {"$ref": "#"},
|
|
99
|
+
"default": {}
|
|
100
|
+
},
|
|
101
|
+
"patternProperties": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": {"$ref": "#"},
|
|
104
|
+
"default": {}
|
|
105
|
+
},
|
|
106
|
+
"dependencies": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": {
|
|
109
|
+
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"propertyNames": {"$ref": "#"},
|
|
113
|
+
"const": {},
|
|
114
|
+
"enum": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"minItems": 1,
|
|
117
|
+
"uniqueItems": true
|
|
118
|
+
},
|
|
119
|
+
"type": {
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{"$ref": "#/definitions/simpleTypes"},
|
|
122
|
+
{
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {"$ref": "#/definitions/simpleTypes"},
|
|
125
|
+
"minItems": 1,
|
|
126
|
+
"uniqueItems": true
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
"format": {"type": "string"},
|
|
131
|
+
"allOf": {"$ref": "#/definitions/schemaArray"},
|
|
132
|
+
"anyOf": {"$ref": "#/definitions/schemaArray"},
|
|
133
|
+
"oneOf": {"$ref": "#/definitions/schemaArray"},
|
|
134
|
+
"not": {"$ref": "#"}
|
|
135
|
+
},
|
|
136
|
+
"default": {}
|
|
137
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Core schema meta-schema",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"schemaArray": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"minItems": 1,
|
|
9
|
+
"items": {"$ref": "#"}
|
|
10
|
+
},
|
|
11
|
+
"nonNegativeInteger": {
|
|
12
|
+
"type": "integer",
|
|
13
|
+
"minimum": 0
|
|
14
|
+
},
|
|
15
|
+
"nonNegativeIntegerDefault0": {
|
|
16
|
+
"allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
|
|
17
|
+
},
|
|
18
|
+
"simpleTypes": {
|
|
19
|
+
"enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
|
|
20
|
+
},
|
|
21
|
+
"stringArray": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {"type": "string"},
|
|
24
|
+
"uniqueItems": true,
|
|
25
|
+
"default": []
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"type": ["object", "boolean"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"$id": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "uri-reference"
|
|
33
|
+
},
|
|
34
|
+
"$schema": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "uri"
|
|
37
|
+
},
|
|
38
|
+
"$ref": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "uri-reference"
|
|
41
|
+
},
|
|
42
|
+
"$comment": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"title": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"description": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"default": true,
|
|
52
|
+
"readOnly": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"default": false
|
|
55
|
+
},
|
|
56
|
+
"examples": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": true
|
|
59
|
+
},
|
|
60
|
+
"multipleOf": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"exclusiveMinimum": 0
|
|
63
|
+
},
|
|
64
|
+
"maximum": {
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
67
|
+
"exclusiveMaximum": {
|
|
68
|
+
"type": "number"
|
|
69
|
+
},
|
|
70
|
+
"minimum": {
|
|
71
|
+
"type": "number"
|
|
72
|
+
},
|
|
73
|
+
"exclusiveMinimum": {
|
|
74
|
+
"type": "number"
|
|
75
|
+
},
|
|
76
|
+
"maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
77
|
+
"minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
78
|
+
"pattern": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"format": "regex"
|
|
81
|
+
},
|
|
82
|
+
"additionalItems": {"$ref": "#"},
|
|
83
|
+
"items": {
|
|
84
|
+
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
|
|
85
|
+
"default": true
|
|
86
|
+
},
|
|
87
|
+
"maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
88
|
+
"minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
89
|
+
"uniqueItems": {
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": false
|
|
92
|
+
},
|
|
93
|
+
"contains": {"$ref": "#"},
|
|
94
|
+
"maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
|
|
95
|
+
"minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
|
|
96
|
+
"required": {"$ref": "#/definitions/stringArray"},
|
|
97
|
+
"additionalProperties": {"$ref": "#"},
|
|
98
|
+
"definitions": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"additionalProperties": {"$ref": "#"},
|
|
101
|
+
"default": {}
|
|
102
|
+
},
|
|
103
|
+
"properties": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": {"$ref": "#"},
|
|
106
|
+
"default": {}
|
|
107
|
+
},
|
|
108
|
+
"patternProperties": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"additionalProperties": {"$ref": "#"},
|
|
111
|
+
"propertyNames": {"format": "regex"},
|
|
112
|
+
"default": {}
|
|
113
|
+
},
|
|
114
|
+
"dependencies": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"additionalProperties": {
|
|
117
|
+
"anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"propertyNames": {"$ref": "#"},
|
|
121
|
+
"const": true,
|
|
122
|
+
"enum": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": true,
|
|
125
|
+
"minItems": 1,
|
|
126
|
+
"uniqueItems": true
|
|
127
|
+
},
|
|
128
|
+
"type": {
|
|
129
|
+
"anyOf": [
|
|
130
|
+
{"$ref": "#/definitions/simpleTypes"},
|
|
131
|
+
{
|
|
132
|
+
"type": "array",
|
|
133
|
+
"items": {"$ref": "#/definitions/simpleTypes"},
|
|
134
|
+
"minItems": 1,
|
|
135
|
+
"uniqueItems": true
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"format": {"type": "string"},
|
|
140
|
+
"contentMediaType": {"type": "string"},
|
|
141
|
+
"contentEncoding": {"type": "string"},
|
|
142
|
+
"if": {"$ref": "#"},
|
|
143
|
+
"then": {"$ref": "#"},
|
|
144
|
+
"else": {"$ref": "#"},
|
|
145
|
+
"allOf": {"$ref": "#/definitions/schemaArray"},
|
|
146
|
+
"anyOf": {"$ref": "#/definitions/schemaArray"},
|
|
147
|
+
"oneOf": {"$ref": "#/definitions/schemaArray"},
|
|
148
|
+
"not": {"$ref": "#"}
|
|
149
|
+
},
|
|
150
|
+
"default": true
|
|
151
|
+
}
|