Ontology Version: 3.1.0

cacontology-legal-outcomes:FloridaStateChargeShape leaf node


URI

https://cacontology.projectvic.org/legal-outcomes#FloridaStateChargeShape

Label

Florida State Charge Shape

Description

Validation shape for Florida state criminal charges.

Property Constraints (3)

Focus nodes of this shape (cacontology-legal-outcomes:FloridaStateCharge) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-legal-outcomes:chargeClassification Florida charge classification (capital_felony, life_felony, first_degree_felony, etc.).
sh:message Charge classification must be from the allowed Florida list.
0 1 xsd:string
sh:in Capital Felony, Life Felony, First Degree Felony, Second Degree Felony, Third Degree Felony, First Degree Misdemeanor, Second Degree Misdemeanor
cacontology-legal-outcomes:floridaStatute Reference to Florida Statute section for the charge (e.g., 'F.S. 847.0135').
sh:message Florida statute should follow F.S. format (e.g., 'F.S. 847.0135').
0 1 xsd:string
sh:pattern ^F\.S\. [0-9]+\.[0-9]+.*$
rdfs:label
sh:message Florida charge should have a label.
0 1 rdf:langString

Implementation

@prefix cacontology-legal-outcomes: <https://cacontology.projectvic.org/legal-outcomes#> .
@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-legal-outcomes:FloridaStateChargeShape a sh:NodeShape ;
    rdfs:label "Florida State Charge Shape"@en ;
    rdfs:comment "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-legal-outcomes: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-legal-outcomes:chargeClassification ] ;
    sh:targetClass cacontology-legal-outcomes:FloridaStateCharge .