https://cacontology.projectvic.org/sex-offender-registry#ComplianceViolationShape
Validation shape for compliance violation instances.
Instances of cacontology-registry:ComplianceViolation can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-registry:ComplianceViolation | ||||
| cacontology-registry:violationCategory | 0 | 1 |
xsd:string
|
|
| 1 | 1 |
xsd:string
|
||
| 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 .