Optional
algThe algorithm used to hash the resource (if applicable).
Optional
data_More detailed data types as defined in the C2PA spec.
The mime type of the referenced resource.
Optional
hashThe hash of the resource (if applicable).
A URI that identifies the resource as referenced from the manifest.
This may be a JUMBF URI, a file path, a URL or any other string. Relative JUMBF URIs will be resolved with the manifest label. Relative file paths will be resolved with the base path if provided.
A reference to a resource to be used in JSON serialization.
The underlying data can be read as a stream via [
Reader::resource_to_stream
][crate::Reader::resource_to_stream].