Neolithic Programming Machine

    json-schema-typed
    TypeScript icon, indicating that this package has built-in type declarations

    7.0.3 • Public • Published

    json-schema-typed

    JSON Schema draft-07 TypeScript definitions with complete inline documentation for each property.

    code style: Prettier npm semantic-release License

    Install

    npm install json-schema-typed # NPM 
    yarn add json-schema-typed # or Yarn 

    Usage

    TypeScript:

    import { JSONSchema } from 'json-schema-typed'
     
    const schema: JSONSchema = {
      // ...
    }

    API

    Additional exports:

    Name Type Purpose
    JSONSchemaFormat Enum JSON Schema string formats.
    JSONSchemaType Enum Standard values for the "type" field.
    JSONSchemaContentEncoding Enum JSON Schema content encoding strategies.
    JSONSchemaKeys string[] All the standard property keys available in a JSON schema.

    Versioning

    +----- Major version is synchronized with the major version of JSON Schema.
    | +--- Minor version has BREAKING CHANGE and/or new features.
    | | +- Patch version.
    | | |
    x.x.x
    

    Sponsors

    Maintainers

    License

    BSD-2-Clause

    Install

    npm i json-schema-typed

    DownloadsWeekly Downloads

    222,786

    Version

    7.0.3

    License

    BSD-2-Clause

    Unpacked Size

    56.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • jayrylan