{
  "title": "Familystatus",
  "description": "Familystatus of a worker",
  "type": "object",
  "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": 99999999999.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
    },
    "WageGarnishmentChildrenAtCharge": {
      "type": "integer",
      "minimum": 0.0,
      "maximum": 99.0
    },
    "Others65Handicapped": {
      "type": "integer",
      "minimum": 0.0,
      "maximum": 99.0
    },
    "Others65NeedOfCare": {
      "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"
  ]
}