{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "startField": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "endField": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "from": {
      "type": "string",
      "maxLength": 10
    },
    "to": {
      "type": "string",
      "maxLength": 10
    },
    "timezone": {
      "type": "string",
      "maxLength": 100
    },
    "mode": {
      "type": "string",
      "enum": [
        "overlap",
        "unscheduled",
        "outside",
        "invalid",
        "all"
      ]
    }
  },
  "required": [
    "startField",
    "from",
    "to",
    "timezone"
  ]
}