{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "dataQualityCheckChecks",
  "type": "object",
  "properties": {
    "checks": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "column": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                ]
              },
              "number": {
                "type": "number"
              },
              "expression": {
                "$ref": "dataQualityCheckExpression"
              },
              "valueList": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": ["column"]
          },
          {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": ["columns"]
          }
        ]
      }
    }
  },
  "required": ["checks"]
}
