@contentauth/c2pa-js
    Preparing search index...

    Defines a single action taken on an asset.

    An [Action] describes what took place on the asset, when it took place, along with possible other information such as what software performed the action.

    See https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_actions.

    interface Action {
        action: string;
        actors?: null | Actor[];
        changed?: null | string;
        changes?: null | RegionOfInterest[];
        description?: null | string;
        digitalSourceType?: null | string;
        instance_id?: null | string;
        parameters?: null | ActionParameters;
        reason?: null | string;
        related?: null | Action[];
        softwareAgent?: null | SoftwareAgent;
        softwareAgentIndex?: null | number;
        when?: null | string;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown
    Index

    Properties

    action: string

    The label associated with this action. See ([c2pa_action]).

    actors?: null | Actor[]

    An array of the creators that undertook this action.

    changed?: null | string

    A semicolon-delimited list of the parts of the resource that were changed since the previous event history.

    changes?: null | RegionOfInterest[]

    A list of the regions of interest of the resource that were changed.

    If not present, presumed to be undefined. When tracking changes and the scope of the changed components is unknown, it should be assumed that anything might have changed.

    description?: null | string
    digitalSourceType?: null | string

    One of the defined URI values at <https://cv.iptc.org/newscodes/digitalsourcetype/>

    instance_id?: null | string

    This is NOT the instanceID in the spec It is now deprecated but was previously used to map the action to an ingredient

    parameters?: null | ActionParameters

    Additional parameters of the action. These vary by the type of action.

    reason?: null | string
    related?: null | Action[]

    List of related actions.

    softwareAgent?: null | SoftwareAgent

    The software agent that performed the action.

    softwareAgentIndex?: null | number

    0-based index into the softwareAgents array

    when?: null | string

    Timestamp of when the action occurred.