{
  "name": "rowrules/when-eq-require-present",
  "rules": {
    "columns": [
      {
        "key": "kind",
        "enum": [
          "개인",
          "법인"
        ]
      },
      {
        "key": "crn",
        "type": "kr.crn"
      }
    ],
    "rowRules": [
      {
        "when": {
          "col": "kind",
          "eq": "법인"
        },
        "require": [
          "crn"
        ]
      }
    ]
  },
  "rows": [
    {
      "kind": "법인",
      "crn": "1101111234567"
    }
  ],
  "expect": {
    "ok": true,
    "errors": [],
    "warnings": [],
    "rows": [
      {
        "$row": 2,
        "kind": "법인",
        "crn": "110111-1234567"
      }
    ]
  }
}
