{
  "additionalProperties": false,
  "properties": {
    "checks": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "actual": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "x-lumen-title": {
              "en": "Field checked",
              "he": "השדה שנבדק"
            }
          },
          "expected": {
            "maxLength": 4000,
            "type": "string",
            "x-lumen-title": {
              "en": "Expected",
              "he": "צפוי"
            }
          },
          "expectedColumn": {
            "maxLength": 63,
            "type": "string",
            "x-lumen-title": {
              "en": "Expected from column",
              "he": "הצפוי מעמודה"
            }
          },
          "mode": {
            "default": "equal",
            "enum": [
              "equal",
              "include"
            ],
            "type": "string",
            "x-lumen-title": {
              "en": "Changes must",
              "he": "השינויים צריכים"
            }
          },
          "name": {
            "maxLength": 63,
            "minLength": 1,
            "type": "string",
            "x-lumen-title": {
              "en": "Metric",
              "he": "מדד"
            }
          },
          "op": {
            "enum": [
              "equals",
              "contains",
              "matches",
              "json",
              "changes",
              "count",
              "exists"
            ],
            "type": "string",
            "x-lumen-title": {
              "en": "Check",
              "he": "בדיקה"
            }
          }
        },
        "required": [
          "name",
          "actual",
          "op"
        ],
        "type": "object"
      },
      "maxItems": 50,
      "minItems": 1,
      "type": "array",
      "x-lumen-title": {
        "en": "Checks",
        "he": "בדיקות"
      }
    },
    "minScore": {
      "maximum": 1,
      "minimum": 0,
      "type": "number",
      "x-lumen-title": {
        "en": "Checks that must pass",
        "he": "שיעור בדיקות נדרש"
      }
    }
  },
  "required": [
    "checks"
  ],
  "type": "object"
}
