Ontology Version: 3.1.0

cacontology-specialized:K9SearchOperationShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#K9SearchOperationShape

Label

K9 Search Operation Shape

Description

Validation shape for K9 search operation instances.

Targets (1)

Property Constraints (3)

Focus nodes of this shape (cacontology-specialized:K9SearchOperation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-specialized:searchWarrantsExecuted
sh:message Search warrants executed must be between 0 and 100.
0 1 xsd:integer
sh:minInclusive 0
sh:maxInclusive 100
uco-core:endTime
sh:message K9 search operation may specify end time.
0 1 xsd:dateTime
uco-core:startTime
sh:message K9 search operation must specify start time.
1 1 xsd:dateTime

Implementation

@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:K9SearchOperationShape a sh:NodeShape ;
    rdfs:label "K9 Search Operation Shape"@en ;
    rdfs:comment "Validation shape for K9 search operation instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "K9 search operation must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "K9 search operation may specify end time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:endTime ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Search warrants executed must be between 0 and 100."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-specialized:searchWarrantsExecuted ] ;
    sh:targetClass cacontology-specialized:K9SearchOperation .