c2pa.ingredient
Home > c2pa > Ingredient
Ingredient interface
Signature:export interface Ingredient
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
documentId | string | null | Document ID from xmpMM:DocumentID in XMP metadata | |
format | string | MIME type of the asset associated with this ingredient | |
hash | string | null | Optional hash of the asset to prevent duplicates | |
instanceId | string | Instance ID from xmpMM:InstanceID in XMP metadata | |
isParent | boolean | true if this ingredient has a 'parentOf' relationship, i.e. it is the parent ingredient of its manifest | |
manifest | Manifest | null | The manifest contained within this ingredient, if applicable | |
metadata | Metadata | null | Additional metadata as defined by the C2PA spec | |
provenance | string | null | URI from dcterms:provenance in XMP metadata | |
thumbnail | Thumbnail | null | Thumbnail accessor, if available | |
title | string | Human-readable title, generally source filename | |
validationStatus | ValidationStatus[] | Validation errors associated with this ingredient |