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.

Shape Properties

Instances of cacontology-legal-outcomes:SupervisedReleaseCondition can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal-outcomes:SupervisedReleaseCondition
cacontology-legal-outcomes:conditionText 1 xsd:string
cacontology-legal-outcomes:defendantPaysCost 1 xsd:boolean
cacontology-legal-outcomes:requiresProbationApproval 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 .