File path
ID filepath
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Location of a file in a file system, written as directory names joined by a separator and ending with the file name. Unix-like systems and URLs use the forward slash, Windows uses the backslash. A path is absolute when it starts from the root or a drive letter such as C:, and relative when it starts from a working directory. Datasets often keep paths to images, attachments and documents. The file name alone is the datatype filename, and its suffix is file_extension.
- Categories
- Common
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- Q817765
- Former IDs
path_file- Quality
- 75/100 · missing: regexp, negative example
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
pathfilebyknownfield, common/common.yaml, key path_file
- Supported by tools
- metacrafter
Examples
| Value | Description |
|---|---|
| /var/log/syslog | absolute path on a Unix-like system |
| images/2024/photo_001.jpg | relative path to an image |
| C:\Users\Public\Documents\report.docx | absolute path on Windows, with a drive letter |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Путь к файлу |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Path_(computing)
- wikidata: https://www.wikidata.org/wiki/Q817765
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/filepath - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/files/filepath.yamlon GitHub