Skip to content

Class: FileFacet

"A file facet is a grouping of characteristics unique to the storage of a file (computer resource for recording data discretely in a computer storage device) on a file system (process that manages how and where data on a storage device is stored, accessed and managed). [based on https://en.wikipedia.org/computer_file and https://www.techopedia.com/definition/5510/file-system]"

URI: observable:FileFacet

classDiagram class FileFacet Facet <|-- FileFacet FileFacet : accessedTime FileFacet ..> datetime : accessedTime FileFacet : allocationStatus FileFacet ..> string : allocationStatus FileFacet : extension FileFacet ..> string : extension FileFacet : fileName FileFacet ..> string : fileName FileFacet : filePath FileFacet ..> string : filePath FileFacet : isDirectory FileFacet ..> boolean type : isDirectory FileFacet : metadataChangeTime FileFacet ..> datetime : metadataChangeTime FileFacet : modifiedTime FileFacet ..> datetime : modifiedTime FileFacet : observableCreatedTime FileFacet ..> datetime : observableCreatedTime FileFacet : sizeInBytes FileFacet ..> integer : sizeInBytes

Inheritance

Slots

Name Cardinality and Range Description Inheritance
isDirectory 0..1
BooleanType
"Specifies whether a file entry represents a directory direct
accessedTime 0..1
xsd:dateTime
"The date and time at which the Object was accessed direct
metadataChangeTime 0..1
xsd:dateTime
"The date and time at which the file metadata was last modified direct
modifiedTime 0..1
xsd:dateTime
Specifies the time that this particular version of the object was modified direct
observableCreatedTime 0..1
xsd:dateTime
"The date and time at which the observable object being characterized was cre... direct
sizeInBytes 0..1
xsd:integer
"The size of the data in bytes direct
allocationStatus 0..1
xsd:string
"The allocation status of a file direct
extension 0..1
xsd:string
"The fileName extension: everything after the last dot direct
fileName 0..1
xsd:string
"Specifies the name associated with a file in a file system direct
filePath 0..1
xsd:string
"Specifies the filePath for the location of a file within a filesystem direct

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/lmodel/uco-observable

Mappings

Mapping Type Mapped Value
self observable:FileFacet
native observable:FileFacet
exact wikidata:Q82753

LinkML Source

Direct

name: FileFacet
description: '"A file facet is a grouping of characteristics unique to the storage
  of a file (computer resource for recording data discretely in a computer storage
  device) on a file system (process that manages how and where data on a storage device
  is stored, accessed and managed). [based on https://en.wikipedia.org/computer_file
  and https://www.techopedia.com/definition/5510/file-system]"'
from_schema: https://w3id.org/lmodel/uco-observable
exact_mappings:
- wikidata:Q82753
rank: 1000
is_a: Facet
slots:
- isDirectory
- accessedTime
- metadataChangeTime
- modifiedTime
- observableCreatedTime
- sizeInBytes
- allocationStatus
- extension
- fileName
- filePath
slot_usage:
  isDirectory:
    name: isDirectory
    multivalued: true
    domain_of:
    - FileFacet
  sizeInBytes:
    name: sizeInBytes
    description: '"When used to characterize a file the sizeInBytes property conveys
      the recorded size of a file in a file system."'
    domain_of:
    - ContentDataFacet
    - FileFacet
  fileName:
    name: fileName
    multivalued: true
    domain_of:
    - FileFacet
  filePath:
    name: filePath
    multivalued: true
    domain_of:
    - FileFacet

Induced

name: FileFacet
description: '"A file facet is a grouping of characteristics unique to the storage
  of a file (computer resource for recording data discretely in a computer storage
  device) on a file system (process that manages how and where data on a storage device
  is stored, accessed and managed). [based on https://en.wikipedia.org/computer_file
  and https://www.techopedia.com/definition/5510/file-system]"'
from_schema: https://w3id.org/lmodel/uco-observable
exact_mappings:
- wikidata:Q82753
rank: 1000
is_a: Facet
slot_usage:
  isDirectory:
    name: isDirectory
    multivalued: true
    domain_of:
    - FileFacet
  sizeInBytes:
    name: sizeInBytes
    description: '"When used to characterize a file the sizeInBytes property conveys
      the recorded size of a file in a file system."'
    domain_of:
    - ContentDataFacet
    - FileFacet
  fileName:
    name: fileName
    multivalued: true
    domain_of:
    - FileFacet
  filePath:
    name: filePath
    multivalued: true
    domain_of:
    - FileFacet
attributes:
  isDirectory:
    name: isDirectory
    description: '"Specifies whether a file entry represents a directory."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    multivalued: true
    alias: isDirectory
    owner: FileFacet
    domain_of:
    - FileFacet
    range: boolean type
  accessedTime:
    name: accessedTime
    description: '"The date and time at which the Object was accessed."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    alias: accessedTime
    owner: FileFacet
    domain_of:
    - BrowserBookmarkFacet
    - BrowserCookieFacet
    - FileFacet
    range: datetime
  metadataChangeTime:
    name: metadataChangeTime
    description: '"The date and time at which the file metadata was last modified."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    alias: metadataChangeTime
    owner: FileFacet
    domain_of:
    - FileFacet
    range: datetime
  modifiedTime:
    name: modifiedTime
    description: Specifies the time that this particular version of the object was
      modified. The object creator can use the time it deems most appropriate as the
      time this version of the object was modified. The value of the modified property
      for a given object version MUST be later than or equal to the value of the created
      property. Object creators MUST update the modified property when creating a
      new version of an object. The modified timestamp MUST be precise to the nearest
      millisecond (exactly three digits after the decimal place in seconds).
    from_schema: https://w3id.org/lmodel/uco-core
    broad_mappings:
    - sumo:TimePoint
    alias: modifiedTime
    owner: FileFacet
    domain_of:
    - AccountFacet
    - BrowserBookmarkFacet
    - CalendarEntryFacet
    - EmailMessageFacet
    - FileFacet
    - NoteFacet
    - WindowsRegistrykeyFacet
    - UcoObject
    range: datetime
  observableCreatedTime:
    name: observableCreatedTime
    description: '"The date and time at which the observable object being characterized
      was created. This time pertains to an intrinsic characteristic of the observable
      object, and would be consistent across independent characterizations or observations
      of the observable object."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    alias: observableCreatedTime
    owner: FileFacet
    domain_of:
    - AccountFacet
    - BrowserBookmarkFacet
    - BrowserCookieFacet
    - CalendarEntryFacet
    - DiskPartitionFacet
    - EventRecordFacet
    - FileFacet
    - GeoLocationEntryFacet
    - GeoLocationLogFacet
    - NoteFacet
    - ProcessFacet
    - WindowsTaskFacet
    range: datetime
  sizeInBytes:
    name: sizeInBytes
    description: '"When used to characterize a file the sizeInBytes property conveys
      the recorded size of a file in a file system."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    alias: sizeInBytes
    owner: FileFacet
    domain_of:
    - ContentDataFacet
    - FileFacet
    range: integer
  allocationStatus:
    name: allocationStatus
    description: '"The allocation status of a file."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    alias: allocationStatus
    owner: FileFacet
    domain_of:
    - FileFacet
    range: string
  extension:
    name: extension
    description: '"The fileName extension: everything after the last dot. Not present
      if the file has no dot in its name."'
    from_schema: https://w3id.org/lmodel/uco-observable
    exact_mappings:
    - wikidata:Q186157
    rank: 1000
    alias: extension
    owner: FileFacet
    domain_of:
    - FileFacet
    range: string
  fileName:
    name: fileName
    description: '"Specifies the name associated with a file in a file system."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    multivalued: true
    alias: fileName
    owner: FileFacet
    domain_of:
    - FileFacet
    range: string
  filePath:
    name: filePath
    description: '"Specifies the filePath for the location of a file within a filesystem."'
    from_schema: https://w3id.org/lmodel/uco-observable
    rank: 1000
    multivalued: true
    alias: filePath
    owner: FileFacet
    domain_of:
    - FileFacet
    range: string