{
  "id": "keyboard_shortcut",
  "kind": "datatype",
  "status": "draft",
  "name": "Keyboard shortcut (Ctrl+C, Alt+F4)",
  "doc": "A key or a combination of keys that runs a command of a program, as help pages, cheat sheets and manuals list them: modifier keys joined to a key by a plus sign or a hyphen (Ctrl+C, Alt+F4, Shift+Tab, Ctrl+Shift+N, Cmd-Option-I), the symbols of macOS (⌘S, ⌘⇧Z), a sequence of combinations (Ctrl+K, Ctrl+C) and the C- and M- prefixes of Emacs (C-x C-f, M-x). Single keys (F1, Esc, Home) and the Emacs forms are matched only in a field named Shortcut, Hotkey or Keystroke.",
  "is_pii": false,
  "categories": [
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Ctrl+C",
      "valid": true
    },
    {
      "value": "Alt+F4",
      "valid": true
    },
    {
      "value": "Ctrl + Shift + N",
      "valid": true
    },
    {
      "value": "⌘⇧Z",
      "description": "macOS",
      "valid": true
    },
    {
      "value": "C-x C-f",
      "description": "Emacs",
      "valid": true
    },
    {
      "value": "Copy",
      "description": "the name of the command",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Keyboard_shortcut"
    }
  ],
  "translations": {
    "ru": {
      "name": "Сочетание клавиш (Ctrl+C, Alt+F4)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "keyboardshortcutbyname",
        "type": "field",
        "match": "regex",
        "file": "common/software.yaml"
      },
      {
        "rule": "keyboardshortcutvalue",
        "type": "data",
        "match": "func",
        "file": "common/software.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/keyboard_shortcut.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/keyboard_shortcut.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/keyboard_shortcut.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/keyboard_shortcut",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/keyboard_shortcut.json"
  }
}