Ontology Version: 2.3.0

cacontology-sentencing:FloridaStateChargeShape leaf node


URI

https://cacontology.projectvic.org/sentencing#FloridaStateChargeShape

Label

Florida State Charge Shape

Description

Validation shape for Florida state criminal charges. - Validation shape for Florida state charge instances in ICAC cases.

Shape Properties

Instances of cacontology-sentencing:FloridaStateCharge can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-sentencing:FloridaStateCharge
cacontology-sentencing:chargeClassification 0, 1 1 xsd:string
cacontology-sentencing:floridaStatute 0, 1 1 xsd:string
0 1 rdf:langString

Implementation

@prefix cacontology-sentencing: <https://cacontology.projectvic.org/sentencing#> .
@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-sentencing:FloridaStateChargeShape a sh:NodeShape ;
    rdfs:label "Florida State Charge Shape"@en ;
    rdfs:comment "Validation shape for Florida state charge instances in ICAC cases."@en,
        "Validation shape for Florida state criminal charges."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:message "Florida charge should have a label."@en ;
            sh:minCount 0 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Florida statute should follow F.S. format (e.g., 'F.S. 847.0135')."@en ;
            sh:minCount 0 ;
            sh:path cacontology-sentencing:floridaStatute ;
            sh:pattern "^F\\.S\\. [0-9]+\\.[0-9]+.*$" ],
        [ sh:datatype xsd:string ;
            sh:in ( "Capital Felony" "Life Felony" "First Degree Felony" "Second Degree Felony" "Third Degree Felony" "First Degree Misdemeanor" "Second Degree Misdemeanor" ) ;
            sh:maxCount 1 ;
            sh:message "Charge classification must be from the allowed Florida list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-sentencing:chargeClassification ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Florida state charge must specify Florida Statute reference (e.g., 'F.S. 847.0135')."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sentencing:floridaStatute ;
            sh:pattern "^F\\.S\\. [0-9]+\\.[0-9]+.*$" ],
        [ sh:datatype xsd:string ;
            sh:in ( "capital_felony" "life_felony" "first_degree_felony" "second_degree_felony" "third_degree_felony" "first_degree_misdemeanor" "second_degree_misdemeanor" ) ;
            sh:maxCount 1 ;
            sh:message "Florida charge must specify classification from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sentencing:chargeClassification ] ;
    sh:targetClass cacontology-sentencing:FloridaStateCharge .