Email¶
Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Email
Definition¶
An e-mail address which conforms to the internet format (RFC 822) including its type and time period for which it is valid.
Examples¶
info@ddialliance.org; ex.ample@somewhere.org
Diagram
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
effectiveDates |
- own datatype - |
Time period for which the e-mail address is valid. |
0..1 |
||
internetEmail |
- own datatype - |
The email address expressed as a string (should follow the Internet format specification - RFC 5322) e.g. user@server.ext, more complex and flexible examples are also supported by the format. |
String |
0..1 |
|
isPreferred |
- own datatype - |
Set to True if this is the preferred email. |
Boolean |
0..1 |
|
privacy |
- own datatype - |
Indicates the level of privacy. |
0..1 |
||
typeOfEmail |
- own datatype - |
Code indicating the type of e-mail address. Supports the use of an external controlled vocabulary. (e.g. home, office). |
0..1 |
Usage
Type |
Package |
Classifier |
Attribute |
---|---|---|---|
DataType |
StructuredDataTypes |
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 Email (entire XMI model)
1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
2 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email"/>
11 <body>Definition
12============
13An e-mail address which conforms to the internet format (RFC 822) including its type and time period for which it is valid.
14
15Examples
16==========
17info@ddialliance.org; ex.ample@somewhere.org</body>
18 </ownedComment>
19 <name>Email</name>
20 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-effectiveDates"
21 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-effectiveDates"
22 xmi:type="uml:Property">
23 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-effectiveDates-ownedComment"
24 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-effectiveDates-ownedComment"
25 xmi:type="uml:Comment">
26 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-effectiveDates"/>
27 <body>Time period for which the e-mail address is valid.</body>
28 </ownedComment>
29 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-effectiveDates-lowerValue"
30 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-effectiveDates-lowerValue"
31 xmi:type="uml:LiteralInteger"/>
32 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-effectiveDates-upperValue"
33 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-effectiveDates-upperValue"
34 xmi:type="uml:LiteralUnlimitedNatural">
35 <value>1</value>
36 </upperValue>
37 <name>effectiveDates</name>
38 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-DateRange"/>
39 </ownedAttribute>
40 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-internetEmail"
41 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-internetEmail"
42 xmi:type="uml:Property">
43 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-internetEmail-ownedComment"
44 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-internetEmail-ownedComment"
45 xmi:type="uml:Comment">
46 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-internetEmail"/>
47 <body>The email address expressed as a string (should follow the Internet format specification - RFC 5322) e.g. user@server.ext, more complex and flexible examples are also supported by the format.</body>
48 </ownedComment>
49 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-internetEmail-lowerValue"
50 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-internetEmail-lowerValue"
51 xmi:type="uml:LiteralInteger"/>
52 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-internetEmail-upperValue"
53 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-internetEmail-upperValue"
54 xmi:type="uml:LiteralUnlimitedNatural">
55 <value>1</value>
56 </upperValue>
57 <name>internetEmail</name>
58 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
59 xmi:type="uml:PrimitiveType"/>
60 </ownedAttribute>
61 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-isPreferred"
62 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-isPreferred"
63 xmi:type="uml:Property">
64 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-isPreferred-ownedComment"
65 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-isPreferred-ownedComment"
66 xmi:type="uml:Comment">
67 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-isPreferred"/>
68 <body>Set to True if this is the preferred email.</body>
69 </ownedComment>
70 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-isPreferred-lowerValue"
71 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-isPreferred-lowerValue"
72 xmi:type="uml:LiteralInteger"/>
73 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-isPreferred-upperValue"
74 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-isPreferred-upperValue"
75 xmi:type="uml:LiteralUnlimitedNatural">
76 <value>1</value>
77 </upperValue>
78 <name>isPreferred</name>
79 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
80 xmi:type="uml:PrimitiveType"/>
81 </ownedAttribute>
82 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-privacy"
83 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-privacy"
84 xmi:type="uml:Property">
85 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-privacy-ownedComment"
86 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-privacy-ownedComment"
87 xmi:type="uml:Comment">
88 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-privacy"/>
89 <body>Indicates the level of privacy.</body>
90 </ownedComment>
91 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-privacy-lowerValue"
92 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-privacy-lowerValue"
93 xmi:type="uml:LiteralInteger"/>
94 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-privacy-upperValue"
95 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-privacy-upperValue"
96 xmi:type="uml:LiteralUnlimitedNatural">
97 <value>1</value>
98 </upperValue>
99 <name>privacy</name>
100 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
101 </ownedAttribute>
102 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-typeOfEmail"
103 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-typeOfEmail"
104 xmi:type="uml:Property">
105 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-typeOfEmail-ownedComment"
106 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-typeOfEmail-ownedComment"
107 xmi:type="uml:Comment">
108 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-typeOfEmail"/>
109 <body>Code indicating the type of e-mail address. Supports the use of an external controlled vocabulary. (e.g. home, office).</body>
110 </ownedComment>
111 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-typeOfEmail-lowerValue"
112 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-typeOfEmail-lowerValue"
113 xmi:type="uml:LiteralInteger"/>
114 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Email-typeOfEmail-upperValue"
115 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Email-typeOfEmail-upperValue"
116 xmi:type="uml:LiteralUnlimitedNatural">
117 <value>1</value>
118 </upperValue>
119 <name>typeOfEmail</name>
120 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
121 </ownedAttribute>
122</packagedElement>
Fragment for the data type Email (entire XML Schema)
1<xs:element name="Email"
2 type="EmailXsdType"
3 xml:id="Email">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Email -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 An e-mail address which conforms to the internet format (RFC 822) including its type and time period for which it is valid.
9
10 Examples
11 ==========
12 info@ddialliance.org; ex.ample@somewhere.org</xs:documentation>
13 </xs:annotation>
14</xs:element>
15<xs:complexType name="EmailXsdType"
16 xml:id="EmailXsdType">
17 <xs:annotation>
18 <xs:documentation>Definition
19 ============
20 An e-mail address which conforms to the internet format (RFC 822) including its type and time period for which it is valid.
21
22 Examples
23 ==========
24 info@ddialliance.org; ex.ample@somewhere.org</xs:documentation>
25 </xs:annotation>
26 <xs:sequence>
27 <xs:element name="effectiveDates"
28 type="DateRangeXsdType"
29 minOccurs="0"
30 maxOccurs="1"
31 xml:id="Email-effectiveDates">
32 <xs:annotation>
33 <xs:documentation>Time period for which the e-mail address is valid.</xs:documentation>
34 </xs:annotation>
35 </xs:element>
36 <xs:element name="internetEmail"
37 type="xs:string"
38 minOccurs="0"
39 maxOccurs="1"
40 xml:id="Email-internetEmail">
41 <xs:annotation>
42 <xs:documentation>The email address expressed as a string (should follow the Internet format specification - RFC 5322) e.g. user@server.ext, more complex and flexible examples are also supported by the format.</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="Email-isPreferred">
50 <xs:annotation>
51 <xs:documentation>Set to True if this is the preferred email.</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="Email-privacy">
59 <xs:annotation>
60 <xs:documentation>Indicates the level of privacy.</xs:documentation>
61 </xs:annotation>
62 </xs:element>
63 <xs:element name="typeOfEmail"
64 type="ControlledVocabularyEntryXsdType"
65 minOccurs="0"
66 maxOccurs="1"
67 xml:id="Email-typeOfEmail">
68 <xs:annotation>
69 <xs:documentation>Code indicating the type of e-mail address. Supports the use of an external controlled vocabulary. (e.g. home, office).</xs:documentation>
70 </xs:annotation>
71 </xs:element>
72 </xs:sequence>
73</xs:complexType>
Fragment for the data type Email (main ontology, entire ontology as zip)
1# datatype Email
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Email
3cdi:Email
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "Email";
6 rdfs:comment "Definition\n============\nAn e-mail address which conforms to the internet format (RFC 822) including its type and time period for which it is valid.\n\nExamples\n==========\ninfo@ddialliance.org; ex.ample@somewhere.org"@en;
7
8 owl:hasKey (cdi:Email-effectiveDates cdi:Email-internetEmail cdi:Email-isPreferred cdi:Email-privacy cdi:Email-typeOfEmail);
9.
10
11cdi:Email-effectiveDates
12 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13 rdfs:label "effectiveDates";
14 rdfs:comment "Time period for which the e-mail address is valid."@en;
15 rdfs:domain cdi:Email;
16 rdfs:range cdi:DateRange;
17.
18
19cdi:Email-internetEmail
20 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21 rdfs:label "internetEmail";
22 rdfs:comment "The email address expressed as a string (should follow the Internet format specification - RFC 5322) e.g. user@server.ext, more complex and flexible examples are also supported by the format."@en;
23 rdfs:domain cdi:Email;
24 rdfs:range xsd:string;
25.
26
27cdi:Email-isPreferred
28 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29 rdfs:label "isPreferred";
30 rdfs:comment "Set to True if this is the preferred email."@en;
31 rdfs:domain cdi:Email;
32 rdfs:range xsd:boolean;
33.
34
35cdi:Email-privacy
36 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
37 rdfs:label "privacy";
38 rdfs:comment "Indicates the level of privacy."@en;
39 rdfs:domain cdi:Email;
40 rdfs:range cdi:ControlledVocabularyEntry;
41.
42
43cdi:Email-typeOfEmail
44 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
45 rdfs:label "typeOfEmail";
46 rdfs:comment "Code indicating the type of e-mail address. Supports the use of an external controlled vocabulary. (e.g. home, office)."@en;
47 rdfs:domain cdi:Email;
48 rdfs:range cdi:ControlledVocabularyEntry;
49.
Fragment for the data type Email (main JSON-LD entire JSON-LD as zip)
1{
2 "@context": [
3 {
4 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
5 "xsd": "http://www.w3.org/2001/XMLSchema#",
6 "Email": "cdi:Email",
7 "effectiveDates": {
8 "@id": "cdi:Email-effectiveDates",
9 "@type": "@id",
10 "@context": "DateRange.jsonld"
11 },
12 "internetEmail": {
13 "@id": "cdi:Email-internetEmail",
14 "@type": "xsd:string"
15 },
16 "isPreferred": {
17 "@id": "cdi:Email-isPreferred",
18 "@type": "xsd:boolean"
19 },
20 "privacy": {
21 "@id": "cdi:Email-privacy",
22 "@type": "@id",
23 "@context": "ControlledVocabularyEntry.jsonld"
24 },
25 "typeOfEmail": {
26 "@id": "cdi:Email-typeOfEmail",
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 2024-09-23 21:53:02.",
35 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Email"
36}