0.2.0 • Published 2 years ago

@fosfad/json-schema-typescript-definitions v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

JSON Schema TypeScript definitions

This package contains TypeScript definitions for JSON Schema. It may be useful in all kind of TypeScript projects that work with JSON Schema directly.

Supported JSON Schema drafts:

Getting started

Install the definitions:

npm install @fosfad/json-schema-typescript-definitions

Import JsonSchema type definition:

import { JsonSchema } from '@fosfad/json-schema-typescript-definitions/2020-12';

Documentation

Exported types

The package exports 3 types: JsonSchemaBoolean, JsonSchemaObject and JsonSchema:

  • JsonSchemaBoolean stands for Boolean JSON Schema;
  • JsonSchemaObject is an object with all possible JSON Schema keywords within;
  • JsonSchema is a union type between JsonSchemaBoolean and JsonSchemaObject.
0.2.0

2 years ago

0.1.0

2 years ago

0.0.20

3 years ago

0.0.21

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago