Create a Json Schema Specification for AI Rules
gfs opened this issue · comments
Is your feature request related to a problem? Please describe.
The AI (and devskim) rule format is described primary on the Wiki (though the source of truth is the code). The validation we have appears to miss possible formatting errors as noted in #559. It could make validation easier if there were a defined schema.
Describe the solution you'd like
Publish a schema (in the AppInspector repo?) for the JSON rule format and additionally validate rules using the schema - as well as the logical rules validator.