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

    Use a ManifestDefinition to define a manifest and to build a ManifestStore. A manifest is a collection of ingredients and assertions used to define a claim that can be signed and embedded into a file.

    interface ManifestDefinition {
        assertions?: AssertionDefinition[];
        claim_generator_info?: ClaimGeneratorInfo[];
        claim_version?: number | null;
        format?: string;
        ingredients?: Ingredient[];
        instance_id?: string;
        label?: string | null;
        metadata?: AssertionMetadata[] | null;
        redactions?: string[] | null;
        thumbnail?: ResourceRef | null;
        title?: string | null;
        vendor?: string | null;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown
    Index

    Properties

    assertions?: AssertionDefinition[]

    A list of assertions

    claim_generator_info?: ClaimGeneratorInfo[]

    Claim Generator Info is always required with an entry

    claim_version?: number | null

    The version of the claim. Defaults to 2.

    format?: string

    The format of the source file as a MIME type.

    ingredients?: Ingredient[]

    A List of ingredients

    instance_id?: string

    Instance ID from xmpMM:InstanceID in XMP metadata.

    label?: string | null

    Allows you to pre-define the manifest label, which must be unique. Not intended for general use. If not set, it will be assigned automatically.

    metadata?: AssertionMetadata[] | null

    Optional manifest metadata. This will be deprecated in the future; not recommended to use.

    redactions?: string[] | null

    A list of redactions - URIs to redacted assertions.

    thumbnail?: ResourceRef | null

    An optional ResourceRef to a thumbnail image that represents the asset that was signed. Must be available when the manifest is signed.

    title?: string | null

    A human-readable title, generally source filename.

    vendor?: string | null

    Optional prefix added to the generated Manifest Label This is typically a reverse domain name.