{
  "title": "AbsenceNote",
  "type": "object",
  "properties": {
    "Notedate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Startdate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Enddate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Reason": {
      "type": "string",
      "enum": [
        "Sickness",
        "Accident",
        "Extension"
      ]
    },
    "MayLeaveHouse": {
      "type": "string",
      "enum": [
        "N",
        "Y"
      ]
    },
    "Resumedate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Resume": {
      "type": "string",
      "enum": [
        "None",
        "Full",
        "Partial"
      ]
    },
    "SalaryCode": {
      "type": "integer",
      "minimum": 800.0,
      "maximum": 899.0
    }
  },
  "required": [
    "Notedate",
    "Startdate",
    "Enddate"
  ]
}