observable:FileFacet leaf node


URI

https://unifiedcyberontology.org/ontology/uco/observable#FileFacet

Label

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] - When used to characterize a file the sizeInBytes property conveys the recorded size of a file in a file system.

Superclasses (1)

Target Classes (1)

Shape Properties

Instances of observable:FileFacet can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:FileFacet
observable:accessedTime 0 1 xsd:dateTime
observable:allocationStatus 0 1 xsd:string
observable:extension 0 1 xsd:string
observable:fileName 0 * xsd:string
observable:filePath 0 * xsd:string
observable:fileSystemType 0 1 xsd:string
observable:isDirectory 0 * xsd:boolean
observable:metadataChangeTime 0 1 xsd:dateTime
observable:modifiedTime 0 1 xsd:dateTime
observable:observableCreatedTime 0 1 xsd:dateTime
observable:sizeInBytes 0 1 xsd:integer

Implementation

@prefix core: <https://unifiedcyberontology.org/ontology/uco/core#> .
@prefix observable: <https://unifiedcyberontology.org/ontology/uco/observable#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:FileFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "FileFacet"@en ;
    rdfs:comment "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]"@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ rdfs:comment "When used to characterize a file the sizeInBytes property conveys the recorded size of a file in a file system."@en ;
            sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:sizeInBytes ],
        [ sh:datatype xsd:boolean ;
            sh:nodeKind sh:Literal ;
            sh:path observable:isDirectory ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:accessedTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:metadataChangeTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:modifiedTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:observableCreatedTime ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:allocationStatus ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:extension ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:fileSystemType ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path observable:fileName ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path observable:filePath ] ;
    sh:targetClass observable:FileFacet .