Skip to content

Various utilities for handling JSON Schemas (parse, join, generate, samples)

License

Notifications You must be signed in to change notification settings

nlighten-oss/json-schema-utils

Repository files navigation

json-schema-utils

Build

Various utilities for handling JSON Schemas (parse, join, generate, samples)

Installation

npm install @nlighten/json-schema-utils

API

JSONSchemaUtils: {
    join: (pathsDescriptors: { targetPath: string; type: TypeSchema; }[], options?: JoinOptions) => TypeSchema;
    parse: (schema: TypeSchema, options?: ParsingOptions) => ParsedSchema;
    generate: (value: any, options?: GenerateSchemaOptions) => TypeSchema;
};

License

MIT

About

Various utilities for handling JSON Schemas (parse, join, generate, samples)

Resources

License

Stars

Watchers

Forks

Packages

No packages published