Ontology Version: 3.1.0

cacontology-usa-federal:FederalProsecutorRoleShape leaf node


URI

https://cacontology.projectvic.org/usa-federal-law#FederalProsecutorRoleShape

Label

FederalProsecutorRoleShape

Property Constraints (3)

Focus nodes of this shape (cacontology-usa-federal:FederalProsecutorRole) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-usa-federal:hasRoleBeginPoint Temporal begin point for federal role.
sh:message Federal prosecutor role must have exactly one begin point
1 1 xsd:dateTimeStamp
cacontology-usa-federal:roleExperience Years of experience in federal legal role (gUFO quality aspect).
sh:message Role experience must be non-negative integer
0 1 xsd:integer
sh:minInclusive 0
cacontology-usa-federal:roleSpecialization Area of specialization for federal legal role (gUFO quality aspect).
sh:message Prosecutor specialization must be specified from valid options
0 1 xsd:string
sh:in child-exploitation, sex-trafficking, cybercrime, obscenity, general

Implementation

@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-usa-federal:FederalProsecutorRoleShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Federal prosecutor role must have exactly one begin point"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:hasRoleBeginPoint ],
        [ sh:datatype xsd:string ;
            sh:in ( "child-exploitation" "sex-trafficking" "cybercrime" "obscenity" "general" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecutor specialization must be specified from valid options"@en ;
            sh:path cacontology-usa-federal:roleSpecialization ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:message "Role experience must be non-negative integer"@en ;
            sh:minInclusive 0 ;
            sh:path cacontology-usa-federal:roleExperience ] ;
    sh:targetClass cacontology-usa-federal:FederalProsecutorRole .