@ruleenginejs/schema
Version:
Rule engine schema
24 lines (15 loc) • 380 B
Markdown
# @ruleenginejs/schema
## Installation
```bash
npm install /schema
```
## Usage
```js
const schema = require("@ruleenginejs/schema")
const validate = schema(schema.SCHEMAS.PIPELINE)
if (!validate(data)) console.log(validate.errors)
```
## Schemas
- [pipeline-schema.json](./schema/pipeline-schema.json)
## License
Licensed under the [MIT License](./LICENSE).