Ontology Version: 2.2.0

cacontology-registry:EmploymentInformationShape leaf node


URI

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

Label

Employment Information Shape

Description

Validation shape for employment information instances.

Shape Properties

Instances of cacontology-registry:EmploymentInformation 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:EmploymentInformationShape a sh:NodeShape ;
    rdfs:label "Employment Information Shape"@en ;
    rdfs:comment "Validation shape for employment information instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Employment must specify employer name (2-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:date ;
            sh:maxCount 1 ;
            sh:message "Employment may specify start date."@en ;
            sh:minCount 0 ;
            sh:path uco-core:startTime ] ;
    sh:targetClass cacontology-registry:EmploymentInformation .