Ontology Version: 3.1.0

cacontology-legal-outcomes:PaymentScheduleShape leaf node


URI

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

Label

Payment Schedule Shape

Description

Validates criminal monetary payment schedules (AO 245B Schedule of Payments).

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-legal-outcomes:PaymentSchedule
cacontology-legal-outcomes:dueTiming 1 xsd:string
cacontology-legal-outcomes:includesPenalty
cacontology-legal-outcomes:totalAmountUSD 1

Implementation

@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:PaymentScheduleShape a sh:NodeShape ;
    rdfs:label "Payment Schedule Shape"@en ;
    rdfs:comment "Validates criminal monetary payment schedules (AO 245B Schedule of Payments)."@en ;
    sh:property [ sh:maxCount 1 ;
            sh:message "Total amount must be a non-negative number when specified."@en ;
            sh:minInclusive 0 ;
            sh:or ( [ sh:datatype xsd:decimal ] [ sh:datatype xsd:integer ] ) ;
            sh:path cacontology-legal-outcomes:totalAmountUSD ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Due timing must be a string when specified (e.g., 'immediately', 'after_release')."@en ;
            sh:path cacontology-legal-outcomes:dueTiming ],
        [ sh:message "includesPenalty must reference monetary penalty nodes."@en ;
            sh:nodeKind sh:IRI ;
            sh:path cacontology-legal-outcomes:includesPenalty ] ;
    sh:targetClass cacontology-legal-outcomes:PaymentSchedule .