observable:ContactEmail leaf node


URI

https://ontology.unifiedcyberontology.org/uco/observable/ContactEmail

Label

ContactEmail

Description

A contact email is a grouping of characteristics unique to details for contacting a contact entity by email.

Target Classes (1)

Shape Properties

Instances of observable:ContactEmail can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

observable:ContactEmail
observable:contactEmailScope 1 vocabulary:ContactEmailScopeVocab
observable:emailAddress 1 observable:ObservableObject

Implementation

@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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 vocabulary: <https://ontology.unifiedcyberontology.org/uco/vocabulary/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

observable:ContactEmail a owl:Class,
        sh:NodeShape ;
    rdfs:label "ContactEmail"@en ;
    rdfs:comment "A contact email is a grouping of characteristics unique to details for contacting a contact entity by email."@en ;
    rdfs:subClassOf core:UcoInherentCharacterizationThing ;
    sh:property [ sh:class observable:ObservableObject ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path observable:emailAddress ],
        [ sh:datatype vocabulary:ContactEmailScopeVocab ;
            sh:message "Value is outside the default vocabulary ContactEmailScopeVocab." ;
            sh:path observable:contactEmailScope ;
            sh:severity sh:Info ],
        [ sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:or ( [ sh:datatype vocabulary:ContactEmailScopeVocab ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:contactEmailScope ],
        [ sh:message "Value is not member of the vocabulary ContactEmailScopeVocab." ;
            sh:or ( [ sh:datatype vocabulary:ContactEmailScopeVocab ;
                        sh:in ( "home"^^vocabulary:ContactEmailScopeVocab "work"^^vocabulary:ContactEmailScopeVocab "school"^^vocabulary:ContactEmailScopeVocab "cloud"^^vocabulary:ContactEmailScopeVocab ) ] [ sh:datatype xsd:string ] ) ;
            sh:path observable:contactEmailScope ] ;
    sh:targetClass observable:ContactEmail .