{
  "title": "Contract",
  "description": "Contract of a 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"
      ]
    },
    "ClsDimona": {
      "type": "object",
      "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]*$"
        },
        "StartingHour2": {
          "type": "string",
          "minLength": 12,
          "maxLength": 12,
          "pattern": "^[0-9]*$"
        },
        "EndingHour2": {
          "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"
      ]
    },
    "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": 9999.0
        },
        "Hours": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 9999.0
        },
        "Unity": {
          "type": "number"
        },
        "Percentage": {
          "type": "number"
        },
        "Amount": {
          "type": "number"
        },
        "Supplement": {
          "type": "number"
        },
        "TypeOfIndexing": {
          "type": "string",
          "enum": [
            "NoIndexation",
            "Indexation",
            "FrozenSalary",
            "SalaryAboveScale"
          ]
        }
      },
      "required": [
        "Startdate",
        "Code"
      ]
    },
    "IBO_PFIdefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Startdate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Enddate": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Amount": {
          "type": "number"
        },
        "Tax": {
          "type": "number"
        }
      },
      "required": [
        "Exist"
      ]
    },
    "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"
      ]
    },
    "ProgressiveWorkResumptionDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Risk": {
          "type": "string",
          "enum": [
            "IncapacityForWork",
            "MaternityProtection"
          ]
        },
        "Hours": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 40.0
        },
        "Minutes": {
          "type": "integer",
          "minimum": 0.0,
          "maximum": 60.0
        },
        "Days": {
          "type": "number",
          "minimum": 0.0,
          "maximum": 5.0
        },
        "StartdateIllness": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "Comment": {
          "type": "string",
          "minLength": 0,
          "maxLength": 200
        }
      },
      "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"
      ]
    },
    "RetiredDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "Exist": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "Kind": {
          "type": "string",
          "enum": [
            "PensionPrivateSector",
            "SurvivalPension",
            "PensionSelfEmployed",
            "pensionPublicSector"
          ]
        },
        "DateRetired": {
          "type": "string",
          "minLength": 8,
          "maxLength": 8,
          "pattern": "^[0-9]*$"
        },
        "ApplyCollecting2ndPensionPillar": {
          "type": "string",
          "enum": [
            "N",
            "Y"
          ]
        },
        "RetiredType": {
          "type": "string",
          "enum": [
            "LegalPension",
            "EarlyPension"
          ]
        }
      },
      "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": {
    "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",
        "FuneralServices",
        "FuneralServicesCasualWorker",
        "Interim",
        "InterimTemporary",
        "InterimsPermanent",
        "External",
        "ExternalApplicant",
        "ExternalSubcontractor",
        "ExternalAgentIndependant",
        "ExternalExtern",
        "ExternalIntern",
        "ExternalLegalPerson",
        "CompulsorySchoolageMinors",
        "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"
      ]
    },
    "CodeC131ARequestFT": {
      "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]*$"
    },
    "SectorSeniority": {
      "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]*$"
    },
    "StartProbationPeriod": {
      "type": "string",
      "minLength": 8,
      "maxLength": 8,
      "pattern": "^[0-9]*$"
    },
    "EndProbationPeriod": {
      "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
    },
    "SocialBalanceJoblevel": {
      "type": "string",
      "enum": [
        "OperationalStaff",
        "ExecutiveStaff",
        "ManagementStaff",
        "ByFunction"
      ]
    },
    "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"
      ]
    },
    "NoDimona": {
      "type": "string",
      "enum": [
        "N",
        "Y"
      ]
    },
    "NoDMFA": {
      "type": "string",
      "enum": [
        "N",
        "Y"
      ]
    },
    "NoASRDRS": {
      "type": "string",
      "enum": [
        "N",
        "Y"
      ]
    },
    "Security": {
      "type": "string",
      "minLength": 0,
      "maxLength": 10
    },
    "SubstituteContract": {
      "type": "string",
      "enum": [
        "N",
        "Y"
      ]
    },
    "CareerBreak": {
      "$ref": "#/definitions/CareerBreakDefinition"
    },
    "Retired": {
      "$ref": "#/definitions/RetiredDefinition"
    },
    "ProtectedEmployee": {
      "$ref": "#/definitions/ProtectedEmployeeDefinition"
    },
    "IBO_PFI": {
      "$ref": "#/definitions/IBO_PFIdefinition"
    },
    "Sportsperson": {
      "$ref": "#/definitions/SportsPersonDefinition"
    },
    "CertainWork": {
      "$ref": "#/definitions/CertainWorkDefinition"
    },
    "Student": {
      "$ref": "#/definitions/StudentDefinition"
    },
    "ProgressiveWorkResumption": {
      "$ref": "#/definitions/ProgressiveWorkResumptionDefinition"
    },
    "MethodOfRemuneration": {
      "$ref": "#/definitions/MethodOfRemunerationDefinition"
    },
    "InternationalEmployment": {
      "$ref": "#/definitions/InternationalEmploymentDefinition"
    },
    "Dimona": {
      "$ref": "#/definitions/ClsDimona"
    },
    "SalaryCompositions": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/clsSalaryComposition"
      }
    }
  },
  "required": [
    "Startdate"
  ]
}