WebLink¶
Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::WebLink
Definition¶
A web site (normally a URL) with information on type of site, privacy flag, and effective dates.
Diagram
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
effectiveDates |
- own datatype - |
The period for which this URL is valid. |
0..1 |
||
isPreferred |
- own datatype - |
Set to True if this is the preferred URL. |
Boolean |
0..1 |
|
privacy |
- own datatype - |
Indicates the privacy level of this URL. |
0..1 |
||
typeOfWebsite |
- own datatype - |
The type of Website URL, for example personal, project, organization, division, etc. |
0..1 |
||
uri |
- own datatype - |
A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. Normally a URL. |
0..1 |
Usage
Type |
Package |
Classifier |
Attribute |
---|---|---|---|
DataType |
StructuredDataTypes |
website |
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 WebLink (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-WebLink"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink"/>
11 <body>Definition
12============
13A web site (normally a URL) with information on type of site, privacy flag, and effective dates.</body>
14 </ownedComment>
15 <name>WebLink</name>
16 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-effectiveDates"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-effectiveDates"
18 xmi:type="uml:Property">
19 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-effectiveDates-ownedComment"
20 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-effectiveDates-ownedComment"
21 xmi:type="uml:Comment">
22 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-effectiveDates"/>
23 <body>The period for which this URL is valid.</body>
24 </ownedComment>
25 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-effectiveDates-lowerValue"
26 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-effectiveDates-lowerValue"
27 xmi:type="uml:LiteralInteger"/>
28 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-effectiveDates-upperValue"
29 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-effectiveDates-upperValue"
30 xmi:type="uml:LiteralUnlimitedNatural">
31 <value>1</value>
32 </upperValue>
33 <name>effectiveDates</name>
34 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-DateRange"/>
35 </ownedAttribute>
36 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-isPreferred"
37 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-isPreferred"
38 xmi:type="uml:Property">
39 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-isPreferred-ownedComment"
40 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-isPreferred-ownedComment"
41 xmi:type="uml:Comment">
42 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-isPreferred"/>
43 <body>Set to True if this is the preferred URL.</body>
44 </ownedComment>
45 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-isPreferred-lowerValue"
46 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-isPreferred-lowerValue"
47 xmi:type="uml:LiteralInteger"/>
48 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-isPreferred-upperValue"
49 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-isPreferred-upperValue"
50 xmi:type="uml:LiteralUnlimitedNatural">
51 <value>1</value>
52 </upperValue>
53 <name>isPreferred</name>
54 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
55 xmi:type="uml:PrimitiveType"/>
56 </ownedAttribute>
57 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-privacy"
58 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-privacy"
59 xmi:type="uml:Property">
60 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-privacy-ownedComment"
61 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-privacy-ownedComment"
62 xmi:type="uml:Comment">
63 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-privacy"/>
64 <body>Indicates the privacy level of this URL.</body>
65 </ownedComment>
66 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-privacy-lowerValue"
67 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-privacy-lowerValue"
68 xmi:type="uml:LiteralInteger"/>
69 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-privacy-upperValue"
70 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-privacy-upperValue"
71 xmi:type="uml:LiteralUnlimitedNatural">
72 <value>1</value>
73 </upperValue>
74 <name>privacy</name>
75 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
76 </ownedAttribute>
77 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-typeOfWebsite"
78 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-typeOfWebsite"
79 xmi:type="uml:Property">
80 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-typeOfWebsite-ownedComment"
81 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-typeOfWebsite-ownedComment"
82 xmi:type="uml:Comment">
83 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-typeOfWebsite"/>
84 <body>The type of Website URL, for example personal, project, organization, division, etc.</body>
85 </ownedComment>
86 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-typeOfWebsite-lowerValue"
87 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-typeOfWebsite-lowerValue"
88 xmi:type="uml:LiteralInteger"/>
89 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-typeOfWebsite-upperValue"
90 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-typeOfWebsite-upperValue"
91 xmi:type="uml:LiteralUnlimitedNatural">
92 <value>1</value>
93 </upperValue>
94 <name>typeOfWebsite</name>
95 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
96 </ownedAttribute>
97 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-uri"
98 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-uri"
99 xmi:type="uml:Property">
100 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-uri-ownedComment"
101 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-uri-ownedComment"
102 xmi:type="uml:Comment">
103 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-uri"/>
104 <body>A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. Normally a URL.</body>
105 </ownedComment>
106 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-uri-lowerValue"
107 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-uri-lowerValue"
108 xmi:type="uml:LiteralInteger"/>
109 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-WebLink-uri-upperValue"
110 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#WebLink-uri-upperValue"
111 xmi:type="uml:LiteralUnlimitedNatural">
112 <value>1</value>
113 </upperValue>
114 <name>uri</name>
115 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdAnyUri"/>
116 </ownedAttribute>
117</packagedElement>
Fragment for the data type WebLink (entire XML Schema)
1<xs:element name="WebLink"
2 type="WebLinkXsdType"
3 xml:id="WebLink">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::WebLink -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 A web site (normally a URL) with information on type of site, privacy flag, and effective dates.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="WebLinkXsdType"
12 xml:id="WebLinkXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 A web site (normally a URL) with information on type of site, privacy flag, and effective dates.</xs:documentation>
17 </xs:annotation>
18 <xs:sequence>
19 <xs:element name="effectiveDates"
20 type="DateRangeXsdType"
21 minOccurs="0"
22 maxOccurs="1"
23 xml:id="WebLink-effectiveDates">
24 <xs:annotation>
25 <xs:documentation>The period for which this URL is valid.</xs:documentation>
26 </xs:annotation>
27 </xs:element>
28 <xs:element name="isPreferred"
29 type="xs:boolean"
30 minOccurs="0"
31 maxOccurs="1"
32 xml:id="WebLink-isPreferred">
33 <xs:annotation>
34 <xs:documentation>Set to True if this is the preferred URL.</xs:documentation>
35 </xs:annotation>
36 </xs:element>
37 <xs:element name="privacy"
38 type="ControlledVocabularyEntryXsdType"
39 minOccurs="0"
40 maxOccurs="1"
41 xml:id="WebLink-privacy">
42 <xs:annotation>
43 <xs:documentation>Indicates the privacy level of this URL.</xs:documentation>
44 </xs:annotation>
45 </xs:element>
46 <xs:element name="typeOfWebsite"
47 type="ControlledVocabularyEntryXsdType"
48 minOccurs="0"
49 maxOccurs="1"
50 xml:id="WebLink-typeOfWebsite">
51 <xs:annotation>
52 <xs:documentation>The type of Website URL, for example personal, project, organization, division, etc.</xs:documentation>
53 </xs:annotation>
54 </xs:element>
55 <xs:element name="uri"
56 type="xs:anyURI"
57 minOccurs="0"
58 maxOccurs="1"
59 xml:id="WebLink-uri">
60 <xs:annotation>
61 <xs:documentation>A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. Normally a URL.</xs:documentation>
62 </xs:annotation>
63 </xs:element>
64 </xs:sequence>
65</xs:complexType>
Fragment for the data type WebLink (main ontology, entire ontology as zip)
1# datatype WebLink
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::WebLink
3cdi:WebLink
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "WebLink";
6 rdfs:comment "Definition\n============\nA web site (normally a URL) with information on type of site, privacy flag, and effective dates."@en;
7
8 owl:hasKey (cdi:WebLink-effectiveDates cdi:WebLink-isPreferred cdi:WebLink-privacy cdi:WebLink-typeOfWebsite cdi:WebLink-uri);
9.
10
11cdi:WebLink-effectiveDates
12 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13 rdfs:label "effectiveDates";
14 rdfs:comment "The period for which this URL is valid."@en;
15 rdfs:domain cdi:WebLink;
16 rdfs:range cdi:DateRange;
17.
18
19cdi:WebLink-isPreferred
20 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21 rdfs:label "isPreferred";
22 rdfs:comment "Set to True if this is the preferred URL."@en;
23 rdfs:domain cdi:WebLink;
24 rdfs:range xsd:boolean;
25.
26
27cdi:WebLink-privacy
28 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
29 rdfs:label "privacy";
30 rdfs:comment "Indicates the privacy level of this URL."@en;
31 rdfs:domain cdi:WebLink;
32 rdfs:range cdi:ControlledVocabularyEntry;
33.
34
35cdi:WebLink-typeOfWebsite
36 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
37 rdfs:label "typeOfWebsite";
38 rdfs:comment "The type of Website URL, for example personal, project, organization, division, etc."@en;
39 rdfs:domain cdi:WebLink;
40 rdfs:range cdi:ControlledVocabularyEntry;
41.
42
43cdi:WebLink-uri
44 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
45 rdfs:label "uri";
46 rdfs:comment "A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. Normally a URL."@en;
47 rdfs:domain cdi:WebLink;
48 rdfs:range xsd:anyURI;
49.
Fragment for the data type WebLink (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 "WebLink": "cdi:WebLink",
7 "effectiveDates": {
8 "@id": "cdi:WebLink-effectiveDates",
9 "@type": "@id",
10 "@context": "DateRange.jsonld"
11 },
12 "isPreferred": {
13 "@id": "cdi:WebLink-isPreferred",
14 "@type": "xsd:boolean"
15 },
16 "privacy": {
17 "@id": "cdi:WebLink-privacy",
18 "@type": "@id",
19 "@context": "ControlledVocabularyEntry.jsonld"
20 },
21 "typeOfWebsite": {
22 "@id": "cdi:WebLink-typeOfWebsite",
23 "@type": "@id",
24 "@context": "ControlledVocabularyEntry.jsonld"
25 },
26 "uri": {
27 "@id": "cdi:WebLink-uri",
28 "@type": "xsd:anyURI"
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-03-16 23:40:14.",
35 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::WebLink"
36}