{
  "id": "home_away",
  "kind": "datatype",
  "status": "draft",
  "name": "Venue of a game (home, away, neutral)",
  "doc": "Where a team played or will play a game in relation to its own ground: at home, away at the opponent's ground, or at a neutral site. Schedules, game logs and splits of college and professional teams give it in a column of its own (H/A, Home/Away, Site, Location) as a word (Home, Away, Neutral), a letter (H, A, N) or a sign before the opponent (@ or at for away games, vs. for home games). The letters alone are also grades and answers, so they are matched only in a field named after the venue.",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Home",
      "valid": true
    },
    {
      "value": "Away",
      "valid": true
    },
    {
      "value": "Neutral",
      "valid": true
    },
    {
      "value": "H",
      "description": "home game",
      "valid": true
    },
    {
      "value": "@",
      "description": "away game, written before the opponent",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Home_advantage"
    }
  ],
  "translations": {
    "ru": {
      "name": "Место проведения игры (дома, в гостях, на нейтральном поле)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "homeawaybyname",
        "type": "field",
        "match": "regex",
        "file": "common/sports.yaml"
      },
      {
        "rule": "homeawayvalue",
        "type": "data",
        "match": "func",
        "file": "common/sports.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/home_away.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/home_away.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/home_away.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/home_away",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/home_away.json"
  }
}