{
  "id": "youtubevideoid",
  "kind": "datatype",
  "status": "draft",
  "name": "YouTube video ID",
  "doc": "Eleven-character identifier of a YouTube video, as in youtube.com/watch?v=<id>, youtu.be/<id> and youtube.com/shorts/<id>: letters, digits, hyphens and underscores. Any eleven-character token of these characters matches the regexp, so the field name matters. Channel IDs (youtube_channel_id) have 24 characters and start with UC.",
  "is_pii": false,
  "categories": [
    "media"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[-_0-9A-Za-z]{11}$",
  "examples": [
    {
      "value": "txqiwrbYGrs",
      "description": "David After Dentist",
      "valid": true
    },
    {
      "value": "YHoGXDYGkIw",
      "description": "Levitate",
      "valid": true
    },
    {
      "value": "uv_1AKKKJnk",
      "description": "Levitate",
      "valid": true
    },
    {
      "value": "-v3Zh43WOHw",
      "description": "Example of the Wikidata property, starting with a hyphen",
      "valid": true
    },
    {
      "value": "UCpDJl2EmP7Oh90Vylx0dZtA",
      "description": "YouTube channel ID",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P1651"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P1651"
    },
    {
      "type": "doc",
      "url": "https://developers.google.com/youtube/v3/docs/videos"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор видео YouTube",
      "doc": "Идентификатор видео YouTube из 11 символов (буквы, цифры, дефис и подчёркивание), как в адресе youtube.com/watch?v=<id>."
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "youtubevideoidfield",
        "type": "field",
        "match": "text",
        "file": "common/media.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/media/youtubevideoid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/media/youtubevideoid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/media/youtubevideoid.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/youtubevideoid",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/youtubevideoid.json"
  }
}