Ontology Version: 3.1.0

cacontology-multi:FederalStateCooperationShape leaf node


URI

https://cacontology.projectvic.org/multi-jurisdiction#FederalStateCooperationShape

Label

Federal State Cooperation Shape

Description

Validation shape for federal state cooperation instances.

Targets (1)

  • cacontology-multi:FederalStateCooperation sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-multi:FederalStateCooperation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-multi:cooperationLevel
sh:message Federal state cooperation must specify cooperation level from the allowed list.
1 1 xsd:string
sh:in consultation, assistance, joint_operation, task_force, full_partnership, federal_takeover
cacontology-multi:federalAgency
sh:message Federal state cooperation must specify federal agency from the allowed list.
1 1 xsd:string
sh:in fbi, dhs, ice, dea, atf, usms, postal_inspection, secret_service
cacontology-multi:stateAgency
sh:message Federal state cooperation must specify state agency from the allowed list.
1 1 xsd:string
sh:in state_police, attorney_general, bureau_investigation, icac_task_force, local_police, sheriff_office

Implementation

@prefix cacontology-multi: <https://cacontology.projectvic.org/multi-jurisdiction#> .
@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-multi:FederalStateCooperationShape a sh:NodeShape ;
    rdfs:label "Federal State Cooperation Shape"@en ;
    rdfs:comment "Validation shape for federal state cooperation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "state_police" "attorney_general" "bureau_investigation" "icac_task_force" "local_police" "sheriff_office" ) ;
            sh:maxCount 1 ;
            sh:message "Federal state cooperation must specify state agency from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:stateAgency ],
        [ sh:datatype xsd:string ;
            sh:in ( "consultation" "assistance" "joint_operation" "task_force" "full_partnership" "federal_takeover" ) ;
            sh:maxCount 1 ;
            sh:message "Federal state cooperation must specify cooperation level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:cooperationLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "fbi" "dhs" "ice" "dea" "atf" "usms" "postal_inspection" "secret_service" ) ;
            sh:maxCount 1 ;
            sh:message "Federal state cooperation must specify federal agency from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:federalAgency ] ;
    sh:targetClass cacontology-multi:FederalStateCooperation .