Skip to content

Class: Action

Represents an action or activity performed on a Cr8tor project, tracking the lifecycle and state changes of the project. Based on schema.org Action and the Provenance Crate Profile specification. Actions track operations like create, assess, validate, etc.

URI: cr8tor_metamodel:Action

classDiagram class Action click Action href "../Action/" Action <|-- CreateAction click CreateAction href "../CreateAction/" Action <|-- AssessAction click AssessAction href "../AssessAction/" Action : action_status Action --> "1" ActionStatusType : action_status click ActionStatusType href "../ActionStatusType/" Action : action_type Action : agent Action : end_time Action : error Action : id Action : instrument Action : name Action : result Action : start_time

Inheritance

Slots

Name Cardinality and Range Description Inheritance
action_type 1
String
The specific type of action being performed (e direct
id 1
String
Unique identifier for the action, typically formatted as '{command_type}-{pro... direct
name 1
String
Human-readable name describing the action (e direct
start_time 1
Datetime
The date and time when the action started execution direct
end_time 1
Datetime
The date and time when the action completed or failed direct
action_status 1
ActionStatusType
The current status of the action, indicating whether it's active, completed, ... direct
agent 1
String
The agent (person, organization, or software) that triggered or performed the... direct
instrument 0..1
String
The tool or service that executed the action (e direct
result *
String
List of result items produced by the action, typically ID references to other... direct
error 0..1
String
Error message or output if the action failed direct

Usages

used by used in type used
Project actions range Action

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/karectl-crates/cr8tor-metamodel

Mappings

Mapping Type Mapped Value
self cr8tor_metamodel:Action
native cr8tor_metamodel:Action
narrow schemaorg:Action

LinkML Source

Direct

name: Action
description: Represents an action or activity performed on a Cr8tor project, tracking
  the lifecycle  and state changes of the project. Based on schema.org Action and
  the Provenance Crate Profile  specification. Actions track operations like create,
  assess, validate, etc.
from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
narrow_mappings:
- schemaorg:Action
slots:
- action_type
attributes:
  id:
    name: id
    description: Unique identifier for the action, typically formatted as '{command_type}-{project_id}'.
    from_schema: https://w3id.org/karectl-crates/governance-model
    identifier: true
    domain_of:
    - Project
    - Action
    - User
    range: string
    required: true
  name:
    name: name
    description: Human-readable name describing the action (e.g., "CREATE Data Project
      Action").
    from_schema: https://w3id.org/karectl-crates/governance-model
    domain_of:
    - Project
    - Action
    - Source
    - Dataset
    - Table
    - Column
    - Resource
    - Environment
    - KeycloakClientConfig
    - SecretRef
    - ProtocolMapper
    - EnvironmentVariable
    range: string
    required: true
  start_time:
    name: start_time
    description: The date and time when the action started execution.
    from_schema: https://w3id.org/karectl-crates/governance-model
    domain_of:
    - Project
    - Action
    range: datetime
    required: true
  end_time:
    name: end_time
    description: The date and time when the action completed or failed.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: datetime
    required: true
  action_status:
    name: action_status
    description: The current status of the action, indicating whether it's active,
      completed, failed, or potential. Formatted based on schema.org ActionStatus
      and Provenance Crate Profile specification.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: ActionStatusType
    required: true
  agent:
    name: agent
    description: The agent (person, organization, or software) that triggered or performed
      the action. Can reference a Person, Organization, or SoftwareApplication entity.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: string
    required: true
  instrument:
    name: instrument
    description: The tool or service that executed the action (e.g., 'cr8tor CLI',
      'GitHub Action',  specific TRE service). Maps to schema.org Action.instrument.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: string
    required: false
  result:
    name: result
    description: List of result items produced by the action, typically ID references
      to other  data or context entities created or modified by the action.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: string
    required: false
    multivalued: true
    inlined: true
    inlined_as_list: true
  error:
    name: error
    description: Error message or output if the action failed. Only present when action_status
      is FailedActionStatus.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    domain_of:
    - Action
    range: string
    required: false

Induced

name: Action
description: Represents an action or activity performed on a Cr8tor project, tracking
  the lifecycle  and state changes of the project. Based on schema.org Action and
  the Provenance Crate Profile  specification. Actions track operations like create,
  assess, validate, etc.
from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
narrow_mappings:
- schemaorg:Action
attributes:
  id:
    name: id
    description: Unique identifier for the action, typically formatted as '{command_type}-{project_id}'.
    from_schema: https://w3id.org/karectl-crates/governance-model
    identifier: true
    alias: id
    owner: Action
    domain_of:
    - Project
    - Action
    - User
    range: string
    required: true
  name:
    name: name
    description: Human-readable name describing the action (e.g., "CREATE Data Project
      Action").
    from_schema: https://w3id.org/karectl-crates/governance-model
    alias: name
    owner: Action
    domain_of:
    - Project
    - Action
    - Source
    - Dataset
    - Table
    - Column
    - Resource
    - Environment
    - KeycloakClientConfig
    - SecretRef
    - ProtocolMapper
    - EnvironmentVariable
    range: string
    required: true
  start_time:
    name: start_time
    description: The date and time when the action started execution.
    from_schema: https://w3id.org/karectl-crates/governance-model
    alias: start_time
    owner: Action
    domain_of:
    - Project
    - Action
    range: datetime
    required: true
  end_time:
    name: end_time
    description: The date and time when the action completed or failed.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: end_time
    owner: Action
    domain_of:
    - Action
    range: datetime
    required: true
  action_status:
    name: action_status
    description: The current status of the action, indicating whether it's active,
      completed, failed, or potential. Formatted based on schema.org ActionStatus
      and Provenance Crate Profile specification.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: action_status
    owner: Action
    domain_of:
    - Action
    range: ActionStatusType
    required: true
  agent:
    name: agent
    description: The agent (person, organization, or software) that triggered or performed
      the action. Can reference a Person, Organization, or SoftwareApplication entity.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: agent
    owner: Action
    domain_of:
    - Action
    range: string
    required: true
  instrument:
    name: instrument
    description: The tool or service that executed the action (e.g., 'cr8tor CLI',
      'GitHub Action',  specific TRE service). Maps to schema.org Action.instrument.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: instrument
    owner: Action
    domain_of:
    - Action
    range: string
    required: false
  result:
    name: result
    description: List of result items produced by the action, typically ID references
      to other  data or context entities created or modified by the action.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: result
    owner: Action
    domain_of:
    - Action
    range: string
    required: false
    multivalued: true
    inlined: true
    inlined_as_list: true
  error:
    name: error
    description: Error message or output if the action failed. Only present when action_status
      is FailedActionStatus.
    from_schema: https://w3id.org/karectl-crates/governance-model
    rank: 1000
    alias: error
    owner: Action
    domain_of:
    - Action
    range: string
    required: false
  action_type:
    name: action_type
    description: The specific type of action being performed (e.g., CreateAction,
      AssessAction).
    from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
    rank: 1000
    designates_type: true
    alias: action_type
    owner: Action
    domain_of:
    - Action
    range: string
    required: true