|
|
vor 10 Monaten | |
|---|---|---|
| .. | ||
| dist-node | vor 10 Monaten | |
| dist-src | vor 10 Monaten | |
| dist-types | vor 10 Monaten | |
| dist-web | vor 10 Monaten | |
| LICENSE | vor 10 Monaten | |
| README.md | vor 10 Monaten | |
| package.json | vor 10 Monaten | |
JSON Schema draft-07 TypeScript definitions with complete inline documentation for each property.
npm install json-schema-typed # NPM
yarn add json-schema-typed # or Yarn
TypeScript:
import { JSONSchema } from 'json-schema-typed'
const schema: JSONSchema = {
// ...
}
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. |
+----- 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