{
  "title": "Notification of temporary unemployment",
  "type": "object",
  "properties": {
    "StartDate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "EndDate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "TypeOfUnEmployment": {
      "type": "string",
      "enum": [
        "EconomicReason",
        "TechnicalDisorder",
        "Supremacy",
        "Employee"
      ]
    },
    "Regime": {
      "type": "string",
      "enum": [
        "FullTime",
        "AtLeast3DaysAWeek",
        "LessThan3DaysAWeek"
      ]
    },
    "Reason": {
      "type": "string",
      "minLength": 0,
      "maxLength": 80
    },
    "StartdateTechnicalDisorder": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Email": {
      "type": "string",
      "minLength": 0,
      "maxLength": 255
    },
    "ListOfWorkers": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "SerialNumber": {
      "type": "integer"
    },
    "Status": {
      "type": "string",
      "enum": [
        "InProgress",
        "OK",
        "Error"
      ]
    },
    "TicketNumber": {
      "type": "string",
      "minLength": 0,
      "maxLength": 20
    },
    "Error": {
      "type": "string",
      "minLength": 0,
      "maxLength": 255
    }
  },
  "required": [
    "StartDate",
    "EndDate",
    "TypeOfUnEmployment",
        "Reason",
        "Email",
    "ListOfWorkers"
  ]
}