https://cacontology.projectvic.org/specialized-units#NamedOperationShape
Validation shape for named operation instances.
Focus nodes of this shape (cacontology-specialized:NamedOperation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-specialized:arrestCount |
sh:message Arrest count must be between 0 and 10000. |
0 | 1 | xsd:integer |
sh:minInclusive
0
sh:maxInclusive
10000
|
uco-core:endTime |
sh:message Named operation may specify end time. |
0 | 1 | xsd:dateTime | |
uco-core:name |
sh:message Named operation must have a name (5-100 characters). |
1 | 1 | xsd:string |
sh:minLength
5
sh:maxLength
100
|
uco-core:startTime |
sh:message Named operation must specify start time. |
1 | 1 | xsd:dateTime |
@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 .