From 0a6cbf5dc44f6c91e389fbca0d5aca9ae5809066 Mon Sep 17 00:00:00 2001 From: kchason Date: Thu, 16 Dec 2021 11:50:26 -0500 Subject: [PATCH 1/2] Add FileUploadFacet --- ontology/observable/observable.ttl | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/ontology/observable/observable.ttl b/ontology/observable/observable.ttl index 0a318565..eaf1deda 100644 --- a/ontology/observable/observable.ttl +++ b/ontology/observable/observable.ttl @@ -2682,6 +2682,43 @@ observable:FileSystemObject sh:targetClass observable:FileSystemObject ; . +observable:FileUploadFacet + a + owl:Class , + sh:NodeShape + ; + rdfs:subClassOf core:Facet ; + rdfs:label "FileUploadFacet"@en ; + rdfs:comment "A file upload facet is a grouping of characteristics unique to an upload of a file."@en ; + sh:property + [ + sh:class observable:ObservableObject ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:BlankNodeOrIRI ; + sh:path observable:URL ; + ] , + [ + sh:class observable:ObservableObject ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:BlankNodeOrIRI ; + sh:path observable:application ; + ] , + [ + sh:datatype xsd:dateTime ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:Literal ; + sh:path observable:endTime ; + ] , + [ + sh:datatype xsd:dateTime ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:Literal ; + sh:path observable:startTime ; + ] + ; + sh:targetClass observable:FileUploadFacet ; + . + observable:ForumPost a owl:Class , From 6c3cf3a633440700cc78ca0c4118e35c932e6121 Mon Sep 17 00:00:00 2001 From: kchason Date: Mon, 20 Dec 2021 11:29:41 -0500 Subject: [PATCH 2/2] Add download facet --- ontology/observable/observable.ttl | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/ontology/observable/observable.ttl b/ontology/observable/observable.ttl index eaf1deda..781a88a3 100644 --- a/ontology/observable/observable.ttl +++ b/ontology/observable/observable.ttl @@ -2541,6 +2541,54 @@ observable:File sh:targetClass observable:File ; . +observable:FileDownloadFacet + a + owl:Class , + sh:NodeShape + ; + rdfs:subClassOf core:Facet ; + rdfs:label "FileDownloadFacet"@en ; + rdfs:comment "A file download facet is a grouping of characteristics unique to an download of a file."@en ; + sh:property + [ + sh:class observable:ObservableObject ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:BlankNodeOrIRI ; + sh:path observable:URL ; + ] , + [ + sh:class observable:ObservableObject ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:BlankNodeOrIRI ; + sh:path observable:application ; + ] , + [ + sh:datatype xsd:ActionStatusTypeVocab ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:Literal ; + sh:path observable:actionStatus ; + ] , + [ + sh:datatype xsd:dateTime ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:Literal ; + sh:path observable:endTime ; + ] , + [ + sh:datatype xsd:dateTime ; + sh:maxCount "1"^^xsd:integer ; + sh:nodeKind sh:Literal ; + sh:path observable:startTime ; + ] , + [ + sh:datatype xsd:string ; + sh:nodeKind sh:Literal ; + sh:path observable:filePath ; + ] + ; + sh:targetClass observable:FileDownloadFacet ; + . + observable:FileFacet a owl:Class , @@ -8229,6 +8277,13 @@ observable:actionList rdfs:range observable:TaskActionType ; . +observable:actionStatus + a owl:DatatypeProperty ; + rdfs:label "actionStatus"@en ; + rdfs:comment "Action status specifies the result of an action (Success, Error, etc)."@en ; + rdfs:range vocabulary:ActionStatusTypeVocab ; + . + observable:actionType a owl:DatatypeProperty ; rdfs:label "actionType"@en ;