{
  "name": "rowrules/when-in-require",
  "rules": {
    "columns": [
      {
        "key": "t"
      },
      {
        "key": "x"
      },
      {
        "key": "y"
      }
    ],
    "rowRules": [
      {
        "when": {
          "col": "t",
          "in": [
            "A",
            "B"
          ]
        },
        "require": [
          "x"
        ]
      }
    ]
  },
  "rows": [
    {
      "t": "B",
      "x": ""
    }
  ],
  "expect": {
    "ok": false,
    "errors": [
      {
        "row": 2,
        "key": "x",
        "code": "ROW_REQUIRE"
      }
    ],
    "warnings": [],
    "rows": [
      {
        "$row": 2,
        "t": "B",
        "x": null,
        "y": null
      }
    ]
  }
}
