observable:WindowsVolumeFacet leaf node


URI

https://ontology.unifiedcyberontology.org/uco/observable/WindowsVolumeFacet

Label

WindowsVolumeFacet

Description

A Windows volume facet is a grouping of characteristics unique to a single accessible storage area (volume) with a single Windows file system. [based on https://en.wikipedia.org/wiki/Volume_(computing)]

Target Classes (1)

Shape Properties

Instances of observable:WindowsVolumeFacet can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:WindowsVolumeFacet
observable:driveLetter 1 xsd:string
observable:driveType 1 vocabulary:WindowsDriveTypeVocab
observable:windowsVolumeAttributes 4 vocabulary:WindowsVolumeAttributeVocab

Implementation

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

observable:WindowsVolumeFacet a owl:Class,
        sh:NodeShape ;
    rdfs:label "WindowsVolumeFacet"@en ;
    rdfs:comment "A Windows volume facet is a grouping of characteristics unique to a single accessible storage area (volume) with a single Windows file system. [based on https://en.wikipedia.org/wiki/Volume_(computing)]"@en ;
    rdfs:subClassOf core:Facet ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:driveLetter ],
        [ sh:datatype vocabulary:WindowsDriveTypeVocab ;
            sh:message "Value is outside the default vocabulary WindowsDriveTypeVocab." ;
            sh:path observable:driveType ;
            sh:severity sh:Info ],
        [ sh:datatype vocabulary:WindowsVolumeAttributeVocab ;
            sh:maxCount 4 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:windowsVolumeAttributes ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:WindowsDriveTypeVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:driveType ],
        [ sh:message "Value is not member of the vocabulary WindowsDriveTypeVocab." ;
            sh:or ( [ sh:datatype vocabulary:WindowsDriveTypeVocab ;
                        sh:in ( "DRIVE_CDROM"^^vocabulary:WindowsDriveTypeVocab "DRIVE_FIXED"^^vocabulary:WindowsDriveTypeVocab "DRIVE_NO_ROOT_DIR"^^vocabulary:WindowsDriveTypeVocab "DRIVE_RAMDISK"^^vocabulary:WindowsDriveTypeVocab "DRIVE_REMOTE"^^vocabulary:WindowsDriveTypeVocab "DRIVE_REMOVABLE"^^vocabulary:WindowsDriveTypeVocab "DRIVE_UNKNOWN"^^vocabulary:WindowsDriveTypeVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:driveType ] ;
    sh:targetClass observable:WindowsVolumeFacet .