# @0xproject/json-schemas

> 0x-related json schemas

Latest version **1.0.7** (published 2018-10-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @0xproject/json-schemas
pnpm add @0xproject/json-schemas
yarn add @0xproject/json-schemas
bun add @0xproject/json-schemas
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2018-10-04 |
| First published | 2017-11-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=6.12 |
| Dependencies | 4 |
| Unpacked size | 86.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1409 |
| Maintainers | albrow, amirbandeali, bchillman, dekz, fberger, fragosti, logvinov |

## Links

- npm: https://www.npmjs.com/package/@0xproject/json-schemas
- Repository: https://github.com/0xProject/0x-monorepo
- Homepage: https://github.com/0xProject/0x-monorepo/packages/json-schemas/README.md
- Issues: https://github.com/0xProject/0x-monorepo/issues
- npm.io page: https://npm.io/package/@0xproject/json-schemas

## Dependencies (4)

- [jsonschema](https://npm.io/package/jsonschema.md) ^1.2.0
- [@types/node](https://npm.io/package/@types/node.md) *
- [lodash.values](https://npm.io/package/lodash.values.md) ^4.3.0
- [@0xproject/typescript-typings](https://npm.io/package/@0xproject/typescript-typings.md) ^3.0.2

## Recent versions

- 1.0.7 (latest) — 2018-10-04
- 1.0.5 — 2018-09-28
- 1.0.4 — 2018-09-25
- 1.0.3 — 2018-09-25
- 1.0.2 — 2018-09-21
- 1.0.1 — 2018-09-05
- 1.0.1-rc.6 — 2018-08-27
- 1.0.1-rc.5 — 2018-08-24
- 1.0.1-rc.4 — 2018-08-14
- 1.0.1-rc.3 — 2018-07-26
- 1.0.1-rc.2 — 2018-07-26
- 1.0.1-rc.1 — 2018-07-26
- 1.0.0-rc.1 — 2018-07-19
- 0.8.3 — 2018-07-18
- 0.8.2 — 2018-07-09
- … 30 more at https://npm.io/package/@0xproject/json-schemas/versions

## README

## @0xproject/json-schemas

Contains 0x-related json schemas

### Read the [Documentation](https://0xproject.com/docs/json-schemas).

## Installation

```bash
yarn add @0xproject/json-schemas
```

**Import**

```typescript
import { SchemaValidator, ValidatorResult, schemas } from '@0xproject/json-schemas';
```

or

```javascript
var schemas = require('@0xproject/json-schemas').schemas;
```

If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:

```json
"compilerOptions": {
    "typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

```bash
PKG=@0xproject/json-schemas yarn build
```

Or continuously rebuild on change:

```bash
PKG=@0xproject/json-schemas yarn watch
```

### Clean

```bash
yarn clean
```

### Lint

```bash
yarn lint
```

### Run Tests

```bash
yarn test
```

---
_Source: https://npm.io/package/@0xproject/json-schemas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
