{
  "id": "variable_name",
  "kind": "datatype",
  "status": "draft",
  "name": "Variable name (name of a data field)",
  "doc": "Name of a variable or field of a dataset as a codebook, a data dictionary, a variable list or a table in the long format lists it: a short token without spaces such as f1, SEX_2016, Q28_1 or v2x_polyarchy, in the spelling of the data file. The variable info exports of Dataverse (variable, value, label) and DDI codebooks give one row per variable or per value label. Not the label that describes the variable (description).",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Za-z_@#$][A-Za-z0-9_.@#$]{0,127}$",
  "examples": [
    {
      "value": "SEX_2016",
      "description": "Sex of the respondent (Social Survey Austria 2016)",
      "valid": true
    },
    {
      "value": "f11_10",
      "description": "Item 10 of question 11",
      "valid": true
    },
    {
      "value": "v2x_polyarchy",
      "description": "Electoral democracy index of V-Dem",
      "valid": true
    },
    {
      "value": "Q28_1",
      "description": "First item of question 28",
      "valid": true
    },
    {
      "value": "Wie zufrieden sind Sie?",
      "description": "A variable label, not a name",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Data_dictionary"
    }
  ],
  "translations": {
    "de": {
      "name": "Variablenname"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "variablenamebyname",
        "type": "field",
        "match": "regex",
        "file": "common/survey.yaml"
      },
      {
        "rule": "variablenamevalue",
        "type": "data",
        "match": "regex",
        "file": "common/survey.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/variable_name.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/variable_name.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/variable_name.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/variable_name",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/variable_name.json"
  }
}