{
  "title": "Divergent payment",
  "type": "object",
  "properties": {
    "Startdate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "Enddate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "PayoutType": {
      "type": "string",
      "enum": [
        "Salarycode",
        "Amount",
        "Percentage"
      ]
    },
    "SalaryCode": {
      "type": "integer",
      "minimum": 1.0,
      "maximum": 8999.0
    },
    "Amount": {
      "type": "number",
      "minimum": 0.0,
      "maximum": 10000.0
    },
    "PayWay": {
      "type": "string",
      "enum": [
        "Cash",
        "Transfer",
        "Electronic",
        "AssignmentList"
      ]
    },
    "Beneficiary": {
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "Street": {
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "HouseNumber": {
      "type": "string",
      "minLength": 0,
      "maxLength": 5
    },
    "PostBox": {
      "type": "string",
      "minLength": 0,
      "maxLength": 5
    },
    "ZIPCode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 12
    },
    "City": {
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "Reference": {
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "BankAccount": {
      "type": "string",
      "minLength": 0,
      "maxLength": 45
    },
    "BICCode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 15
    }
  },
  "required": [
    "Startdate",
    "Enddate",
    "PayoutType",
    "Amount",
    "PayWay",
    "BankAccount",
    "BICCode"
  ]
}