diff --git a/ontology/observable/observable.ttl b/ontology/observable/observable.ttl index 0a318565..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 , @@ -2682,6 +2730,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 , @@ -8192,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 ;