Ontology Version: 2.11.0

cacontology-sentencing:EvidenceRuleShape leaf node


URI

https://cacontology.projectvic.org/sentencing#EvidenceRuleShape

Label

Evidence Rule Shape

Description

Validation shape for evidence rules cited in appellate issues.

Shape Properties

Instances of cacontology-sentencing:EvidenceRule can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-sentencing:EvidenceRule
cacontology-sentencing:ruleCitation 1 1 xsd:string
1

Implementation

@prefix cacontology-sentencing: <https://cacontology.projectvic.org/sentencing#> .
@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:EvidenceRuleShape a sh:NodeShape ;
    rdfs:label "Evidence Rule Shape"@en ;
    rdfs:comment "Validation shape for evidence rules cited in appellate issues."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Evidence rule must include a ruleCitation string (5-200 chars)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path cacontology-sentencing:ruleCitation ],
        [ sh:message "Evidence rule should have an rdfs:label."@en ;
            sh:minCount 1 ;
            sh:path rdfs:label ] ;
    sh:targetClass cacontology-sentencing:EvidenceRule .