Ontology Version: 3.1.0

cacontology-multi:PersonnelSharingShape leaf node


URI

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

Label

Personnel Sharing Shape

Description

Validation shape for personnel sharing instances.

Targets (1)

  • cacontology-multi:PersonnelSharing sh:targetClass

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-multi:personnelCount
sh:message Personnel sharing must specify personnel count between 1 and 100.
1 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 100
cacontology-multi:personnelType
sh:message Personnel sharing must specify personnel type from the allowed list.
1 1 xsd:string
sh:in investigators, analysts, technical_specialists, supervisors, support_staff, subject_matter_experts
cacontology-multi:securityClearance
sh:message Security clearance must be from the allowed list.
0 1 xsd:string
sh:in none_required, public_trust, confidential, secret, top_secret, sci_access

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:PersonnelSharingShape a sh:NodeShape ;
    rdfs:label "Personnel Sharing Shape"@en ;
    rdfs:comment "Validation shape for personnel sharing instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Personnel sharing must specify personnel count between 1 and 100."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-multi:personnelCount ],
        [ sh:datatype xsd:string ;
            sh:in ( "investigators" "analysts" "technical_specialists" "supervisors" "support_staff" "subject_matter_experts" ) ;
            sh:maxCount 1 ;
            sh:message "Personnel sharing must specify personnel type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-multi:personnelType ],
        [ sh:datatype xsd:string ;
            sh:in ( "none_required" "public_trust" "confidential" "secret" "top_secret" "sci_access" ) ;
            sh:maxCount 1 ;
            sh:message "Security clearance must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-multi:securityClearance ] ;
    sh:targetClass cacontology-multi:PersonnelSharing .