4.2.1 How it Works
|For Standard||CTA v2.1|
To describe an activity requires two parts; you must specify:
- An activity template, which is a general descriptions of possible activity types. A template is a semantic description of what the activity is about and the types of parameters that could be involved in the activity.
For example, we can specify a template to describe the creation of any data object (as described above). The mandatory output for the template is one or more new data objects. The possible inputs are unlimited so that the template can accommodate the needs (potential complexity) of any data object in an earth model.
A template may be very generic (for example, if the exporting software does not capture detailed descriptions of activities). Or the templates may be very detailed and precise in providing semantic information about the parameters involved in the activity.
- An instance of an activity. The instance describes an activity that has actually occurred. Each instance is associated with a template, which provides its semantics.
As part of a RESQML transfer, a “writer” (software creating data for transfer) must include the most current templates along with the activity instances for the data objects contained in the data transfer. A “reader” uses the templates to understand the activity instances.