Skip to content

Interface: DefinitionOptions ​

Defined in: index.ts:26

The C2PA manifest definition of a render: the edit log's actions in the vocabulary of the C2PA 2.2 specification, with the redacted regions in percent of the output, as JSON that c2patool --manifest and the c2pa-rs Builder accept as it is.

Sealpixel does not sign. The host's product is the claim generator: it adds its claim_generator_info, attaches the original as the parentOf ingredient, for which the Builder adds c2pa.opened, and the placed assets as componentOf ingredients, and signs with its own key. The definition names what happened to the pixels and which software did it.

Properties ​

assets? ​

optional assets?: Record<string, { format?: string; title: string; }>

Defined in: index.ts:50

Titles of the assets the log places, by asset id, for the descriptions.


digitalSourceType? ​

optional digitalSourceType?: string

Defined in: index.ts:40

The default digitalSourceType. Default: IPTC's humanEdits.


digitalSourceTypeByStage? ​

optional digitalSourceTypeByStage?: Record<string, string>

Defined in: index.ts:48

Overrides by plugin name (redact, annotate, crop, fill, finetune, filter, sticker, frame, watermark, resize, or a kernel's name) or by stage kind (color covers finetune and filter), for stages the host configured rather than a person chose: the conformance rubric calls a resize to a configured size algorithmicallyEnhanced.


index? ​

optional index?: number

Defined in: index.ts:30

The ops to describe: ops[0..index). Default: every op.


log ​

log: unknown

Defined in: index.ts:28

The edit log, as getEditLog().log returns it. Untrusted: it is parsed.


pluginOptions? ​

optional pluginOptions?: Readonly<Record<string, unknown>>

Defined in: index.ts:34

{ pluginId: partialOptions }, as createRenderer takes them.


plugins ​

plugins: readonly AnyPlugin[]

Defined in: index.ts:32

The plugins that interpret the log, as the editor and the renderer had them.


softwareAgent? ​

optional softwareAgent?: object

Defined in: index.ts:38

The renderer, recorded as the softwareAgent of every action. Default: this core's name and version.

name ​

name: string

version? ​

optional version?: string


title? ​

optional title?: string

Defined in: index.ts:36

The title of the signed asset.


wasm? ​

optional wasm?: SealpixelWasm | LoadOptions

Defined in: index.ts:52

A loaded core, or how to load one.