Ontology Version: 2.2.0

cacontology-sentencing:PaymentDeadlineValidationShape leaf node


URI

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

Label

Payment Deadline Validation Shape

Description

Validates payment deadline consistency.

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#> .
cacontology-sentencing:PaymentDeadlineValidationShape a sh:NodeShape ;
    rdfs:label "Payment Deadline Validation Shape"@en ;
    rdfs:comment "Validates payment deadline consistency."@en ;
    sh:sparql [ sh:message "Payment deadline should be in the future when specified."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this cacontology-sentencing:paymentDeadline ?deadline .
                FILTER (?deadline <= NOW())
            }
        """ ] ;
    sh:targetClass cacontology-sentencing:CriminalFine .