@contentauth/c2pa-types 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,689 @@
1
+ /* eslint-disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * Assertions in C2PA can be stored in several formats
10
+ */
11
+ export type ManifestAssertionKind = "Cbor" | "Json" | "Binary" | "Uri";
12
+ export type UriOrResource = ResourceRef | HashedUri;
13
+ export type DateT = string;
14
+ /**
15
+ * The type of shape for the range.
16
+ */
17
+ export type ShapeType = "rectangle" | "circle" | "polygon";
18
+ /**
19
+ * The type of unit for the range.
20
+ */
21
+ export type UnitType = "pixel" | "percent";
22
+ /**
23
+ * The type of time.
24
+ */
25
+ export type TimeType = "npt";
26
+ /**
27
+ * The type of range for the region of interest.
28
+ */
29
+ export type RangeType = "spatial" | "temporal" | "frame" | "textual" | "identified";
30
+ /**
31
+ * A role describing the region.
32
+ */
33
+ export type Role =
34
+ | "c2pa.areaOfInterest"
35
+ | "c2pa.cropped"
36
+ | "c2pa.edited"
37
+ | "c2pa.placed"
38
+ | "c2pa.redacted"
39
+ | "c2pa.subjectArea"
40
+ | "c2pa.deleted"
41
+ | "c2pa.styled"
42
+ | "c2pa.watermarked";
43
+ /**
44
+ * The relationship of the ingredient to the current asset.
45
+ */
46
+ export type Relationship = "parentOf" | "componentOf" | "inputTo";
47
+ /**
48
+ * Represents the type of builder flow being used.
49
+ *
50
+ * This determines how the builder will be used, such as creating a new asset, opening an existing asset, or updating an existing asset.
51
+ */
52
+ export type BuilderIntent =
53
+ | {
54
+ create: DigitalSourceType;
55
+ }
56
+ | "edit"
57
+ | "update";
58
+ /**
59
+ * Description of the source of an asset.
60
+ *
61
+ * The full list of possible digital source types are found below: <https://spec.c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_digital_source_type> <https://cv.iptc.org/newscodes/digitalsourcetype>
62
+ */
63
+ export type DigitalSourceType =
64
+ | "http://c2pa.org/digitalsourcetype/empty"
65
+ | "http://c2pa.org/digitalsourcetype/trainedAlgorithmicData"
66
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture"
67
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/computationalCapture"
68
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/negativeFilm"
69
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/positiveFilm"
70
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/print"
71
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/minorHumanEdits"
72
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/humanEdits"
73
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/compositeWithTrainedAlgorithmicMedia"
74
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicallyEnhanced"
75
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/softwareImage"
76
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/digitalArt"
77
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/digitalCreation"
78
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/dataDrivenMedia"
79
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/trainedAlgorithmicMedia"
80
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicMedia"
81
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/screenCapture"
82
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/virtualRecording"
83
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/composite"
84
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/compositeCapture"
85
+ | "http://cv.iptc.org/newscodes/digitalsourcetype/compositeSynthetic"
86
+ | {
87
+ Other: string;
88
+ };
89
+
90
+ /**
91
+ * Use a Builder to add a signed manifest to an asset.
92
+ *
93
+ * # Example: Building and signing a manifest
94
+ *
95
+ * ```ignore-wasm32 use c2pa::Result; use std::path::PathBuf;
96
+ *
97
+ * use c2pa::{create_signer, Builder, SigningAlg}; use serde::Serialize; use serde_json::json; use tempfile::tempdir;
98
+ *
99
+ * #[derive(Serialize)] struct Test { my_tag: usize, }
100
+ *
101
+ * # fn main() -> Result<()> { #[cfg(feature = "file_io")] { let manifest_json = json!({ "claim_generator_info": [ { "name": "c2pa_test", "version": "1.0.0" } ], "title": "Test_Manifest" }).to_string();
102
+ *
103
+ * let mut builder = Builder::from_json(&manifest_json)?; builder.add_assertion("org.contentauth.test", &Test { my_tag: 42 })?;
104
+ *
105
+ * let source = PathBuf::from("tests/fixtures/C.jpg"); let dir = tempdir()?; let dest = dir.path().join("test_file.jpg");
106
+ *
107
+ * // Create a ps256 signer using certs and key files. TO DO: Update example. let signcert_path = "tests/fixtures/certs/ps256.pub"; let pkey_path = "tests/fixtures/certs/ps256.pem"; let signer = create_signer::from_files(signcert_path, pkey_path, SigningAlg::Ps256, None)?;
108
+ *
109
+ * // embed a manifest using the signer builder.sign_file( signer.as_ref(), &source, &dest)?; } # Ok(()) # } ```
110
+ */
111
+ export interface Builder {
112
+ /**
113
+ * A list of assertions
114
+ */
115
+ assertions?: AssertionDefinition[];
116
+ /**
117
+ * Claim Generator Info is always required with at least one entry
118
+ */
119
+ claim_generator_info?: ClaimGeneratorInfo[];
120
+ /**
121
+ * The version of the claim. Defaults to 2.
122
+ */
123
+ claim_version?: number | null;
124
+ /**
125
+ * The format of the source file as a MIME type.
126
+ */
127
+ format?: string;
128
+ /**
129
+ * A List of ingredients
130
+ */
131
+ ingredients?: Ingredient[];
132
+ /**
133
+ * Instance ID from `xmpMM:InstanceID` in XMP metadata.
134
+ */
135
+ instance_id?: string;
136
+ /**
137
+ * A builder should construct a created, opened or updated manifest.
138
+ */
139
+ intent?: BuilderIntent | null;
140
+ /**
141
+ * 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.
142
+ */
143
+ label?: string | null;
144
+ /**
145
+ * Optional manifest metadata. This will be deprecated in the future; not recommended to use.
146
+ */
147
+ metadata?: AssertionMetadata[] | null;
148
+ /**
149
+ * If true, the manifest store will not be embedded in the asset on sign
150
+ */
151
+ no_embed: boolean;
152
+ /**
153
+ * A list of redactions - URIs to redacted assertions.
154
+ */
155
+ redactions?: string[] | null;
156
+ /**
157
+ * Optional remote URL for the manifest
158
+ */
159
+ remote_url?: string | null;
160
+ /**
161
+ * An optional ResourceRef to a thumbnail image that represents the asset that was signed. Must be available when the manifest is signed.
162
+ */
163
+ thumbnail?: ResourceRef | null;
164
+ /**
165
+ * A human-readable title, generally source filename.
166
+ */
167
+ title?: string | null;
168
+ /**
169
+ * Optional prefix added to the generated Manifest Label This is typically a reverse domain name.
170
+ */
171
+ vendor?: string | null;
172
+ [k: string]: unknown;
173
+ }
174
+ /**
175
+ * Defines an assertion that consists of a label that can be either a C2PA-defined assertion label or a custom label in reverse domain format.
176
+ */
177
+ export interface AssertionDefinition {
178
+ data: unknown;
179
+ kind?: ManifestAssertionKind | null;
180
+ label: string;
181
+ [k: string]: unknown;
182
+ }
183
+ /**
184
+ * Description of the claim generator, or the software used in generating the claim.
185
+ *
186
+ * This structure is also used for actions softwareAgent
187
+ */
188
+ export interface ClaimGeneratorInfo {
189
+ /**
190
+ * hashed URI to the icon (either embedded or remote)
191
+ */
192
+ icon?: UriOrResource | null;
193
+ /**
194
+ * A human readable string naming the claim_generator
195
+ */
196
+ name: string;
197
+ /**
198
+ * A human readable string of the OS the claim generator is running on
199
+ */
200
+ operating_system?: string | null;
201
+ /**
202
+ * A human readable string of the product's version
203
+ */
204
+ version?: string | null;
205
+ [k: string]: unknown;
206
+ }
207
+ /**
208
+ * A reference to a resource to be used in JSON serialization.
209
+ *
210
+ * The underlying data can be read as a stream via [`Reader::resource_to_stream`][crate::Reader::resource_to_stream].
211
+ */
212
+ export interface ResourceRef {
213
+ /**
214
+ * The algorithm used to hash the resource (if applicable).
215
+ */
216
+ alg?: string | null;
217
+ /**
218
+ * More detailed data types as defined in the C2PA spec.
219
+ */
220
+ data_types?: AssetType[] | null;
221
+ /**
222
+ * The mime type of the referenced resource.
223
+ */
224
+ format: string;
225
+ /**
226
+ * The hash of the resource (if applicable).
227
+ */
228
+ hash?: string | null;
229
+ /**
230
+ * A URI that identifies the resource as referenced from the manifest.
231
+ *
232
+ * 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.
233
+ */
234
+ identifier: string;
235
+ [k: string]: unknown;
236
+ }
237
+ export interface AssetType {
238
+ type: string;
239
+ version?: string | null;
240
+ [k: string]: unknown;
241
+ }
242
+ /**
243
+ * A `HashedUri` provides a reference to content available within the same manifest store.
244
+ *
245
+ * This is described in [§8.3, URI References], of the C2PA Technical Specification.
246
+ *
247
+ * [§8.3, URI References]: https://c2pa.org/specifications/specifications/2.1/specs/C2PA_Specification.html#_uri_references
248
+ */
249
+ export interface HashedUri {
250
+ /**
251
+ * A string identifying the cryptographic hash algorithm used to compute the hash
252
+ */
253
+ alg?: string | null;
254
+ /**
255
+ * Byte string containing the hash value
256
+ */
257
+ hash: number[];
258
+ /**
259
+ * JUMBF URI reference
260
+ */
261
+ url: string;
262
+ [k: string]: unknown;
263
+ }
264
+ /**
265
+ * An `Ingredient` is any external asset that has been used in the creation of an asset.
266
+ */
267
+ export interface Ingredient {
268
+ /**
269
+ * The active manifest label (if one exists).
270
+ *
271
+ * If this ingredient has a [`ManifestStore`], this will hold the label of the active [`Manifest`].
272
+ *
273
+ * [`Manifest`]: crate::Manifest [`ManifestStore`]: crate::ManifestStore
274
+ */
275
+ active_manifest?: string | null;
276
+ /**
277
+ * A reference to the actual data of the ingredient.
278
+ */
279
+ data?: ResourceRef | null;
280
+ /**
281
+ * Additional information about the data's type to the ingredient V2 structure.
282
+ */
283
+ data_types?: AssetType[] | null;
284
+ /**
285
+ * Additional description of the ingredient.
286
+ */
287
+ description?: string | null;
288
+ /**
289
+ * Document ID from `xmpMM:DocumentID` in XMP metadata.
290
+ */
291
+ document_id?: string | null;
292
+ /**
293
+ * The format of the source file as a MIME type.
294
+ */
295
+ format?: string | null;
296
+ /**
297
+ * An optional hash of the asset to prevent duplicates.
298
+ */
299
+ hash?: string | null;
300
+ /**
301
+ * URI to an informational page about the ingredient or its data.
302
+ */
303
+ informational_URI?: string | null;
304
+ /**
305
+ * Instance ID from `xmpMM:InstanceID` in XMP metadata.
306
+ */
307
+ instance_id?: string | null;
308
+ /**
309
+ * The ingredient's label as assigned in the manifest.
310
+ */
311
+ label?: string | null;
312
+ /**
313
+ * A [`ManifestStore`] from the source asset extracted as a binary C2PA blob.
314
+ *
315
+ * [`ManifestStore`]: crate::ManifestStore
316
+ */
317
+ manifest_data?: ResourceRef | null;
318
+ /**
319
+ * Any additional [`Metadata`] as defined in the C2PA spec.
320
+ *
321
+ * [`Metadata`]: crate::Metadata
322
+ */
323
+ metadata?: AssertionMetadata | null;
324
+ ocsp_responses?: ResourceRef[] | null;
325
+ /**
326
+ * URI from `dcterms:provenance` in XMP metadata.
327
+ */
328
+ provenance?: string | null;
329
+ /**
330
+ * Set to `ParentOf` if this is the parent ingredient.
331
+ *
332
+ * There can only be one parent ingredient in the ingredients.
333
+ */
334
+ relationship?: Relationship & string;
335
+ resources?: ResourceStore;
336
+ /**
337
+ * A thumbnail image capturing the visual state at the time of import.
338
+ *
339
+ * A tuple of thumbnail MIME format (for example `image/jpeg`) and binary bits of the image.
340
+ */
341
+ thumbnail?: ResourceRef | null;
342
+ /**
343
+ * A human-readable title, generally source filename.
344
+ */
345
+ title?: string | null;
346
+ /**
347
+ * Validation results (Ingredient.V3)
348
+ */
349
+ validation_results?: ValidationResults | null;
350
+ /**
351
+ * Validation status (Ingredient v1 & v2)
352
+ */
353
+ validation_status?: ValidationStatus[] | null;
354
+ [k: string]: unknown;
355
+ }
356
+ /**
357
+ * The AssertionMetadata structure can be used as part of other assertions or on its own to reference others
358
+ */
359
+ export interface AssertionMetadata {
360
+ dataSource?: DataSource | null;
361
+ dateTime?: DateT | null;
362
+ localizations?:
363
+ | {
364
+ [k: string]: {
365
+ [k: string]: string;
366
+ };
367
+ }[]
368
+ | null;
369
+ reference?: HashedUri | null;
370
+ regionOfInterest?: RegionOfInterest | null;
371
+ reviewRatings?: ReviewRating[] | null;
372
+ [k: string]: unknown;
373
+ }
374
+ /**
375
+ * A description of the source for assertion data
376
+ */
377
+ export interface DataSource {
378
+ /**
379
+ * A list of [`Actor`]s associated with this source.
380
+ */
381
+ actors?: Actor[] | null;
382
+ /**
383
+ * A human-readable string giving details about the source of the assertion data.
384
+ */
385
+ details?: string | null;
386
+ /**
387
+ * A value from among the enumerated list indicating the source of the assertion.
388
+ */
389
+ type: string;
390
+ [k: string]: unknown;
391
+ }
392
+ /**
393
+ * Identifies a person responsible for an action.
394
+ */
395
+ export interface Actor {
396
+ /**
397
+ * List of references to W3C Verifiable Credentials.
398
+ */
399
+ credentials?: HashedUri[] | null;
400
+ /**
401
+ * An identifier for a human actor, used when the "type" is `humanEntry.identified`.
402
+ */
403
+ identifier?: string | null;
404
+ [k: string]: unknown;
405
+ }
406
+ /**
407
+ * A region of interest within an asset describing the change.
408
+ *
409
+ * This struct can be used from [`Action::changes`][crate::assertions::Action::changes], [`AssertionMetadata::region_of_interest`][crate::assertions::AssertionMetadata::region_of_interest], or [`SoftBindingScope::region`][crate::assertions::soft_binding::SoftBindingScope::region].
410
+ */
411
+ export interface RegionOfInterest {
412
+ /**
413
+ * A free-text string.
414
+ */
415
+ description?: string | null;
416
+ /**
417
+ * A free-text string representing a machine-readable, unique to this assertion, identifier for the region.
418
+ */
419
+ identifier?: string | null;
420
+ /**
421
+ * Additional information about the asset.
422
+ */
423
+ metadata?: AssertionMetadata | null;
424
+ /**
425
+ * A free-text string representing a human-readable name for the region which might be used in a user interface.
426
+ */
427
+ name?: string | null;
428
+ /**
429
+ * A range describing the region of interest for the specific asset.
430
+ */
431
+ region: Range[];
432
+ /**
433
+ * A value from our controlled vocabulary or an entity-specific value (e.g., com.litware.coolArea) that represents the role of a region among other regions.
434
+ */
435
+ role?: Role | null;
436
+ /**
437
+ * A value from a controlled vocabulary such as <https://cv.iptc.org/newscodes/imageregiontype/> or an entity-specific value (e.g., com.litware.newType) that represents the type of thing(s) depicted by a region.
438
+ *
439
+ * Note this field serializes/deserializes into the name `type`.
440
+ */
441
+ type?: string | null;
442
+ [k: string]: unknown;
443
+ }
444
+ /**
445
+ * A spatial, temporal, frame, or textual range describing the region of interest.
446
+ */
447
+ export interface Range {
448
+ /**
449
+ * A frame range.
450
+ */
451
+ frame?: Frame | null;
452
+ /**
453
+ * A item identifier.
454
+ */
455
+ item?: Item | null;
456
+ /**
457
+ * A spatial range.
458
+ */
459
+ shape?: Shape | null;
460
+ /**
461
+ * A textual range.
462
+ */
463
+ text?: Text | null;
464
+ /**
465
+ * A temporal range.
466
+ */
467
+ time?: Time | null;
468
+ /**
469
+ * The type of range of interest.
470
+ */
471
+ type: RangeType;
472
+ [k: string]: unknown;
473
+ }
474
+ /**
475
+ * A frame range representing starting and ending frames or pages.
476
+ *
477
+ * If both `start` and `end` are missing, the frame will span the entire asset.
478
+ */
479
+ export interface Frame {
480
+ /**
481
+ * The end of the frame inclusive or the end of the asset if not present.
482
+ */
483
+ end?: number | null;
484
+ /**
485
+ * The start of the frame or the end of the asset if not present.
486
+ *
487
+ * The first frame/page starts at 0.
488
+ */
489
+ start?: number | null;
490
+ [k: string]: unknown;
491
+ }
492
+ /**
493
+ * Description of the boundaries of an identified range.
494
+ */
495
+ export interface Item {
496
+ /**
497
+ * The container-specific term used to identify items, such as "track_id" for MP4 or "item_ID" for HEIF.
498
+ */
499
+ identifier: string;
500
+ /**
501
+ * The value of the identifier, e.g. a value of "2" for an identifier of "track_id" would imply track 2 of the asset.
502
+ */
503
+ value: string;
504
+ [k: string]: unknown;
505
+ }
506
+ /**
507
+ * A spatial range representing rectangle, circle, or a polygon.
508
+ */
509
+ export interface Shape {
510
+ /**
511
+ * The height of a rectnagle.
512
+ *
513
+ * This field can be ignored for circles and polygons.
514
+ */
515
+ height?: number | null;
516
+ /**
517
+ * If the range is inside the shape.
518
+ *
519
+ * The default value is true.
520
+ */
521
+ inside?: boolean | null;
522
+ /**
523
+ * THe origin of the coordinate in the shape.
524
+ */
525
+ origin: Coordinate;
526
+ /**
527
+ * The type of shape.
528
+ */
529
+ type: ShapeType;
530
+ /**
531
+ * The type of unit for the shape range.
532
+ */
533
+ unit: UnitType;
534
+ /**
535
+ * The vertices of the polygon.
536
+ *
537
+ * This field can be ignored for rectangles and circles.
538
+ */
539
+ vertices?: Coordinate[] | null;
540
+ /**
541
+ * The width for rectangles or diameter for circles.
542
+ *
543
+ * This field can be ignored for polygons.
544
+ */
545
+ width?: number | null;
546
+ [k: string]: unknown;
547
+ }
548
+ /**
549
+ * An x, y coordinate used for specifying vertices in polygons.
550
+ */
551
+ export interface Coordinate {
552
+ /**
553
+ * The coordinate along the x-axis.
554
+ */
555
+ x: number;
556
+ /**
557
+ * The coordinate along the y-axis.
558
+ */
559
+ y: number;
560
+ [k: string]: unknown;
561
+ }
562
+ /**
563
+ * A textual range representing multiple (possibly discontinuous) ranges of text.
564
+ */
565
+ export interface Text {
566
+ /**
567
+ * The ranges of text to select.
568
+ */
569
+ selectors: TextSelectorRange[];
570
+ [k: string]: unknown;
571
+ }
572
+ /**
573
+ * One or two [`TextSelector`][TextSelector] identifiying the range to select.
574
+ */
575
+ export interface TextSelectorRange {
576
+ /**
577
+ * The end of the text range.
578
+ */
579
+ end?: TextSelector | null;
580
+ /**
581
+ * The start (or entire) text range.
582
+ */
583
+ selector: TextSelector;
584
+ [k: string]: unknown;
585
+ }
586
+ /**
587
+ * Selects a range of text via a fragment identifier.
588
+ *
589
+ * This is modeled after the W3C Web Annotation selector model.
590
+ */
591
+ export interface TextSelector {
592
+ /**
593
+ * The end character offset or the end of the fragment if not present.
594
+ */
595
+ end?: number | null;
596
+ /**
597
+ * Fragment identifier as per RFC3023 (XML) or ISO 32000-2 (PDF), Annex O.
598
+ */
599
+ fragment: string;
600
+ /**
601
+ * The start character offset or the start of the fragment if not present.
602
+ */
603
+ start?: number | null;
604
+ [k: string]: unknown;
605
+ }
606
+ /**
607
+ * A temporal range representing a starting time to an ending time.
608
+ */
609
+ export interface Time {
610
+ /**
611
+ * The end time or the end of the asset if not present.
612
+ */
613
+ end?: string | null;
614
+ /**
615
+ * The start time or the start of the asset if not present.
616
+ */
617
+ start?: string | null;
618
+ /**
619
+ * The type of time.
620
+ */
621
+ type?: TimeType & string;
622
+ [k: string]: unknown;
623
+ }
624
+ /**
625
+ * A rating on an Assertion.
626
+ *
627
+ * See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_review_ratings>.
628
+ */
629
+ export interface ReviewRating {
630
+ code?: string | null;
631
+ explanation: string;
632
+ value: number;
633
+ [k: string]: unknown;
634
+ }
635
+ /**
636
+ * Resource store to contain binary objects referenced from JSON serializable structures
637
+ */
638
+ export interface ResourceStore {
639
+ label?: string | null;
640
+ resources: {
641
+ [k: string]: number[];
642
+ };
643
+ [k: string]: unknown;
644
+ }
645
+ /**
646
+ * A map of validation results for a manifest store.
647
+ *
648
+ * The map contains the validation results for the active manifest and any ingredient deltas. It is normal for there to be many
649
+ */
650
+ export interface ValidationResults {
651
+ activeManifest?: StatusCodes | null;
652
+ ingredientDeltas?: IngredientDeltaValidationResult[] | null;
653
+ [k: string]: unknown;
654
+ }
655
+ /**
656
+ * Contains a set of success, informational, and failure validation status codes.
657
+ */
658
+ export interface StatusCodes {
659
+ failure: ValidationStatus[];
660
+ informational: ValidationStatus[];
661
+ success: ValidationStatus[];
662
+ [k: string]: unknown;
663
+ }
664
+ /**
665
+ * A `ValidationStatus` struct describes the validation status of a specific part of a manifest.
666
+ *
667
+ * See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_existing_manifests>.
668
+ */
669
+ export interface ValidationStatus {
670
+ code: string;
671
+ explanation?: string | null;
672
+ success?: boolean | null;
673
+ url?: string | null;
674
+ [k: string]: unknown;
675
+ }
676
+ /**
677
+ * Represents any changes or deltas between the current and previous validation results for an ingredient's manifest.
678
+ */
679
+ export interface IngredientDeltaValidationResult {
680
+ /**
681
+ * JUMBF URI reference to the ingredient assertion
682
+ */
683
+ ingredientAssertionURI: string;
684
+ /**
685
+ * Validation results for the ingredient's active manifest
686
+ */
687
+ validationDeltas: StatusCodes;
688
+ [k: string]: unknown;
689
+ }