Service#

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

Definition#

Service is a type of processing agent. Services are atomic. They execute acts which have input and output parameters.

Examples#

Given a location as input, a weather service provides weather data as output.

Explanatory notes#

A service binds information objects to parameters at runtime.

Diagram#

Diagram

Inheritance#

Inheritance
    ᐊ── Process::Service

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

catalogDetails

Agents::Agent

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

identifier

Agents::Agent

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

Identifier

0..1

image

Agents::Agent

Information regarding image associated with the agent.

PrivateImage

0..*

purpose

Agents::Agent

Intent or reason for the object/the description of the object.

InternationalString

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of Service

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

ControlLogic informs ProcessingAgent

Control logic informs a processing agent. The information may be deterministic or non-deterministic.

0..*

- own package -

ControlLogic

0..*

none

Process::ProcessingAgent

from

ProcessingAgent operatesOn ProductionEnvironment

0..*

- own package -

ProductionEnvironment

0..*

none

Process::ProcessingAgent

from

ProcessingAgent performs Activity

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

0..*

- own package -

Activity

0..*

none

Process::ProcessingAgent

to

AgentListing has Agent

0..*

Agents

AgentListing

0..*

none

Agents::Agent

to

AgentListing isMaintainedBy Agent

The unit or group of persons within the organization responsible for the agent listing (i.e., for adding, changing or deleting agent entries).

0..1

Agents

AgentListing

0..*

none

Agents::Agent

to

AgentPosition indexes Agent

0..1

Agents

AgentPosition

0..*

none

Agents::Agent

to

AgentRelationship hasSource Agent

The subject in the description of a paired relationship – for example the Parent agent in the hierarchical Parent of Child relationship.

1..1

Agents

AgentRelationship

0..*

none

Agents::Agent

to

AgentRelationship hasTarget Agent

The object in the description of a paired relationship – for example the Object agent in the hierarchical Parent of Child relationship.

1..1

Agents

AgentRelationship

0..*

none

Agents::Agent

to

AuthorizationSource has Agent

0..*

Representations

AuthorizationSource

0..*

none

Agents::Agent

to

ClassificationIndex hasContact Agent

Person(s) who may be contacted for additional information about the classification index.

0..*

Representations

ClassificationIndex

0..*

none

Agents::Agent

to

ClassificationIndex isMaintainedBy Agent

The unit or group of persons within the organization responsible for the classification index (i.e., for adding, changing or deleting classification index entries).

0..1

Representations

ClassificationIndex

0..*

none

Agents::Agent

to

ClassificationSeries isOwnedBy Agent

The statistical office or other authority, which created and maintains the statistical classification(s) related to the classification series. A classification series may have several owners.

0..*

Representations

ClassificationSeries

0..*

none

Agents::Agent

to

CorrespondenceTable hasContact Agent

The person(s) who may be contacted for additional information about the correspondence table. Can be an individual or organization.

0..*

Representations

CorrespondenceTable

0..*

none

Agents::Agent

to

CorrespondenceTable isMaintainedBy Agent

The unit or group of persons who are responsible for the correspondence table (i.e., for maintaining and updating it).

0..1

Representations

CorrespondenceTable

0..*

none

Agents::Agent

to

CorrespondenceTable isOwnedBy Agent

The statistical office, other authority or section that created and maintains the correspondence table. A correspondence table may have several owners.

0..*

Representations

CorrespondenceTable

0..*

none

Agents::Agent

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 Service (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-Service"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Service"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Service-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Service-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Service"/>
11      <body>Definition 
12============ 
13Service is a type of processing agent. Services are atomic. They execute acts which have input and output parameters.  
14
15Examples 
16========== 
17Given a location as input, a weather service provides weather data as output.  
18
19Explanatory notes 
20=================== 
21A service binds information objects to parameters at runtime.</body>
22   </ownedComment>
23   <name>Service</name>
24   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Service-generalization"
25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Service-generalization"
26                    xmi:type="uml:Generalization">
27      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-ProcessingAgent"/>
28   </generalization>
29</packagedElement>

Fragment for the class Service (entire XML Schema)

 1<xs:element name="Service"
 2            type="ServiceXsdType"
 3            xml:id="Service">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Service -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Service is a type of processing agent. Services are atomic. They execute acts which have input and output parameters.  
 9          
10          Examples 
11          ========== 
12          Given a location as input, a weather service provides weather data as output.  
13          
14          Explanatory notes 
15          =================== 
16          A service binds information objects to parameters at runtime.</xs:documentation>
17  </xs:annotation>
18</xs:element>
19<xs:complexType name="ServiceXsdType"
20                xml:id="ServiceXsdType">
21  <xs:annotation>
22    <xs:documentation>Definition 
23          ============ 
24          Service is a type of processing agent. Services are atomic. They execute acts which have input and output parameters.  
25          
26          Examples 
27          ========== 
28          Given a location as input, a weather service provides weather data as output.  
29          
30          Explanatory notes 
31          =================== 
32          A service binds information objects to parameters at runtime.</xs:documentation>
33  </xs:annotation>
34  <xs:complexContent>
35    <xs:extension base="ProcessingAgentXsdType">
36      
37    </xs:extension>
38  </xs:complexContent>
39</xs:complexType>

Fragment for the class Service (entire JSON Schema)

  1"cls-Service": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Service",
  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": "Service"
 14    },
 15    "catalogDetails": {
 16      "$comment": "cardinality 0..1 – from cdi:Agent",
 17      "$ref": "#/defs/dt-CatalogDetails"
 18    },
 19    "identifier": {
 20      "$comment": "cardinality 0..1 – from cdi:Agent",
 21      "$ref": "#/defs/dt-Identifier"
 22    },
 23    "image": {
 24      "$comment": "cardinality 0..-1 – from cdi:Agent",
 25      "if": { "type": "array" },
 26      "then": { "items": { "$ref": "#/defs/dt-PrivateImage" } },
 27      "else": { "$ref": "#/defs/dt-PrivateImage" }
 28    },
 29    "purpose": {
 30      "$comment": "cardinality 0..1 – from cdi:Agent",
 31      "$ref": "#/defs/dt-InternationalString"
 32    },
 33    "operatesOn": {
 34      "description": "ProcessingAgent_operatesOn_ProductionEnvironment",
 35      "$comment": "cardinality 0..-1",
 36      "anyOf": [
 37        {
 38          "$ref": "#/defs/target-ProductionEnvironment"
 39        },
 40        {
 41          "type": "array",
 42          "items": {
 43            "$ref": "#/defs/target-ProductionEnvironment"
 44          }
 45        }
 46      ]
 47    },
 48    "performs": {
 49      "description": "ProcessingAgent_performs_Activity",
 50      "$comment": "cardinality 0..-1",
 51      "anyOf": [
 52        {
 53          "$ref": "#/defs/target-Activity"
 54        },
 55        {
 56          "type": "array",
 57          "items": {
 58            "$ref": "#/defs/target-Activity"
 59          }
 60        }
 61      ]
 62    },
 63    "informs_OF_ControlLogic": {
 64      "description": "ControlLogic_informs_ProcessingAgent",
 65      "$comment": "cardinality 0..-1",
 66      "anyOf": [
 67        {
 68          "$ref": "#/defs/target-ControlLogic"
 69        },
 70        {
 71          "type": "array",
 72          "items": {
 73            "$ref": "#/defs/target-ControlLogic"
 74          }
 75        }
 76      ]
 77    },
 78    "has_Agent_OF_AgentListing": {
 79      "description": "AgentListing_has_Agent",
 80      "$comment": "cardinality 0..-1",
 81      "anyOf": [
 82        {
 83          "$ref": "#/defs/target-AgentListing"
 84        },
 85        {
 86          "type": "array",
 87          "items": {
 88            "$ref": "#/defs/target-AgentListing"
 89          }
 90        }
 91      ]
 92    },
 93    "isMaintainedBy_OF_AgentListing": {
 94      "description": "AgentListing_isMaintainedBy_Agent",
 95      "$comment": "cardinality 0..-1",
 96      "anyOf": [
 97        {
 98          "$ref": "#/defs/target-AgentListing"
 99        },
100        {
101          "type": "array",
102          "items": {
103            "$ref": "#/defs/target-AgentListing"
104          }
105        }
106      ]
107    },
108    "indexes_OF_AgentPosition": {
109      "description": "AgentPosition_indexes_Agent",
110      "$comment": "cardinality 0..-1",
111      "anyOf": [
112        {
113          "$ref": "#/defs/target-AgentPosition"
114        },
115        {
116          "type": "array",
117          "items": {
118            "$ref": "#/defs/target-AgentPosition"
119          }
120        }
121      ]
122    },
123    "hasSource_OF_AgentRelationship": {
124      "description": "AgentRelationship_hasSource_Agent",
125      "$comment": "cardinality 0..-1",
126      "anyOf": [
127        {
128          "$ref": "#/defs/target-AgentRelationship"
129        },
130        {
131          "type": "array",
132          "items": {
133            "$ref": "#/defs/target-AgentRelationship"
134          }
135        }
136      ]
137    },
138    "hasTarget_OF_AgentRelationship": {
139      "description": "AgentRelationship_hasTarget_Agent",
140      "$comment": "cardinality 0..-1",
141      "anyOf": [
142        {
143          "$ref": "#/defs/target-AgentRelationship"
144        },
145        {
146          "type": "array",
147          "items": {
148            "$ref": "#/defs/target-AgentRelationship"
149          }
150        }
151      ]
152    },
153    "has_Agent_OF_AuthorizationSource": {
154      "description": "AuthorizationSource_has_Agent",
155      "$comment": "cardinality 0..-1",
156      "anyOf": [
157        {
158          "$ref": "#/defs/target-AuthorizationSource"
159        },
160        {
161          "type": "array",
162          "items": {
163            "$ref": "#/defs/target-AuthorizationSource"
164          }
165        }
166      ]
167    },
168    "hasContact_OF_ClassificationIndex": {
169      "description": "ClassificationIndex_hasContact_Agent",
170      "$comment": "cardinality 0..-1",
171      "anyOf": [
172        {
173          "$ref": "#/defs/target-ClassificationIndex"
174        },
175        {
176          "type": "array",
177          "items": {
178            "$ref": "#/defs/target-ClassificationIndex"
179          }
180        }
181      ]
182    },
183    "isMaintainedBy_OF_ClassificationIndex": {
184      "description": "ClassificationIndex_isMaintainedBy_Agent",
185      "$comment": "cardinality 0..-1",
186      "anyOf": [
187        {
188          "$ref": "#/defs/target-ClassificationIndex"
189        },
190        {
191          "type": "array",
192          "items": {
193            "$ref": "#/defs/target-ClassificationIndex"
194          }
195        }
196      ]
197    },
198    "isOwnedBy_OF_ClassificationSeries": {
199      "description": "ClassificationSeries_isOwnedBy_Agent",
200      "$comment": "cardinality 0..-1",
201      "anyOf": [
202        {
203          "$ref": "#/defs/target-ClassificationSeries"
204        },
205        {
206          "type": "array",
207          "items": {
208            "$ref": "#/defs/target-ClassificationSeries"
209          }
210        }
211      ]
212    },
213    "hasContact_OF_CorrespondenceTable": {
214      "description": "CorrespondenceTable_hasContact_Agent",
215      "$comment": "cardinality 0..-1",
216      "anyOf": [
217        {
218          "$ref": "#/defs/target-CorrespondenceTable"
219        },
220        {
221          "type": "array",
222          "items": {
223            "$ref": "#/defs/target-CorrespondenceTable"
224          }
225        }
226      ]
227    },
228    "isMaintainedBy_OF_CorrespondenceTable": {
229      "description": "CorrespondenceTable_isMaintainedBy_Agent",
230      "$comment": "cardinality 0..-1",
231      "anyOf": [
232        {
233          "$ref": "#/defs/target-CorrespondenceTable"
234        },
235        {
236          "type": "array",
237          "items": {
238            "$ref": "#/defs/target-CorrespondenceTable"
239          }
240        }
241      ]
242    },
243    "isOwnedBy_OF_CorrespondenceTable": {
244      "description": "CorrespondenceTable_isOwnedBy_Agent",
245      "$comment": "cardinality 0..-1",
246      "anyOf": [
247        {
248          "$ref": "#/defs/target-CorrespondenceTable"
249        },
250        {
251          "type": "array",
252          "items": {
253            "$ref": "#/defs/target-CorrespondenceTable"
254          }
255        }
256      ]
257    },
258    "sameAs": {
259      "$ref": "#/defs/owl:sameAs"
260    }
261  },
262  "required": ["@type"],
263  "additionalProperties": false
264},
265"target-Service": {
266  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Service",
267  "anyOf": [
268    { "$ref": "#/defs/cls-Service" },
269    { "type": "string", "format": "iri-reference" }
270  ]
271},

Fragment for the class Service (main ontology)

1# class Service
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Service
3cdi:Service
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "Service";
6  rdfs:comment "Definition \n============ \nService is a type of processing agent. Services are atomic. They execute acts which have input and output parameters.  \n\nExamples \n========== \nGiven a location as input, a weather service provides weather data as output.  \n\nExplanatory notes \n=================== \nA service binds information objects to parameters at runtime."@en;
7  rdfs:subClassOf cdi:ProcessingAgent;
8.

Fragment for the class Service (entire JSON-LD)

 1{
 2  "@context": [
 3    "ProcessingAgent.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      
 9      " comment ": "tag:json-should-support-trailing-commas"
10    }
11  ],
12  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:54.",
13  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Process::Service"
14}

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

 1# class Service
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Service
 3<#Service> a sh:NodeShape;
 4    sh:targetClass cdi:Service;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Service";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:Service
11			 ) ;
12    ];
13    # attributes
14    # associations from Service
15    # associations to Service
16
17    # ---- superclass: ProcessingAgent
18    # attributes
19    # associations from ProcessingAgent
20    sh:property <#ProcessingAgent_operatesOn_ProductionEnvironment>;
21    sh:property <#ProcessingAgent_performs_Activity>;
22    # associations to ProcessingAgent
23    sh:property <#rev_ControlLogic_informs_ProcessingAgent>;
24
25    # ---- superclass: Agent
26    # attributes
27    sh:property <#Agent-catalogDetails>;
28    sh:property <#Agent-identifier>;
29    sh:property <#Agent-image>;
30    sh:property <#Agent-purpose>;
31    # associations from Agent
32    # associations to Agent
33    sh:property <#rev_AgentListing_has_Agent>;
34    sh:property <#rev_AgentListing_isMaintainedBy_Agent>;
35    sh:property <#rev_AgentPosition_indexes_Agent>;
36    sh:property <#rev_AgentRelationship_hasSource_Agent>;
37    sh:property <#rev_AgentRelationship_hasTarget_Agent>;
38    sh:property <#rev_AuthorizationSource_has_Agent>;
39    sh:property <#rev_ClassificationIndex_hasContact_Agent>;
40    sh:property <#rev_ClassificationIndex_isMaintainedBy_Agent>;
41    sh:property <#rev_ClassificationSeries_isOwnedBy_Agent>;
42    sh:property <#rev_CorrespondenceTable_hasContact_Agent>;
43    sh:property <#rev_CorrespondenceTable_isMaintainedBy_Agent>;
44    sh:property <#rev_CorrespondenceTable_isOwnedBy_Agent>;
45
46
47
48
49
50
51
52.

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

1# class Service
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Service
3cdi:ServiceShape CLOSED {
4	a [cdi:Service];
5		&cdi:ProcessingAgentProperties;
6	}