Ontology Version: 2.2.0

cacontology-partnerships-shapes:NationalInitiativeProgramShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#NationalInitiativeProgramShape

Label

National Initiative Program Shape

Description

Validation shape for national initiative program instances.

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@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-partnerships-shapes:NationalInitiativeProgramShape a sh:NodeShape ;
    rdfs:label "National Initiative Program Shape"@en ;
    rdfs:comment "Validation shape for national initiative program instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Initiative name must be between 3 and 100 characters."@en ;
            sh:minCount 1 ;
            sh:minLength 3 ;
            sh:path cacontology-partnerships:initiativeName ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "National initiative must have a launch date."@en ;
            sh:minCount 1 ;
            sh:path cacontology-partnerships:launchedDate ],
        [ sh:datatype xsd:string ;
            sh:in ( "federal" "state_coordination" "local_support" "multi_jurisdictional" ) ;
            sh:maxCount 1 ;
            sh:message "Program scope must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-partnerships:programScope ],
        [ sh:datatype xsd:string ;
            sh:in ( "DOJ" "DHS" "FBI" "ICE" "USAO" "ATF" ) ;
            sh:maxCount 1 ;
            sh:message "Lead agency must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-partnerships:leadAgency ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Cases processed must be between 0 and 10,000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-partnerships:casesProcessed ] ;
    sh:targetClass cacontology-partnerships:NationalInitiativeProgram .