{
  "name": "rowrules/when-eq-boolean",
  "rules": {
    "columns": [
      {
        "key": "f",
        "type": "boolean"
      },
      {
        "key": "x"
      }
    ],
    "rowRules": [
      {
        "when": {
          "col": "f",
          "eq": true
        },
        "require": [
          "x"
        ]
      }
    ]
  },
  "rows": [
    {
      "f": "Y"
    }
  ],
  "expect": {
    "ok": false,
    "errors": [
      {
        "row": 2,
        "key": "x",
        "code": "ROW_REQUIRE"
      }
    ],
    "warnings": [],
    "rows": [
      {
        "$row": 2,
        "f": true,
        "x": null
      }
    ]
  }
}
