Ontology Version: 3.1.0

cacontology-institutional:USProsecutionForeignCrimesShape leaf node


URI

https://cacontology.projectvic.org/institutional-exploitation#USProsecutionForeignCrimesShape

Label

US Prosecution Foreign Crimes Shape

Description

Validation shape for US prosecution of foreign crimes with gUFO integration.

Property Constraints (2)

Focus nodes of this shape (cacontology-institutional:USProsecutionForeignCrimes) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-institutional:prosecutionJurisdiction Jurisdiction where prosecution takes place.
sh:message Prosecution must specify jurisdiction from allowed list.
1 1 xsd:string
sh:in federal, state, international, joint_jurisdiction
cacontology-institutional:sentenceLength Length of prison sentence in years.
sh:message Sentence length must be between 1 and 50 years when specified.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 50

Implementation

@prefix cacontology-institutional: <https://cacontology.projectvic.org/institutional-exploitation#> .
@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-institutional:USProsecutionForeignCrimesShape a sh:NodeShape ;
    rdfs:label "US Prosecution Foreign Crimes Shape"@en ;
    rdfs:comment "Validation shape for US prosecution of foreign crimes with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "federal" "state" "international" "joint_jurisdiction" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecution must specify jurisdiction from allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-institutional:prosecutionJurisdiction ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 50 ;
            sh:message "Sentence length must be between 1 and 50 years when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-institutional:sentenceLength ] ;
    sh:targetClass cacontology-institutional:USProsecutionForeignCrimes .