Skip to content

Class: File

File which is part of a dataset.

URI: schema:DigitalDocument

classDiagram class File File : checksum[md5] File : path[POSIX] File : size[bytes] File : url

Slots

Name Cardinality and Range Description Inheritance
path[POSIX] 1..1
String
Relative path (within the dataset) in POSIX/UNIX notation (i.e. forward slashes). This enables display of a file tree on the dataset catalog page. Tip: do not include a top-level directory that matches the dataset name, because the files are already understood as being in the dataset. direct
size[bytes] 0..1
Integer
File size in bytes. Enables (total) size information in the catalog record and the file tree on the dataset catalog page. Required for auto-generation of a DataLad dataset from a catalog record. direct
checksum[md5] 0..1
String
MD5 checksum ("fingerprint") of the file. Enables content/download verification. Required for auto-generation of a DataLad dataset from a catalog record. direct
url 0..1
String
File content URL, i.e. URL allowing (possibly access-protected) download of that particular file (not leading to e.g. a landing page). Enabled display of download button on the dataset catalog page. Required for auto-generation of a DataLad dataset from a catalog record. direct

Usages

used by used in type used
Dataset hasPart range File

Identifier and Mapping Information

Schema Source

  • from schema: https://example.org/sfb1451/sfb1451-schema

Mappings

Mapping Type Mapped Value
self schema:DigitalDocument
native sfb1451_schema:File

LinkML Source

Direct

name: File
description: File which is part of a dataset.
from_schema: https://example.org/sfb1451/sfb1451-schema
attributes:
  path[POSIX]:
    name: path[POSIX]
    description: 'Relative path (within the dataset) in POSIX/UNIX notation (i.e.
      forward slashes). This enables display of a file tree on the dataset catalog
      page. Tip: do not include a top-level directory that matches the dataset name,
      because the files are already understood as being in the dataset.'
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: schema:name
    required: true
  size[bytes]:
    name: size[bytes]
    description: File size in bytes. Enables (total) size information in the catalog
      record and the file tree on the dataset catalog page. Required for auto-generation
      of a DataLad dataset from a catalog record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: nfo:fileSize
    range: integer
    required: false
  checksum[md5]:
    name: checksum[md5]
    description: MD5 checksum ("fingerprint") of the file. Enables content/download
      verification. Required for auto-generation of a DataLad dataset from a catalog
      record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: obo:NCIT_C171276
    required: false
  url:
    name: url
    description: File content URL, i.e. URL allowing (possibly access-protected) download
      of that particular file (not leading to e.g. a landing page). Enabled display
      of download button on the dataset catalog page. Required for auto-generation
      of a DataLad dataset from a catalog record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    slot_uri: schema:contentUrl
    required: false
class_uri: schema:DigitalDocument

Induced

name: File
description: File which is part of a dataset.
from_schema: https://example.org/sfb1451/sfb1451-schema
attributes:
  path[POSIX]:
    name: path[POSIX]
    description: 'Relative path (within the dataset) in POSIX/UNIX notation (i.e.
      forward slashes). This enables display of a file tree on the dataset catalog
      page. Tip: do not include a top-level directory that matches the dataset name,
      because the files are already understood as being in the dataset.'
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: schema:name
    alias: path[POSIX]
    owner: File
    domain_of:
    - File
    range: string
    required: true
  size[bytes]:
    name: size[bytes]
    description: File size in bytes. Enables (total) size information in the catalog
      record and the file tree on the dataset catalog page. Required for auto-generation
      of a DataLad dataset from a catalog record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: nfo:fileSize
    alias: size[bytes]
    owner: File
    domain_of:
    - File
    range: integer
    required: false
  checksum[md5]:
    name: checksum[md5]
    description: MD5 checksum ("fingerprint") of the file. Enables content/download
      verification. Required for auto-generation of a DataLad dataset from a catalog
      record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    rank: 1000
    slot_uri: obo:NCIT_C171276
    alias: checksum[md5]
    owner: File
    domain_of:
    - File
    range: string
    required: false
  url:
    name: url
    description: File content URL, i.e. URL allowing (possibly access-protected) download
      of that particular file (not leading to e.g. a landing page). Enabled display
      of download button on the dataset catalog page. Required for auto-generation
      of a DataLad dataset from a catalog record.
    from_schema: https://example.org/sfb1451/sfb1451-schema
    slot_uri: schema:contentUrl
    alias: url
    owner: File
    domain_of:
    - Publication
    - File
    - Usage
    range: string
    required: false
class_uri: schema:DigitalDocument