Skip to content

Structured query

Rule kinds in the Structured query family. Each rule below links to its own page with options, an example, and any auto-fix support.

RuleDescription
json_path_equalsQuery a structured document with a JSONPath expression and assert every match deep-equals the supplied value.
yaml_path_equalsQuery a structured document with a JSONPath expression and assert every match deep-equals the supplied value.
toml_path_equalsQuery a structured document with a JSONPath expression and assert every match deep-equals the supplied value.
xml_path_equalsQuery a structured document with a JSONPath expression and assert every match deep-equals the supplied value.
json_path_matchesSame shape as the *_equals variants, but the asserted value is a regex matched against string values.
yaml_path_matchesSame shape as the *_equals variants, but the asserted value is a regex matched against string values.
toml_path_matchesSame shape as the *_equals variants, but the asserted value is a regex matched against string values.
xml_path_matchesSame shape as the *_equals variants, but the asserted value is a regex matched against string values.
json_schema_passesValidate every JSON / YAML / TOML file in paths against a JSON Schema document.