You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manifest/assertions-actions.md
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,24 @@ The standard form of an assertion in a JSON manifest is:
26
26
]
27
27
```
28
28
29
+
### Changes from earlier releases
30
+
31
+
<divclass="review-comment">
32
+
Changes include:
33
+
-`c2pa.data_mining` > `cawg.data_mining`, etc. were renamed, with xref.
34
+
-`SoftwareAgent` is a [ClaimGeneratorInfo](json-ref/manifest-def.mdx#claimgeneratorinfo) structure instead of a string.
35
+
-`digitalSourceType` is now required on every ingredient, previously it was not.
36
+
- Actions are now V2 actions
37
+
- Ingredients are now V2 ingredients
38
+
</div>
39
+
40
+
#### V2 actions
41
+
42
+
The [C2PA Technical Specification](https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_actions) describes expanded v2 actions. While v1 actions are fully specified in the actions array v2 actions may either be specified by an element of the actions array or from an element in the templates array with the same action name.
43
+
44
+
45
+
The CAI APIs can read all v2 actions and write most v2 actions.
46
+
29
47
30
48
## C2PA standard assertions
31
49
@@ -79,12 +97,6 @@ For example, the `c2pa.hash.data` assertion shown in the [detailed manifest exam
79
97
80
98
See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#timestamp_assertion>.
81
99
82
-
### Metadata assertions
83
-
84
-
See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_metadata>.
85
-
86
-
These new metadata assertions replace the old Exif and IPTC assertions.
87
-
88
100
### Update assertions
89
101
90
102
@@ -284,19 +296,11 @@ For example, the following action identifies that the `c2pa.opened` action was p
284
296
...
285
297
```
286
298
287
-
#### V2 actions
288
-
289
-
<div class="review-comment">
290
-
291
-
Should this now be only for v2 actions, and then move info on v1 actions to [Reading old manifest data](legacy-manifests)?
292
-
293
-
</div>
294
-
295
-
This documentation covers C2PA v1 actions. The [C2PA Technical Specification](https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_actions) also describes expanded v2 actions. V1 actions are fully specified in the actions array. However, a v2 action may either be specified by an element of the actions array or from an element in the templates array with the same action name.
299
+
## CAWG metadata assertions
296
300
297
-
There are some additional differences between v1 and v2 actions, for example in v2, `softwareAgent` is a [ClaimGeneratorInfo](json-ref/manifest-def.mdx#claimgeneratorinfo) structure instead of a string. The CAI APIs can read all v2 actions and write most v2 actions.
301
+
Starting with version 2.2, the C2PA specification provides for a category of metadata assertions that have a standardized serialization. These new metadata assertions replace the old Exif and IPTC assertions.
298
302
299
-
## CAWG metadata assertions
303
+
See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_metadata>.
300
304
301
305
Use _CAWG metadata assertions_ to include metadata from metadata standards such as XMP, IPTC, and Exif in a manifest. For more information, see the [CAWG Metadatda Assertion](https://cawg.io/metadata/1.1/#_assertion_definition) technical specification.
302
306
@@ -428,7 +432,7 @@ For example:
428
432
]
429
433
```
430
434
431
-
### Training and data mining assertion
435
+
## CAWG training and data mining assertion
432
436
433
437
Assertions with the `cawg.training-mining` label provide information about whether an asset with C2PA metadata may be used as part of a data mining or AI/ML (artificial intelligence / machine learning) workflows, including whether permission is granted to use an asset in ML training or inference.
Copy file name to clipboardExpand all lines: docs/manifest/legacy.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,22 +3,15 @@ id: legacy-manifests
3
3
title: Reading legacy manifest data
4
4
---
5
5
6
-
An application should write manifest data that conforms to the recent [version 2.2](https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html) C2PA technical specification, but should be abel to read and validate manifest data that conforms to earlier versions of the specification. This ensures that your application is "backward-compatible" and can still validate older assets with claims that were written in the past.
6
+
As much as possible, an application should **write** manifest data that conforms to the recent [version 2.2](https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html) C2PA technical specification, but should be able to **read and validate** manifest data that conforms to earlier versions of the specification. This ensures that your application is "backward-compatible" and can still validate older assets with claims that were written in the past.
7
7
8
8
<divclass="review-comment">
9
-
10
-
`c2pa.data_mining` > `cawg.data_mining`, etc. were renamed, with xref.
11
-
12
-
`SoftwareAgent` is now a structure
13
-
14
-
`digitalSourceType` is now required on every ingredient, previously it was not.
15
-
16
9
For READING old claims (only) … v1 actions and ingredients
17
10
</div>
18
11
19
12
## Legacy metadata assertions
20
13
21
-
Starting with version 2.2 the C2PA specification, provides for a category of metadata assertions that have a standardized serialization. Earlier versions had individual assertions for each metadata standard, as detailed below.
14
+
Older versions of the SDK had individual assertions for each metadata standard, as detailed below.
22
15
23
16
### Exif assertion
24
17
@@ -112,4 +105,14 @@ For example:
112
105
},
113
106
...
114
107
]
115
-
```
108
+
```
109
+
110
+
## Training and data mining assertion
111
+
112
+
Old manifests may have training and data mining assertions with the following entry keys:
113
+
-`c2pa.data_mining`
114
+
-`c2pa.ai_training`
115
+
-`c2pa.ai_generative_training`
116
+
-`c2pa.ai_inference`
117
+
118
+
These assertions have been replaced by [CAWG training and data mining assertions](assertions-actions.md#cawg-training-and-data-mining-assertion) with `cawg.*` entry keys.
0 commit comments