Ontology Version: 2.2.0

cacontology-usa-federal:FederalProsecutionShape leaf node


URI

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

Label

FederalProsecutionShape

Shape Properties

Instances of cacontology-usa-federal:FederalProsecution can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-usa-federal:FederalProsecution
cacontology-usa-federal:hasLegalPhase 1 gufo:Phase
cacontology-usa-federal:hasProsecutionBeginPoint 1 xsd:dateTimeStamp
cacontology-usa-federal:hasProsecutionEndPoint 1 xsd:dateTimeStamp
cacontology-usa-federal:prosecutedBy 1 cacontology-usa-federal:FederalProsecutorRole
cacontology-usa-federal:prosecutionComplexity 1 xsd:string
cacontology-usa-federal:prosecutionSeverity 1 xsd:string
cacontology-usa-federal:prosecutionStatus 1 xsd:string

Implementation

@prefix cacontology-usa-federal: <https://cacontology.projectvic.org/usa-federal-law#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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:FederalProsecutionShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Federal prosecution must have at most one begin point timestamp"@en ;
            sh:path cacontology-usa-federal:hasProsecutionBeginPoint ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Federal prosecution must have at most one end point timestamp"@en ;
            sh:path cacontology-usa-federal:hasProsecutionEndPoint ],
        [ sh:class cacontology-usa-federal:FederalProsecutorRole ;
            sh:message "Federal prosecution must have at least one prosecutor"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:prosecutedBy ],
        [ sh:class gufo:Phase ;
            sh:message "Federal prosecution must have at least one legal phase"@en ;
            sh:minCount 1 ;
            sh:path cacontology-usa-federal:hasLegalPhase ],
        [ sh:datatype xsd:string ;
            sh:in ( "simple" "moderate" "complex" "highly-complex" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecution complexity must be simple, moderate, complex, or highly-complex"@en ;
            sh:path cacontology-usa-federal:prosecutionComplexity ],
        [ sh:datatype xsd:string ;
            sh:in ( "misdemeanor" "felony" "aggravated-felony" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecution severity must be misdemeanor, felony, or aggravated-felony"@en ;
            sh:path cacontology-usa-federal:prosecutionSeverity ],
        [ sh:datatype xsd:string ;
            sh:in ( "pending" "active" "resolved" "dismissed" "appealed" ) ;
            sh:maxCount 1 ;
            sh:message "Prosecution status must be pending, active, resolved, dismissed, or appealed"@en ;
            sh:path cacontology-usa-federal:prosecutionStatus ] ;
    sh:targetClass cacontology-usa-federal:FederalProsecution .