semgrep-core rule validation failed (RuleParseError)
[31m[22m[24msemgrep error[0m: Invalid rule schema
  --> rules/syntax/bad3.yaml:2
[94m[22m[24m2 | [0m  - id: test-pattern
[94m[22m[24m3 | [0m    pattern:
[94m[22m[24m4 | [0m      - pattern: "$D = {}"
[94m[22m[24m5 | [0m    message: "test"
[94m[22m[24m6 | [0m    languages: [python]
[94m[22m[24m7 | [0m    severity: WARNING

[31m[22m[24m[{'pattern': '$D = {}'}] is not of type 'string'[0m

[31m[41m[22m[24m[[0m[38;5;231m[41m[1m[24mERROR[0m[31m[41m[22m[24m][0m invalid configuration file found (1 configs were invalid)
