{
  "id": "bats_throws",
  "kind": "datatype",
  "status": "draft",
  "name": "Bats and throws of a baseball player (R/R, L/R)",
  "doc": "The hand a baseball or softball player bats with and the hand the player throws with, written as two letters with a slash or a hyphen: R/R bats and throws right-handed, L/R bats left and throws right, S/R is a switch hitter who throws right (some sites write B for both instead of S). Rosters and player pages of college and professional teams have it in a column named B/T or Bats/Throws.",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[LRSB] ?[/-] ?[LR]$",
  "examples": [
    {
      "value": "R/R",
      "description": "bats right, throws right",
      "valid": true
    },
    {
      "value": "L/R",
      "description": "bats left, throws right",
      "valid": true
    },
    {
      "value": "S/R",
      "description": "switch hitter, throws right",
      "valid": true
    },
    {
      "value": "R-L",
      "valid": true
    },
    {
      "value": "L/XL",
      "description": "clothing sizes",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Switch_hitter"
    }
  ],
  "translations": {
    "ru": {
      "name": "Рука удара и броска бейсболиста (R/R, L/R)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "batsthrowsbyname",
        "type": "field",
        "match": "regex",
        "file": "common/sports.yaml"
      },
      {
        "rule": "batsthrowsvalue",
        "type": "data",
        "match": "func",
        "file": "common/sports.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/bats_throws.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/bats_throws.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/bats_throws.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/bats_throws",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/bats_throws.json"
  }
}