Activity#

Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::Process::Activity

Definition#

An activity is a task described at a conceptual level. It is not parameterized and as such is less reusable. For more logical/physical, fine-grained, reusable description there is a sub-type called step.

Examples#

Phases and sub-processes of the Generic Statistical Business Process Model (GSBPM) are examples of activity.

Explanatory notes#

An activity is invoked by control logic. It may use and/or produce information objects referenced with the entityUsed and entityProduced attributes.

Diagram#

Diagram

Inheritance#

Inheritance
Process::Activity
ᐊ── Process::Step

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

definition

- own class -

Natural language statement conveying the meaning of a concept, differentiating it from other concepts. Supports the use of multiple languages and structured text. ‘externalDefinition’ can’t be used if ‘definition’ is used.

InternationalString

0..1

description

- own class -

A description of the Activity in human-readable language.

String

0..1

displayLabel

- own class -

A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.

LabelForDisplay

0..*

entityProduced

- own class -

The thing resulting from the activity.

Reference

0..*

entityUsed

- own class -

A thing employed in the activity.

Reference

0..*

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..*

standardModelMapping

- own class -

A reference to a standard process model from which the Activity is taken, such as The Generic Statistical Business Process Model (GSBPM), the Generic Longitudinal Business Process Model (GLBPM), Open Archive Information System (OAIS) model, etc. The model and step or sub-step corresponding to the Activity is noted here using the Paired External Controlled Vocabulary Entry. Enter the name of the model in “term” and the step, sub-step, or specific portion of the model in “extent”.

Reference

0..*

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of Activity

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

Activity has Step

Activities may be broken out into Steps. Steps are also a subtype of Activity.

0..*

- own package -

Step

0..*

shared

own class

from

Activity hasInternal ControlLogic

An activity is embedded in the control construct which launches it.

0..*

- own package -

ControlLogic

0..*

none

own class

to

Activity hasSubActivity Activity

An Activity is a container for SubActivities.

0..*

- own package -

Activity

0..1

none

own class

to

ControlLogic invokes Activity

Control logic invokes an activity deterministically (either conditionally or unconditionally) or non-derministically (based on temporal constraints or rule-based scheduling).

1..*

- own package -

ControlLogic

0..*

none

own class

to

ProcessingAgent performs Activity

A processing agent performs an activity at the direction of control logic.

0..*

- own package -

ProcessingAgent

0..*

none

own class

to

SequencePosition indexes Activity

1..1

- own package -

SequencePosition

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 Activity (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-Process-Activity"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity"/>
 11      <body>Definition 
 12============ 
 13An activity is a task described at a conceptual level. It is not parameterized and as such is less reusable. For more logical/physical, fine-grained, reusable description there is a sub-type called step.  
 14
 15Examples 
 16========== 
 17Phases and sub-processes of the Generic Statistical Business Process Model (GSBPM) are examples of activity.  
 18
 19Explanatory notes 
 20=================== 
 21An activity is invoked by control logic. It may use and/or produce information objects referenced with the entityUsed and entityProduced attributes.</body>
 22   </ownedComment>
 23   <name>Activity</name>
 24   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-definition"
 25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-definition"
 26                    xmi:type="uml:Property">
 27      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-definition-ownedComment"
 28                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-definition-ownedComment"
 29                     xmi:type="uml:Comment">
 30         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-definition"/>
 31         <body>Natural language statement conveying the meaning of a concept, differentiating it from other concepts. Supports the use of multiple languages and structured text. 'externalDefinition' can't be used if 'definition' is used.</body>
 32      </ownedComment>
 33      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-definition-lowerValue"
 34                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-definition-lowerValue"
 35                   xmi:type="uml:LiteralInteger"/>
 36      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-definition-upperValue"
 37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-definition-upperValue"
 38                   xmi:type="uml:LiteralUnlimitedNatural">
 39         <value>1</value>
 40      </upperValue>
 41      <name>definition</name>
 42      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
 43   </ownedAttribute>
 44   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-description"
 45                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-description"
 46                    xmi:type="uml:Property">
 47      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-description-ownedComment"
 48                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-description-ownedComment"
 49                     xmi:type="uml:Comment">
 50         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-description"/>
 51         <body>A description of the Activity in human-readable language.</body>
 52      </ownedComment>
 53      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-description-lowerValue"
 54                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-description-lowerValue"
 55                   xmi:type="uml:LiteralInteger"/>
 56      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-description-upperValue"
 57                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-description-upperValue"
 58                   xmi:type="uml:LiteralUnlimitedNatural">
 59         <value>1</value>
 60      </upperValue>
 61      <name>description</name>
 62      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
 63             xmi:type="uml:PrimitiveType"/>
 64   </ownedAttribute>
 65   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-displayLabel"
 66                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-displayLabel"
 67                    xmi:type="uml:Property">
 68      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-displayLabel-ownedComment"
 69                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-displayLabel-ownedComment"
 70                     xmi:type="uml:Comment">
 71         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-displayLabel"/>
 72         <body>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</body>
 73      </ownedComment>
 74      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-displayLabel-lowerValue"
 75                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-displayLabel-lowerValue"
 76                   xmi:type="uml:LiteralInteger"/>
 77      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-displayLabel-upperValue"
 78                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-displayLabel-upperValue"
 79                   xmi:type="uml:LiteralUnlimitedNatural">
 80         <value>*</value>
 81      </upperValue>
 82      <name>displayLabel</name>
 83      <isOrdered>true</isOrdered>
 84      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LabelForDisplay"/>
 85   </ownedAttribute>
 86   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityProduced"
 87                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityProduced"
 88                    xmi:type="uml:Property">
 89      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityProduced-ownedComment"
 90                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityProduced-ownedComment"
 91                     xmi:type="uml:Comment">
 92         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityProduced"/>
 93         <body>The thing resulting from the activity.</body>
 94      </ownedComment>
 95      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityProduced-lowerValue"
 96                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityProduced-lowerValue"
 97                   xmi:type="uml:LiteralInteger"/>
 98      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityProduced-upperValue"
 99                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityProduced-upperValue"
100                   xmi:type="uml:LiteralUnlimitedNatural">
101         <value>*</value>
102      </upperValue>
103      <name>entityProduced</name>
104      <isOrdered>true</isOrdered>
105      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference"/>
106   </ownedAttribute>
107   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityUsed"
108                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityUsed"
109                    xmi:type="uml:Property">
110      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityUsed-ownedComment"
111                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityUsed-ownedComment"
112                     xmi:type="uml:Comment">
113         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityUsed"/>
114         <body>A thing employed in the activity.</body>
115      </ownedComment>
116      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityUsed-lowerValue"
117                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityUsed-lowerValue"
118                   xmi:type="uml:LiteralInteger"/>
119      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-entityUsed-upperValue"
120                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-entityUsed-upperValue"
121                   xmi:type="uml:LiteralUnlimitedNatural">
122         <value>*</value>
123      </upperValue>
124      <name>entityUsed</name>
125      <isOrdered>true</isOrdered>
126      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference"/>
127   </ownedAttribute>
128   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-identifier"
129                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-identifier"
130                    xmi:type="uml:Property">
131      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-identifier-ownedComment"
132                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-identifier-ownedComment"
133                     xmi:type="uml:Comment">
134         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-identifier"/>
135         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
136      </ownedComment>
137      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-identifier-lowerValue"
138                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-identifier-lowerValue"
139                   xmi:type="uml:LiteralInteger"/>
140      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-identifier-upperValue"
141                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-identifier-upperValue"
142                   xmi:type="uml:LiteralUnlimitedNatural">
143         <value>1</value>
144      </upperValue>
145      <name>identifier</name>
146      <isID>true</isID>
147      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
148   </ownedAttribute>
149   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-name"
150                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-name"
151                    xmi:type="uml:Property">
152      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-name-ownedComment"
153                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-name-ownedComment"
154                     xmi:type="uml:Comment">
155         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-name"/>
156         <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.</body>
157      </ownedComment>
158      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-name-lowerValue"
159                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-name-lowerValue"
160                   xmi:type="uml:LiteralInteger"/>
161      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-name-upperValue"
162                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-name-upperValue"
163                   xmi:type="uml:LiteralUnlimitedNatural">
164         <value>*</value>
165      </upperValue>
166      <name>name</name>
167      <isOrdered>true</isOrdered>
168      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
169   </ownedAttribute>
170   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_1"
171                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_1"
172                    xmi:type="uml:Property">
173      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_1-lowerValue"
174                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_1-lowerValue"
175                   xmi:type="uml:LiteralInteger"/>
176      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_1-upperValue"
177                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_1-upperValue"
178                   xmi:type="uml:LiteralUnlimitedNatural">
179         <value>*</value>
180      </upperValue>
181      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity_hasInternal_ControlLogic"/>
182      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-ControlLogic"/>
183   </ownedAttribute>
184   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_2"
185                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_2"
186                    xmi:type="uml:Property">
187      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_2-lowerValue"
188                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_2-lowerValue"
189                   xmi:type="uml:LiteralInteger"/>
190      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_2-upperValue"
191                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_2-upperValue"
192                   xmi:type="uml:LiteralUnlimitedNatural">
193         <value>*</value>
194      </upperValue>
195      <aggregation>shared</aggregation>
196      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity_hasSubActivity_Activity"/>
197      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity"/>
198   </ownedAttribute>
199   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_3"
200                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_3"
201                    xmi:type="uml:Property">
202      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_3-lowerValue"
203                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_3-lowerValue"
204                   xmi:type="uml:LiteralInteger"/>
205      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-ownedAttribute_3-upperValue"
206                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-ownedAttribute_3-upperValue"
207                   xmi:type="uml:LiteralUnlimitedNatural">
208         <value>*</value>
209      </upperValue>
210      <aggregation>shared</aggregation>
211      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity_has_Step"/>
212      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Step"/>
213   </ownedAttribute>
214   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-standardModelMapping"
215                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-standardModelMapping"
216                    xmi:type="uml:Property">
217      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-standardModelMapping-ownedComment"
218                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-standardModelMapping-ownedComment"
219                     xmi:type="uml:Comment">
220         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity-standardModelMapping"/>
221         <body>A reference to a standard process model from which the Activity is taken, such as The Generic Statistical Business Process Model (GSBPM), the Generic Longitudinal Business Process Model (GLBPM), Open Archive Information System (OAIS) model, etc. The model and step or sub-step corresponding to the Activity is noted here using the Paired External Controlled Vocabulary Entry. Enter the name of the model in "term" and the step, sub-step, or specific portion of the model in "extent".</body>
222      </ownedComment>
223      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-standardModelMapping-lowerValue"
224                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-standardModelMapping-lowerValue"
225                   xmi:type="uml:LiteralInteger"/>
226      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Activity-standardModelMapping-upperValue"
227                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Activity-standardModelMapping-upperValue"
228                   xmi:type="uml:LiteralUnlimitedNatural">
229         <value>*</value>
230      </upperValue>
231      <name>standardModelMapping</name>
232      <isOrdered>true</isOrdered>
233      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Reference"/>
234   </ownedAttribute>
235</packagedElement>

Fragment for the class Activity (entire XML Schema)

  1<xs:element name="Activity"
  2            type="ActivityXsdType"
  3            xml:id="Activity">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Activity -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          An activity is a task described at a conceptual level. It is not parameterized and as such is less reusable. For more logical/physical, fine-grained, reusable description there is a sub-type called step.  
  9          
 10          Examples 
 11          ========== 
 12          Phases and sub-processes of the Generic Statistical Business Process Model (GSBPM) are examples of activity.  
 13          
 14          Explanatory notes 
 15          =================== 
 16          An activity is invoked by control logic. It may use and/or produce information objects referenced with the entityUsed and entityProduced attributes.</xs:documentation>
 17  </xs:annotation>
 18</xs:element>
 19<xs:complexType name="ActivityXsdType"
 20                xml:id="ActivityXsdType">
 21  <xs:annotation>
 22    <xs:documentation>Definition 
 23          ============ 
 24          An activity is a task described at a conceptual level. It is not parameterized and as such is less reusable. For more logical/physical, fine-grained, reusable description there is a sub-type called step.  
 25          
 26          Examples 
 27          ========== 
 28          Phases and sub-processes of the Generic Statistical Business Process Model (GSBPM) are examples of activity.  
 29          
 30          Explanatory notes 
 31          =================== 
 32          An activity is invoked by control logic. It may use and/or produce information objects referenced with the entityUsed and entityProduced attributes.</xs:documentation>
 33  </xs:annotation>
 34  <xs:sequence>
 35    <xs:element name="definition"
 36                type="InternationalStringXsdType"
 37                minOccurs="0"
 38                maxOccurs="1"
 39                xml:id="Activity-definition">
 40      <xs:annotation>
 41        <xs:documentation>Natural language statement conveying the meaning of a concept, differentiating it from other concepts. Supports the use of multiple languages and structured text. 'externalDefinition' can't be used if 'definition' is used.</xs:documentation>
 42      </xs:annotation>
 43    </xs:element>
 44    <xs:element name="description"
 45                type="xs:string"
 46                minOccurs="0"
 47                maxOccurs="1"
 48                xml:id="Activity-description">
 49      <xs:annotation>
 50        <xs:documentation>A description of the Activity in human-readable language.</xs:documentation>
 51      </xs:annotation>
 52    </xs:element>
 53    <xs:element name="displayLabel"
 54                type="LabelForDisplayXsdType"
 55                minOccurs="0"
 56                maxOccurs="unbounded"
 57                xml:id="Activity-displayLabel">
 58      <xs:annotation>
 59        <xs:documentation>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
 60      </xs:annotation>
 61    </xs:element>
 62    <xs:element name="entityProduced"
 63                type="ReferenceXsdType"
 64                minOccurs="0"
 65                maxOccurs="unbounded"
 66                xml:id="Activity-entityProduced">
 67      <xs:annotation>
 68        <xs:documentation>The thing resulting from the activity.</xs:documentation>
 69      </xs:annotation>
 70    </xs:element>
 71    <xs:element name="entityUsed"
 72                type="ReferenceXsdType"
 73                minOccurs="0"
 74                maxOccurs="unbounded"
 75                xml:id="Activity-entityUsed">
 76      <xs:annotation>
 77        <xs:documentation>A thing employed in the activity.</xs:documentation>
 78      </xs:annotation>
 79    </xs:element>
 80    <xs:element name="identifier"
 81                type="IdentifierXsdType"
 82                minOccurs="0"
 83                maxOccurs="1"
 84                xml:id="Activity-identifier">
 85      <xs:annotation>
 86        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 87      </xs:annotation>
 88    </xs:element>
 89    <xs:element name="name"
 90                type="ObjectNameXsdType"
 91                minOccurs="0"
 92                maxOccurs="unbounded"
 93                xml:id="Activity-name">
 94      <xs:annotation>
 95        <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>
 96      </xs:annotation>
 97    </xs:element>
 98    <xs:element name="standardModelMapping"
 99                type="ReferenceXsdType"
100                minOccurs="0"
101                maxOccurs="unbounded"
102                xml:id="Activity-standardModelMapping">
103      <xs:annotation>
104        <xs:documentation>A reference to a standard process model from which the Activity is taken, such as The Generic Statistical Business Process Model (GSBPM), the Generic Longitudinal Business Process Model (GLBPM), Open Archive Information System (OAIS) model, etc. The model and step or sub-step corresponding to the Activity is noted here using the Paired External Controlled Vocabulary Entry. Enter the name of the model in "term" and the step, sub-step, or specific portion of the model in "extent".</xs:documentation>
105      </xs:annotation>
106    </xs:element>
107    <xs:element name="Activity_hasInternal_ControlLogic"
108                minOccurs="0"
109                maxOccurs="unbounded"
110                xml:id="Activity_hasInternal_ControlLogic">
111      <xs:annotation>
112        <xs:documentation>An activity is embedded in the control construct which launches it.</xs:documentation>
113      </xs:annotation>
114      <xs:complexType>
115        <xs:complexContent>
116          <xs:restriction base="AssociationReferenceXsdType">
117            <xs:sequence>
118              <xs:element name="ddiReference"
119                          type="InternationalRegistrationDataIdentifierXsdType"
120                          minOccurs="0"
121                          maxOccurs="1"
122                          xml:id="Activity_hasInternal_ControlLogic-ddiReference"/>
123              <xs:element name="validType"
124                          minOccurs="0"
125                          maxOccurs="unbounded"
126                          xml:id="Activity_hasInternal_ControlLogic-validType">
127                <xs:simpleType>
128                  <xs:restriction base="xs:NMTOKEN">
129                    <xs:enumeration value="AllenIntervalAlgebra"/>
130                    <xs:enumeration value="ConditionalControlLogic"/>
131                    <xs:enumeration value="ControlLogic"/>
132                    <xs:enumeration value="DeterministicImperative"/>
133                    <xs:enumeration value="NonDeterministicDeclarative"/>
134                    <xs:enumeration value="RuleBasedScheduling"/>
135                    <xs:enumeration value="Sequence"/>
136                    <xs:enumeration value="TemporalConstraints"/>
137                    <xs:enumeration value="TemporalControlConstruct"/>
138                  </xs:restriction>
139                </xs:simpleType>
140              </xs:element>
141            </xs:sequence>
142          </xs:restriction>
143        </xs:complexContent>
144      </xs:complexType>
145    </xs:element>
146    <xs:element name="Activity_hasSubActivity_Activity"
147                minOccurs="0"
148                maxOccurs="unbounded"
149                xml:id="Activity_hasSubActivity_Activity">
150      <xs:annotation>
151        <xs:documentation>An Activity is a container for SubActivities.</xs:documentation>
152      </xs:annotation>
153      <xs:complexType>
154        <xs:complexContent>
155          <xs:restriction base="AssociationReferenceXsdType">
156            <xs:sequence>
157              <xs:element name="ddiReference"
158                          type="InternationalRegistrationDataIdentifierXsdType"
159                          minOccurs="0"
160                          maxOccurs="1"
161                          xml:id="Activity_hasSubActivity_Activity-ddiReference"/>
162              <xs:element name="validType"
163                          minOccurs="0"
164                          maxOccurs="1"
165                          xml:id="Activity_hasSubActivity_Activity-validType">
166                <xs:simpleType>
167                  <xs:restriction base="xs:NMTOKEN">
168                    <xs:enumeration value="Activity"/>
169                    <xs:enumeration value="Step"/>
170                  </xs:restriction>
171                </xs:simpleType>
172              </xs:element>
173            </xs:sequence>
174          </xs:restriction>
175        </xs:complexContent>
176      </xs:complexType>
177    </xs:element>
178    <xs:element name="Activity_has_Step"
179                minOccurs="0"
180                maxOccurs="unbounded"
181                xml:id="Activity_has_Step">
182      <xs:annotation>
183        <xs:documentation>Activities may be broken out into Steps. Steps are also a subtype of Activity.</xs:documentation>
184      </xs:annotation>
185      <xs:complexType>
186        <xs:complexContent>
187          <xs:restriction base="AssociationReferenceXsdType">
188            <xs:sequence>
189              <xs:element name="ddiReference"
190                          type="InternationalRegistrationDataIdentifierXsdType"
191                          minOccurs="0"
192                          maxOccurs="1"
193                          xml:id="Activity_has_Step-ddiReference"/>
194              <xs:element name="validType"
195                          minOccurs="0"
196                          maxOccurs="unbounded"
197                          xml:id="Activity_has_Step-validType">
198                <xs:simpleType>
199                  <xs:restriction base="xs:NMTOKEN">
200                    <xs:enumeration value="Step"/>
201                  </xs:restriction>
202                </xs:simpleType>
203              </xs:element>
204            </xs:sequence>
205          </xs:restriction>
206        </xs:complexContent>
207      </xs:complexType>
208    </xs:element>
209  </xs:sequence>
210</xs:complexType>

Fragment for the class Activity (entire JSON Schema)

  1"cls-Activity": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Activity",
  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": "Activity"
 14    },
 15    "definition": {
 16      "$comment": "cardinality 0..1 – from cdi:Activity",
 17      "$ref": "#/defs/dt-InternationalString"
 18    },
 19    "description": {
 20      "$comment": "cardinality 0..1 – from cdi:Activity",
 21      "$ref": "#/defs/xsd:string"
 22    },
 23    "displayLabel": {
 24      "$comment": "cardinality 0..-1 – from cdi:Activity",
 25      "if": { "type": "array" },
 26      "then": { "items": { "$ref": "#/defs/dt-LabelForDisplay" } },
 27      "else": { "$ref": "#/defs/dt-LabelForDisplay" }
 28    },
 29    "entityProduced": {
 30      "$comment": "cardinality 0..-1 – from cdi:Activity",
 31      "if": { "type": "array" },
 32      "then": { "items": { "$ref": "#/defs/dt-Reference" } },
 33      "else": { "$ref": "#/defs/dt-Reference" }
 34    },
 35    "entityUsed": {
 36      "$comment": "cardinality 0..-1 – from cdi:Activity",
 37      "if": { "type": "array" },
 38      "then": { "items": { "$ref": "#/defs/dt-Reference" } },
 39      "else": { "$ref": "#/defs/dt-Reference" }
 40    },
 41    "identifier": {
 42      "$comment": "cardinality 0..1 – from cdi:Activity",
 43      "$ref": "#/defs/dt-Identifier"
 44    },
 45    "name": {
 46      "$comment": "cardinality 0..-1 – from cdi:Activity",
 47      "if": { "type": "array" },
 48      "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
 49      "else": { "$ref": "#/defs/dt-ObjectName" }
 50    },
 51    "standardModelMapping": {
 52      "$comment": "cardinality 0..-1 – from cdi:Activity",
 53      "if": { "type": "array" },
 54      "then": { "items": { "$ref": "#/defs/dt-Reference" } },
 55      "else": { "$ref": "#/defs/dt-Reference" }
 56    },
 57    "has_Step": {
 58      "description": "Activity_has_Step",
 59      "$comment": "cardinality 0..-1",
 60      "anyOf": [
 61        {
 62          "$ref": "#/defs/target-Step"
 63        },
 64        {
 65          "type": "array",
 66          "items": {
 67            "$ref": "#/defs/target-Step"
 68          }
 69        }
 70      ]
 71    },
 72    "hasInternal": {
 73      "description": "Activity_hasInternal_ControlLogic",
 74      "$comment": "cardinality 0..-1",
 75      "anyOf": [
 76        {
 77          "$ref": "#/defs/target-ControlLogic"
 78        },
 79        {
 80          "type": "array",
 81          "items": {
 82            "$ref": "#/defs/target-ControlLogic"
 83          }
 84        }
 85      ]
 86    },
 87    "hasSubActivity": {
 88      "description": "Activity_hasSubActivity_Activity",
 89      "$comment": "cardinality 0..-1",
 90      "anyOf": [
 91        {
 92          "$ref": "#/defs/target-Activity"
 93        },
 94        {
 95          "type": "array",
 96          "items": {
 97            "$ref": "#/defs/target-Activity"
 98          }
 99        }
100      ]
101    },
102    "hasSubActivity_OF_Activity": {
103      "description": "Activity_hasSubActivity_Activity",
104      "$comment": "cardinality 0..1",
105      "$ref": "#/defs/target-Activity"
106    },
107    "invokes_OF_ControlLogic": {
108      "description": "ControlLogic_invokes_Activity",
109      "$comment": "cardinality 0..-1",
110      "anyOf": [
111        {
112          "$ref": "#/defs/target-ControlLogic"
113        },
114        {
115          "type": "array",
116          "items": {
117            "$ref": "#/defs/target-ControlLogic"
118          }
119        }
120      ]
121    },
122    "performs_OF_ProcessingAgent": {
123      "description": "ProcessingAgent_performs_Activity",
124      "$comment": "cardinality 0..-1",
125      "anyOf": [
126        {
127          "$ref": "#/defs/target-ProcessingAgent"
128        },
129        {
130          "type": "array",
131          "items": {
132            "$ref": "#/defs/target-ProcessingAgent"
133          }
134        }
135      ]
136    },
137    "indexes_OF_SequencePosition": {
138      "description": "SequencePosition_indexes_Activity",
139      "$comment": "cardinality 0..-1",
140      "anyOf": [
141        {
142          "$ref": "#/defs/target-SequencePosition"
143        },
144        {
145          "type": "array",
146          "items": {
147            "$ref": "#/defs/target-SequencePosition"
148          }
149        }
150      ]
151    },
152    "sameAs": {
153      "$ref": "#/defs/owl:sameAs"
154    }
155  },
156  "required": ["@type"],
157  "additionalProperties": false
158},
159"target-Activity": {
160  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Activity",
161  "anyOf": [
162    { "$ref": "#/defs/cls-Activity" },
163    { "$ref": "#/defs/cls-Step" },
164    { "type": "string", "format": "iri-reference" }
165  ]
166},

Fragment for the class Activity (main ontology)

  1# class Activity
  2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Activity
  3cdi:Activity
  4  a rdfs:Class, owl:Class, ucmis:Class;
  5  rdfs:label "Activity";
  6  rdfs:comment "Definition \n============ \nAn activity is a task described at a conceptual level. It is not parameterized and as such is less reusable. For more logical/physical, fine-grained, reusable description there is a sub-type called step.  \n\nExamples \n========== \nPhases and sub-processes of the Generic Statistical Business Process Model (GSBPM) are examples of activity.  \n\nExplanatory notes \n=================== \nAn activity is invoked by control logic. It may use and/or produce information objects referenced with the entityUsed and entityProduced attributes."@en;
  7  
  8.
  9
 10cdi:Activity-definition
 11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 12  rdfs:label "definition";
 13  rdfs:comment "Natural language statement conveying the meaning of a concept, differentiating it from other concepts. Supports the use of multiple languages and structured text. 'externalDefinition' can't be used if 'definition' is used."@en;
 14  rdfs:domain cdi:Activity;
 15  rdfs:range cdi:InternationalString;
 16.
 17
 18cdi:Activity-description
 19  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
 20  rdfs:label "description";
 21  rdfs:comment "A description of the Activity in human-readable language."@en;
 22  rdfs:domain cdi:Activity;
 23  rdfs:range xsd:string;
 24.
 25
 26cdi:Activity-displayLabel
 27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 28  rdfs:label "displayLabel";
 29  rdfs:comment "A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations."@en;
 30  rdfs:domain cdi:Activity;
 31  rdfs:range cdi:LabelForDisplay;
 32.
 33
 34cdi:Activity-entityProduced
 35  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 36  rdfs:label "entityProduced";
 37  rdfs:comment "The thing resulting from the activity."@en;
 38  rdfs:domain cdi:Activity;
 39  rdfs:range cdi:Reference;
 40.
 41
 42cdi:Activity-entityUsed
 43  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 44  rdfs:label "entityUsed";
 45  rdfs:comment "A thing employed in the activity."@en;
 46  rdfs:domain cdi:Activity;
 47  rdfs:range cdi:Reference;
 48.
 49
 50cdi:Activity-identifier
 51  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 52  rdfs:label "identifier";
 53  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
 54  rdfs:domain cdi:Activity;
 55  rdfs:range cdi:Identifier;
 56.
 57
 58cdi:Activity-name
 59  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 60  rdfs:label "name";
 61  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;
 62  rdfs:domain cdi:Activity;
 63  rdfs:range cdi:ObjectName;
 64.
 65
 66cdi:Activity-standardModelMapping
 67  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
 68  rdfs:label "standardModelMapping";
 69  rdfs:comment "A reference to a standard process model from which the Activity is taken, such as The Generic Statistical Business Process Model (GSBPM), the Generic Longitudinal Business Process Model (GLBPM), Open Archive Information System (OAIS) model, etc. The model and step or sub-step corresponding to the Activity is noted here using the Paired External Controlled Vocabulary Entry. Enter the name of the model in \"term\" and the step, sub-step, or specific portion of the model in \"extent\"."@en;
 70  rdfs:domain cdi:Activity;
 71  rdfs:range cdi:Reference;
 72.
 73
 74
 75cdi:Activity_has_Step
 76  a rdf:Property, owl:ObjectProperty, ucmis:Association;
 77  # ASSOCIATION
 78  rdfs:label "has_Step";
 79  skos:altLabel "Activity_has_Step";
 80  rdfs:comment "Activities may be broken out into Steps. Steps are also a subtype of Activity."@en;
 81  rdfs:domain cdi:Activity;
 82  rdfs:range cdi:Step;
 83.
 84
 85cdi:Activity_hasInternal_ControlLogic
 86  a rdf:Property, owl:ObjectProperty, ucmis:Association;
 87  # ASSOCIATION
 88  rdfs:label "hasInternal";
 89  skos:altLabel "Activity_hasInternal_ControlLogic";
 90  rdfs:comment "An activity is embedded in the control construct which launches it."@en;
 91  rdfs:domain cdi:Activity;
 92  rdfs:range cdi:ControlLogic;
 93.
 94
 95cdi:Activity_hasSubActivity_Activity
 96  a rdf:Property, owl:ObjectProperty, ucmis:Association;
 97  # ASSOCIATION
 98  rdfs:label "hasSubActivity";
 99  skos:altLabel "Activity_hasSubActivity_Activity";
100  rdfs:comment "An Activity is a container for SubActivities."@en;
101  rdfs:domain cdi:Activity;
102  rdfs:range cdi:Activity;
103.

Fragment for the class Activity (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      "definition": {
 8        "@id": "cdi:Activity-definition",
 9        "@type": "@id",
10        "@context": "InternationalString.jsonld"
11      },
12      "description": {
13        "@id": "cdi:Activity-description",
14        "@type": "xsd:string"
15      },
16      "displayLabel": {
17        "@id": "cdi:Activity-displayLabel",
18        "@type": "@id",
19        "@context": "LabelForDisplay.jsonld"
20      },
21      "entityProduced": {
22        "@id": "cdi:Activity-entityProduced",
23        "@type": "@id",
24        "@context": "Reference.jsonld"
25      },
26      "entityUsed": {
27        "@id": "cdi:Activity-entityUsed",
28        "@type": "@id",
29        "@context": "Reference.jsonld"
30      },
31      "identifier": {
32        "@id": "cdi:Activity-identifier",
33        "@type": "@id",
34        "@context": "Identifier.jsonld"
35      },
36      "name": {
37        "@id": "cdi:Activity-name",
38        "@type": "@id",
39        "@context": "ObjectName.jsonld"
40      },
41      "standardModelMapping": {
42        "@id": "cdi:Activity-standardModelMapping",
43        "@type": "@id",
44        "@context": "Reference.jsonld"
45      },
46      
47      "has_Step": {
48        "@id": "cdi:Activity_has_Step",
49        "@type": "@id",
50        "@context": "Step.jsonld"
51      },
52      "hasInternal": {
53        "@id": "cdi:Activity_hasInternal_ControlLogic",
54        "@type": "@id",
55        "@context": "ControlLogic.jsonld"
56      },
57      "hasSubActivity": {
58        "@id": "cdi:Activity_hasSubActivity_Activity",
59        "@type": "@id",
60        "@context": "Activity.jsonld"
61      },
62      "hasSubActivity_OF_Activity": {
63        "@reverse": "cdi:Activity_hasSubActivity_Activity",
64        "@type": "@id",
65        "@context": "Activity.jsonld"
66      },
67      "invokes_OF_ControlLogic": {
68        "@reverse": "cdi:ControlLogic_invokes_Activity",
69        "@type": "@id",
70        "@context": "ControlLogic.jsonld"
71      },
72      "performs_OF_ProcessingAgent": {
73        "@reverse": "cdi:ProcessingAgent_performs_Activity",
74        "@type": "@id",
75        "@context": "ProcessingAgent.jsonld"
76      },
77      "indexes_OF_SequencePosition": {
78        "@reverse": "cdi:SequencePosition_indexes_Activity",
79        "@type": "@id",
80        "@context": "SequencePosition.jsonld"
81      },
82      " comment ": "tag:json-should-support-trailing-commas"
83    }
84  ],
85  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:53.",
86  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Process::Activity"
87}

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

  1# class Activity
  2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Activity
  3<#Activity> a sh:NodeShape;
  4    sh:targetClass cdi:Activity;
  5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Activity";
  6	sh:closed true;
  7	sh:ignoredProperties ( owl:sameAs );
  8    sh:property [
  9			sh:path rdf:type;
 10			sh:in (   cdi:Activity
 11			  cdi:Step
 12			 ) ;
 13    ];
 14    # attributes
 15    sh:property <#Activity-definition>;
 16    sh:property <#Activity-description>;
 17    sh:property <#Activity-displayLabel>;
 18    sh:property <#Activity-entityProduced>;
 19    sh:property <#Activity-entityUsed>;
 20    sh:property <#Activity-identifier>;
 21    sh:property <#Activity-name>;
 22    sh:property <#Activity-standardModelMapping>;
 23    # associations from Activity
 24    sh:property <#Activity_has_Step>;
 25    sh:property <#Activity_hasInternal_ControlLogic>;
 26    sh:property <#Activity_hasSubActivity_Activity>;
 27    # associations to Activity
 28    sh:property <#rev_Activity_hasSubActivity_Activity>;
 29    sh:property <#rev_ControlLogic_invokes_Activity>;
 30    sh:property <#rev_ProcessingAgent_performs_Activity>;
 31    sh:property <#rev_SequencePosition_indexes_Activity>;
 32
 33
 34
 35.
 36
 37<#Activity-definition> a sh:PropertyShape ;
 38    sh:path cdi:Activity-definition;
 39    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 40        cdi:InternationalString
 41        cdi:BibliographicName
 42        cdi:LabelForDisplay
 43      
 44    ) ]];
 45    sh:maxCount 1;
 46.
 47<#Activity-description> a sh:PropertyShape ;
 48    sh:path cdi:Activity-description;
 49    sh:datatype xsd:string;
 50    sh:maxCount 1;
 51.
 52<#Activity-displayLabel> a sh:PropertyShape ;
 53    sh:path cdi:Activity-displayLabel;
 54    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 55        cdi:LabelForDisplay
 56      
 57    ) ]];
 58.
 59<#Activity-entityProduced> a sh:PropertyShape ;
 60    sh:path cdi:Activity-entityProduced;
 61    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 62        cdi:Reference
 63      
 64    ) ]];
 65.
 66<#Activity-entityUsed> a sh:PropertyShape ;
 67    sh:path cdi:Activity-entityUsed;
 68    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 69        cdi:Reference
 70      
 71    ) ]];
 72.
 73<#Activity-identifier> a sh:PropertyShape ;
 74    sh:path cdi:Activity-identifier;
 75    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 76        cdi:Identifier
 77      
 78    ) ]];
 79    sh:maxCount 1;
 80.
 81<#Activity-name> a sh:PropertyShape ;
 82    sh:path cdi:Activity-name;
 83    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 84        cdi:ObjectName
 85        cdi:OrganizationName
 86      
 87    ) ]];
 88.
 89<#Activity-standardModelMapping> a sh:PropertyShape ;
 90    sh:path cdi:Activity-standardModelMapping;
 91    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
 92        cdi:Reference
 93      
 94    ) ]];
 95.
 96
 97<#Activity_has_Step> a sh:PropertyShape ;
 98    sh:path cdi:Activity_has_Step;
 99	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
100        cdi:Step
101      
102    ) ]];
103.
104<#rev_Activity_has_Step> a sh:PropertyShape ;
105    sh:path [ sh:inversePath cdi:Activity_has_Step ];
106.
107<#Activity_hasInternal_ControlLogic> a sh:PropertyShape ;
108    sh:path cdi:Activity_hasInternal_ControlLogic;
109	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
110        cdi:ControlLogic
111        cdi:DeterministicImperative
112        cdi:ConditionalControlLogic
113        cdi:Sequence
114        cdi:NonDeterministicDeclarative
115        cdi:RuleBasedScheduling
116        cdi:TemporalConstraints
117        cdi:AllenIntervalAlgebra
118        cdi:TemporalControlConstruct
119      
120    ) ]];
121.
122<#rev_Activity_hasInternal_ControlLogic> a sh:PropertyShape ;
123    sh:path [ sh:inversePath cdi:Activity_hasInternal_ControlLogic ];
124.
125<#Activity_hasSubActivity_Activity> a sh:PropertyShape ;
126    sh:path cdi:Activity_hasSubActivity_Activity;
127	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
128        cdi:Activity
129        cdi:Step
130      
131    ) ]];
132.
133<#rev_Activity_hasSubActivity_Activity> a sh:PropertyShape ;
134    sh:path [ sh:inversePath cdi:Activity_hasSubActivity_Activity ];
135    sh:maxCount 1;
136.

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

 1# class Activity
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Activity
 3cdi:ActivityShape CLOSED {
 4	a [cdi:Activity];
 5	$cdi:ActivityProperties (
 6	cdi:Activity-definition	@cdi:InternationalStringShape?;
 7	cdi:Activity-description	xsd:string?;
 8	cdi:Activity-displayLabel	@cdi:LabelForDisplayShape*;
 9	cdi:Activity-entityProduced	@cdi:ReferenceShape*;
10	cdi:Activity-entityUsed	@cdi:ReferenceShape*;
11	cdi:Activity-identifier	@cdi:IdentifierShape?;
12	cdi:Activity-name	@cdi:ObjectNameShape*;
13	cdi:Activity-standardModelMapping	@cdi:ReferenceShape*;
14	cdi:Activity_has_Step	@cdi:StepShape *;
15	
16	cdi:Activity_hasInternal_ControlLogic	@cdi:ControlLogicShape OR @cdi:DeterministicImperativeShape OR @cdi:NonDeterministicDeclarativeShape*;
17	
18	cdi:Activity_hasSubActivity_Activity	@cdi:ActivityShape OR @cdi:StepShape*;
19	
20	^cdi:ControlLogic_invokes_Activity @cdi:ControlLogicShape OR @cdi:DeterministicImperativeShape OR @cdi:NonDeterministicDeclarativeShape*;
21	^cdi:ProcessingAgent_performs_Activity @cdi:ProcessingAgentShape OR @cdi:CuratorShape OR @cdi:ServiceShape*;
22	^cdi:SequencePosition_indexes_Activity @cdi:SequencePositionShape *;
23		);
24}