Skip to content

Commit 5d90181

Browse files
committed
Add new schema reference pages from custom React component
1 parent 661b590 commit 5d90181

18 files changed

+4701
-9980
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
id: builder-schema
3+
title: Builder reference
4+
hide_table_of_contents: true
5+
---
6+
7+
:::danger Warning
8+
This is a beta release of this reference. It is a work in progress and may have issues or errors.
9+
:::
10+
11+
import SchemaReference from '@site/src/components/SchemaReference';
12+
13+
<SchemaReference schemaUrl="/schemas/Builder.schema.json" />

docs/manifest/json-ref/cai-addon.css

Lines changed: 0 additions & 50 deletions
This file was deleted.

docs/manifest/json-ref/index.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
---
22
id: index
3-
title: Manifest JSON reference
3+
title: JSON manifest reference
44
hide_table_of_contents: true
5-
pagination_next: null
6-
pagination_prev: null
75
---
86

9-
Please see:
10-
- [ManifestDefinition JSON reference](manifest-def.mdx)
11-
- [Reader JSON reference](reader.mdx)
7+
:::danger Warning
8+
This is a beta release of these references. It is a work in progress and may have issues or errors.
9+
:::
10+
11+
The [C2PA specification](https://c2pa.org/specifications/specifications/2.1/specs/C2PA_Specification.html#_manifests) describes a manifest with a binary structure in JPEG universal metadata box format ([JUMBF](https://www.iso.org/standard/84635.html)) that includes JSON as well as binary data for things like encryption keys and thumbnail images. Because the binary structure is hard to understand and program to, the SDK defines a JSON manifest structure that's a declarative language for representing and creating a binary manifest.
12+
13+
The JSON manifest is an abstract translation layer that's easier to understand than the binary format. It can describe everything in the underlying binary format except for binary data such as thumbnails that are included by a structure called a _resource reference_. To generate a binary manifest, the SDK assembles all the JSON objects, resource references, and ingredients defined, and then converts them into different assertions and other objects as required.
14+
15+
- [Builder](builder-ref.mdx) - Use to add a signed manifest to an asset.
16+
- [Reader](reader-ref.mdx) - Use to read and validate a manifest store.
17+
- [ManifestDefinition](manifest-def.mdx) - Use to define a manifest (a collection of ingredients and assertions) that can be added to a manifest store, signed, and embedded into a file.
18+
- [Settings](settings-ref.mdx) - Use to define all aspects of code for working with Content Credentials.
19+
20+
21+
22+

0 commit comments

Comments
 (0)