Ontology Version: 3.1.0

cacontology-legal-outcomes:SupervisedReleaseConditionShape leaf node


URI

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

Label

Supervised Release Condition Shape

Description

Validates typed special conditions of supervised release.

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-legal-outcomes:conditionText Verbatim or summarized text of the condition as imposed in the judgment.
sh:message Condition text must be a string when specified.
0 1 xsd:string
cacontology-legal-outcomes:defendantPaysCost Whether the defendant bears the cost of the required program or monitoring.
sh:message defendantPaysCost must be boolean when specified.
0 1 xsd:boolean
cacontology-legal-outcomes:requiresProbationApproval Whether the restricted activity is allowed only with prior written approval of the probation officer.
sh:message requiresProbationApproval must be boolean when specified.
0 1 xsd:boolean

Implementation

@prefix cacontology-legal-outcomes: <https://cacontology.projectvic.org/legal-outcomes#> .
@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:SupervisedReleaseConditionShape a sh:NodeShape ;
    rdfs:label "Supervised Release Condition Shape"@en ;
    rdfs:comment "Validates typed special conditions of supervised release."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Condition text must be a string when specified."@en ;
            sh:path cacontology-legal-outcomes:conditionText ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "defendantPaysCost must be boolean when specified."@en ;
            sh:path cacontology-legal-outcomes:defendantPaysCost ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "requiresProbationApproval must be boolean when specified."@en ;
            sh:path cacontology-legal-outcomes:requiresProbationApproval ] ;
    sh:targetClass cacontology-legal-outcomes:SupervisedReleaseCondition .