Skip to content

Commit 0273169

Browse files
committed
wip reorg
1 parent 4feff2c commit 0273169

File tree

2 files changed

+35
-28
lines changed

2 files changed

+35
-28
lines changed

docs/manifest/assertions-actions.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@ The standard form of an assertion in a JSON manifest is:
2626
]
2727
```
2828

29+
### Changes from earlier releases
30+
31+
<div class="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+
2947

3048
## C2PA standard assertions
3149

@@ -79,12 +97,6 @@ For example, the `c2pa.hash.data` assertion shown in the [detailed manifest exam
7997

8098
See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#timestamp_assertion>.
8199

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-
88100
### Update assertions
89101

90102

@@ -284,19 +296,11 @@ For example, the following action identifies that the `c2pa.opened` action was p
284296
...
285297
```
286298

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
296300

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.
298302

299-
## CAWG metadata assertions
303+
See <https://c2pa.org/specifications/specifications/2.2/specs/C2PA_Specification.html#_metadata>.
300304

301305
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.
302306

@@ -428,7 +432,7 @@ For example:
428432
]
429433
```
430434

431-
### Training and data mining assertion
435+
## CAWG training and data mining assertion
432436

433437
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.
434438

docs/manifest/legacy.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,15 @@ id: legacy-manifests
33
title: Reading legacy manifest data
44
---
55

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.
77

88
<div class="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-
169
For READING old claims (only) … v1 actions and ingredients
1710
</div>
1811

1912
## Legacy metadata assertions
2013

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.
2215

2316
### Exif assertion
2417

@@ -112,4 +105,14 @@ For example:
112105
},
113106
...
114107
]
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

Comments
 (0)