https://ontology.solveit-df.org/solveit/observable/shapes/ApplicationFilesShape
Validates that ApplicationFiles has at most one sourceApplication and zero or more files.
Instances of solveit-observable:ApplicationFiles can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| solveit-observable:ApplicationFiles | ||||
| solveit-observable:hasFile |
uco-observable:File
|
|||
| solveit-observable:sourceApplication | 1 |
uco-observable:Application
|
||
@prefix : <https://ontology.solveit-df.org/solveit/observable/shapes/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix solveit-observable: <https://ontology.solveit-df.org/solveit/observable/> .
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:ApplicationFilesShape a sh:NodeShape ;
rdfs:label "Application Files Shape"@en ;
rdfs:comment "Validates that ApplicationFiles has at most one sourceApplication and zero or more files."@en ;
sh:property [ sh:class uco-observable:Application ;
sh:maxCount 1 ;
sh:message "sourceApplication must reference at most one uco-observable:Application"@en ;
sh:path solveit-observable:sourceApplication ],
[ sh:class uco-observable:File ;
sh:message "hasFile must reference uco-observable:File instances"@en ;
sh:path solveit-observable:hasFile ] ;
sh:targetClass solveit-observable:ApplicationFiles .