https://cacontology.projectvic.org/legal-outcomes#CriminalFineShape
Validation shape for criminal fine instances.
Focus nodes of this shape (cacontology-legal-outcomes:CriminalFine) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-legal-outcomes:fineAmount |
sh:message Fine amount must be between $1 and $1,000,000. |
1 | 1 | xsd:decimal |
sh:minInclusive
1.0
sh:maxInclusive
1000000.0
|
cacontology-legal-outcomes:fineType |
sh:message Criminal fine must specify fine type from the allowed list. |
1 | 1 | xsd:string |
sh:in
statutory_fine, discretionary_fine, alternative_fine, cost_of_prosecution, forfeiture
|
cacontology-legal-outcomes:paymentDeadline |
sh:message Criminal fine may specify payment deadline. |
0 | 1 | xsd:dateTime |
@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: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-legal-outcomes: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-legal-outcomes:fineType ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Criminal fine may specify payment deadline."@en ;
sh:minCount 0 ;
sh:path cacontology-legal-outcomes:paymentDeadline ] ;
sh:targetClass cacontology-legal-outcomes:CriminalFine .