Skip to content

Commit c6db5d3

Browse files
authored
Merge pull request #25 from contentauth/schema-update-02-26
Add new refs generated from Manifest Definition schema
2 parents 4651153 + 92282f8 commit c6db5d3

8 files changed

+1292
-11
lines changed

_data/ManifestDefinition_schema.json

+1,247
Large diffs are not rendered by default.

_data/sidebar.yml

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ children:
99
- title: Reference with CAI styling
1010
url: reference-cai
1111

12+
- title: NEW manifest definition ref.
13+
url: manifest-def
14+
15+
- title: NEW manifest def w/CAI stylng
16+
url: manifest-def-cai
17+
1218
- title: Reference with comments
1319
url: annotated-manifest-reference
1420
children:

pages/annotated-manifest-ref.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ This is a work in progress may not be accurate or complete.
1111
Doc notes from `ManifestStore_schema_annotated.json` are highlighted below. <br/>See also: [Additional schema questions / comments](review-questions)
1212
{: .comment}
1313

14-
{% include_relative reference.md annotated="true" %}
14+
{% include_relative reference.md schema="annotated" %}

pages/manifest-definition-cai.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: CAI manifest definition reference
3+
permalink: manifest-def-cai
4+
toc: false
5+
layout: cai
6+
---
7+
8+
This page is generated from the unmodified JSON schema generated from `c2pa-rs` on 02/26/2025. It **does not** currently have anything redacted per the [Review comments and questions](review-questions#schema-manual-edits).
9+
{: .warning}
10+
11+
<!-- include_relative manifest-diagram.md -->
12+
13+
{% include_relative reference.md layout="cai" schema="ManifestDefintion" %}

pages/manifest-definition.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: CAI manifest definition reference
3+
permalink: manifest-def
4+
toc: false
5+
---
6+
7+
This page is generated from the unmodified JSON schema generated from `c2pa-rs` on 02/26/2025. It **does not** currently have anything redacted per the [Review comments and questions](review-questions#schema-manual-edits).
8+
{: .warning}
9+
10+
<!-- include_relative manifest-diagram.md -->
11+
12+
{% include_relative reference.md schema="ManifestDefintion" %}

pages/manifest-ref-cai.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ layout: cai
55
---
66

77
{% include_relative manifest-diagram.md %}
8-
{% include_relative reference.md layout="cai" edits="true" %}
8+
{% include_relative reference.md layout="cai" schema="edited" %}
99

pages/manifest-ref.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ This page is generated from the unmodified JSON schema and contains some informa
88
{: .warning}
99

1010
{% include_relative manifest-diagram.md %}
11-
{% include_relative reference.md edits="true" %}
11+
{% include_relative reference.md %}

pages/reference.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
{% if include.annotated %} <!-- annotated schema -->
2-
{% assign schema = site.data.ManifestStore_schema_annotated %}
1+
{% case include.schema %}
2+
{% when "annotated" %}
3+
{% assign schema = site.data.ManifestStore_schema_annotated %}
34

4-
{% elsif include.edits %} <!-- modified schema -->
5-
{% assign schema = site.data.ManifestStore_schema_edited %}
5+
{% when "edited" %}
6+
{% assign schema = site.data.ManifestStore_schema_edited %}
67

7-
{% else %} <!-- unmodified schema -->
8-
{% assign schema = site.data.ManifestStore_schema %}
8+
{% when "ManifestDefintion" %}
9+
{% assign schema = site.data.ManifestDefinition_schema %}
910

10-
{% endif %}
11+
{% else %}
12+
{% assign schema = site.data.ManifestStore_schema %}
1113

14+
{% endcase %}
1215

13-
## ManifestStore
16+
## {{schema.title}}
1417

1518
{{schema.description}}.
1619

0 commit comments

Comments
 (0)