Ontology Version: 3.1.0

cacontology-tactical:SwatTeamShape leaf node


URI

https://cacontology.projectvic.org/tactical#SwatTeamShape

Label

SWAT Team Shape

Description

Validation shape for SWAT team instances.

Targets (1)

  • cacontology-tactical:SwatTeam sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-tactical:SwatTeam) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-tactical:equipmentLevel
sh:message SWAT team must specify equipment level from the allowed list.
1 1 xsd:string
sh:in basic, standard, enhanced, advanced, specialized, military_grade
cacontology-tactical:swatClassification
sh:message SWAT team must specify SWAT classification from the allowed list.
1 1 xsd:string
sh:in full_time, part_time, regional, multi_jurisdictional, federal, specialized
cacontology-tactical:trainingHours
sh:message SWAT team training hours must be between 40 and 2000 hours.
1 1 xsd:decimal
sh:minInclusive 40.0
sh:maxInclusive 2000.0

Implementation

@prefix cacontology-tactical: <https://cacontology.projectvic.org/tactical#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-tactical:SwatTeamShape a sh:NodeShape ;
    rdfs:label "SWAT Team Shape"@en ;
    rdfs:comment "Validation shape for SWAT team instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "full_time" "part_time" "regional" "multi_jurisdictional" "federal" "specialized" ) ;
            sh:maxCount 1 ;
            sh:message "SWAT team must specify SWAT classification from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:swatClassification ],
        [ sh:datatype xsd:string ;
            sh:in ( "basic" "standard" "enhanced" "advanced" "specialized" "military_grade" ) ;
            sh:maxCount 1 ;
            sh:message "SWAT team must specify equipment level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-tactical:equipmentLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 2000.0 ;
            sh:message "SWAT team training hours must be between 40 and 2000 hours."@en ;
            sh:minCount 1 ;
            sh:minInclusive 40.0 ;
            sh:path cacontology-tactical:trainingHours ] ;
    sh:targetClass cacontology-tactical:SwatTeam .