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).

Targets (1)

Property Constraints (3)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-legal-outcomes:dueTiming When payment is due (e.g., 'immediately', 'on_date', 'after_release', 'monthly_installments').
sh:message Due timing must be a string when specified (e.g., 'immediately', 'after_release').
0 1 xsd:string
cacontology-legal-outcomes:includesPenalty Links a payment schedule to the monetary penalties it covers.
sh:message includesPenalty must reference monetary penalty nodes.
0 * sh:IRI
cacontology-legal-outcomes:totalAmountUSD Total amount of the payment schedule in U.S. dollars.
sh:message Total amount must be a non-negative number when specified.
0 1
sh:minInclusive 0
sh:or ( xsd:decimal | xsd:integer )

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 .