https://cacontology.projectvic.org/sex-offender-registry#ComplianceViolationShape
Validation shape for compliance violation instances.
Focus nodes of this shape (cacontology-registry:ComplianceViolation) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-registry:violationCategory | Categorization of a registry compliance violation (e.g., failure_to_register, false_information, late_update, residency_restriction_violation). sh:message Violation category, when provided, must be one of: failure_to_register, false_information, late_update, residency_restriction_violation. |
0 | 1 | xsd:string |
sh:in
failure_to_register, false_information, late_update, residency_restriction_violation
|
uco-core:description |
sh:message Violation must have a description (10-1000 characters). |
1 | 1 | xsd:string |
sh:minLength
10
sh:maxLength
1000
|
uco-core:startTime |
sh:message Violation must specify occurrence time. |
1 | 1 | xsd:dateTime |
@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-registry:ComplianceViolationShape a sh:NodeShape ;
rdfs:label "Compliance Violation Shape"@en ;
rdfs:comment "Validation shape for compliance violation instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 1000 ;
sh:message "Violation must have a description (10-1000 characters)."@en ;
sh:minCount 1 ;
sh:minLength 10 ;
sh:path uco-core:description ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Violation must specify occurrence time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:string ;
sh:in ( "failure_to_register" "false_information" "late_update" "residency_restriction_violation" ) ;
sh:maxCount 1 ;
sh:message "Violation category, when provided, must be one of: failure_to_register, false_information, late_update, residency_restriction_violation."@en ;
sh:minCount 0 ;
sh:path cacontology-registry:violationCategory ] ;
sh:targetClass cacontology-registry:ComplianceViolation .