Ontology Version: 2.2.0

cacontology-registry:OffenderProfileShape leaf node


URI

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

Label

Offender Profile Shape

Description

Validation shape for offender profile instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-registry:OffenderProfile
cacontology-registry:lastUpdate 0 1 xsd:dateTime
1 1 xsd:dateTime

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:OffenderProfileShape a sh:NodeShape ;
    rdfs:label "Offender Profile Shape"@en ;
    rdfs:comment "Validation shape for offender profile instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Profile must specify creation time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:createdTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Profile may specify last update time."@en ;
            sh:minCount 0 ;
            sh:path cacontology-registry:lastUpdate ] ;
    sh:targetClass cacontology-registry:OffenderProfile .