https://cacontology.projectvic.org/legal-outcomes#ProbationSentenceShape
Validation shape for probation sentence instances.
Instances of cacontology-legal-outcomes:ProbationSentence can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-legal-outcomes:CriminalSentence | ||||
| cacontology-legal-outcomes:concurrentWith | 0 |
cacontology-legal-outcomes:CriminalSentence
|
||
| cacontology-legal-outcomes:sentenceConcurrency | 0 | 1 |
xsd:string
|
|
| cac-core:AssessmentResult | ||||
| cac-core:assesses | 1 | |||
| cac-core:hasConfidence | 1 |
xsd:decimal
|
||
| 1 |
xsd:string
|
|||
@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:ProbationSentenceShape a sh:NodeShape ;
rdfs:label "Probation Sentence Shape"@en ;
rdfs:comment "Validation shape for probation sentence instances."@en ;
sh:property [ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 50 ;
sh:message "Probation sentence must have between 1 and 50 conditions."@en ;
sh:minCount 1 ;
sh:minInclusive 1 ;
sh:path cacontology-legal-outcomes:probationConditions ],
[ sh:datatype xsd:string ;
sh:in ( "unsupervised" "administrative" "standard" "intensive" "electronic_monitoring" "residential" ) ;
sh:maxCount 1 ;
sh:message "Probation sentence must specify supervision level from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-legal-outcomes:supervisionLevel ],
[ sh:datatype xsd:string ;
sh:in ( "monthly" "bi_weekly" "weekly" "daily" "as_directed" "none" ) ;
sh:maxCount 1 ;
sh:message "Probation sentence must specify reporting frequency from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-legal-outcomes:reportingFrequency ] ;
sh:targetClass cacontology-legal-outcomes:ProbationSentence .