Socket
Socket
Sign inDemoInstall

json-schema-typed

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    json-schema-typed

JSONSchema TypeScript definitions.


Version published
Maintainers
1
Install size
56.5 kB
Created

Readme

Source

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:

NameTypePurpose
JSONSchemaFormatEnumJSON Schema string formats.
JSONSchemaTypeEnumStandard values for the "type" field.
JSONSchemaContentEncodingEnumJSON Schema content encoding strategies.
JSONSchemaKeysstring[]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

  • Loomble

Maintainers

License

BSD-2-Clause

Keywords

FAQs

Last updated on 08 Dec 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc