Reference#

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

Definition#

Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

ddiReference

- own datatype -

A DDI type reference to a DDI object.

InternationalRegistrationDataIdentifier

0..1

deepLink

- own datatype -

The selector refers to the object identifier by the ddiReference and has deep linking purposes.

Selector

0..1

description

- own datatype -

Human-readable description of the reference.

String

0..1

location

- own datatype -

The location of the referenced resource, as appropriate to support retrieval.

InternationalString

0..1

nonDdiReference

- own datatype -

A non-DDI reference to any object using a system of identification which is not supported by a URI.

NonDdiIdentifier

0..*

semantic

- own datatype -

External qualifier to describe the purpose or meaning of the reference.

ControlledVocabularyEntry

0..1

uri

- own datatype -

A URI to any object.

XsdAnyUri

0..1

validType

- own datatype -

The expected type of the reference (e.g., the class or element according to the schema of the referenced resource).

String

0..*

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Conceptual

Concept

externalDefinition

Class

Conceptual

ConceptSystem

externalDefinition

Class

Conceptual

InstanceVariable

source

Class

Process

Activity

entityProduced

Class

Process

Activity

entityUsed

Class

Process

Activity

standardModelMapping

Class

Process

Parameter

entityBound

DataType

StructuredDataTypes

AgentInRole

reference

DataType

StructuredDataTypes

CatalogDetails

relatedResource

DataType

StructuredDataTypes

ControlledVocabularyEntry

entryReference

DataType

StructuredDataTypes

ControlledVocabularyEntry

vocabulary

DataType

StructuredDataTypes

LicenseInformation

licenseReference

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 Reference (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-Reference"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference"
  6                  xmi:type="uml:DataType">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference"/>
 11      <body>Definition
 12============
 13Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.</body>
 14   </ownedComment>
 15   <name>Reference</name>
 16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ddiReference"
 17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-ddiReference"
 18                    xmi:type="uml:Property">
 19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ddiReference-ownedComment"
 20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-ddiReference-ownedComment"
 21                     xmi:type="uml:Comment">
 22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ddiReference"/>
 23         <body>A DDI type reference to a DDI object.</body>
 24      </ownedComment>
 25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ddiReference-lowerValue"
 26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-ddiReference-lowerValue"
 27                   xmi:type="uml:LiteralInteger"/>
 28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-ddiReference-upperValue"
 29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-ddiReference-upperValue"
 30                   xmi:type="uml:LiteralUnlimitedNatural">
 31         <value>1</value>
 32      </upperValue>
 33      <name>ddiReference</name>
 34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalRegistrationDataIdentifier"/>
 35   </ownedAttribute>
 36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-deepLink"
 37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-deepLink"
 38                    xmi:type="uml:Property">
 39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-deepLink-ownedComment"
 40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-deepLink-ownedComment"
 41                     xmi:type="uml:Comment">
 42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-deepLink"/>
 43         <body>The selector refers to the object identifier by the ddiReference and has deep linking purposes.</body>
 44      </ownedComment>
 45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-deepLink-lowerValue"
 46                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-deepLink-lowerValue"
 47                   xmi:type="uml:LiteralInteger"/>
 48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-deepLink-upperValue"
 49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-deepLink-upperValue"
 50                   xmi:type="uml:LiteralUnlimitedNatural">
 51         <value>1</value>
 52      </upperValue>
 53      <name>deepLink</name>
 54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Selector"/>
 55   </ownedAttribute>
 56   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-description"
 57                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-description"
 58                    xmi:type="uml:Property">
 59      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-description-ownedComment"
 60                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-description-ownedComment"
 61                     xmi:type="uml:Comment">
 62         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-description"/>
 63         <body>Human-readable description of the reference.</body>
 64      </ownedComment>
 65      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-description-lowerValue"
 66                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-description-lowerValue"
 67                   xmi:type="uml:LiteralInteger"/>
 68      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-description-upperValue"
 69                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-description-upperValue"
 70                   xmi:type="uml:LiteralUnlimitedNatural">
 71         <value>1</value>
 72      </upperValue>
 73      <name>description</name>
 74      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
 75             xmi:type="uml:PrimitiveType"/>
 76   </ownedAttribute>
 77   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-location"
 78                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-location"
 79                    xmi:type="uml:Property">
 80      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-location-ownedComment"
 81                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-location-ownedComment"
 82                     xmi:type="uml:Comment">
 83         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-location"/>
 84         <body>The location of the referenced resource, as appropriate to support retrieval.</body>
 85      </ownedComment>
 86      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-location-lowerValue"
 87                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-location-lowerValue"
 88                   xmi:type="uml:LiteralInteger"/>
 89      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-location-upperValue"
 90                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-location-upperValue"
 91                   xmi:type="uml:LiteralUnlimitedNatural">
 92         <value>1</value>
 93      </upperValue>
 94      <name>location</name>
 95      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
 96   </ownedAttribute>
 97   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-nonDdiReference"
 98                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-nonDdiReference"
 99                    xmi:type="uml:Property">
100      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-nonDdiReference-ownedComment"
101                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-nonDdiReference-ownedComment"
102                     xmi:type="uml:Comment">
103         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-nonDdiReference"/>
104         <body>A non-DDI reference to any object using a system of identification which is not supported by a URI.</body>
105      </ownedComment>
106      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-nonDdiReference-lowerValue"
107                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-nonDdiReference-lowerValue"
108                   xmi:type="uml:LiteralInteger"/>
109      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-nonDdiReference-upperValue"
110                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-nonDdiReference-upperValue"
111                   xmi:type="uml:LiteralUnlimitedNatural">
112         <value>*</value>
113      </upperValue>
114      <name>nonDdiReference</name>
115      <isOrdered>true</isOrdered>
116      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonDdiIdentifier"/>
117   </ownedAttribute>
118   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-semantic"
119                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-semantic"
120                    xmi:type="uml:Property">
121      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-semantic-ownedComment"
122                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-semantic-ownedComment"
123                     xmi:type="uml:Comment">
124         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-semantic"/>
125         <body>External qualifier to describe the purpose or meaning of the reference.</body>
126      </ownedComment>
127      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-semantic-lowerValue"
128                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-semantic-lowerValue"
129                   xmi:type="uml:LiteralInteger"/>
130      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-semantic-upperValue"
131                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-semantic-upperValue"
132                   xmi:type="uml:LiteralUnlimitedNatural">
133         <value>1</value>
134      </upperValue>
135      <name>semantic</name>
136      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
137   </ownedAttribute>
138   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-uri"
139                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-uri"
140                    xmi:type="uml:Property">
141      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-uri-ownedComment"
142                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-uri-ownedComment"
143                     xmi:type="uml:Comment">
144         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-uri"/>
145         <body>A URI to any object.</body>
146      </ownedComment>
147      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-uri-lowerValue"
148                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-uri-lowerValue"
149                   xmi:type="uml:LiteralInteger"/>
150      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-uri-upperValue"
151                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-uri-upperValue"
152                   xmi:type="uml:LiteralUnlimitedNatural">
153         <value>1</value>
154      </upperValue>
155      <name>uri</name>
156      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdAnyUri"/>
157   </ownedAttribute>
158   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-validType"
159                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-validType"
160                    xmi:type="uml:Property">
161      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-validType-ownedComment"
162                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-validType-ownedComment"
163                     xmi:type="uml:Comment">
164         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-validType"/>
165         <body>The expected type of the reference (e.g., the class or element according to the schema of the referenced resource).</body>
166      </ownedComment>
167      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-validType-lowerValue"
168                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-validType-lowerValue"
169                   xmi:type="uml:LiteralInteger"/>
170      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference-validType-upperValue"
171                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Reference-validType-upperValue"
172                   xmi:type="uml:LiteralUnlimitedNatural">
173         <value>*</value>
174      </upperValue>
175      <name>validType</name>
176      <isOrdered>true</isOrdered>
177      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
178             xmi:type="uml:PrimitiveType"/>
179   </ownedAttribute>
180</packagedElement>

Fragment for the data type Reference (entire XML Schema)

  1<xs:element name="Reference"
  2            type="ReferenceXsdType"
  3            xml:id="Reference">
  4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference -->
  5  <xs:annotation>
  6    <xs:documentation>Definition
  7          ============
  8          Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.</xs:documentation>
  9  </xs:annotation>
 10</xs:element>
 11<xs:complexType name="ReferenceXsdType"
 12                xml:id="ReferenceXsdType">
 13  <xs:annotation>
 14    <xs:documentation>Definition
 15          ============
 16          Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.</xs:documentation>
 17  </xs:annotation>
 18  <xs:sequence>
 19    <xs:element name="ddiReference"
 20                type="InternationalRegistrationDataIdentifierXsdType"
 21                minOccurs="0"
 22                maxOccurs="1"
 23                xml:id="Reference-ddiReference">
 24      <xs:annotation>
 25        <xs:documentation>A DDI type reference to a DDI object.</xs:documentation>
 26      </xs:annotation>
 27    </xs:element>
 28    <xs:element name="deepLink"
 29                type="SelectorXsdType"
 30                minOccurs="0"
 31                maxOccurs="1"
 32                xml:id="Reference-deepLink">
 33      <xs:annotation>
 34        <xs:documentation>The selector refers to the object identifier by the ddiReference and has deep linking purposes.</xs:documentation>
 35      </xs:annotation>
 36    </xs:element>
 37    <xs:element name="description"
 38                type="xs:string"
 39                minOccurs="0"
 40                maxOccurs="1"
 41                xml:id="Reference-description">
 42      <xs:annotation>
 43        <xs:documentation>Human-readable description of the reference.</xs:documentation>
 44      </xs:annotation>
 45    </xs:element>
 46    <xs:element name="location"
 47                type="InternationalStringXsdType"
 48                minOccurs="0"
 49                maxOccurs="1"
 50                xml:id="Reference-location">
 51      <xs:annotation>
 52        <xs:documentation>The location of the referenced resource, as appropriate to support retrieval.</xs:documentation>
 53      </xs:annotation>
 54    </xs:element>
 55    <xs:element name="nonDdiReference"
 56                type="NonDdiIdentifierXsdType"
 57                minOccurs="0"
 58                maxOccurs="unbounded"
 59                xml:id="Reference-nonDdiReference">
 60      <xs:annotation>
 61        <xs:documentation>A non-DDI reference to any object using a system of identification which is not supported by a URI.</xs:documentation>
 62      </xs:annotation>
 63    </xs:element>
 64    <xs:element name="semantic"
 65                type="ControlledVocabularyEntryXsdType"
 66                minOccurs="0"
 67                maxOccurs="1"
 68                xml:id="Reference-semantic">
 69      <xs:annotation>
 70        <xs:documentation>External qualifier to describe the purpose or meaning of the reference.</xs:documentation>
 71      </xs:annotation>
 72    </xs:element>
 73    <xs:element name="uri"
 74                type="xs:anyURI"
 75                minOccurs="0"
 76                maxOccurs="1"
 77                xml:id="Reference-uri">
 78      <xs:annotation>
 79        <xs:documentation>A URI to any object.</xs:documentation>
 80      </xs:annotation>
 81    </xs:element>
 82    <xs:element name="validType"
 83                type="xs:string"
 84                minOccurs="0"
 85                maxOccurs="unbounded"
 86                xml:id="Reference-validType">
 87      <xs:annotation>
 88        <xs:documentation>The expected type of the reference (e.g., the class or element according to the schema of the referenced resource).</xs:documentation>
 89      </xs:annotation>
 90    </xs:element>
 91  </xs:sequence>
 92</xs:complexType>
 93<xs:element name="AssociationReference"
 94            type="AssociationReferenceXsdType"
 95            xml:id="AssociationReference">
 96  <!-- related to the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference -->
 97  <xs:annotation>
 98    <xs:documentation>AssociationReference Definition
 99          ============
100          Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.</xs:documentation>
101  </xs:annotation>
102</xs:element>
103<xs:complexType name="AssociationReferenceXsdType"
104                xml:id="AssociationReferenceXsdType">
105  <xs:annotation>
106    <xs:documentation>Definition
107          ============
108          Provides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata.</xs:documentation>
109  </xs:annotation>
110      <xs:sequence>
111        <xs:element name="ddiReference"
112                    type="InternationalRegistrationDataIdentifierXsdType"
113                    minOccurs="0"
114                    maxOccurs="1"
115                    xml:id="AssociationReference-ddiReference">
116          <xs:annotation>
117            <xs:documentation>A DDI type reference to a DDI object.</xs:documentation>
118          </xs:annotation>
119        </xs:element>
120        <xs:element name="validType"
121                    type="xs:string"
122                    minOccurs="0"
123                    maxOccurs="unbounded"
124                    xml:id="AssociationReference-validType">
125          <xs:annotation>
126            <xs:documentation>The expected type of the reference (e.g., the class or element according to the schema of the referenced resource).</xs:documentation>
127          </xs:annotation>
128        </xs:element>
129      </xs:sequence>
130      <xs:attribute name="isAssociationReference"
131                    type="xs:boolean"
132                    fixed="true"
133                    xml:id="isAssociationReference"/>
134</xs:complexType>

Fragment for the data type Reference (entire JSON Schema)

 1"dt-Reference": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Reference",
 3  "type": ["object"],
 4  "properties": {
 5    "ddiReference": {
 6      "$comment": "cardinality 0..1 – from cdi:Reference",
 7      "$ref": "#/defs/dt-InternationalRegistrationDataIdentifier"
 8    },
 9    "deepLink": {
10      "$comment": "cardinality 0..1 – from cdi:Reference",
11      "$ref": "#/defs/dt-Selector"
12    },
13    "description": {
14      "$comment": "cardinality 0..1 – from cdi:Reference",
15      "$ref": "#/defs/xsd:string"
16    },
17    "location": {
18      "$comment": "cardinality 0..1 – from cdi:Reference",
19      "$ref": "#/defs/dt-InternationalString"
20    },
21    "nonDdiReference": {
22      "$comment": "cardinality 0..-1 – from cdi:Reference",
23      "if": { "type": "array" },
24      "then": { "items": { "$ref": "#/defs/dt-NonDdiIdentifier" } },
25      "else": { "$ref": "#/defs/dt-NonDdiIdentifier" }
26    },
27    "semantic": {
28      "$comment": "cardinality 0..1 – from cdi:Reference",
29      "$ref": "#/defs/dt-ControlledVocabularyEntry"
30    },
31    "uri": {
32      "$comment": "cardinality 0..1 – from cdi:Reference",
33      "$ref": "#/defs/xsd:anyURI"
34    },
35    "validType": {
36      "$comment": "cardinality 0..-1 – from cdi:Reference",
37      "if": { "type": "array" },
38      "then": { "items": { "$ref": "#/defs/xsd:string" } },
39      "else": { "$ref": "#/defs/xsd:string" }
40    },
41    "@type": {
42      "const": "Reference"
43    }
44  },
45  "required": ["@type"],
46  "additionalProperties": false
47},

Fragment for the data type Reference (main ontology)

 1# datatype Reference
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference
 3cdi:Reference
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "Reference";
 6  rdfs:comment "Definition\n============\nProvides a way of pointing to resources outside of the information described in the set of DDI-CDI metadata."@en;
 7  
 8  owl:hasKey (cdi:Reference-ddiReference cdi:Reference-deepLink cdi:Reference-description cdi:Reference-location cdi:Reference-nonDdiReference cdi:Reference-semantic cdi:Reference-uri cdi:Reference-validType);
 9.
10
11cdi:Reference-ddiReference
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "ddiReference";
14  rdfs:comment "A DDI type reference to a DDI object."@en;
15  rdfs:domain cdi:Reference;
16  rdfs:range cdi:InternationalRegistrationDataIdentifier;
17.
18
19cdi:Reference-deepLink
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "deepLink";
22  rdfs:comment "The selector refers to the object identifier by the ddiReference and has deep linking purposes."@en;
23  rdfs:domain cdi:Reference;
24  rdfs:range cdi:Selector;
25.
26
27cdi:Reference-description
28  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29  rdfs:label "description";
30  rdfs:comment "Human-readable description of the reference."@en;
31  rdfs:domain cdi:Reference;
32  rdfs:range xsd:string;
33.
34
35cdi:Reference-location
36  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
37  rdfs:label "location";
38  rdfs:comment "The location of the referenced resource, as appropriate to support retrieval."@en;
39  rdfs:domain cdi:Reference;
40  rdfs:range cdi:InternationalString;
41.
42
43cdi:Reference-nonDdiReference
44  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
45  rdfs:label "nonDdiReference";
46  rdfs:comment "A non-DDI reference to any object using a system of identification which is not supported by a URI."@en;
47  rdfs:domain cdi:Reference;
48  rdfs:range cdi:NonDdiIdentifier;
49.
50
51cdi:Reference-semantic
52  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
53  rdfs:label "semantic";
54  rdfs:comment "External qualifier to describe the purpose or meaning of the reference."@en;
55  rdfs:domain cdi:Reference;
56  rdfs:range cdi:ControlledVocabularyEntry;
57.
58
59cdi:Reference-uri
60  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
61  rdfs:label "uri";
62  rdfs:comment "A URI to any object."@en;
63  rdfs:domain cdi:Reference;
64  rdfs:range xsd:anyURI;
65.
66
67cdi:Reference-validType
68  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
69  rdfs:label "validType";
70  rdfs:comment "The expected type of the reference (e.g., the class or element according to the schema of the referenced resource)."@en;
71  rdfs:domain cdi:Reference;
72  rdfs:range xsd:string;
73.

Fragment for the data type Reference (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      "ddiReference": {
 8        "@id": "cdi:Reference-ddiReference",
 9        "@type": "@id",
10        "@context": "InternationalRegistrationDataIdentifier.jsonld"
11      },
12      "deepLink": {
13        "@id": "cdi:Reference-deepLink",
14        "@type": "@id",
15        "@context": "Selector.jsonld"
16      },
17      "description": {
18        "@id": "cdi:Reference-description",
19        "@type": "xsd:string"
20      },
21      "location": {
22        "@id": "cdi:Reference-location",
23        "@type": "@id",
24        "@context": "InternationalString.jsonld"
25      },
26      "nonDdiReference": {
27        "@id": "cdi:Reference-nonDdiReference",
28        "@type": "@id",
29        "@context": "NonDdiIdentifier.jsonld"
30      },
31      "semantic": {
32        "@id": "cdi:Reference-semantic",
33        "@type": "@id",
34        "@context": "ControlledVocabularyEntry.jsonld"
35      },
36      "uri": {
37        "@id": "cdi:Reference-uri",
38        "@type": "xsd:anyURI"
39      },
40      "validType": {
41        "@id": "cdi:Reference-validType",
42        "@type": "xsd:string"
43      },
44      
45      " comment ": "tag:json-should-support-trailing-commas" 
46    }
47  ],
48  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:56.",
49  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference"
50}

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

 1# datatype Reference
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference
 3<#Reference> a sh:NodeShape;
 4    sh:targetClass cdi:Reference;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Reference";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:Reference
11			 ) ;
12    ];
13    # attributes
14    sh:property <#Reference-ddiReference>;
15    sh:property <#Reference-deepLink>;
16    sh:property <#Reference-description>;
17    sh:property <#Reference-location>;
18    sh:property <#Reference-nonDdiReference>;
19    sh:property <#Reference-semantic>;
20    sh:property <#Reference-uri>;
21    sh:property <#Reference-validType>;
22
23
24
25.
26
27<#Reference-ddiReference> a sh:PropertyShape ;
28    sh:path cdi:Reference-ddiReference;
29    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
30        cdi:InternationalRegistrationDataIdentifier
31      
32    ) ]];
33    sh:maxCount 1;
34.
35<#Reference-deepLink> a sh:PropertyShape ;
36    sh:path cdi:Reference-deepLink;
37    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
38        cdi:Selector
39        cdi:ObjectAttributeSelector
40        cdi:TextPositionSelector
41      
42    ) ]];
43    sh:maxCount 1;
44.
45<#Reference-description> a sh:PropertyShape ;
46    sh:path cdi:Reference-description;
47    sh:datatype xsd:string;
48    sh:maxCount 1;
49.
50<#Reference-location> a sh:PropertyShape ;
51    sh:path cdi:Reference-location;
52    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
53        cdi:InternationalString
54        cdi:BibliographicName
55        cdi:LabelForDisplay
56      
57    ) ]];
58    sh:maxCount 1;
59.
60<#Reference-nonDdiReference> a sh:PropertyShape ;
61    sh:path cdi:Reference-nonDdiReference;
62    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
63        cdi:NonDdiIdentifier
64      
65    ) ]];
66.
67<#Reference-semantic> a sh:PropertyShape ;
68    sh:path cdi:Reference-semantic;
69    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
70        cdi:ControlledVocabularyEntry
71      
72    ) ]];
73    sh:maxCount 1;
74.
75<#Reference-uri> a sh:PropertyShape ;
76    sh:path cdi:Reference-uri;
77    sh:datatype xsd:anyURI;
78    sh:maxCount 1;
79.
80<#Reference-validType> a sh:PropertyShape ;
81    sh:path cdi:Reference-validType;
82    sh:datatype xsd:string;
83.

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

 1# datatype Reference
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Reference
 3cdi:ReferenceShape CLOSED {
 4	a [cdi:Reference];
 5	cdi:Reference-ddiReference	@cdi:InternationalRegistrationDataIdentifierShape?;
 6	cdi:Reference-deepLink	@cdi:SelectorShape?;
 7	cdi:Reference-description	xsd:string?;
 8	cdi:Reference-location	@cdi:InternationalStringShape?;
 9	cdi:Reference-nonDdiReference	@cdi:NonDdiIdentifierShape*;
10	cdi:Reference-semantic	@cdi:ControlledVocabularyEntryShape?;
11	cdi:Reference-uri	xsd:anyURI?;
12	cdi:Reference-validType	xsd:string*;
13	}