Ontology Version: 2.2.0

cacontology-registry:PrimaryResidenceShape leaf node


URI

https://cacontology.projectvic.org/sex-offender-registry#PrimaryResidenceShape

Label

Primary Residence Shape

Description

Validation shape for primary residence instances.

Shape Properties

Instances of cacontology-registry:PrimaryResidence can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-registry: <https://cacontology.projectvic.org/sex-offender-registry#> .
@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:PrimaryResidenceShape a sh:NodeShape ;
    rdfs:label "Primary Residence Shape"@en ;
    rdfs:comment "Validation shape for primary residence instances."@en ;
    sh:property [ sh:datatype xsd:date ;
            sh:maxCount 1 ;
            sh:message "Primary residence must specify start date."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ] ;
    sh:targetClass cacontology-registry:PrimaryResidence .