https://cacontology.projectvic.org/sex-offender-registry#RegistrationStatusShape
Validation shape for registration status instances.
Instances of cacontology-registry:RegistrationStatus can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|---|
@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:RegistrationStatusShape a sh:NodeShape ;
rdfs:label "Registration Status Shape"@en ;
rdfs:comment "Validation shape for registration status instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "active" "inactive" "non_compliant" "delinquent" "absconded" "deceased" "incarcerated" ) ;
sh:maxCount 1 ;
sh:message "Registration status must be from the allowed list."@en ;
sh:minCount 1 ;
sh:path uco-core:name ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Status must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ] ;
sh:targetClass cacontology-registry:RegistrationStatus .