1.2 KiB
1.2 KiB
Rules
Rules apply a schema fragment to a set of nodes selected from the original data.
This is a descriptive standard for rules. The enforced meta-rules for rules are located here.
Metadata
Name
The rule name for running single rules.
Desc
The rule description for error messaging.
Level
The rule log level.
Tags
A list of tags for the rule. Used for inclusion and exclusion.
Data
Select
JSON path used to select nodes from the data.
Uses jsonpath-plus syntax in a string.
Filter
Schema fragment used to filter selected nodes.
If a node matches the select
path but does not match this schema, it will be skipped.
Uses ajv syntax in an object.
Check
Schema fragment used to check selected nodes.
This is the real rule.
Uses ajv syntax in an object.