https://cacontology.projectvic.org/specialized-units#NamedOperationShape
Validation shape for named operation instances.
Instances of cacontology-specialized:NamedOperation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-specialized:NamedOperationShape a sh:NodeShape ;
rdfs:label "Named Operation Shape"@en ;
rdfs:comment "Validation shape for named operation instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 100 ;
sh:message "Named operation must have a name (5-100 characters)."@en ;
sh:minCount 1 ;
sh:minLength 5 ;
sh:path uco-core:name ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Named operation must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Named operation may specify end time."@en ;
sh:minCount 0 ;
sh:path uco-core:endTime ],
[ sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:maxInclusive 10000 ;
sh:message "Arrest count must be between 0 and 10000."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-specialized:arrestCount ] ;
sh:targetClass cacontology-specialized:NamedOperation .