From 90e13d38e93820cc130f0c89acbe51148011c2eb Mon Sep 17 00:00:00 2001 From: scouten-adobe <86495592+scouten-adobe@users.noreply.github.com> Date: Wed, 25 Nov 2026 18:58:26 +0000 Subject: [PATCH] docs(schema): update schemas to c2pa-v0.92.3 --- static/schemas/Builder.schema.json | 4 ++-- static/schemas/ManifestDefinition.schema.json | 4 ++-- static/schemas/Reader.schema.json | 2 +- static/schemas/Settings.schema.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/static/schemas/Builder.schema.json b/static/schemas/Builder.schema.json index 1853b916..e7325360 100644 --- a/static/schemas/Builder.schema.json +++ b/static/schemas/Builder.schema.json @@ -5,7 +5,7 @@ "type": "object", "properties": { "claim_version": { - "description": "The version of the claim. Defaults to 2.\n\nC2PA v1 claim signing (`Some(1)`) is deprecated as of 0.92.0 and will be\nremoved in 0.93.0, scheduled for mid-January 2027. Omit this field or set\nit to `Some(2)` to sign C2PA v2 claims instead. Reading and validating\nexisting C2PA v1 claims is unaffected.\nSee the [migration guide](https://github.com/contentauth/c2pa-rs/blob/main/docs/c2pa-v1-signing-migration.md).", + "description": "The version of the claim. Defaults to 2, the only version that can be signed.\n\nC2PA v1 claim signing was removed in 0.93.0: signing with `Some(1)` fails.\nReading and validating existing C2PA v1 claims is unaffected.\nSee the [migration guide](https://github.com/contentauth/c2pa-rs/blob/main/docs/c2pa-v1-signing-migration.md).", "type": [ "integer", "null" @@ -53,7 +53,7 @@ "instance_id": { "description": "Instance ID from `xmpMM:InstanceID` in XMP metadata.", "type": "string", - "default": "xmp.iid:8c50efaf-02b4-46a7-ab47-5d6428607790" + "default": "xmp.iid:938b0784-8b60-4008-9cc6-a0f447f5861d" }, "thumbnail": { "description": "An optional ResourceRef to a thumbnail image that represents the asset that was signed.\nMust be available when the manifest is signed.", diff --git a/static/schemas/ManifestDefinition.schema.json b/static/schemas/ManifestDefinition.schema.json index 7a90d65e..c99863e1 100644 --- a/static/schemas/ManifestDefinition.schema.json +++ b/static/schemas/ManifestDefinition.schema.json @@ -5,7 +5,7 @@ "type": "object", "properties": { "claim_version": { - "description": "The version of the claim. Defaults to 2.\n\nC2PA v1 claim signing (`Some(1)`) is deprecated as of 0.92.0 and will be\nremoved in 0.93.0, scheduled for mid-January 2027. Omit this field or set\nit to `Some(2)` to sign C2PA v2 claims instead. Reading and validating\nexisting C2PA v1 claims is unaffected.\nSee the [migration guide](https://github.com/contentauth/c2pa-rs/blob/main/docs/c2pa-v1-signing-migration.md).", + "description": "The version of the claim. Defaults to 2, the only version that can be signed.\n\nC2PA v1 claim signing was removed in 0.93.0: signing with `Some(1)` fails.\nReading and validating existing C2PA v1 claims is unaffected.\nSee the [migration guide](https://github.com/contentauth/c2pa-rs/blob/main/docs/c2pa-v1-signing-migration.md).", "type": [ "integer", "null" @@ -53,7 +53,7 @@ "instance_id": { "description": "Instance ID from `xmpMM:InstanceID` in XMP metadata.", "type": "string", - "default": "xmp.iid:f31bf207-2df4-4c5d-9956-7366b53cf5e7" + "default": "xmp.iid:31c96da5-4757-4892-b419-2ac82611a731" }, "thumbnail": { "description": "An optional ResourceRef to a thumbnail image that represents the asset that was signed.\nMust be available when the manifest is signed.", diff --git a/static/schemas/Reader.schema.json b/static/schemas/Reader.schema.json index 87c3ae3d..005f8e2c 100644 --- a/static/schemas/Reader.schema.json +++ b/static/schemas/Reader.schema.json @@ -108,7 +108,7 @@ "instance_id": { "description": "Instance ID from `xmpMM:InstanceID` in XMP metadata.", "type": "string", - "default": "xmp.iid:645aa858-a88e-4818-9d7b-ef4bc8e3dfd7" + "default": "xmp.iid:110833c5-07ef-4bee-9863-7487556d47f4" }, "thumbnail": { "anyOf": [ diff --git a/static/schemas/Settings.schema.json b/static/schemas/Settings.schema.json index fef82956..736d784b 100644 --- a/static/schemas/Settings.schema.json +++ b/static/schemas/Settings.schema.json @@ -150,7 +150,7 @@ "default": null }, "use_default_ekus": { - "description": "Whether to accept the built-in set of extended key usage (EKU) OIDs defined\nby the C2PA specification in addition to those listed in [`Trust::trust_config`].\n\nWhen false, only the EKUs listed in [`Trust::trust_config`] (and any\n[`TrustAnchor::trust_config`]) are accepted for claim signing.\nFor legacy compatibility, `id-kp-emailProtection` is also accepted when\nno valid EKUs are loaded. `id-kp-timeStamping` and `id-kp-OCSPSigning`\nremain accepted by the general profile check; TSA and OCSP responder\nprofiles additionally require their respective EKU.\n\nThe default value is true.", + "description": "Whether to accept the built-in set of extended key usage (EKU) OIDs defined\nby the C2PA specification in addition to those listed in [`Trust::trust_config`].\n\nWhen false, only the EKUs listed in [`Trust::trust_config`] (and any\n[`TrustAnchor::trust_config`]) are accepted for claim signing.\nFor legacy compatibility, `id-kp-emailProtection` is also accepted when\nno valid EKUs are loaded. Claim signing always rejects `id-kp-timeStamping`\nand `id-kp-OCSPSigning`, including when explicitly configured. The shared\ncertificate profile still accepts these purposes for their own roles:\nTSA and delegated OCSP responder profiles require their respective EKU.\n\nThe default value is true.", "type": "boolean", "default": true } @@ -178,7 +178,7 @@ "default": "manifest" }, "trust_config": { - "description": "List of allowed extended key usage (EKU) object identifiers (OID) that\ncertificates must have. This will overlay the default top level trust_config.\nIf the trust_kind is CAWG it will override the top level trust config\n\nWhen validating CAWG identity certificates.\n\nThe CAWG interim trust model (CAWG identity assertion spec §8.2.4.1)\nrequires the `id-kp-emailProtection` EKU (1.3.6.1.5.5.7.3.4) together with\none of the CA/Browser Forum S/MIME certificate-policy OIDs:\norganization-validated (2.23.140.1.5.2.2 / 2.23.140.1.5.2.3),\nsponsor-validated (2.23.140.1.5.3.2 / 2.23.140.1.5.3.3), or\nindividual-validated (2.23.140.1.5.4.2 / 2.23.140.1.5.4.3). Mailbox-validated\nand legacy certificate purposes are not accepted.\n\nThese six policy OIDs are enforced by CAWG X.509 validation, not parsed\nfrom this EKU-only setting. An emailProtection certificate is trusted\nunder the interim model only through 31 March 2027 (inclusive, UTC), or\nwhen a trusted, associated timestamp attests to issuance by that date.\nAssertion-local timestamps must be v2 (`sigTst2`). Manifest timestamps\nand timestamp assertions are accepted only after checking their binding\nto the containing claim's signature and this assertion's signed hash.\nTimestamp signature, imprint, TSA profile, and TSA trust are checked even\nif claim timestamp trust checking is disabled.\n\n`id-kp-documentSigning` is a separate, non-interim acceptance path. If\nthat purpose is accepted by the effective EKU policy, a certificate\ncontaining both documentSigning and emailProtection does not need an\ninterim S/MIME policy or cutoff check. Existing certificate-profile and\nconfigured CAWG trust-anchor/allowed-list checks still apply. Claim\nsigners, TSA certificates, and OCSP responders do not acquire these CAWG\ninterim restrictions.", + "description": "List of allowed extended key usage (EKU) object identifiers (OID) that\ncertificates must have. These add to the effective top-level EKUs for\nthis anchor set only; they do not enable a purpose for unrelated anchors.\nClaim signers cannot use timeStamping or OCSPSigning, even if listed.\n\nWhen validating CAWG identity certificates.\n\nThe CAWG interim trust model (CAWG identity assertion spec §8.2.4.1)\nrequires the `id-kp-emailProtection` EKU (1.3.6.1.5.5.7.3.4) together with\none of the CA/Browser Forum S/MIME certificate-policy OIDs:\norganization-validated (2.23.140.1.5.2.2 / 2.23.140.1.5.2.3),\nsponsor-validated (2.23.140.1.5.3.2 / 2.23.140.1.5.3.3), or\nindividual-validated (2.23.140.1.5.4.2 / 2.23.140.1.5.4.3). Mailbox-validated\nand legacy certificate purposes are not accepted.\n\nThese six policy OIDs are enforced by CAWG X.509 validation, not parsed\nfrom this EKU-only setting. An emailProtection certificate is trusted\nunder the interim model only through 31 March 2027 (inclusive, UTC), or\nwhen a trusted, associated timestamp attests to issuance by that date.\nAssertion-local timestamps must be v2 (`sigTst2`). Manifest timestamps\nand timestamp assertions are accepted only after checking their binding\nto the containing claim's signature and this assertion's signed hash.\nTimestamp signature, imprint, TSA profile, and TSA trust are checked even\nif claim timestamp trust checking is disabled.\n\n`id-kp-documentSigning` is a separate, non-interim acceptance path. If\nthat purpose is accepted by the effective EKU policy, a certificate\ncontaining both documentSigning and emailProtection does not need an\ninterim S/MIME policy or cutoff check. Existing certificate-profile and\nconfigured CAWG trust-anchor/allowed-list checks still apply. Claim\nsigners, TSA certificates, and OCSP responders do not acquire these CAWG\ninterim restrictions.", "type": [ "string", "null"