Wiki source code of 2 Actors and Use Cases

Version 6.1 by Artur on 2025/07/14 10:19

Show last authors
1 {{box title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 == 2.1 Introduction ==
6
7 In order to develop the data models, it is necessary to understand the functions to be supported resulting from the requirements definition. These are defined in a use case model. The use case model comprises actors and use cases and these are defined below.
8
9 **Actor**
10
11 “//An actor defines a coherent set of roles that users of the system can play when interacting with it. An actor instance can be played by either an individual or an external system//”
12
13 (% class="wikigeneratedid" id="HUsecase" %)
14 **Use case**
15
16 //“A use case defines a set of use-case instances, where each instance is a sequence of actions a system performs that yields an observable result of value to a particular actor”//
17
18 The overall intent of the model is to support data and metadata reporting, dissemination, and exchange in the field of aggregated statistical data and related metadata. In order to achieve this, the model needs to support three fundamental aspects of this process:
19
20 * Maintenance of structural and provisioning definitions
21 * Data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] publishing (reporting), and consuming (using)
22 * Access to data, [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]], and structural and provisioning definitions This document covers the first two aspects, whilst the document on the Registry logical model covers the last aspect.
23
24 == 2.2 Use Case Diagrams ==
25
26 === 2.2.1 Maintenance of Structural and Provisioning Definitions ===
27
28 ==== 2.2.1.1 Use cases ====
29
30 [[image:1749565006514-496.png]]
31
32 **Figure 7 Use cases for maintaining data and metadata structural and provisioning definitions**
33
34 ==== 2.2.1.2 Explanation of the Diagram ====
35
36 In order for applications to publish and consume data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] it is necessary for the structure and permitted content of the data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] to be defined and made available to the applications, as well as definitions that support the actual process of publishing and consuming. This is the responsibility of a [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]].
37
38 All maintained [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] are maintained by a [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]]. For convenience the [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]] actor is sub divided into two actor roles:
39
40 * maintaining structural definitions
41 * maintaining provisioning definitions
42
43 Whilst both these functions may be carried out by the same person, or at least by the same maintaining organization, the purpose of the definitions is different and so the roles have been differentiated: structural definitions define the format and permitted content of data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] when reported or disseminated, whilst provisioning definitions support the process of reporting and dissemination (who reports what to whom, and when).
44
45 In a community-based scenario where at least the structural definitions may be shared, it is important that the scheme of [[maintenance agencies>>doc:sdmx:Glossary.Maintenance agency.WebHome]] is maintained by a responsible organization (called here the Community Administrator), as it is important that the Id of the [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]] is unique.
46
47 ==== 2.2.1.3 Definitions ====
48
49 (% style="width:968.835px" %)
50 |(% style="width:205px" %)**Actor**|(% style="width:209px" %)**Use Case**|(% style="width:492px" %)**Description**
51 |(% style="width:205px" %)(((
52 [[image:1749332266428-602.png]]
53
54 Community Administrator
55 )))|(% style="width:209px" %) |(% style="width:492px" %)Responsible organisation that administers structural definitions common to the community as a whole.
56 |(% style="width:205px" %) |(% style="width:209px" %)(((
57 [[image:1749332418495-734.png]]
58
59 Maintain [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]] Scheme
60 )))|(% style="width:492px" %)Creation and maintenance of the top-level scheme of [[maintenance agencies>>doc:sdmx:Glossary.Maintenance agency.WebHome]] for the Community.
61 |(% style="width:205px" %)(((
62 [[image:1749332281362-480.png]]
63
64 [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]]
65
66
67 )))|(% style="width:209px" %) |(% style="width:492px" %)(((
68 Responsible agency for maintaining structural [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] such as [[code lists>>doc:sdmx:Glossary.Code list.WebHome]], [[concept schemes>>doc:sdmx:Glossary.Concept scheme.WebHome]], [[Data Structure Definition>>doc:sdmx:Glossary.Data structure definition.WebHome]] structural definitions, [[metadata structure definitions>>doc:sdmx:Glossary.Metadata structure definition.WebHome]], data and metadata provisioning [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] such as [[provision agreement>>doc:sdmx:Glossary.Provision agreement.WebHome]], and submaintenance agencies.
69
70 sub roles are:
71 Structural Definitions [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]] Provisioning Definitions [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]]
72 )))
73 |(% style="width:205px" %)(((
74 [[image:1749332303367-802.png]]
75
76 Structural Definitions [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]]
77 )))|(% style="width:209px" %) |(% style="width:492px" %)Responsible for maintaining structural definitions.
78 |(% style="width:205px" %) |(% style="width:209px" %)(((
79 [[image:1749332439969-220.png]]
80
81 Maintain Structure Definitions
82 )))|(% style="width:492px" %)The maintenance of structural definitions. This use case has sub class use cases for each of the structural [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] that are maintained.
83 |(% style="width:205px" %) |(% style="width:209px" %)(((
84 [[image:1749332464332-268.png]]
85
86 Maintain [[Code List>>doc:sdmx:Glossary.Code list.WebHome]]
87
88 [[image:1749332472857-432.png]]
89
90 MaintainConcepts
91
92 [[image:1749332500135-878.png]]
93
94 Maintain [[Category>>doc:sdmx:Glossary.Category.WebHome]] Scheme
95
96 [[image:1749332504477-812.png]]
97
98 Maintain [[Data Structure Definition>>doc:sdmx:Glossary.Data structure definition.WebHome]]
99
100 [[image:1749332510405-500.png]]
101
102 Maintain [[Metadata Structure Definition>>doc:sdmx:Glossary.Metadata structure definition.WebHome]]
103
104 [[image:1749332513843-675.png]]
105
106 Maintain [[Hierarchical Code>>doc:sdmx:Glossary.Hierarchical code.WebHome]] Scheme
107 )))|(% style="width:492px" %)Creation and maintenance of the [[Data Structure Definition>>doc:sdmx:Glossary.Data structure definition.WebHome]], [[Metadata Structure Definition>>doc:sdmx:Glossary.Metadata structure definition.WebHome]], and the supporting [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] that they use, such as [[code list>>doc:sdmx:Glossary.Code list.WebHome]] and concepts
108 |(% style="width:205px" %) |(% style="width:209px" %)(((
109 [[image:1749332711878-606.png]]
110
111 Maintain Reporting Taxonomy
112
113 [[image:1749332714083-294.png]]
114
115 Maintain Organisation Scheme
116
117 [[image:1749332715710-552.png]]
118
119 MaintainProcess
120
121 [[image:1749332717889-510.png]]
122
123 Maintain [[Dataflow>>doc:sdmx:Glossary.Dataflow.WebHome]] Definition
124
125 [[image:1749332719459-955.png]]
126
127 Maintain [[Metadataflow>>doc:sdmx:Glossary.Metadataflow.WebHome]] Definition
128 )))|(% style="width:492px" %)(((
129 This includes Agency, [[Data Provider>>doc:sdmx:Glossary.Data provider.WebHome]], [[Data Consumer>>doc:sdmx:Glossary.Data consumer.WebHome]], and Organisation Unit Scheme
130 )))
131 |(% style="width:205px" %)(((
132 [[image:1749332321274-765.png]]
133
134 Provisioning Definitions [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]]
135 )))|(% style="width:209px" %) |(% style="width:492px" %)Responsible for maintaining data and metadata provisioning definitions.
136 |(% style="width:205px" %) |(% style="width:209px" %)(((
137 [[image:1749332401454-279.png]]
138
139 Maintain [[Provision Agreement>>doc:sdmx:Glossary.Provision agreement.WebHome]]
140 )))|(% style="width:492px" %)The maintenance of provisioning definitions.
141
142 **Figure 8: Table of Actors and Use Cases for Maintenance of Structural and Provisioning Definitions**
143
144 === 2.2.2 Publishing and Using Data and Reference Metadata ===
145
146 ==== 2.2.2.1 Use Cases ====
147
148 [[image:1749565058251-456.png]]
149
150 **Figure 9: Actors and use cases for data and metadata publishing and consuming**
151
152 ==== 2.2.2.2 Explanation of the Diagram ====
153
154 Note that in this diagram “publishing” data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] is deemed to be the same as “reporting” data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]]. In some cases the act of making the data available fulfils both functions. Aggregated data is published and in order for the Data Publisher to do this and in order for consuming applications to process the data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] its structure must be known. Furthermore, consuming applications may also require access to [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] in order to present this to the [[Data Consumer>>doc:sdmx:Glossary.Data consumer.WebHome]] so that the data is better understood. As with the data, the [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] also needs to be formatted in accordance with a maintained structure. The [[Data Consumer>>doc:sdmx:Glossary.Data consumer.WebHome]] and Metadata Consumer cannot use the data or [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] unless it is “published” and so there is a “[[data source>>doc:sdmx:Glossary.Data source.WebHome]]” or “metadata source” dependency between the “uses” and “publish” use cases.
155
156 In any data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] publishing and consuming scenario both the publishing and the consuming applications will need access to maintained Provisioning Definitions. These definitions may be as simple as who provides what data and [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] to whom, and when, or it can be more complex with (% style="color:#e74c3c" %)[[constraints>>doc:sdmx:Glossary.Constraint.WebHome]](%%) on the data and metadata that can be provided by a particular publisher, and, in a data sharing scenario where data and metadata are “pulled” from [[data sources>>doc:sdmx:Glossary.Data source.WebHome]], details of the source.
157
158 ==== 2.2.2.3 Definitions ====
159
160 (% style="width:972.835px" %)
161 |(% style="width:179px" %)**Actor**|(% style="width:240px" %)**Use Case**|(% style="width:551px" %)**Description**
162 |(% style="width:179px" %)(((
163 [[image:1749332809145-933.png]]
164
165 Data Publisher
166 )))|(% style="width:240px" %) |(% style="width:551px" %)Responsible for publishing data according to a specified [[Data Structure Definition>>doc:sdmx:Glossary.Data structure definition.WebHome]] (data structure) definition, and relevant provisioning definitions.
167 |(% style="width:179px" %) |(% style="width:240px" %)(((
168 [[image:1749332761213-807.png]]
169
170 Publish Data
171 )))|(% style="width:551px" %)Publish a [[data set>>doc:sdmx:Glossary.Data set.WebHome]]. This could mean a physical [[data set>>doc:sdmx:Glossary.Data set.WebHome]] or it could mean to make the data available for access at a [[data source>>doc:sdmx:Glossary.Data source.WebHome]] such as a database that can process a query.
172 |(% style="width:179px" %)(((
173 [[image:1749332803560-738.png]]
174
175 [[Data Consumer>>doc:sdmx:Glossary.Data consumer.WebHome]]
176 )))|(% style="width:240px" %) |(% style="width:551px" %)The user of the data. It may be a human consumer accessing via a user interface, or it could be an application such as a statistical production system.
177 |(% style="width:179px" %) |(% style="width:240px" %)(((
178 [[image:1749332768027-695.png]]
179
180 Uses Data
181 )))|(% style="width:551px" %)Use data that is formatted according to the structural definitions and made available according to the provisioning definitions. Data are often linked to metadata that may reside in a different location and be published and maintained independently.
182 |(% style="width:179px" %)(((
183 [[image:1749332800396-294.png]]
184
185 Metadata Publisher
186 )))|(% style="width:240px" %) |(% style="width:551px" %)Responsible for publishing [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] according to a specified [[metadata structure definition>>doc:sdmx:Glossary.Metadata structure definition.WebHome]], and relevant provisioning definitions.
187 |(% style="width:179px" %) |(% style="width:240px" %)(((
188 [[image:1749332770196-488.png]]
189
190 Publish [[Reference Metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]]
191 )))|(% style="width:551px" %)Publish a [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] set. This could mean a physical [[metadata set>>doc:sdmx:Glossary.Metadata set.WebHome]] or it could mean to make the [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] available for access at a metadata source such as a [[metadata repository>>doc:sdmx:Glossary.Metadata repository.WebHome]] that can process a query.
192 |(% style="width:179px" %)(((
193 [[image:1749332796916-810.png]]
194
195 Metadata Consumer
196
197
198 )))|(% style="width:240px" %) |(% style="width:551px" %)The user of the [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]]. It may be a human consumer accessing via a user interface, or it could be an application such as a statistical production or dissemination system.
199 |(% style="width:179px" %) |(% style="width:240px" %)(((
200 [[image:1749332773645-193.png]]
201
202 Uses [[Reference Metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]]
203 )))|(% style="width:551px" %)Use [[reference metadata>>doc:sdmx:Glossary.Reference metadata.WebHome]] that is formatted according to the structural definitions and made available according to the provisioning definitions.