https://cacontology.projectvic.org/sentencing#CriminalFineShape
Validation shape for criminal fine instances.
@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:CriminalFineShape a sh:NodeShape ;
rdfs:label "Criminal Fine Shape"@en ;
rdfs:comment "Validation shape for criminal fine instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1000000.0 ;
sh:message "Fine amount must be between $1 and $1,000,000."@en ;
sh:minCount 1 ;
sh:minInclusive 1.0 ;
sh:path cacontology-sentencing:fineAmount ],
[ sh:datatype xsd:string ;
sh:in ( "statutory_fine" "discretionary_fine" "alternative_fine" "cost_of_prosecution" "forfeiture" ) ;
sh:maxCount 1 ;
sh:message "Criminal fine must specify fine type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-sentencing:fineType ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Criminal fine may specify payment deadline."@en ;
sh:minCount 0 ;
sh:path cacontology-sentencing:paymentDeadline ] ;
sh:targetClass cacontology-sentencing:CriminalFine .