{
  "id": "height_feet_inches",
  "kind": "pattern",
  "status": "draft",
  "name": "Height of a person in feet and inches (6-2, 5'11\")",
  "doc": "Height of a person written in feet and inches, as rosters of US teams and profiles give it: with a hyphen between the feet and the inches (6-2 is six feet two inches, 1.88 m), with the foot and inch marks (5'11\"), or in words (6 ft 2 in). The hyphen form is also a score, a record or a range of metres (the height classes 3-6 and 6-10 of a tree register), so it is matched only in a field named Ht., Ht or Hgt; a field named Height takes the marked forms only.",
  "semantic_type": "height",
  "is_pii": false,
  "categories": [
    "values",
    "common"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^[3-8] ?(?:-|'|ft\\.?) ?(?:(?:\\d|1[01])(?:\"|''| ?in\\.?)?)?$",
  "examples": [
    {
      "value": "6-2",
      "description": "six feet two inches",
      "valid": true
    },
    {
      "value": "5-11",
      "valid": true
    },
    {
      "value": "5'11\"",
      "valid": true
    },
    {
      "value": "6 ft 2 in",
      "valid": true
    },
    {
      "value": "2-1",
      "description": "a score",
      "valid": false
    },
    {
      "value": "6-12",
      "description": "no foot has twelve inches",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Foot_(unit)"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Human_height"
    }
  ],
  "translations": {
    "ru": {
      "name": "Рост человека в футах и дюймах (6-2, 5'11\")"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "heightfeetinchesbyname",
        "type": "field",
        "match": "regex",
        "file": "common/common.yaml"
      },
      {
        "rule": "heightfeetinchesmarkedbyname",
        "type": "field",
        "match": "regex",
        "file": "common/common.yaml"
      },
      {
        "rule": "heightfeetinchesvalue",
        "type": "data",
        "match": "func",
        "file": "common/common.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/values/height_feet_inches.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/values/height_feet_inches.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/values/height_feet_inches.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/height_feet_inches",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/height_feet_inches.json"
  }
}