CacheControl / json-rules-engine

A rules engine expressed in JSON
ISC License
2.54k stars 455 forks source link

Is the project providing an official JSON Schema to validate rules edition? #366

Open Guts opened 3 months ago

Guts commented 3 months ago

Thank you for this project, which I recently discovered and which I'm about to push as part of a Python project using https://github.com/santalvarez/python-rule-engine.

I'm looking to allow end users to edit their rules in JSON with validation using a schema. Is there somewhere in this repository a way to typically integrate something similar to "$schema": "https://raw.githubusercontent.com/CacheControl/json-rules-engine/master/docs/schemas/rules.json" into JSON files?

Related to https://github.com/CacheControl/json-rules-engine/issues/203