{
  "title": "Modifications",
  "type": "object",
  "properties": {
    "Worker": {
      "type": "integer",
      "minimum": 1.0,
      "maximum": 9999999.0
    },
    "Action": {
      "type": "string",
      "enum": [
        "unknown",
        "add",
        "update",
        "delete",
        "get"
      ]
    },
    "Entity": {
      "type": "string",
      "enum": [
        "Worker",
        "Contract",
        "Address",
        "Communication",
        "FamilyStatus",
        "Tax",
        "SalaryComposition"
      ]
    },
    "Key": {
      "type": "string"
    },
    "PreviousKey": {
      "type": "string"
    },
    "ChangeDate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    }
  },
  "required": [
    "Worker",
    "Action",
    "Entity",
    "Key",
    "ChangeDate"
  ]
}