https://cacontology.projectvic.org/asset-forfeiture#CompleteForfeitureShape
Enhanced validation shape for complete forfeiture with gUFO Object validation.
Instances of cacontology-asset-forfeiture:CompleteForfeiture can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@prefix cacontology-asset-forfeiture: <https://cacontology.projectvic.org/asset-forfeiture#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-asset-forfeiture:CompleteForfeitureShape a sh:NodeShape ;
rdfs:label "Complete Forfeiture Shape"@en ;
rdfs:comment "Enhanced validation shape for complete forfeiture with gUFO Object validation."@en ;
sh:rule [ a sh:SPARQLRule ;
sh:construct """
INSERT { $this a cacontology-asset-forfeiture:CourtAuthorizationError . }
WHERE {
$this a cacontology-asset-forfeiture:CompleteForfeiture .
FILTER NOT EXISTS {
$this cacontology-asset-forfeiture:hasCourtAuthorization ?authorization .
?authorization cacontology-asset-forfeiture:authorizationType "complete_forfeiture" .
}
}
""" ;
sh:message "Complete forfeiture must have court authorization"@en ;
sh:prefixes cacontology-asset-forfeiture: ;
sh:severity sh:Violation ] ;
sh:targetClass cacontology-asset-forfeiture:CompleteForfeiture .