{
  "id": "file_extension",
  "kind": "datatype",
  "status": "draft",
  "name": "File name extension",
  "doc": "Suffix of a file name that tells the format of the file, such as pdf, docx or csv, written with or without the leading dot. The full name of a file is the datatype filename.",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\.?[A-Za-z0-9]{1,10}$",
  "examples": [
    {
      "value": "pdf",
      "valid": true
    },
    {
      "value": ".docx",
      "valid": true
    },
    {
      "value": "CSV",
      "valid": true
    },
    {
      "value": "report.pdf",
      "description": "a file name, not an extension",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "FILENAME_EXT",
    "wikidata": "P1195"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Filename_extension"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P1195"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Расширение имени файла"
    }
  },
  "detected_by": {
    "tools": [
      "fta"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/files/file_extension.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/files/file_extension.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/files/file_extension.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/file_extension",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/file_extension.json"
  }
}