@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 Action - C2PA Technical Specification.

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

    Indexable

    • [k: string]: unknown
    Index

    Properties

    action: string

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

    actors?: Actor[] | null

    An array of the creators that undertook this action.

    changed?: string | null

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

    changes?: RegionOfInterest[] | null

    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?: string | null
    digitalSourceType?: string | null

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

    instance_id?: string | null

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

    parameters?: ActionParameters | null

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

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

    List of related actions.

    softwareAgent?: SoftwareAgent | null

    The software agent that performed the action.

    softwareAgentIndex?: number | null

    0-based index into the softwareAgents array

    when?: string | null

    Timestamp of when the action occurred.