observable:TriggerType leaf node


URI

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

Label

TriggerType

Description

A trigger type is a grouping of characterizes unique to a set of criteria that, when met, starts the execution of a task within a Windows operating system. [based on https://docs.microsoft.com/en-us/windows/win32/taskschd/task-triggers]

Target Classes (1)

Shape Properties

Instances of observable:TriggerType can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:TriggerType
observable:isEnabled 1 xsd:boolean
observable:triggerBeginTime 1 xsd:dateTime
observable:triggerDelay 1 xsd:string
observable:triggerEndTime 1 xsd:dateTime
observable:triggerFrequency 1 vocabulary:TriggerFrequencyVocab
observable:triggerMaxRunTime 1 xsd:string
observable:triggerSessionChangeType 1 xsd:string
observable:triggerType 1 vocabulary:TriggerTypeVocab

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:TriggerType a owl:Class,
        sh:NodeShape ;
    rdfs:label "TriggerType"@en ;
    rdfs:comment "A trigger type is a grouping of characterizes unique to a set of criteria that, when met, starts the execution of a task within a Windows operating system. [based on https://docs.microsoft.com/en-us/windows/win32/taskschd/task-triggers]"@en ;
    rdfs:subClassOf core:UcoInherentCharacterizationThing ;
    sh:property [ sh:message "Value is not member of the vocabulary TriggerTypeVocab." ;
            sh:or ( [ sh:datatype vocabulary:TriggerTypeVocab ;
                        sh:in ( "TASK_TRIGGER_BOOT"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_EVENT"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_IDLE"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_LOGON"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_REGISTRATION"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_SESSION_STATE_CHANGE"^^vocabulary:TriggerTypeVocab "TASK_TRIGGER_TIME"^^vocabulary:TriggerTypeVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:triggerType ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:isEnabled ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:triggerBeginTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:triggerEndTime ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:triggerDelay ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:triggerMaxRunTime ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path observable:triggerSessionChangeType ],
        [ sh:datatype vocabulary:TriggerFrequencyVocab ;
            sh:message "Value is outside the default vocabulary TriggerFrequencyVocab." ;
            sh:path observable:triggerFrequency ;
            sh:severity sh:Info ],
        [ sh:datatype vocabulary:TriggerTypeVocab ;
            sh:message "Value is outside the default vocabulary TriggerTypeVocab." ;
            sh:path observable:triggerType ;
            sh:severity sh:Info ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:TriggerFrequencyVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:triggerFrequency ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:TriggerTypeVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:triggerType ],
        [ sh:message "Value is not member of the vocabulary TriggerFrequencyVocab." ;
            sh:or ( [ sh:datatype vocabulary:TriggerFrequencyVocab ;
                        sh:in ( "TASK_EVENT_TRIGGER_AT_LOGON"^^vocabulary:TriggerFrequencyVocab "TASK_EVENT_TRIGGER_AT_SYSTEMSTART"^^vocabulary:TriggerFrequencyVocab "TASK_EVENT_TRIGGER_ON_IDLE"^^vocabulary:TriggerFrequencyVocab "TASK_TIME_TRIGGER_DAILY"^^vocabulary:TriggerFrequencyVocab "TASK_TIME_TRIGGER_MONTHLYDATE"^^vocabulary:TriggerFrequencyVocab "TASK_TIME_TRIGGER_MONTHLYDOW"^^vocabulary:TriggerFrequencyVocab "TASK_TIME_TRIGGER_ONCE"^^vocabulary:TriggerFrequencyVocab "TASK_TIME_TRIGGER_WEEKLY"^^vocabulary:TriggerFrequencyVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:triggerFrequency ] ;
    sh:targetClass observable:TriggerType .