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]

Usage

Instances of observable:TriggerType can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class owl:Thing
types:threadNextItem owl:ObjectProperty The link to a next item in a thread. owl:Thing
types:threadPreviousItem owl:ObjectProperty A direct link to a previous item in a thread. owl:Thing

Property Shapes

By the associated SHACL property shapes, instances of observable:TriggerType can have the following properties:

PROPERTY

PROPERTY TYPE

DESCRIPTION

MIN COUNT

MAX COUNT

LOCAL RANGE
(type range for property on this class)

GLOBAL RANGE
(type range for property globally)

observable:TriggerType
observable:isEnabled owl:DatatypeProperty Specifies whether the trigger is enabled.
1 xsd:boolean
xsd:boolean
observable:triggerBeginTime owl:DatatypeProperty Specifies the date/time that the trigger is activated.
1 xsd:dateTime
xsd:dateTime
observable:triggerDelay owl:DatatypeProperty Specifies the delay that takes place between when the task is registered and when the task is started.
1 xsd:string
xsd:string
observable:triggerEndTime owl:DatatypeProperty Specifies the date/time that the trigger is deactivated.
1 xsd:dateTime
xsd:dateTime
observable:triggerFrequency owl:DatatypeProperty Specifies the frequency at which the trigger repeats.
1 vocabulary:TriggerFrequencyVocab
owl:Thing
observable:triggerMaxRunTime owl:DatatypeProperty The maximum amount of time that the task launched by the trigger is allowed to run. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383868(v=vs.85).aspx.
1 xsd:string
xsd:string
observable:triggerSessionChangeType owl:DatatypeProperty Specifies the type of Terminal Server session change that would trigger a task launch. See also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381298(v=vs.85).aspx.
1 xsd:string
xsd:string
observable:triggerType owl:DatatypeProperty Specifies the type of the task trigger.
1 vocabulary:TriggerTypeVocab
owl:Thing

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 .