ElectronicMessageSystem#

Fully qualified datatype name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem

Definition#

Any non-email means of relaying a message electronically. This would include text messaging, Skype, Twitter, ICQ, or other emerging means of electronic message conveyance.

Examples#

Skype account, etc.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

contactAddress

- own datatype -

Account identification for contacting.

String

0..1

effectiveDates

- own datatype -

Time period during which the account is valid.

DateRange

0..1

isPreferred

- own datatype -

Set to True if this is the preferred address.

Boolean

0..1

false

privacy

- own datatype -

Specify the level privacy for the address as public, restricted, or private. Supports the use of an external controlled vocabulary.

ControlledVocabularyEntry

0..1

typeOfService

- own datatype -

Indicates the type of service used. Supports the use of a controlled vocabulary.

ControlledVocabularyEntry

0..1

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

ContactInformation

emessaging

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the data type ElectronicMessageSystem (entire model as XMI)

  1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
  2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
  3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
  4                  xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem"
  6                  xmi:type="uml:DataType">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem"/>
 11      <body>Definition
 12============
 13Any non-email means of relaying a message electronically. This would include text messaging, Skype, Twitter, ICQ, or other emerging means of electronic message conveyance. 
 14
 15Examples
 16==========
 17Skype account, etc.</body>
 18   </ownedComment>
 19   <name>ElectronicMessageSystem</name>
 20   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-contactAddress"
 21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-contactAddress"
 22                    xmi:type="uml:Property">
 23      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-contactAddress-ownedComment"
 24                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-contactAddress-ownedComment"
 25                     xmi:type="uml:Comment">
 26         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-contactAddress"/>
 27         <body>Account identification for contacting.</body>
 28      </ownedComment>
 29      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-contactAddress-lowerValue"
 30                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-contactAddress-lowerValue"
 31                   xmi:type="uml:LiteralInteger"/>
 32      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-contactAddress-upperValue"
 33                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-contactAddress-upperValue"
 34                   xmi:type="uml:LiteralUnlimitedNatural">
 35         <value>1</value>
 36      </upperValue>
 37      <name>contactAddress</name>
 38      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
 39             xmi:type="uml:PrimitiveType"/>
 40   </ownedAttribute>
 41   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-effectiveDates"
 42                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-effectiveDates"
 43                    xmi:type="uml:Property">
 44      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-effectiveDates-ownedComment"
 45                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-effectiveDates-ownedComment"
 46                     xmi:type="uml:Comment">
 47         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-effectiveDates"/>
 48         <body>Time period during which the account is valid.</body>
 49      </ownedComment>
 50      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-effectiveDates-lowerValue"
 51                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-effectiveDates-lowerValue"
 52                   xmi:type="uml:LiteralInteger"/>
 53      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-effectiveDates-upperValue"
 54                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-effectiveDates-upperValue"
 55                   xmi:type="uml:LiteralUnlimitedNatural">
 56         <value>1</value>
 57      </upperValue>
 58      <name>effectiveDates</name>
 59      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-DateRange"/>
 60   </ownedAttribute>
 61   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred"
 62                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-isPreferred"
 63                    xmi:type="uml:Property">
 64      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred-ownedComment"
 65                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-isPreferred-ownedComment"
 66                     xmi:type="uml:Comment">
 67         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred"/>
 68         <body>Set to True if this is the preferred address.</body>
 69      </ownedComment>
 70      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred-lowerValue"
 71                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-isPreferred-lowerValue"
 72                   xmi:type="uml:LiteralInteger"/>
 73      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred-upperValue"
 74                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-isPreferred-upperValue"
 75                   xmi:type="uml:LiteralUnlimitedNatural">
 76         <value>1</value>
 77      </upperValue>
 78      <name>isPreferred</name>
 79      <defaultValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-isPreferred-defaultValue"
 80                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-isPreferred-defaultValue"
 81                     xmi:type="uml:LiteralBoolean">
 82         <value>False</value>
 83      </defaultValue>
 84      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"
 85             xmi:type="uml:PrimitiveType"/>
 86   </ownedAttribute>
 87   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-privacy"
 88                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-privacy"
 89                    xmi:type="uml:Property">
 90      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-privacy-ownedComment"
 91                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-privacy-ownedComment"
 92                     xmi:type="uml:Comment">
 93         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-privacy"/>
 94         <body>Specify the level privacy for the address as public, restricted, or private. Supports the use of an external controlled vocabulary.</body>
 95      </ownedComment>
 96      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-privacy-lowerValue"
 97                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-privacy-lowerValue"
 98                   xmi:type="uml:LiteralInteger"/>
 99      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-privacy-upperValue"
100                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-privacy-upperValue"
101                   xmi:type="uml:LiteralUnlimitedNatural">
102         <value>1</value>
103      </upperValue>
104      <name>privacy</name>
105      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
106   </ownedAttribute>
107   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-typeOfService"
108                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-typeOfService"
109                    xmi:type="uml:Property">
110      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-typeOfService-ownedComment"
111                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-typeOfService-ownedComment"
112                     xmi:type="uml:Comment">
113         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-typeOfService"/>
114         <body>Indicates the type of service used. Supports the use of a controlled vocabulary.</body>
115      </ownedComment>
116      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-typeOfService-lowerValue"
117                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-typeOfService-lowerValue"
118                   xmi:type="uml:LiteralInteger"/>
119      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ElectronicMessageSystem-typeOfService-upperValue"
120                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ElectronicMessageSystem-typeOfService-upperValue"
121                   xmi:type="uml:LiteralUnlimitedNatural">
122         <value>1</value>
123      </upperValue>
124      <name>typeOfService</name>
125      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
126   </ownedAttribute>
127</packagedElement>

Fragment for the data type ElectronicMessageSystem (entire XML Schema)

 1<xs:element name="ElectronicMessageSystem"
 2            type="ElectronicMessageSystemXsdType"
 3            xml:id="ElectronicMessageSystem">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Any non-email means of relaying a message electronically. This would include text messaging, Skype, Twitter, ICQ, or other emerging means of electronic message conveyance. 
 9          
10          Examples
11          ==========
12          Skype account, etc.</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="ElectronicMessageSystemXsdType"
16                xml:id="ElectronicMessageSystemXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition
19          ============
20          Any non-email means of relaying a message electronically. This would include text messaging, Skype, Twitter, ICQ, or other emerging means of electronic message conveyance. 
21          
22          Examples
23          ==========
24          Skype account, etc.</xs:documentation>
25  </xs:annotation>
26  <xs:sequence>
27    <xs:element name="contactAddress"
28                type="xs:string"
29                minOccurs="0"
30                maxOccurs="1"
31                xml:id="ElectronicMessageSystem-contactAddress">
32      <xs:annotation>
33        <xs:documentation>Account identification for contacting.</xs:documentation>
34      </xs:annotation>
35    </xs:element>
36    <xs:element name="effectiveDates"
37                type="DateRangeXsdType"
38                minOccurs="0"
39                maxOccurs="1"
40                xml:id="ElectronicMessageSystem-effectiveDates">
41      <xs:annotation>
42        <xs:documentation>Time period during which the account is valid.</xs:documentation>
43      </xs:annotation>
44    </xs:element>
45    <xs:element name="isPreferred"
46                type="xs:boolean"
47                minOccurs="0"
48                maxOccurs="1"
49                xml:id="ElectronicMessageSystem-isPreferred">
50      <xs:annotation>
51        <xs:documentation>Set to True if this is the preferred address.</xs:documentation>
52      </xs:annotation>
53    </xs:element>
54    <xs:element name="privacy"
55                type="ControlledVocabularyEntryXsdType"
56                minOccurs="0"
57                maxOccurs="1"
58                xml:id="ElectronicMessageSystem-privacy">
59      <xs:annotation>
60        <xs:documentation>Specify the level privacy for the address as public, restricted, or private. Supports the use of an external controlled vocabulary.</xs:documentation>
61      </xs:annotation>
62    </xs:element>
63    <xs:element name="typeOfService"
64                type="ControlledVocabularyEntryXsdType"
65                minOccurs="0"
66                maxOccurs="1"
67                xml:id="ElectronicMessageSystem-typeOfService">
68      <xs:annotation>
69        <xs:documentation>Indicates the type of service used. Supports the use of a controlled vocabulary.</xs:documentation>
70      </xs:annotation>
71    </xs:element>
72  </xs:sequence>
73</xs:complexType>

Fragment for the data type ElectronicMessageSystem (entire JSON Schema)

 1"dt-ElectronicMessageSystem": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/ElectronicMessageSystem",
 3  "type": ["object"],
 4  "properties": {
 5    "contactAddress": {
 6      "$comment": "cardinality 0..1 – from cdi:ElectronicMessageSystem",
 7      "$ref": "#/defs/xsd:string"
 8    },
 9    "effectiveDates": {
10      "$comment": "cardinality 0..1 – from cdi:ElectronicMessageSystem",
11      "$ref": "#/defs/dt-DateRange"
12    },
13    "isPreferred": {
14      "$comment": "cardinality 0..1 – from cdi:ElectronicMessageSystem",
15      "$ref": "#/defs/xsd:boolean"
16    },
17    "privacy": {
18      "$comment": "cardinality 0..1 – from cdi:ElectronicMessageSystem",
19      "$ref": "#/defs/dt-ControlledVocabularyEntry"
20    },
21    "typeOfService": {
22      "$comment": "cardinality 0..1 – from cdi:ElectronicMessageSystem",
23      "$ref": "#/defs/dt-ControlledVocabularyEntry"
24    },
25    "@type": {
26      "const": "ElectronicMessageSystem"
27    }
28  },
29  "required": ["@type"],
30  "additionalProperties": false
31},

Fragment for the data type ElectronicMessageSystem (main ontology)

 1# datatype ElectronicMessageSystem
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem
 3cdi:ElectronicMessageSystem
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "ElectronicMessageSystem";
 6  rdfs:comment "Definition\n============\nAny non-email means of relaying a message electronically. This would include text messaging, Skype, Twitter, ICQ, or other emerging means of electronic message conveyance. \n\nExamples\n==========\nSkype account, etc."@en;
 7  
 8  owl:hasKey (cdi:ElectronicMessageSystem-contactAddress cdi:ElectronicMessageSystem-effectiveDates cdi:ElectronicMessageSystem-isPreferred cdi:ElectronicMessageSystem-privacy cdi:ElectronicMessageSystem-typeOfService);
 9.
10
11cdi:ElectronicMessageSystem-contactAddress
12  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13  rdfs:label "contactAddress";
14  rdfs:comment "Account identification for contacting."@en;
15  rdfs:domain cdi:ElectronicMessageSystem;
16  rdfs:range xsd:string;
17.
18
19cdi:ElectronicMessageSystem-effectiveDates
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "effectiveDates";
22  rdfs:comment "Time period during which the account is valid."@en;
23  rdfs:domain cdi:ElectronicMessageSystem;
24  rdfs:range cdi:DateRange;
25.
26
27cdi:ElectronicMessageSystem-isPreferred
28  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29  rdfs:label "isPreferred";
30  rdfs:comment "Set to True if this is the preferred address."@en;
31  rdfs:domain cdi:ElectronicMessageSystem;
32  rdfs:range xsd:boolean;
33.
34
35cdi:ElectronicMessageSystem-privacy
36  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
37  rdfs:label "privacy";
38  rdfs:comment "Specify the level privacy for the address as public, restricted, or private. Supports the use of an external controlled vocabulary."@en;
39  rdfs:domain cdi:ElectronicMessageSystem;
40  rdfs:range cdi:ControlledVocabularyEntry;
41.
42
43cdi:ElectronicMessageSystem-typeOfService
44  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
45  rdfs:label "typeOfService";
46  rdfs:comment "Indicates the type of service used. Supports the use of a controlled vocabulary."@en;
47  rdfs:domain cdi:ElectronicMessageSystem;
48  rdfs:range cdi:ControlledVocabularyEntry;
49.

Fragment for the data type ElectronicMessageSystem (entire JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "contactAddress": {
 8        "@id": "cdi:ElectronicMessageSystem-contactAddress",
 9        "@type": "xsd:string"
10      },
11      "effectiveDates": {
12        "@id": "cdi:ElectronicMessageSystem-effectiveDates",
13        "@type": "@id",
14        "@context": "DateRange.jsonld"
15      },
16      "isPreferred": {
17        "@id": "cdi:ElectronicMessageSystem-isPreferred",
18        "@type": "xsd:boolean"
19      },
20      "privacy": {
21        "@id": "cdi:ElectronicMessageSystem-privacy",
22        "@type": "@id",
23        "@context": "ControlledVocabularyEntry.jsonld"
24      },
25      "typeOfService": {
26        "@id": "cdi:ElectronicMessageSystem-typeOfService",
27        "@type": "@id",
28        "@context": "ControlledVocabularyEntry.jsonld"
29      },
30      
31      " comment ": "tag:json-should-support-trailing-commas" 
32    }
33  ],
34  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:56.",
35  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem"
36}

Fragment for the data type ElectronicMessageSystem (entire SHACL - Shapes Constraint Language)

 1# datatype ElectronicMessageSystem
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem
 3<#ElectronicMessageSystem> a sh:NodeShape;
 4    sh:targetClass cdi:ElectronicMessageSystem;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/ElectronicMessageSystem";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:ElectronicMessageSystem
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ElectronicMessageSystem-contactAddress>;
15    sh:property <#ElectronicMessageSystem-effectiveDates>;
16    sh:property <#ElectronicMessageSystem-isPreferred>;
17    sh:property <#ElectronicMessageSystem-privacy>;
18    sh:property <#ElectronicMessageSystem-typeOfService>;
19
20
21
22.
23
24<#ElectronicMessageSystem-contactAddress> a sh:PropertyShape ;
25    sh:path cdi:ElectronicMessageSystem-contactAddress;
26    sh:datatype xsd:string;
27    sh:maxCount 1;
28.
29<#ElectronicMessageSystem-effectiveDates> a sh:PropertyShape ;
30    sh:path cdi:ElectronicMessageSystem-effectiveDates;
31    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
32        cdi:DateRange
33      
34    ) ]];
35    sh:maxCount 1;
36.
37<#ElectronicMessageSystem-isPreferred> a sh:PropertyShape ;
38    sh:path cdi:ElectronicMessageSystem-isPreferred;
39    sh:datatype xsd:boolean;
40    sh:maxCount 1;
41.
42<#ElectronicMessageSystem-privacy> a sh:PropertyShape ;
43    sh:path cdi:ElectronicMessageSystem-privacy;
44    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
45        cdi:ControlledVocabularyEntry
46      
47    ) ]];
48    sh:maxCount 1;
49.
50<#ElectronicMessageSystem-typeOfService> a sh:PropertyShape ;
51    sh:path cdi:ElectronicMessageSystem-typeOfService;
52    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
53        cdi:ControlledVocabularyEntry
54      
55    ) ]];
56    sh:maxCount 1;
57.

Fragment for the data type ElectronicMessageSystem (entire ShEx - Shape Expressions)

 1# datatype ElectronicMessageSystem
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::ElectronicMessageSystem
 3cdi:ElectronicMessageSystemShape CLOSED {
 4	a [cdi:ElectronicMessageSystem];
 5	cdi:ElectronicMessageSystem-contactAddress	xsd:string?;
 6	cdi:ElectronicMessageSystem-effectiveDates	@cdi:DateRangeShape?;
 7	cdi:ElectronicMessageSystem-isPreferred	xsd:boolean?;
 8	cdi:ElectronicMessageSystem-privacy	@cdi:ControlledVocabularyEntryShape?;
 9	cdi:ElectronicMessageSystem-typeOfService	@cdi:ControlledVocabularyEntryShape?;
10	}