Docs
API 1.39
Status
Lint codes

E008

invalid field name or reserved `$` key

Error: invalid field name or reserved $ key.

A version with this finding cannot be published.

#Example

The contract fixture E008-reserved-field-key reports E008 at extract.$weird:

{
  "kaab": "1",
  "steps": [
    {
      "goto": "https://example.com/"
    }
  ],
  "extract": {
    "$weird": "h1"
  }
}

Was this page helpful?