DataSet#

Fully qualified class name of the UML model DDI-CDI 1.1beta: DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet

Definition#

Organized collection of data based on keys.

Diagram#

Diagram

Inheritance#

Inheritance
DataDescription::DataSet

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

catalogDetails

- own class -

Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes.

CatalogDetails

0..1

fingerprint

- own class -

Universal Numerical Fingerprint or similar format-independent canonical hash value of the physical representation of data in the physical data set.

DataFingerprint

0..1

identifier

- own class -

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

name

- own class -

Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.

ObjectName

0..*

recordCount

- own class -

Number of records in the data set.

Integer

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of DataSet

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

DataSet has InstanceVariable

1..*

Conceptual

InstanceVariable

0..*

shared

own class

from

DataSet has DataPoint

1..1

- own package -

DataPoint

0..*

composite

own class

from

DataSet has Key

1..1

- own package -

Key

0..*

composite

own class

from

DataSet isStructuredBy DataStructure

0..*

- own package -

DataStructure

0..*

none

own class

to

LogicalRecord organizes DataSet

0..*

FormatDescription

LogicalRecord

0..*

none

own class

to

PhysicalDataSet correspondsTo DataSet

0..1

FormatDescription

PhysicalDataSet

0..*

none

own class

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 class DataSet (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-Classes-DataDescription-DataSet"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet"/>
 11      <body>Definition 
 12============ 
 13Organized collection of data based on keys.</body>
 14   </ownedComment>
 15   <name>DataSet</name>
 16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails"
 17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails"
 18                    xmi:type="uml:Property">
 19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-ownedComment"
 20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-ownedComment"
 21                     xmi:type="uml:Comment">
 22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails"/>
 23         <body>Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes.</body>
 24      </ownedComment>
 25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-lowerValue"
 26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-lowerValue"
 27                   xmi:type="uml:LiteralInteger"/>
 28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-catalogDetails-upperValue"
 29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-catalogDetails-upperValue"
 30                   xmi:type="uml:LiteralUnlimitedNatural">
 31         <value>1</value>
 32      </upperValue>
 33      <name>catalogDetails</name>
 34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CatalogDetails"/>
 35   </ownedAttribute>
 36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-fingerprint"
 37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-fingerprint"
 38                    xmi:type="uml:Property">
 39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-fingerprint-ownedComment"
 40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-fingerprint-ownedComment"
 41                     xmi:type="uml:Comment">
 42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-fingerprint"/>
 43         <body>Universal Numerical Fingerprint or similar format-independent canonical hash value of the physical representation of data in the physical data set.
 44</body>
 45      </ownedComment>
 46      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-fingerprint-lowerValue"
 47                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-fingerprint-lowerValue"
 48                   xmi:type="uml:LiteralInteger"/>
 49      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-fingerprint-upperValue"
 50                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-fingerprint-upperValue"
 51                   xmi:type="uml:LiteralUnlimitedNatural">
 52         <value>1</value>
 53      </upperValue>
 54      <name>fingerprint</name>
 55      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-DataFingerprint"/>
 56   </ownedAttribute>
 57   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier"
 58                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier"
 59                    xmi:type="uml:Property">
 60      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-ownedComment"
 61                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-ownedComment"
 62                     xmi:type="uml:Comment">
 63         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier"/>
 64         <body>Identifier for objects requiring short- or long-lasting referencing and management.
 65</body>
 66      </ownedComment>
 67      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-lowerValue"
 68                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-lowerValue"
 69                   xmi:type="uml:LiteralInteger"/>
 70      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-identifier-upperValue"
 71                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-identifier-upperValue"
 72                   xmi:type="uml:LiteralUnlimitedNatural">
 73         <value>1</value>
 74      </upperValue>
 75      <name>identifier</name>
 76      <isID>true</isID>
 77      <isID>true</isID>
 78      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 79   </ownedAttribute>
 80   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-name"
 81                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-name"
 82                    xmi:type="uml:Property">
 83      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-name-ownedComment"
 84                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-name-ownedComment"
 85                     xmi:type="uml:Comment">
 86         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-name"/>
 87         <body>Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.
 88</body>
 89      </ownedComment>
 90      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-name-lowerValue"
 91                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-name-lowerValue"
 92                   xmi:type="uml:LiteralInteger"/>
 93      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-name-upperValue"
 94                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-name-upperValue"
 95                   xmi:type="uml:LiteralUnlimitedNatural">
 96         <value>*</value>
 97      </upperValue>
 98      <name>name</name>
 99      <isOrdered>true</isOrdered>
100      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
101   </ownedAttribute>
102   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1"
103                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1"
104                    xmi:type="uml:Property">
105      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1-lowerValue"
106                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1-lowerValue"
107                   xmi:type="uml:LiteralInteger"/>
108      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_1-upperValue"
109                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_1-upperValue"
110                   xmi:type="uml:LiteralUnlimitedNatural">
111         <value>*</value>
112      </upperValue>
113      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_isStructuredBy_DataStructure"/>
114      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataStructure"/>
115   </ownedAttribute>
116   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2"
117                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2"
118                    xmi:type="uml:Property">
119      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2-lowerValue"
120                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2-lowerValue"
121                   xmi:type="uml:LiteralInteger"/>
122      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_2-upperValue"
123                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_2-upperValue"
124                   xmi:type="uml:LiteralUnlimitedNatural">
125         <value>*</value>
126      </upperValue>
127      <aggregation>composite</aggregation>
128      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_has_DataPoint"/>
129      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataPoint"/>
130   </ownedAttribute>
131   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3"
132                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3"
133                    xmi:type="uml:Property">
134      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3-lowerValue"
135                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3-lowerValue"
136                   xmi:type="uml:LiteralInteger"/>
137      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_3-upperValue"
138                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_3-upperValue"
139                   xmi:type="uml:LiteralUnlimitedNatural">
140         <value>*</value>
141      </upperValue>
142      <aggregation>shared</aggregation>
143      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-DataSet_has_InstanceVariable"/>
144      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-InstanceVariable"/>
145   </ownedAttribute>
146   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_4"
147                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_4"
148                    xmi:type="uml:Property">
149      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_4-lowerValue"
150                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_4-lowerValue"
151                   xmi:type="uml:LiteralInteger"/>
152      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-ownedAttribute_4-upperValue"
153                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-ownedAttribute_4-upperValue"
154                   xmi:type="uml:LiteralUnlimitedNatural">
155         <value>*</value>
156      </upperValue>
157      <aggregation>composite</aggregation>
158      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet_has_Key"/>
159      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Key"/>
160   </ownedAttribute>
161   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-recordCount"
162                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-recordCount"
163                    xmi:type="uml:Property">
164      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-recordCount-ownedComment"
165                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-recordCount-ownedComment"
166                     xmi:type="uml:Comment">
167         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-recordCount"/>
168         <body>Number of records in the data set.</body>
169      </ownedComment>
170      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-recordCount-lowerValue"
171                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-recordCount-lowerValue"
172                   xmi:type="uml:LiteralInteger"/>
173      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-DataSet-recordCount-upperValue"
174                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#DataSet-recordCount-upperValue"
175                   xmi:type="uml:LiteralUnlimitedNatural">
176         <value>1</value>
177      </upperValue>
178      <name>recordCount</name>
179      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
180             xmi:type="uml:PrimitiveType"/>
181   </ownedAttribute>
182</packagedElement>

Fragment for the class DataSet (entire XML Schema)

  1<xs:element name="DataSet"
  2            type="DataSetXsdType"
  3            xml:id="DataSet">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          Organized collection of data based on keys.</xs:documentation>
  9  </xs:annotation>
 10</xs:element>
 11<xs:complexType name="DataSetXsdType"
 12                xml:id="DataSetXsdType">
 13  <xs:annotation>
 14    <xs:documentation>Definition 
 15          ============ 
 16          Organized collection of data based on keys.</xs:documentation>
 17  </xs:annotation>
 18  <xs:sequence>
 19    <xs:element name="catalogDetails"
 20                type="CatalogDetailsXsdType"
 21                minOccurs="0"
 22                maxOccurs="1"
 23                xml:id="DataSet-catalogDetails">
 24      <xs:annotation>
 25        <xs:documentation>Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes.</xs:documentation>
 26      </xs:annotation>
 27    </xs:element>
 28    <xs:element name="fingerprint"
 29                type="DataFingerprintXsdType"
 30                minOccurs="0"
 31                maxOccurs="1"
 32                xml:id="DataSet-fingerprint">
 33      <xs:annotation>
 34        <xs:documentation>Universal Numerical Fingerprint or similar format-independent canonical hash value of the physical representation of data in the physical data set.</xs:documentation>
 35      </xs:annotation>
 36    </xs:element>
 37    <xs:element name="identifier"
 38                type="IdentifierXsdType"
 39                minOccurs="0"
 40                maxOccurs="1"
 41                xml:id="DataSet-identifier">
 42      <xs:annotation>
 43        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 44      </xs:annotation>
 45    </xs:element>
 46    <xs:element name="name"
 47                type="ObjectNameXsdType"
 48                minOccurs="0"
 49                maxOccurs="unbounded"
 50                xml:id="DataSet-name">
 51      <xs:annotation>
 52        <xs:documentation>Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</xs:documentation>
 53      </xs:annotation>
 54    </xs:element>
 55    <xs:element name="recordCount"
 56                type="xs:integer"
 57                minOccurs="0"
 58                maxOccurs="1"
 59                xml:id="DataSet-recordCount">
 60      <xs:annotation>
 61        <xs:documentation>Number of records in the data set.</xs:documentation>
 62      </xs:annotation>
 63    </xs:element>
 64    <xs:element name="DataSet_isStructuredBy_DataStructure"
 65                minOccurs="0"
 66                maxOccurs="unbounded"
 67                xml:id="DataSet_isStructuredBy_DataStructure">
 68      <xs:annotation>
 69        <xs:documentation></xs:documentation>
 70      </xs:annotation>
 71      <xs:complexType>
 72        <xs:complexContent>
 73          <xs:restriction base="AssociationReferenceXsdType">
 74            <xs:sequence>
 75              <xs:element name="ddiReference"
 76                          type="InternationalRegistrationDataIdentifierXsdType"
 77                          minOccurs="0"
 78                          maxOccurs="1"
 79                          xml:id="DataSet_isStructuredBy_DataStructure-ddiReference"/>
 80              <xs:element name="validType"
 81                          minOccurs="0"
 82                          maxOccurs="unbounded"
 83                          xml:id="DataSet_isStructuredBy_DataStructure-validType">
 84                <xs:simpleType>
 85                  <xs:restriction base="xs:NMTOKEN">
 86                    <xs:enumeration value="DataStructure"/>
 87                    <xs:enumeration value="DimensionalDataStructure"/>
 88                    <xs:enumeration value="KeyValueStructure"/>
 89                    <xs:enumeration value="LongDataStructure"/>
 90                    <xs:enumeration value="WideDataStructure"/>
 91                  </xs:restriction>
 92                </xs:simpleType>
 93              </xs:element>
 94            </xs:sequence>
 95          </xs:restriction>
 96        </xs:complexContent>
 97      </xs:complexType>
 98    </xs:element>
 99    <xs:element name="DataSet_has_DataPoint"
100                minOccurs="0"
101                maxOccurs="unbounded"
102                xml:id="DataSet_has_DataPoint">
103      <xs:annotation>
104        <xs:documentation></xs:documentation>
105      </xs:annotation>
106      <xs:complexType>
107        <xs:complexContent>
108          <xs:restriction base="AssociationReferenceXsdType">
109            <xs:sequence>
110              <xs:element name="ddiReference"
111                          type="InternationalRegistrationDataIdentifierXsdType"
112                          minOccurs="0"
113                          maxOccurs="1"
114                          xml:id="DataSet_has_DataPoint-ddiReference"/>
115              <xs:element name="validType"
116                          minOccurs="1"
117                          maxOccurs="1"
118                          xml:id="DataSet_has_DataPoint-validType">
119                <xs:simpleType>
120                  <xs:restriction base="xs:NMTOKEN">
121                    <xs:enumeration value="DataPoint"/>
122                  </xs:restriction>
123                </xs:simpleType>
124              </xs:element>
125            </xs:sequence>
126          </xs:restriction>
127        </xs:complexContent>
128      </xs:complexType>
129    </xs:element>
130    <xs:element name="DataSet_has_InstanceVariable"
131                minOccurs="0"
132                maxOccurs="unbounded"
133                xml:id="DataSet_has_InstanceVariable">
134      <xs:annotation>
135        <xs:documentation></xs:documentation>
136      </xs:annotation>
137      <xs:complexType>
138        <xs:complexContent>
139          <xs:restriction base="AssociationReferenceXsdType">
140            <xs:sequence>
141              <xs:element name="ddiReference"
142                          type="InternationalRegistrationDataIdentifierXsdType"
143                          minOccurs="0"
144                          maxOccurs="1"
145                          xml:id="DataSet_has_InstanceVariable-ddiReference"/>
146              <xs:element name="validType"
147                          minOccurs="1"
148                          maxOccurs="unbounded"
149                          xml:id="DataSet_has_InstanceVariable-validType">
150                <xs:simpleType>
151                  <xs:restriction base="xs:NMTOKEN">
152                    <xs:enumeration value="DescriptorVariable"/>
153                    <xs:enumeration value="InstanceVariable"/>
154                    <xs:enumeration value="ReferenceVariable"/>
155                  </xs:restriction>
156                </xs:simpleType>
157              </xs:element>
158            </xs:sequence>
159          </xs:restriction>
160        </xs:complexContent>
161      </xs:complexType>
162    </xs:element>
163    <xs:element name="DataSet_has_Key"
164                minOccurs="0"
165                maxOccurs="unbounded"
166                xml:id="DataSet_has_Key">
167      <xs:annotation>
168        <xs:documentation></xs:documentation>
169      </xs:annotation>
170      <xs:complexType>
171        <xs:complexContent>
172          <xs:restriction base="AssociationReferenceXsdType">
173            <xs:sequence>
174              <xs:element name="ddiReference"
175                          type="InternationalRegistrationDataIdentifierXsdType"
176                          minOccurs="0"
177                          maxOccurs="1"
178                          xml:id="DataSet_has_Key-ddiReference"/>
179              <xs:element name="validType"
180                          minOccurs="1"
181                          maxOccurs="1"
182                          xml:id="DataSet_has_Key-validType">
183                <xs:simpleType>
184                  <xs:restriction base="xs:NMTOKEN">
185                    <xs:enumeration value="DimensionalKey"/>
186                    <xs:enumeration value="InstanceKey"/>
187                    <xs:enumeration value="Key"/>
188                    <xs:enumeration value="LongKey"/>
189                    <xs:enumeration value="WideKey"/>
190                  </xs:restriction>
191                </xs:simpleType>
192              </xs:element>
193            </xs:sequence>
194          </xs:restriction>
195        </xs:complexContent>
196      </xs:complexType>
197    </xs:element>
198  </xs:sequence>
199</xs:complexType>

Fragment for the class DataSet (entire JSON Schema)

  1"cls-DataSet": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet",
  3  "type": "object",
  4  "properties": {
  5    "@context": {
  6      "$ref": "#/defs/at-context"
  7    },
  8    "@id": {
  9      "type": "string",
 10      "format": "iri-reference"
 11    },
 12    "@type": {
 13      "const": "DataSet"
 14    },
 15    "catalogDetails": {
 16      "$comment": "cardinality 0..1 – from cdi:DataSet",
 17      "$ref": "#/defs/dt-CatalogDetails"
 18    },
 19    "fingerprint": {
 20      "$comment": "cardinality 0..1 – from cdi:DataSet",
 21      "$ref": "#/defs/dt-DataFingerprint"
 22    },
 23    "identifier": {
 24      "$comment": "cardinality 0..1 – from cdi:DataSet",
 25      "$ref": "#/defs/dt-Identifier"
 26    },
 27    "name": {
 28      "$comment": "cardinality 0..-1 – from cdi:DataSet",
 29      "if": { "type": "array" },
 30      "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
 31      "else": { "$ref": "#/defs/dt-ObjectName" }
 32    },
 33    "recordCount": {
 34      "$comment": "cardinality 0..1 – from cdi:DataSet",
 35      "$ref": "#/defs/xsd:integer"
 36    },
 37    "has_InstanceVariable": {
 38      "description": "DataSet_has_InstanceVariable",
 39      "$comment": "cardinality 0..-1",
 40      "anyOf": [
 41        {
 42          "$ref": "#/defs/target-InstanceVariable"
 43        },
 44        {
 45          "type": "array",
 46          "items": {
 47            "$ref": "#/defs/target-InstanceVariable"
 48          }
 49        }
 50      ]
 51    },
 52    "has_DataPoint": {
 53      "description": "DataSet_has_DataPoint",
 54      "$comment": "cardinality 0..-1",
 55      "anyOf": [
 56        {
 57          "$ref": "#/defs/target-DataPoint"
 58        },
 59        {
 60          "type": "array",
 61          "items": {
 62            "$ref": "#/defs/target-DataPoint"
 63          }
 64        }
 65      ]
 66    },
 67    "has_Key": {
 68      "description": "DataSet_has_Key",
 69      "$comment": "cardinality 0..-1",
 70      "anyOf": [
 71        {
 72          "$ref": "#/defs/target-Key"
 73        },
 74        {
 75          "type": "array",
 76          "items": {
 77            "$ref": "#/defs/target-Key"
 78          }
 79        }
 80      ]
 81    },
 82    "isStructuredBy": {
 83      "description": "DataSet_isStructuredBy_DataStructure",
 84      "$comment": "cardinality 0..-1",
 85      "anyOf": [
 86        {
 87          "$ref": "#/defs/target-DataStructure"
 88        },
 89        {
 90          "type": "array",
 91          "items": {
 92            "$ref": "#/defs/target-DataStructure"
 93          }
 94        }
 95      ]
 96    },
 97    "organizes_OF_LogicalRecord": {
 98      "description": "LogicalRecord_organizes_DataSet",
 99      "$comment": "cardinality 0..-1",
100      "anyOf": [
101        {
102          "$ref": "#/defs/target-LogicalRecord"
103        },
104        {
105          "type": "array",
106          "items": {
107            "$ref": "#/defs/target-LogicalRecord"
108          }
109        }
110      ]
111    },
112    "correspondsTo_DataSet_OF_PhysicalDataSet": {
113      "description": "PhysicalDataSet_correspondsTo_DataSet",
114      "$comment": "cardinality 0..-1",
115      "anyOf": [
116        {
117          "$ref": "#/defs/target-PhysicalDataSet"
118        },
119        {
120          "type": "array",
121          "items": {
122            "$ref": "#/defs/target-PhysicalDataSet"
123          }
124        }
125      ]
126    },
127    "sameAs": {
128      "$ref": "#/defs/owl:sameAs"
129    }
130  },
131  "required": ["@type"],
132  "additionalProperties": false
133},
134"target-DataSet": {
135  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet",
136  "anyOf": [
137    { "$ref": "#/defs/cls-DataSet" },
138    { "$ref": "#/defs/cls-DimensionalDataSet" },
139    { "$ref": "#/defs/cls-KeyValueDataStore" },
140    { "$ref": "#/defs/cls-LongDataSet" },
141    { "$ref": "#/defs/cls-WideDataSet" },
142    { "type": "string", "format": "iri-reference" }
143  ]
144},

Fragment for the class DataSet (main ontology)

 1# class DataSet
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
 3cdi:DataSet
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "DataSet";
 6  rdfs:comment "Definition \n============ \nOrganized collection of data based on keys."@en;
 7  
 8.
 9
10cdi:DataSet-catalogDetails
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "catalogDetails";
13  rdfs:comment "Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes."@en;
14  rdfs:domain cdi:DataSet;
15  rdfs:range cdi:CatalogDetails;
16.
17
18cdi:DataSet-fingerprint
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "fingerprint";
21  rdfs:comment "Universal Numerical Fingerprint or similar format-independent canonical hash value of the physical representation of data in the physical data set."@en;
22  rdfs:domain cdi:DataSet;
23  rdfs:range cdi:DataFingerprint;
24.
25
26cdi:DataSet-identifier
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "identifier";
29  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
30  rdfs:domain cdi:DataSet;
31  rdfs:range cdi:Identifier;
32.
33
34cdi:DataSet-name
35  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
36  rdfs:label "name";
37  rdfs:comment "Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage."@en;
38  rdfs:domain cdi:DataSet;
39  rdfs:range cdi:ObjectName;
40.
41
42cdi:DataSet-recordCount
43  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
44  rdfs:label "recordCount";
45  rdfs:comment "Number of records in the data set."@en;
46  rdfs:domain cdi:DataSet;
47  rdfs:range xsd:integer;
48.
49
50
51cdi:DataSet_has_InstanceVariable
52  a rdf:Property, owl:ObjectProperty, ucmis:Association;
53  # ASSOCIATION
54  rdfs:label "has_InstanceVariable";
55  skos:altLabel "DataSet_has_InstanceVariable";
56  
57  rdfs:domain cdi:DataSet;
58  rdfs:range cdi:InstanceVariable;
59.
60
61cdi:DataSet_has_DataPoint
62  a rdf:Property, owl:ObjectProperty, ucmis:Association;
63  # ASSOCIATION
64  rdfs:label "has_DataPoint";
65  skos:altLabel "DataSet_has_DataPoint";
66  
67  rdfs:domain cdi:DataSet;
68  rdfs:range cdi:DataPoint;
69.
70
71cdi:DataSet_has_Key
72  a rdf:Property, owl:ObjectProperty, ucmis:Association;
73  # ASSOCIATION
74  rdfs:label "has_Key";
75  skos:altLabel "DataSet_has_Key";
76  
77  rdfs:domain cdi:DataSet;
78  rdfs:range cdi:Key;
79.
80
81cdi:DataSet_isStructuredBy_DataStructure
82  a rdf:Property, owl:ObjectProperty, ucmis:Association;
83  # ASSOCIATION
84  rdfs:label "isStructuredBy";
85  skos:altLabel "DataSet_isStructuredBy_DataStructure";
86  
87  rdfs:domain cdi:DataSet;
88  rdfs:range cdi:DataStructure;
89.

Fragment for the class DataSet (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      "catalogDetails": {
 8        "@id": "cdi:DataSet-catalogDetails",
 9        "@type": "@id",
10        "@context": "CatalogDetails.jsonld"
11      },
12      "fingerprint": {
13        "@id": "cdi:DataSet-fingerprint",
14        "@type": "@id",
15        "@context": "DataFingerprint.jsonld"
16      },
17      "identifier": {
18        "@id": "cdi:DataSet-identifier",
19        "@type": "@id",
20        "@context": "Identifier.jsonld"
21      },
22      "name": {
23        "@id": "cdi:DataSet-name",
24        "@type": "@id",
25        "@context": "ObjectName.jsonld"
26      },
27      "recordCount": {
28        "@id": "cdi:DataSet-recordCount",
29        "@type": "xsd:integer"
30      },
31      
32      "has_InstanceVariable": {
33        "@id": "cdi:DataSet_has_InstanceVariable",
34        "@type": "@id",
35        "@context": "InstanceVariable.jsonld"
36      },
37      "has_DataPoint": {
38        "@id": "cdi:DataSet_has_DataPoint",
39        "@type": "@id",
40        "@context": "DataPoint.jsonld"
41      },
42      "has_Key": {
43        "@id": "cdi:DataSet_has_Key",
44        "@type": "@id",
45        "@context": "Key.jsonld"
46      },
47      "isStructuredBy": {
48        "@id": "cdi:DataSet_isStructuredBy_DataStructure",
49        "@type": "@id",
50        "@context": "DataStructure.jsonld"
51      },
52      "organizes_OF_LogicalRecord": {
53        "@reverse": "cdi:LogicalRecord_organizes_DataSet",
54        "@type": "@id",
55        "@context": "LogicalRecord.jsonld"
56      },
57      "correspondsTo_DataSet_OF_PhysicalDataSet": {
58        "@reverse": "cdi:PhysicalDataSet_correspondsTo_DataSet",
59        "@type": "@id",
60        "@context": "PhysicalDataSet.jsonld"
61      },
62      " comment ": "tag:json-should-support-trailing-commas"
63    }
64  ],
65  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2026-04-15 14:38:40.",
66  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet"
67}

Fragment for the class DataSet (entire SHACL - Shapes Constraint Language)

  1# class DataSet
  2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
  3<#DataSet> a sh:NodeShape;
  4    sh:targetClass cdi:DataSet;
  5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/DataSet";
  6	sh:closed true;
  7	sh:ignoredProperties ( owl:sameAs );
  8    sh:property [
  9			sh:path rdf:type;
 10			sh:in (   cdi:DataSet
 11			  cdi:DimensionalDataSet
 12			  cdi:KeyValueDataStore
 13			  cdi:LongDataSet
 14			  cdi:WideDataSet
 15			 ) ;
 16    ];
 17    # attributes
 18    sh:property <#DataSet-catalogDetails>;
 19    sh:property <#DataSet-fingerprint>;
 20    sh:property <#DataSet-identifier>;
 21    sh:property <#DataSet-name>;
 22    sh:property <#DataSet-recordCount>;
 23    # associations from DataSet
 24    sh:property <#DataSet_has_InstanceVariable>;
 25    sh:property <#DataSet_has_DataPoint>;
 26    sh:property <#DataSet_has_Key>;
 27    sh:property <#DataSet_isStructuredBy_DataStructure>;
 28    # associations to DataSet
 29    sh:property <#rev_LogicalRecord_organizes_DataSet>;
 30    sh:property <#rev_PhysicalDataSet_correspondsTo_DataSet>;
 31
 32
 33
 34.
 35
 36<#DataSet-catalogDetails> a sh:PropertyShape ;
 37    sh:path cdi:DataSet-catalogDetails;
 38    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 39        cdi:CatalogDetails
 40      
 41    ) ]];
 42    sh:maxCount 1;
 43.
 44<#DataSet-fingerprint> a sh:PropertyShape ;
 45    sh:path cdi:DataSet-fingerprint;
 46    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 47        cdi:DataFingerprint
 48      
 49    ) ]];
 50    sh:maxCount 1;
 51.
 52<#DataSet-identifier> a sh:PropertyShape ;
 53    sh:path cdi:DataSet-identifier;
 54    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 55        cdi:Identifier
 56      
 57    ) ]];
 58    sh:maxCount 1;
 59.
 60<#DataSet-name> a sh:PropertyShape ;
 61    sh:path cdi:DataSet-name;
 62    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 63        cdi:ObjectName
 64        cdi:OrganizationName
 65      
 66    ) ]];
 67.
 68<#DataSet-recordCount> a sh:PropertyShape ;
 69    sh:path cdi:DataSet-recordCount;
 70    sh:datatype xsd:integer;
 71    sh:maxCount 1;
 72.
 73
 74<#DataSet_has_InstanceVariable> a sh:PropertyShape ;
 75    sh:path cdi:DataSet_has_InstanceVariable;
 76	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 77        cdi:InstanceVariable
 78        cdi:DescriptorVariable
 79        cdi:ReferenceVariable
 80      
 81    ) ]];
 82.
 83<#rev_DataSet_has_InstanceVariable> a sh:PropertyShape ;
 84    sh:path [ sh:inversePath cdi:DataSet_has_InstanceVariable ];
 85    sh:minCount 1;
 86.
 87<#DataSet_has_DataPoint> a sh:PropertyShape ;
 88    sh:path cdi:DataSet_has_DataPoint;
 89	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 90        cdi:DataPoint
 91      
 92    ) ]];
 93.
 94<#rev_DataSet_has_DataPoint> a sh:PropertyShape ;
 95    sh:path [ sh:inversePath cdi:DataSet_has_DataPoint ];
 96    sh:minCount 1;
 97    sh:maxCount 1;
 98.
 99<#DataSet_has_Key> a sh:PropertyShape ;
100    sh:path cdi:DataSet_has_Key;
101	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
102        cdi:Key
103        cdi:DimensionalKey
104        cdi:InstanceKey
105        cdi:LongKey
106        cdi:WideKey
107      
108    ) ]];
109.
110<#rev_DataSet_has_Key> a sh:PropertyShape ;
111    sh:path [ sh:inversePath cdi:DataSet_has_Key ];
112    sh:minCount 1;
113    sh:maxCount 1;
114.
115<#DataSet_isStructuredBy_DataStructure> a sh:PropertyShape ;
116    sh:path cdi:DataSet_isStructuredBy_DataStructure;
117	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
118        cdi:DataStructure
119        cdi:DimensionalDataStructure
120        cdi:KeyValueStructure
121        cdi:LongDataStructure
122        cdi:WideDataStructure
123      
124    ) ]];
125.
126<#rev_DataSet_isStructuredBy_DataStructure> a sh:PropertyShape ;
127    sh:path [ sh:inversePath cdi:DataSet_isStructuredBy_DataStructure ];
128.

Fragment for the class DataSet (entire ShEx - Shape Expressions)

 1# class DataSet
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::DataSet
 3cdi:DataSetShape CLOSED {
 4	a [cdi:DataSet];
 5	$cdi:DataSetProperties (
 6	cdi:DataSet-catalogDetails	@cdi:CatalogDetailsShape?;
 7	cdi:DataSet-fingerprint	@cdi:DataFingerprintShape?;
 8	cdi:DataSet-identifier	@cdi:IdentifierShape?;
 9	cdi:DataSet-name	@cdi:ObjectNameShape*;
10	cdi:DataSet-recordCount	xsd:integer?;
11	cdi:DataSet_has_InstanceVariable	@cdi:InstanceVariableShape OR @cdi:DescriptorVariableShape OR @cdi:ReferenceVariableShape*;
12	
13	cdi:DataSet_has_DataPoint	@cdi:DataPointShape *;
14	
15	cdi:DataSet_has_Key	@cdi:KeyShape OR @cdi:DimensionalKeyShape OR @cdi:InstanceKeyShape OR @cdi:LongKeyShape OR @cdi:WideKeyShape*;
16	
17	cdi:DataSet_isStructuredBy_DataStructure	@cdi:DataStructureShape OR @cdi:DimensionalDataStructureShape OR @cdi:KeyValueStructureShape OR @cdi:LongDataStructureShape OR @cdi:WideDataStructureShape*;
18	
19	^cdi:LogicalRecord_organizes_DataSet @cdi:LogicalRecordShape *;
20	^cdi:PhysicalDataSet_correspondsTo_DataSet @cdi:PhysicalDataSetShape OR @cdi:StructuredDataSetShape OR @cdi:TabularTextDataSetShape*;
21		);
22}