# @qtk/schema

> 此库是基于semantic-schema，结合团队情况简单封装而成。用于对json数据进行校验．其语法跟semantic-schema库语法大部分相同，请移步[【这里】](https://www.npmjs.com/package/semantic-schema)了解语法。或者直接查看[【测试用例】](/test/)

Latest version **0.0.7** (published 2019-09-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install @qtk/schema
pnpm add @qtk/schema
yarn add @qtk/schema
bun add @qtk/schema
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2019-09-24 |
| First published | 2019-04-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 55 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Magnus Lin && Skip |
| Maintainers | qtk |
| Keywords | json-schema, json, schema, object, semantic |

## Links

- npm: https://www.npmjs.com/package/@qtk/schema
- Repository: https://github.com/vanchu001/qtk-schema
- Homepage: https://github.com/vanchu001/qtk-schema#readme
- Issues: https://github.com/vanchu001/qtk-schema/issues
- npm.io page: https://npm.io/package/@qtk/schema

## Dependencies (2)

- [ajv](https://npm.io/package/ajv.md) ^6.5.2
- [isobject](https://npm.io/package/isobject.md) ^3.0.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.7 (latest) — 2019-09-24
- 0.0.6 — 2019-07-01
- 0.0.5 — 2019-06-11
- 0.0.4 — 2019-05-06
- 0.0.3 — 2019-04-07

## README

# Schema
此库是基于semantic-schema，结合团队情况简单封装而成。用于对json数据进行校验．其语法跟semantic-schema库语法大部分相同，请移步[【这里】](https://www.npmjs.com/package/semantic-schema)了解语法。或者直接查看[【测试用例】](/test/)

## 备注
1.增加title关键字，用于对字段进行简洁描述,desc关键字用于详细描述
2.增加errorTip关键字，配合@qtk/schema-validator库实现schema校验失败时自定义提示文案

## 致谢
感谢Magnus童鞋支持

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