Ontology Version: 3.1.0

cacontology-taskforce:IcacTaskForceShape leaf node


URI

https://cacontology.projectvic.org/taskforce#IcacTaskForceShape

Label

CAC Task Force Shape

Description

Validation shape for CAC task force instances.

Targets (1)

  • cacontology-taskforce:IcacTaskForce sh:targetClass

Property Constraints (3)

Focus nodes of this shape (cacontology-taskforce:IcacTaskForce) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-taskforce:complianceStatus
sh:message CAC task force must specify compliance status from the allowed list.
1 1 xsd:string
sh:in compliant, non_compliant, conditional, under_review, probationary, suspended
cacontology-taskforce:grantNumber
sh:message CAC task force must specify grant number (5-50 characters).
1 1 xsd:string
sh:minLength 5
sh:maxLength 50
cacontology-taskforce:icacRegion
sh:message CAC task force must specify CAC region from the allowed list.
1 1 xsd:string
sh:in northeast, southeast, midwest, southwest, west, northwest, central, national

Implementation

@prefix cacontology-taskforce: <https://cacontology.projectvic.org/taskforce#> .
@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-taskforce:IcacTaskForceShape a sh:NodeShape ;
    rdfs:label "CAC Task Force Shape"@en ;
    rdfs:comment "Validation shape for CAC task force instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "northeast" "southeast" "midwest" "southwest" "west" "northwest" "central" "national" ) ;
            sh:maxCount 1 ;
            sh:message "CAC task force must specify CAC region from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:icacRegion ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 50 ;
            sh:message "CAC task force must specify grant number (5-50 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path cacontology-taskforce:grantNumber ],
        [ sh:datatype xsd:string ;
            sh:in ( "compliant" "non_compliant" "conditional" "under_review" "probationary" "suspended" ) ;
            sh:maxCount 1 ;
            sh:message "CAC task force must specify compliance status from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:complianceStatus ] ;
    sh:targetClass cacontology-taskforce:IcacTaskForce .