{
  "id": "household_relationship",
  "kind": "datatype",
  "status": "draft",
  "name": "Relationship to the head of a household (Head, Wife, Son)",
  "doc": "The relationship of a person to the head of the household that a census or a household survey records: Head, Wife, Son, Daughter (Dau), Mother-in-law, Nephew, and members who are no relatives such as Servant, Boarder and Lodger. Transcriptions of historical census returns and family trees on genealogy sites list it next to the name and age of each person. Head, Self and Partner are also used in other columns, so a column of them alone is matched only in a field named Relationship or Relation.",
  "is_pii": false,
  "categories": [
    "persons"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Head",
      "valid": true
    },
    {
      "value": "Wife",
      "valid": true
    },
    {
      "value": "Son",
      "valid": true
    },
    {
      "value": "Dau",
      "description": "daughter, as census takers wrote it",
      "valid": true
    },
    {
      "value": "Servant",
      "valid": true
    },
    {
      "value": "Director",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Head_of_household"
    }
  ],
  "translations": {
    "ru": {
      "name": "Отношение к главе домохозяйства (глава, жена, сын)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "householdrelationshipbyname",
        "type": "field",
        "match": "regex",
        "file": "common/persons.yaml"
      },
      {
        "rule": "householdrelationshipvalue",
        "type": "data",
        "match": "func",
        "file": "common/persons.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/persons/household_relationship.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/persons/household_relationship.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/persons/household_relationship.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/household_relationship",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/household_relationship.json"
  }
}