{
  "title": "Add worker",
  "description": "Add a new worker",
  "definitions": {
    "CareerBreakDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Kind": {
          "type": "string",
          "enum": [
            "Fulltime",
            "PartTimeOneFifth",
            "PartTimeOneQuarter",
            "PartTimeOneThird",
            "PartTimeHalf",
            "PartTimeThreeFifths",
			"PartTimeOneTenth"  
          ]
        },
        "Reason": {
          "type": "string",
          "enum": [
            "PalliativeCare",
            "SeriouslyIll",
            "Other",
            "ParentalLeave",
            "Crisis",
            "FamilyCare",
            "EndOfCareer",
            "SickChild",
            "FamilyCareCorona",
            "ChildCareUnder8",
            "ChildCareHandicapUnder21",
            "CertifiedTraining"
          ]
        },
        "OriginallyContractType": {
          "type": "string",
          "enum": [
            "Fulltime",
            "PartTime"
          ]
        },
        "WeekhoursWorkerBefore": {
          "type": "number"
        },
        "WeekhoursEmployerBefore": {
          "type": "number"
        }
      },
      "required": [
        "Exist"
      ]
    },
    "CertainWorkDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Description": {
          "type": "string",
          "minLength": 0,
          "maxLength": 250
        }
      },
      "required": [
        "Exist"
      ]
    },
    "clsAddress": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Street": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        },
        "HouseNumber": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "PostBox": {
          "type": "string",
          "minLength": 0,
          "maxLength": 5
        },
        "ZIPCode": {
          "type": "string",
          "minLength": 0,
          "maxLength": 12
        },
        "City": {
          "type": "string",
          "minLength": 0,
          "maxLength": 30
        },
        "Country": {
          "type": "string",
          "default": "00150",
          "minLength": 5,
          "maxLength": 5,
          "pattern": "^[0-9]*$"
        },
        "Distance": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 99999.9
        }
      },
      "required": [
        "Street",
        "HouseNumber",
        "ZIPCode",
        "City",
        "Country"
      ]
    },
    "clsCommunication": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "CommunicationType": {
          "type": "string",
          "enum": [
            "None",
            "Phone",
            "GSM",
            "Email",
            "PrivatePhone",
            "Fax",
            "InternalPhone",
            "PrivateEmail",
            "GSMEntreprise",
            "Website"
          ]
        },
        "Value": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        },
        "ContactPerson": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        }
      },
      "required": [
        "CommunicationType",
        "Value"
      ]
    },
    "ClsContract": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "EmploymentStatus": {
          "type": "string",
          "enum": [
            "Workman",
            "Employee",
            "Director"
          ]
        },
        "Contract": {
          "type": "string",
          "enum": [
            "Usually",
            "FlexiVerbal",
            "FlexiWritten",
            "FlexiLiable",
            "Sportsperson",
            "Housekeeper",
            "Servant",
            "Agriculture",
            "Homework",
            "HomeworkChildcare",
            "Physician",
            "PhysicianTraining",
            "PhysicianIndependant",
            "ApprenticeFlemisch",
            "ApprenticeFrench",
            "ApprenticeGerman",
            "ApprenticeManager",
            "ApprenticeIndustrial",
            "ApprenticeSocio",
            "ApprenticeBio",
            "ApprenticeAlternating",
            "EarlyRetirement",
            "EarlyRetirementPartTime",
            "FreeNOSS",
            "FreeNOSSManager",
            "FreeNOSSOther",
            "FreeNOSSSportingEvent",
            "FreeNOSSHelper",
            "FreeNOSSSocio",
            "FreeNOSSEducation",
            "FreeNOSSSpecialCultures",
            "FreeNOSSVolunteer",
            "Horeca",
            "HorecaExtraHourLiable",
            "HorecaExtraDayLiable",
            "HorecaExtraHourForfait",
            "HorecaExtraDayForfait",
            "HorecaFlexiVerbal",
            "HorecaFlexiWritten",
            "HorecaFlexiLiable",
            "Construction",
            "ConstructionAlternating",
            "ConstructionApprenticeYounger",
            "ConstructionApprentice",
            "ConstructionGodfather",
            "JobTrainingIBO",
            "JobTrainingSchool",
            "JobTrainingVDAB",
            "JobTrainingLiberalProfession",
            "JobTrainingEntry",
            "JobTrainingPFIWa",
            "JobTrainingABO",
            "JobTrainingPFIBx",
            "JobTrainingBIO",
            "JobTrainingAlternating",
            "JobTrainingDisability",
	    "ProfessionalIntegrationInternship",		
            "NonProfitRiziv",
            "NonProfitGesco",
            "NonProfitDAC",
            "NonProfitPrime",
            "NonProfitLowSkilled",
            "Artist",
            "ArtistWithContract",
            "ArtistWithoutContract",
            "Transport",
            "TransportNonMobile",
            "TransportGarage",
            "Aircrew",
            "AircrewPilot",
            "AircrewCabinCrew",
            "Interim",
            "InterimTemporary",
            "InterimsPermanent",
            "External",
            "ExternalApplicant",
            "ExternalSubcontractor",
            "ExternalAgentIndependant",
            "ExternalExtern",
            "ExternalIntern",
            "ExternalLegalPerson",
            "SalesRepresentative",
            "SportsTrainer"
          ]
        },
        "CatRSZ": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3,
          "pattern": "^[0-9]*$"
        },
        "ParCom": {
          "type": "string",
          "minLength": 3,
          "maxLength": 10,
          "pattern": "^[0-9. ]*$"
        },
        "DocumentC78": {
          "type": "string",
          "enum": [
            "Nihil",
            "C783",
            "C784",
            "C78Activa",
            "C78Start",
            "C78Sine",
            "C78ShortTerm",
            "WalloniaLongtermJobSeekers",
            "WalloniaYoungJobSeekers",
            "WalloniaImpulsionInsertion",
            "BrusselsLongtermJobSeekers",
            "BrusselsReducedAbility"
          ]
        },
        "CodeC98": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "CodeC131A": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "CodeC131": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Risk": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "SocialSecurityCard": {
          "type": "string",
          "minLength": 0,
          "maxLength": 15
        },
        "WorkPermit": {
          "type": "string",
          "minLength": 0,
          "maxLength": 15
        },
        "DateInService": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Seniority": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "DateProfessionalExperience": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "ScaleSalarySeniority": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "StartProbationPeriode": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "EndProbationPeriode": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "FixedTerm": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "EndFixedTerm": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "DateOutService": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "ReasonOut": {
          "type": "string"
        },
        "WorkingTime": {
          "type": "string",
          "enum": [
            "Fulltime",
            "PartTime"
          ]
        },
        "SpecWorkingTime": {
          "type": "string",
          "enum": [
            "Regular",
            "Interruptions",
            "SeasonalWorker"
          ]
        },
        "Schedule": {
          "type": "string",
          "minLength": 0,
          "maxLength": 4
        },
        "WeekhoursWorker": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "WeekhoursEmployer": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "WeekhoursWorkerAverage": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "WeekhoursEmployerAverage": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "WeekhoursWorkerEffective": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "WeekhoursEmployerEffective": {
          "type": "number",
          "minimum": 1.0,
          "maximum": 50.0
        },
        "DaysWeek": {
          "type": "number"
        },
        "DaysWeekFT": {
          "type": "number"
        },
        "ReducingWorkingKind": {
          "type": "string",
          "enum": [
            "Nihil",
            "Paid",
            "Unpaid"
          ]
        },
        "ReducingWorkingKindDays": {
          "type": "number"
        },
        "ReducingWorkingKindHours": {
          "type": "number"
        },
        "PartTimeReturnTowork": {
          "type": "string",
          "minLength": 0,
          "maxLength": 4
        },
        "ASRSchedule": {
          "type": "string",
          "minLength": 0,
          "maxLength": 2
        },
        "ProffCat": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "Function": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "FunctionDescription": {
          "type": "string",
          "minLength": 0,
          "maxLength": 50
        },
        "Office": {
          "type": "integer"
        },
        "Division": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "InvoicingDivision": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "CostCentre": {
          "type": "string",
          "minLength": 0,
          "maxLength": 15
        },
        "ScaleSalaryPrisma": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "ScaleSalaryUse": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "ScaleSalaryDefinition": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "ScaleSalaryCategory": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "ScaleSalaryScale": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        },
        "AgricultureType": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null,
            "Horticulture",
            "HorticultureChicory",
            "Agriculture",
            "HorticultureMushroom",
            "HorticultureFruit"
          ]
        },
        "CareerBreak": {
          "$ref": "#/definitions/CareerBreakDefinition"
        },
        "ProtectedEmployee": {
          "$ref": "#/definitions/ProtectedEmployeeDefinition"
        },
        "Sportsperson": {
          "$ref": "#/definitions/SportsPersonDefinition"
        },
        "CertainWork": {
          "$ref": "#/definitions/CertainWorkDefinition"
        },
        "Student": {
          "$ref": "#/definitions/StudentDefinition"
        },
        "MethodOfRemuneration": {
          "$ref": "#/definitions/MethodOfRemunerationDefinition"
        },
        "InternationalEmployment": {
          "$ref": "#/definitions/InternationalEmploymentDefinition"
        },
        "Dimona": {
          "$ref": "#/definitions/ClsDimona"
        },
        "SalaryCompositions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/clsSalaryComposition"
          }
        }
      },
      "required": [
        "Startdate"
      ]
    },
    "ClsDimona": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "DimonaPeriodId": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 999999999999.0
        },
        "StartingDate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "EndingDate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "StartingHour": {
          "type": "string",
          "minLength": 12,
          "maxLength": 12,
          "pattern": "^[0-9]*$"
        },
        "EndingHour": {
          "type": "string",
          "minLength": 12,
          "maxLength": 12,
          "pattern": "^[0-9]*$"
        },
        "FirstMonthC32ANbr": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 999999999999.0
        },
        "NextMonthC32ANbr": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 999999999999.0
        },
        "PlannedHoursNbr": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 999.0
        },
        "UsingData": {
          "$ref": "#/definitions/UsingData"
        },
        "Receipt": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 999999999999.0
        },
        "JointCommissionNbr": {
          "type": "string",
          "minLength": 3,
          "maxLength": 6,
          "pattern": "^[0-9,.]*$"
        },
        "WorkerType": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3
        },
        "LastAction": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1
        },
        "ExceedingHoursNbr": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 999.0
        },
        "QuotaExceeded": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Belated": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Status": {
          "type": "string",
          "enum": [
            "Blocked",
            "InProgress",
            "OK",
            "Error"
          ]
        },
        "Error": {
          "type": "string"
        }
      },
      "required": [
        "StartingDate"
      ]
    },
    "clsFamilyStatus": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "CivilStatus": {
          "type": "string",
          "enum": [
            "Single",
            "Married",
            "Widow",
            "Divorced",
            "Separated",
            "Cohabitation",
            "LiveTogether"
          ]
        },
        "WorkerHandicapped": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "WorkerSingleWithChildren": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "SpouseWithIncome": {
          "type": "string",
          "enum": [
            "WithIncome",
            "WithoutIncome",
            "ProffIncomeLessThan235",
            "ProffIncomeLessThan141",
            "ProffIncomeLessThan469"
          ]
        },
        "SpouseHandicapped": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "SpouseName": {
          "type": "string",
          "minLength": 0,
          "maxLength": 40
        },
        "SpouseFirstname": {
          "type": "string",
          "minLength": 0,
          "maxLength": 25
        },
        "SpouseINSS": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 9999999999.0
        },
        "SpouseSex": {
          "type": "string",
          "enum": [
            "M",
            "F"
          ]
        },
        "SpouseBirthdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "SpouseProfession": {
          "type": "string",
          "enum": [
            "Handworker",
            "Servant",
            "Employee",
            "SelfEmployed",
            "Miner",
            "Sailor",
            "CivilServant",
            "Other",
            "Nil"
          ]
        },
        "SpouseBirthplace": {
          "type": "string",
          "minLength": 0,
          "maxLength": 30
        },
        "ChildrenAtCharge": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "ChildrenHandicapped": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "OthersAtCharge": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "OthersHandicapped": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "Others65AtCharge": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "Others65Handicapped": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "ChildBenefitInstitution": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 9999.0
        },
        "ChildBenefitReference": {
          "type": "string",
          "minLength": 0,
          "maxLength": 15
        },
        "Weddingdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        }
      },
      "required": [
        "Startdate"
      ]
    },
    "clsReplacement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "WorkerNumber": {
          "type": "integer",
          "minimum": 1.0,
          "maximum": 9999999.0
        },
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Percentage": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 100.0
        }
      },
      "required": [
        "WorkerNumber",
        "Startdate"
      ]
    },
    "clsSalaryComposition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Code": {
          "type": "integer",
          "minimum": 1.0,
          "maximum": 8999.0
        },
        "Days": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 99.0
        },
        "Hours": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 9999.0
        },
        "Unity": {
          "type": "number"
        },
        "Percentage": {
          "type": "number"
        },
        "Amount": {
          "type": "number"
        },
        "Supplement": {
          "type": "number"
        }
      },
      "required": [
        "Startdate",
        "Code"
      ]
    },
    "clsTax": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "TaxCalculation": {
          "type": "string",
          "enum": [
            "Normal",
            "ConversionPT",
            "FiscVolAmount",
            "FiscVolPercent",
            "Amount",
            "Percent",
            "PercentNormal",
            "NonResident",
            "NoCity",
            "NoTax",
            "Younger",
            "NormalPlus",
            "Trainer",
            "NormalMinPerc",
            "NormalMinAmount"
          ]
        },
        "Value": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 9999999999.0
        }
      },
      "required": [
        "Startdate",
        "TaxCalculation"
      ]
    },
    "InternationalEmploymentDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Kind": {
          "type": "string",
          "enum": [
            "SecondmentFrom",
            "SalarySplit",
            "FrontierWorker",
            "SecondmentTo"
          ]
        },
        "BorderCountry": {
          "type": "string",
          "default": "00111",
          "minLength": 5,
          "maxLength": 5,
          "pattern": "^[0-9]*$"
        }
      },
      "required": [
        "Exist"
      ]
    },
    "MethodOfRemunerationDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Remuneration": {
          "type": "string",
          "enum": [
            "Commission",
            "Piece",
            "ServiceVouchers"
          ]
        },
        "Payment": {
          "type": "string",
          "enum": [
            "Fixed",
            "Variable",
            "Mixed"
          ]
        }
      },
      "required": [
        "Exist"
      ]
    },
    "ProtectedEmployeeDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Reason": {
          "type": "string",
          "minLength": 4,
          "maxLength": 4,
          "pattern": "^[0-9]*$"
        },
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        }
      },
      "required": [
        "Exist"
      ]
    },
    "SportsPersonDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "RecognizedForeignSportsperson": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "OpportunityContract": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        }
      },
      "required": [
        "Exist"
      ]
    },
    "StudentDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "SolidarityContribution": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        }
      },
      "required": [
        "Exist",
        "SolidarityContribution"
      ]
    },
    "UsingData": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "UsingJointCommissionNbr": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3,
          "pattern": "^[0-9,.]*$"
        },
        "UsingEmployerName": {
          "type": "string",
          "minLength": 0,
          "maxLength": 40
        },
        "UsingEmployerCompanyID": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 9999999999.0
        },
        "UsingStreet": {
          "type": "string",
          "minLength": 0,
          "maxLength": 100
        },
        "UsingHouseNumber": {
          "type": "string",
          "minLength": 0,
          "maxLength": 10
        },
        "UsingPostBox": {
          "type": "string",
          "minLength": 0,
          "maxLength": 5
        },
        "UsingZIPCode": {
          "type": "string",
          "minLength": 0,
          "maxLength": 12
        },
        "UsingCity": {
          "type": "string",
          "minLength": 0,
          "maxLength": 30
        },
        "UsingCountry": {
          "type": "string",
          "default": "00150",
          "minLength": 5,
          "maxLength": 5,
          "pattern": "^[0-9]*$"
        }
      }
    }
  },
  "type": "object",
  "properties": {
    "WorkerNumber": {
      "type": "integer",
      "minimum": 1.0,
      "maximum": 9999999.0
    },
    "address": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsAddress"
      }
    },
    "FamilyStatus": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsFamilyStatus"
      }
    },
    "Communication": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsCommunication"
      }
    },
    "contract": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ClsContract"
      }
    },
    "Tax": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsTax"
      }
    },
    "Replacement": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsReplacement"
      }
    },
    "Name": {
      "type": "string",
      "minLength": 0,
      "maxLength": 40
    },
    "Firstname": {
      "type": "string",
      "minLength": 0,
      "maxLength": 25
    },
    "Initial": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1
    },
    "INSS": {
      "type": "number",
      "minimum": 0.0,
      "maximum": 99999999999.0
    },
    "Sex": {
      "type": "string",
      "enum": [
        "M",
        "F"
      ]
    },
    "Birthdate": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "BirthplaceZIPCode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 12
    },
    "Birthplace": {
      "type": "string",
      "minLength": 0,
      "maxLength": 30
    },
    "BirthplaceCountry": {
      "type": "string",
      "default": "00150",
      "minLength": 5,
      "maxLength": 5,
      "pattern": "^[0-9]*$"
    },
    "Nationality": {
      "type": "string",
      "default": "00150",
      "minLength": 5,
      "maxLength": 5,
      "pattern": "^[0-9]*$"
    },
    "Language": {
      "type": "string",
      "enum": [
        "N",
        "F",
        "D",
        "E"
      ]
    },
    "PayWay": {
      "type": "string",
      "enum": [
        "Cash",
        "Transfer",
        "Electronic",
        "AssignmentList"
      ]
    },
    "PayModel": {
      "type": "string",
      "enum": [
        "Weekly",
        "TwoWeekly",
        "HalfMonthly",
        "Monthly"
      ]
    },
    "BankAccount": {
      "type": "string",
      "minLength": 0,
      "maxLength": 45
    },
    "BICCode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 15
    },
    "ID": {
      "type": "string",
      "minLength": 0,
      "maxLength": 15
    },
    "IDType": {
      "type": "string",
      "minLength": 0,
      "maxLength": 3
    },
    "IDValidUntil": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "DriverLicense": {
      "type": "string",
      "minLength": 0,
      "maxLength": 15
    },
    "DriverCategory": {
      "type": "string",
      "minLength": 0,
      "maxLength": 2
    },
    "NumberPlate": {
      "type": "string",
      "minLength": 0,
      "maxLength": 10
    },
    "FuelCard": {
      "type": "string",
      "minLength": 0,
      "maxLength": 20
    },
    "Education": {
     "type": "string",
      "minLength": 0,
      "maxLength": 20
    },
    "Profession": {
      "type": "string",
      "minLength": 0,
      "maxLength": 50
    },
    "EHealthInsurance": {
      "type": "integer",
      "minimum": 0.0,
      "maximum": 9999.0
    },
    "EHealthInsuranceReference": {
      "type": "string",
      "minLength": 0,
      "maxLength": 20
    },
    "AccidentInsurance": {
      "type": "integer",
      "minimum": 0.0,
      "maximum": 9999.0
    },
    "MedicalCenter": {
      "type": "integer",
      "minimum": 0.0,
      "maximum": 9999.0
    },
    "MedicalCenterReference": {
      "type": "string",
      "minLength": 0,
      "maxLength": 15
    },
    "ExternalID": {
      "type": "string",
      "minLength": 0,
      "maxLength": 50
    },
    "InterimFrom": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "InterimTo": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "TravelExpenses": {
      "type": "string",
      "enum": [
        "PublicTransportTrain",
        "OwnTransport",
        "PublicTransportOther",
        "ByFoot",
        "Bicycle",
        "None"
      ]
    },
    "TypeOfTravelExpenses": {
      "type": "string",
      "enum": [
        "Other",
        "PublicCommonTransport",
        "OrganisedCommonTransport"
      ]
    },
    "SalaryCodeTravelExpenses": {
      "type": "integer",
      "minimum": 1.0,
      "maximum": 9999.0
    }
  },
  "required": [
    "WorkerNumber",
    "address",
    "FamilyStatus",
    "contract",
    "Name",
    "Firstname"
  ]
}