Package Exports
- json-schema-typed
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (json-schema-typed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
json-schema-typed
JSON Schema draft-07 TypeScript definitions with complete inline documentation for each property.
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