From c7b993959cc6eb7bedea7fec5bc6693c5aff168d Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 16:56:58 +0000 Subject: [PATCH 01/12] fix(schemas): open the 3.2 schemas that were meant to be open The WG decided on 2026-11-09 that 3.x opens the schemas that were meant to be open, so a 3.2 validator does not reject a newer 3.x payload just because a schema was closed. This is the 3.2.10 backport of the 3.3 opening. additionalProperties goes from false to true at 671 of the 775 closed locations in the 3.2 source tree. 104 locations stay closed, by the keep-closed list approved for 3.3; every file/pointer the two lines share has the same class: oneOf branches told apart only by key presence, the signed commercial terms and the must-understand proposal budget constraint, metric qualifiers and forecast dimensions (join keys), the JWS response envelope, privacy boundaries (TMP match requests, the not-found error, permission-denied and billing-not-permitted details, get_principal and sync_principal results, the get_reporting_status unavailable lookup), the credential-free reporting destinations and their setup action, placement-presentation (no key material or markup), and patternProperties maps keyed by IDs. The get_reporting_status unavailable-lookup branch stays closed on 3.2.x with the envelope redeclared; 3.3 opens it under #8547's envelope rule and enforces the same clamp with named rejections. The MCP model-context projection drops boolean additionalProperties, true as well as false (ported from f5c56dbf60 on main), so the opening does not inflate the prompt view. Tests that pinned closure now assert the opened behavior or compare against the source schema. Co-Authored-By: Claude Opus 5.5 --- .changeset/open-closed-schemas-3-2.md | 20 +++++++ scripts/mcp-schema-projection.cjs | 10 ++-- .../product-discovery-schema-parity.test.ts | 12 ++++- .../schemas/source/aao/agent-publishers.json | 4 +- .../account/sync-governance-request.json | 6 +-- .../account/sync-governance-response.json | 2 +- static/schemas/source/brand.json | 12 ++--- .../collection/base-collection-source.json | 8 +-- .../collection-list-changed-webhook.json | 4 +- .../collection/collection-list-filters.json | 4 +- .../source/collection/collection-list.json | 2 +- .../get-collection-list-request.json | 2 +- .../get-collection-list-response.json | 6 +-- .../comply-test-controller-request.json | 4 +- .../comply-test-controller-response.json | 6 +-- .../get-media-buy-artifacts-request.json | 2 +- .../core/account-change-recorded-webhook.json | 2 +- .../core/account-identity-change-preview.json | 8 +-- .../source/core/account-identity-change.json | 4 +- static/schemas/source/core/account-ref.json | 4 +- .../core/account-status-changed-webhook.json | 4 +- .../core/account-timezone-capability.json | 2 +- static/schemas/source/core/account.json | 4 +- .../source/core/agent-encryption-key.json | 2 +- .../core/agent-notification-config-state.json | 4 +- .../core/agent-notification-config.json | 4 +- .../agent-reporting-destination-state.json | 2 +- .../source/core/agent-webhook-challenge.json | 4 +- .../source/core/attestation-capabilities.json | 8 +-- .../source/core/attestation-evaluation.json | 4 +- .../source/core/attestation-issuer.json | 6 +-- .../source/core/attestation-reference.json | 12 ++--- .../source/core/attestation-subject.json | 6 +-- .../core/audience-activation-method.json | 16 +++--- .../source/core/audience-characteristic.json | 8 +-- .../source/core/audience-evidence-pin.json | 2 +- .../core/audience-evidence-requirements.json | 2 +- .../core/audience-evidence-selection.json | 6 +-- .../source/core/audience-evidence.json | 4 +- .../schemas/source/core/audience-source.json | 4 +- .../core/bidding-policy-capability.json | 10 ++-- static/schemas/source/core/brand-key.json | 2 +- static/schemas/source/core/brand-ref.json | 4 +- .../brand-response-authorization-result.json | 2 +- .../source/core/budget-allocation.json | 4 +- .../schemas/source/core/business-entity.json | 8 +-- .../source/core/canonical-account-ref.json | 4 +- ...canonical-audience-evidence-selection.json | 2 +- .../core/canonical-audience-evidence.json | 4 +- .../core/canonical-delivery-forecast.json | 2 +- .../source/core/canonical-forecast-point.json | 4 +- ...anonical-forecast-vendor-metric-value.json | 2 +- .../source/core/canonical-format-option.json | 2 +- .../canonical-media-buy-action-fields.json | 2 +- .../core/canonical-optimization-goal.json | 16 +++--- .../source/core/canonical-placement.json | 4 +- .../source/core/canonical-product-action.json | 2 +- .../source/core/canonical-product.json | 2 +- .../source/core/canonical-proposal.json | 2 +- .../canonical-reporting-capabilities.json | 4 +- .../core/capabilities-changed-webhook.json | 2 +- .../source/core/catalog-selection.json | 2 +- static/schemas/source/core/catchment.json | 6 +-- .../source/core/collection-distribution.json | 2 +- .../source/core/collection-list-ref.json | 2 +- .../source/core/collection-selection.json | 4 +- static/schemas/source/core/collection.json | 2 +- .../schemas/source/core/committed-metric.json | 4 +- .../source/core/creative-approval-scope.json | 2 +- .../schemas/source/core/creative-policy.json | 2 +- .../schemas/source/core/creative-variant.json | 2 +- .../schemas/source/core/daypart-target.json | 2 +- .../core/delivery-metric-aggregate.json | 4 +- .../schemas/source/core/delivery-metrics.json | 4 +- .../source/core/delivery-provider.json | 2 +- .../source/core/delivery-recipient.json | 2 +- .../demographic-reporting-capability.json | 6 +-- .../schemas/source/core/destination-item.json | 2 +- static/schemas/source/core/duration.json | 2 +- static/schemas/source/core/error.json | 2 +- .../schemas/source/core/evaluator-spec.json | 4 +- .../source/core/feature-requirement.json | 2 +- static/schemas/source/core/flight-item.json | 4 +- .../core/forecast-vendor-metric-value.json | 2 +- .../core/frequency-cap-constraints.json | 2 +- .../frequency-cap-impression-constraints.json | 2 +- .../frequency-cap-interval-constraints.json | 2 +- .../core/frequency-cap-requirements.json | 2 +- .../source/core/geo-breakdown-support.json | 2 +- static/schemas/source/core/geo-metro.json | 2 +- .../schemas/source/core/geo-place-area.json | 2 +- .../core/geo-place-catalog-capability.json | 2 +- .../source/core/geo-place-catalog-entry.json | 2 +- .../source/core/geo-place-requirement.json | 4 +- .../source/core/geo-place-resolver.json | 2 +- .../source/core/geo-place-support.json | 2 +- .../source/core/geo-region-requirement.json | 6 +-- .../source/core/geo-region-support.json | 6 +-- .../get-geo-place-resolution-request.json | 2 +- .../get-geo-place-resolution-response.json | 2 +- static/schemas/source/core/hotel-item.json | 4 +- static/schemas/source/core/identifier.json | 2 +- static/schemas/source/core/impairment.json | 2 +- .../core/indicators-changed-webhook.json | 2 +- static/schemas/source/core/installment.json | 2 +- .../core/inventory-list-application.json | 8 +-- static/schemas/source/core/job-item.json | 2 +- .../schemas/source/core/keyword-target.json | 2 +- .../source/core/macro-declaration.json | 4 +- .../schemas/source/core/macro-encoding.json | 2 +- .../core/macro-resolution-capability.json | 2 +- .../source/core/macro-resolution-result.json | 2 +- .../source/core/macro-translation-target.json | 2 +- .../core/media-buy-available-action.json | 2 +- .../core/media-buy-support-requirements.json | 2 +- static/schemas/source/core/media-buy.json | 2 +- .../schemas/source/core/missing-metric.json | 4 +- .../schemas/source/core/negative-keyword.json | 2 +- .../source/core/notification-config.json | 4 +- .../source/core/operator-identity.json | 2 +- static/schemas/source/core/operator-unit.json | 2 +- .../source/core/outcome-target-cost-per.json | 2 +- static/schemas/source/core/overlay.json | 6 +-- .../core/package-targeting-resolution.json | 2 +- static/schemas/source/core/package.json | 2 +- .../source/core/pagination-request.json | 2 +- .../source/core/pagination-response.json | 2 +- .../core/performance-feedback-assertion.json | 4 +- .../core/performance-feedback-metric.json | 4 +- .../source/core/performance-feedback.json | 4 +- .../source/core/placement-definition.json | 2 +- .../source/core/placement-identity.json | 4 +- .../source/core/placement-selection.json | 4 +- static/schemas/source/core/placement.json | 2 +- static/schemas/source/core/postal-area.json | 4 +- .../schemas/source/core/presentation-ref.json | 2 +- .../schemas/source/core/preview-provider.json | 4 +- static/schemas/source/core/price.json | 2 +- .../core/principal-changed-webhook.json | 2 +- .../core/principal-declarations-state.json | 4 +- .../source/core/principal-declarations.json | 2 +- .../schemas/source/core/principal-state.json | 4 +- .../source/core/product-allowed-action.json | 2 +- ...roduct-audience-evidence-requirements.json | 8 +-- .../schemas/source/core/product-filters.json | 30 +++++------ .../schemas/source/core/product-identity.json | 2 +- .../source/core/product-offer-filters.json | 10 ++-- .../core/product-targeting-resolution.json | 2 +- static/schemas/source/core/product.json | 2 +- .../source/core/property-list-ref.json | 2 +- static/schemas/source/core/provenance.json | 4 +- .../source/core/push-notification-config.json | 2 +- .../schemas/source/core/real-estate-item.json | 6 +-- .../source/core/reference-renderer.json | 4 +- .../schemas/source/core/registry-event.json | 2 +- .../source/core/registry-feed-response.json | 2 +- .../core/reporting-adjustment-receipt.json | 2 +- .../source/core/reporting-adjustment.json | 4 +- .../reporting-canonical-content-digest.json | 2 +- .../reporting-canonicalization-contract.json | 10 ++-- .../source/core/reporting-capabilities.json | 2 +- .../core/reporting-consumer-status.json | 4 +- .../source/core/reporting-control-total.json | 4 +- .../source/core/reporting-coverage.json | 4 +- .../core/reporting-delivery-capabilities.json | 4 +- .../core/reporting-delivery-config-state.json | 4 +- .../core/reporting-delivery-config.json | 4 +- .../core/reporting-delivery-method.json | 6 +-- .../core/reporting-delivery-offering.json | 12 ++--- .../reporting-delivery-ready-webhook.json | 2 +- .../source/core/reporting-file-entry.json | 2 +- .../source/core/reporting-file-manifest.json | 4 +- .../reporting-ledger-changed-webhook.json | 2 +- .../core/reporting-materialization.json | 2 +- .../source/core/reporting-obligation.json | 4 +- .../source/core/reporting-receipt.json | 2 +- .../reporting-reliability-statistics.json | 10 ++-- .../core/reporting-report-definition.json | 18 +++---- .../source/core/reporting-resource.json | 2 +- .../source/core/reporting-revision.json | 4 +- .../core/reporting-schedule-offering.json | 2 +- .../source/core/reporting-schedule.json | 2 +- .../reporting-status-changed-webhook.json | 2 +- .../source/core/reporting-status-issue.json | 2 +- .../source/core/reporting-verification.json | 8 +-- .../source/core/reporting-webhook.json | 2 +- .../core/representation-destination.json | 2 +- .../source/core/representation-selection.json | 2 +- .../image-asset-requirements.json | 4 +- .../core/rights-attestation-evaluation.json | 2 +- .../source/core/rights-constraint.json | 2 +- .../schemas/source/core/seller-agent-ref.json | 2 +- .../source/core/signal-coverage-forecast.json | 2 +- .../core/signal-definition-enrichment.json | 16 +++--- .../source/core/signal-definition.json | 18 +++---- .../schemas/source/core/signal-listing.json | 2 +- .../core/signal-modeling-disclosure.json | 4 +- .../core/spot-reporting-capability.json | 2 +- static/schemas/source/core/store-item.json | 4 +- .../schemas/source/core/targeting-input.json | 2 +- .../source/core/targeting-modification.json | 6 +-- .../core/targeting-overlay-requirements.json | 14 ++--- .../core/targeting-overlay-support.json | 18 +++---- static/schemas/source/core/targeting.json | 12 ++--- .../core/tracker-execution-contract.json | 2 +- .../core/tracker-execution-selector.json | 6 +-- .../source/core/truncation-sentinel.json | 2 +- static/schemas/source/core/vehicle-item.json | 4 +- ...-metric-optimization-supported-metric.json | 2 +- .../source/core/vendor-metric-value.json | 2 +- .../schemas/source/core/warning-resource.json | 2 +- .../source/core/webhook-activity-record.json | 2 +- .../core/webhook-challenge-response.json | 2 +- .../source/core/webhook-challenge.json | 4 +- .../source/core/wholesale-feed-event.json | 6 +-- .../source/core/wholesale-feed-webhook.json | 2 +- .../source/creative/audit-observation.json | 6 +-- .../creative-assignment-changed-webhook.json | 2 +- .../creative/creative-feature-result.json | 2 +- .../creative/creative-purged-webhook.json | 2 +- .../creative-status-changed-webhook.json | 4 +- .../creative/list-creatives-response.json | 2 +- .../creative/sync-creatives-request.json | 8 +-- .../creative-revision-content-mismatch.json | 2 +- .../governance-agent-not-accepted.json | 4 +- .../source/formats/canonical/display_tag.json | 2 +- .../source/formats/canonical/html5.json | 2 +- .../source/formats/canonical/image.json | 2 +- .../formats/canonical/native_in_feed.json | 4 +- .../accepted-governance-agents.json | 6 +-- .../governance/attribute-definition.json | 4 +- .../governance/audience-constraints.json | 2 +- .../governance/check-governance-request.json | 10 ++-- .../governance/check-governance-response.json | 10 ++-- .../get-plan-audit-logs-response.json | 38 ++++++------- .../policy-category-definition.json | 6 +-- .../source/governance/policy-entry.json | 8 +-- .../schemas/source/governance/policy-ref.json | 2 +- .../report-plan-adjustment-request.json | 4 +- .../report-plan-adjustment-response.json | 4 +- .../report-plan-outcome-request.json | 4 +- .../report-plan-outcome-response.json | 4 +- .../source/governance/sync-plans-request.json | 20 +++---- .../governance/sync-plans-response.json | 6 +-- static/schemas/source/manifest.schema.json | 14 ++--- .../media-buy/accept-proposal-request.json | 4 +- .../source/media-buy/acceptance-context.json | 4 +- .../media-buy/acceptance-policy-catalog.json | 2 +- .../acceptance-policy-profile-ref.json | 2 +- .../media-buy/acceptance-policy-profile.json | 6 +-- .../acceptance-policy-requirement.json | 34 ++++++------ .../media-buy/acceptance-policy-rule.json | 2 +- .../media-buy/buy-products-request.json | 2 +- .../media-buy/control-media-buy-request.json | 2 +- .../media-buy/create-media-buy-request.json | 4 +- .../media-buy/decline-proposals-response.json | 2 +- .../get-media-buy-delivery-request.json | 2 +- .../get-media-buy-delivery-response.json | 2 +- .../media-buy/get-media-buys-response.json | 4 +- .../media-buy/get-products-request.json | 6 +-- .../media-buy/get-products-response.json | 10 ++-- .../get-products-targeting-resolution.json | 2 +- .../get-reporting-status-request.json | 2 +- .../get-reporting-status-response.json | 8 +-- .../legacy-purchase-continuation-input.json | 2 +- .../media-buy/list-products-response.json | 2 +- .../media-buy-commitment-response.json | 2 +- .../source/media-buy/outcome-target.json | 6 +-- .../source/media-buy/package-request.json | 4 +- .../source/media-buy/package-update.json | 8 +-- .../media-buy/product-purchase-input.json | 2 +- .../source/media-buy/product-refinement.json | 6 +-- .../source/media-buy/proposal-decline.json | 2 +- .../source/media-buy/proposal-refinement.json | 10 ++-- .../media-buy/request-proposals-response.json | 6 +-- .../media-buy/sync-audiences-response.json | 2 +- .../sync-reporting-receipts-response.json | 10 ++-- .../sync-reporting-status-request.json | 2 +- .../sync-reporting-status-response.json | 6 +-- .../media-buy/update-media-buy-request.json | 2 +- .../source/property/authorization-result.json | 4 +- .../source/property/base-property-source.json | 6 +-- .../source/property/delivery-record.json | 2 +- .../property/get-property-list-request.json | 2 +- .../source/property/property-error.json | 2 +- .../property/property-feature-definition.json | 6 +-- .../property/property-feature-result.json | 2 +- .../property/property-feature-value.json | 2 +- .../source/property/property-feature.json | 2 +- .../property-list-changed-webhook.json | 4 +- .../property/property-list-filters.json | 2 +- .../source/property/property-list.json | 2 +- .../validate-property-delivery-response.json | 4 +- .../source/property/validation-result.json | 6 +-- .../get-adcp-capabilities-response.json | 54 +++++++++---------- .../protocol/sync-principal-request.json | 2 +- .../registries/v1-canonical-mapping.json | 2 +- .../source/signals/get-signals-response.json | 4 +- .../si-sponsored-context.json | 2 +- .../trusted-match/available-package.json | 2 +- .../trusted-match/context-match-response.json | 4 +- .../identity-match-response.json | 2 +- .../source/trusted-match/offer-price.json | 2 +- .../provider-context-match-response.json | 2 +- .../trusted-match/provider-registration.json | 2 +- .../publisher-targeting-kv-config.json | 2 +- .../trusted-match/publisher-tmpx-config.json | 2 +- .../source/trusted-match/tmpx-chunk.json | 2 +- tests/example-validation-simple.test.cjs | 11 ++-- tests/mcp-schema-analysis.test.cjs | 5 +- tests/mcp-schema-projection.test.cjs | 36 ++++++++++++- 311 files changed, 750 insertions(+), 686 deletions(-) create mode 100644 .changeset/open-closed-schemas-3-2.md diff --git a/.changeset/open-closed-schemas-3-2.md b/.changeset/open-closed-schemas-3-2.md new file mode 100644 index 00000000000..3292c00695c --- /dev/null +++ b/.changeset/open-closed-schemas-3-2.md @@ -0,0 +1,20 @@ +--- +"adcontextprotocol": patch +--- + +Open the 3.2 schemas that were closed by accident, so a 3.2 validator no longer rejects a newer 3.x payload because it carries a field 3.2 does not know. Backports the 3.3 opening decided by the working group on 2026-11-09. + +`additionalProperties` goes from `false` to `true` at 671 of the 775 closed locations in the 3.2 source tree. + +104 locations stay closed for a structural reason, by the same rules as 3.3: + +- `oneOf` branches told apart only by which keys are present (`a2ui/bound-value.json`, `brand.json`). +- The signed commercial terms that `terms_digest` binds, and the hard `proposal-budget-constraint` a seller must understand. +- Metric qualifiers and forecast dimensions, which consumers join on. +- The JWS response envelope. +- Privacy boundaries: the TMP match requests, the not-found error, the per-agent permission-denied and billing-not-permitted details, the `get_principal` and `sync_principal` results, and the `get_reporting_status` unavailable-lookup result. +- The credential-free reporting destinations and the destination `setup` action. +- `placement-presentation`, which carries no key material or markup. +- `patternProperties` maps keyed by IDs. + +The MCP model-context projection now omits `additionalProperties: true` as well as `false`, since `true` is the JSON Schema default. diff --git a/scripts/mcp-schema-projection.cjs b/scripts/mcp-schema-projection.cjs index 7fc20c8bcc2..ede5f02f9de 100644 --- a/scripts/mcp-schema-projection.cjs +++ b/scripts/mcp-schema-projection.cjs @@ -835,11 +835,11 @@ function stripModelContextAnnotations(schema) { // Exact const values and homogeneous enums already communicate their JSON // types. Mixed enums retain type because it still narrows the listed values. if (Object.hasOwn(node, 'const')) delete node.type; - // Closed-object enforcement belongs to the validation profile. The - // declared property list already communicates the prompt shape, while - // retaining `additionalProperties: true` and schema-valued maps preserves - // meaningful extension and dictionary surfaces. - if (node.additionalProperties === false) delete node.additionalProperties; + // Closed-object enforcement belongs to the validation profile; the + // declared property list communicates the prompt shape. Boolean true is + // JSON Schema's default, so omit that redundant spelling as well. Retain + // schema-valued additionalProperties to describe typed dictionary values. + if (typeof node.additionalProperties === 'boolean') delete node.additionalProperties; for (const keyword of Object.keys(node)) { if (keyword.startsWith('x-')) delete node[keyword]; } diff --git a/server/tests/unit/product-discovery-schema-parity.test.ts b/server/tests/unit/product-discovery-schema-parity.test.ts index 55b91bf7baf..0335e8040d6 100644 --- a/server/tests/unit/product-discovery-schema-parity.test.ts +++ b/server/tests/unit/product-discovery-schema-parity.test.ts @@ -72,7 +72,12 @@ describe('product discovery MCP schema parity', () => { for (const runtime of tools.values()) { expect(JSON.stringify(runtime)).not.toContain('"$ref":"/schemas/'); } - expect(resolveLocalRef(list, list.properties.brand)).toMatchObject({ required: ['domain'], additionalProperties: false }); + const brandKey = JSON.parse(readFileSync( + join(process.cwd(), 'static/schemas/source/core/brand-key.json'), + 'utf8', + )) as JsonSchema; + expect(resolveLocalRef(list, list.properties.brand)) + .toMatchObject({ required: ['domain'], additionalProperties: brandKey.additionalProperties }); expect(resolveLocalRef(list, list.properties.fields)).toMatchObject({ minItems: 1, uniqueItems: true, @@ -91,7 +96,10 @@ describe('product discovery MCP schema parity', () => { }); const declineTool = tools.get('decline_proposals')!; expect(resolveLocalRef(declineTool, declineTool.properties.declines.items)) - .toMatchObject({ required: ['proposal_id', 'reason'], additionalProperties: false }); + .toMatchObject({ + required: ['proposal_id', 'reason'], + additionalProperties: sourceSchema('proposal-decline').additionalProperties, + }); }); it('bundles each tools/list input schema as a valid standalone document', () => { diff --git a/static/schemas/source/aao/agent-publishers.json b/static/schemas/source/aao/agent-publishers.json index 5ca0d81591a..09f9edd239d 100644 --- a/static/schemas/source/aao/agent-publishers.json +++ b/static/schemas/source/aao/agent-publishers.json @@ -32,7 +32,7 @@ "description": "Opaque pagination cursor. Absent or null on the terminal page. Stable across the directory's refresh cycle for the lifetime of the cursor." } }, - "additionalProperties": false, + "additionalProperties": true, "definitions": { "PublisherEntry": { "type": "object", @@ -112,7 +112,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } } } diff --git a/static/schemas/source/account/sync-governance-request.json b/static/schemas/source/account/sync-governance-request.json index 6c3efc75797..8658e1c4080 100644 --- a/static/schemas/source/account/sync-governance-request.json +++ b/static/schemas/source/account/sync-governance-request.json @@ -65,14 +65,14 @@ "schemes", "credentials" ], - "additionalProperties": false + "additionalProperties": true } }, "required": [ "url", "authentication" ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 1 @@ -82,7 +82,7 @@ "account", "governance_agents" ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 100 diff --git a/static/schemas/source/account/sync-governance-response.json b/static/schemas/source/account/sync-governance-response.json index 0134890837a..579ba7e3c72 100644 --- a/static/schemas/source/account/sync-governance-response.json +++ b/static/schemas/source/account/sync-governance-response.json @@ -52,7 +52,7 @@ "required": [ "url" ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 1 diff --git a/static/schemas/source/brand.json b/static/schemas/source/brand.json index 428132f2050..eab7fc9c836 100644 --- a/static/schemas/source/brand.json +++ b/static/schemas/source/brand.json @@ -89,7 +89,7 @@ } }, "required": ["domain", "brand_id"], - "additionalProperties": false + "additionalProperties": true }, "localized_name": { "type": "object", @@ -248,7 +248,7 @@ "required": ["kind", "surface"] } ], - "additionalProperties": false + "additionalProperties": true }, "guideline_severity": { "type": "string", @@ -483,7 +483,7 @@ { "required": ["url"] }, { "required": ["email"] } ], - "additionalProperties": false + "additionalProperties": true }, "brand": { "type": "object", @@ -760,7 +760,7 @@ } }, "required": ["issuer", "relying_party_id"], - "additionalProperties": false + "additionalProperties": true }, "brand_agent": { "type": "object", @@ -1130,7 +1130,7 @@ } } }, - "additionalProperties": false + "additionalProperties": true }, "brand_shapes": { "type": "object", @@ -1369,7 +1369,7 @@ "width": { "type": "string", "description": "Minimum width, such as 48px or 12mm." }, "height": { "type": "string", "description": "Minimum height, such as 18px or 6mm." } }, - "additionalProperties": false + "additionalProperties": true }, "clear_space": { "type": "string", diff --git a/static/schemas/source/collection/base-collection-source.json b/static/schemas/source/collection/base-collection-source.json index b5305b8a002..78ec18e1b44 100644 --- a/static/schemas/source/collection/base-collection-source.json +++ b/static/schemas/source/collection/base-collection-source.json @@ -33,7 +33,7 @@ } }, "required": ["type", "value"], - "additionalProperties": false, + "additionalProperties": true, "not": { "required": ["type"], "properties": { "type": { "const": "platform_channel_id" } } @@ -43,7 +43,7 @@ } }, "required": ["selection_type", "identifiers"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -70,7 +70,7 @@ } }, "required": ["selection_type", "publisher_domain", "collection_ids"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -101,7 +101,7 @@ } }, "required": ["selection_type", "publisher_domain", "genres", "genre_taxonomy"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/collection/collection-list-changed-webhook.json b/static/schemas/source/collection/collection-list-changed-webhook.json index 078063085ca..625ffc4eccd 100644 --- a/static/schemas/source/collection/collection-list-changed-webhook.json +++ b/static/schemas/source/collection/collection-list-changed-webhook.json @@ -43,7 +43,7 @@ "description": "Total collections in the resolved list" } }, - "additionalProperties": false + "additionalProperties": true }, "resolved_at": { "type": "string", @@ -64,5 +64,5 @@ } }, "required": ["idempotency_key", "event", "list_id", "resolved_at", "signature"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/collection/collection-list-filters.json b/static/schemas/source/collection/collection-list-filters.json index 7b82916d66c..aac20358478 100644 --- a/static/schemas/source/collection/collection-list-filters.json +++ b/static/schemas/source/collection/collection-list-filters.json @@ -65,7 +65,7 @@ } }, "required": ["type", "value"], - "additionalProperties": false, + "additionalProperties": true, "not": { "required": ["type"], "properties": { "type": { "const": "platform_channel_id" } } @@ -82,5 +82,5 @@ "minItems": 1 } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/collection/collection-list.json b/static/schemas/source/collection/collection-list.json index d80e1d89ce6..d47938ed22e 100644 --- a/static/schemas/source/collection/collection-list.json +++ b/static/schemas/source/collection/collection-list.json @@ -64,5 +64,5 @@ } }, "required": ["list_id", "name"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/collection/get-collection-list-request.json b/static/schemas/source/collection/get-collection-list-request.json index a7fe6f7bc99..70309e9f71d 100644 --- a/static/schemas/source/collection/get-collection-list-request.json +++ b/static/schemas/source/collection/get-collection-list-request.json @@ -40,7 +40,7 @@ "description": "Opaque cursor from a previous response to fetch the next page" } }, - "additionalProperties": false + "additionalProperties": true }, "context": { "$ref": "/schemas/core/context.json" diff --git a/static/schemas/source/collection/get-collection-list-response.json b/static/schemas/source/collection/get-collection-list-response.json index 895b6da57b0..67064ac6483 100644 --- a/static/schemas/source/collection/get-collection-list-response.json +++ b/static/schemas/source/collection/get-collection-list-response.json @@ -59,7 +59,7 @@ "type", "value" ], - "additionalProperties": false, + "additionalProperties": true, "not": { "required": ["type"], "properties": { "type": { "const": "platform_channel_id" } } @@ -88,7 +88,7 @@ "required": [ "name" ], - "additionalProperties": false + "additionalProperties": true } }, "pagination": { @@ -125,7 +125,7 @@ "type", "value" ], - "additionalProperties": false, + "additionalProperties": true, "not": { "required": ["type"], "properties": { "type": { "const": "platform_channel_id" } } diff --git a/static/schemas/source/compliance/comply-test-controller-request.json b/static/schemas/source/compliance/comply-test-controller-request.json index f4196a2e867..675b57be5e9 100644 --- a/static/schemas/source/compliance/comply-test-controller-request.json +++ b/static/schemas/source/compliance/comply-test-controller-request.json @@ -1235,7 +1235,7 @@ } }, "required": ["vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } }, "not_yet_measurable_vendor_metrics_by_package": { @@ -1258,7 +1258,7 @@ } }, "required": ["vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/compliance/comply-test-controller-response.json b/static/schemas/source/compliance/comply-test-controller-response.json index bdb42c54b59..299ecce2cb6 100644 --- a/static/schemas/source/compliance/comply-test-controller-response.json +++ b/static/schemas/source/compliance/comply-test-controller-response.json @@ -271,7 +271,7 @@ "required": [ "arm" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { @@ -608,7 +608,7 @@ "identifier_value_sha256", "found" ], - "additionalProperties": false + "additionalProperties": true } }, "timestamp": { @@ -632,7 +632,7 @@ "payload_length", "timestamp" ], - "additionalProperties": false, + "additionalProperties": true, "discriminator": { "propertyName": "attestation_mode" }, diff --git a/static/schemas/source/content-standards/get-media-buy-artifacts-request.json b/static/schemas/source/content-standards/get-media-buy-artifacts-request.json index 0239b82bd35..250c55ba509 100644 --- a/static/schemas/source/content-standards/get-media-buy-artifacts-request.json +++ b/static/schemas/source/content-standards/get-media-buy-artifacts-request.json @@ -63,7 +63,7 @@ "description": "Opaque cursor from a previous response to fetch the next page" } }, - "additionalProperties": false + "additionalProperties": true }, "context": { "$ref": "/schemas/core/context.json" diff --git a/static/schemas/source/core/account-change-recorded-webhook.json b/static/schemas/source/core/account-change-recorded-webhook.json index 6f769754d64..08a55ee2f40 100644 --- a/static/schemas/source/core/account-change-recorded-webhook.json +++ b/static/schemas/source/core/account-change-recorded-webhook.json @@ -83,7 +83,7 @@ } }, "required": ["idempotency_key", "notification_id", "notification_type", "fired_at", "subscriber_id", "account_id", "change_id", "recorded_at", "resource", "action"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Creative update invalidation", diff --git a/static/schemas/source/core/account-identity-change-preview.json b/static/schemas/source/core/account-identity-change-preview.json index b8887067a55..1a2fa6033ba 100644 --- a/static/schemas/source/core/account-identity-change-preview.json +++ b/static/schemas/source/core/account-identity-change-preview.json @@ -38,7 +38,7 @@ "area", "effect" ], - "additionalProperties": false + "additionalProperties": true }, "nonblocking_impacts": { "type": "array", @@ -106,7 +106,7 @@ "requested_operator_identity", "impacts" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "AccountIdentityChangeWouldRequireApproval", @@ -128,7 +128,7 @@ "requested_operator_identity", "impacts" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "AccountIdentityChangeBlocked", @@ -160,7 +160,7 @@ "impacts", "blockers" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/account-identity-change.json b/static/schemas/source/core/account-identity-change.json index 68270ed6f3e..4cf93fe8184 100644 --- a/static/schemas/source/core/account-identity-change.json +++ b/static/schemas/source/core/account-identity-change.json @@ -27,7 +27,7 @@ "status", "requested_operator_identity" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "AccountIdentityChangeRejected", @@ -59,7 +59,7 @@ "requested_operator_identity", "reason" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/account-ref.json b/static/schemas/source/core/account-ref.json index 6c0028ae747..fff685fb2bb 100644 --- a/static/schemas/source/core/account-ref.json +++ b/static/schemas/source/core/account-ref.json @@ -14,7 +14,7 @@ } }, "required": ["account_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -49,7 +49,7 @@ } }, "required": ["brand", "operator"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/account-status-changed-webhook.json b/static/schemas/source/core/account-status-changed-webhook.json index 6e6e18ba249..d2aea45ed33 100644 --- a/static/schemas/source/core/account-status-changed-webhook.json +++ b/static/schemas/source/core/account-status-changed-webhook.json @@ -95,7 +95,7 @@ "required": [ "message" ], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -113,7 +113,7 @@ "observed_at", "reason_code" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Account requires payment action", diff --git a/static/schemas/source/core/account-timezone-capability.json b/static/schemas/source/core/account-timezone-capability.json index a8efa954794..4d4ff4026a1 100644 --- a/static/schemas/source/core/account-timezone-capability.json +++ b/static/schemas/source/core/account-timezone-capability.json @@ -73,5 +73,5 @@ "then": { "not": { "required": ["supported_timezones"] } } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/account.json b/static/schemas/source/core/account.json index 9d0df6fdd4f..4cb0d7c1bcc 100644 --- a/static/schemas/source/core/account.json +++ b/static/schemas/source/core/account.json @@ -140,7 +140,7 @@ "required": [ "url" ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 1 @@ -223,7 +223,7 @@ "bucket", "file_retention_days" ], - "additionalProperties": false + "additionalProperties": true }, "sandbox": { "type": "boolean", diff --git a/static/schemas/source/core/agent-encryption-key.json b/static/schemas/source/core/agent-encryption-key.json index 880bd5088c9..2daf3bbafd4 100644 --- a/static/schemas/source/core/agent-encryption-key.json +++ b/static/schemas/source/core/agent-encryption-key.json @@ -37,5 +37,5 @@ "use", "x" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/agent-notification-config-state.json b/static/schemas/source/core/agent-notification-config-state.json index 15c33826a51..77d19933dba 100644 --- a/static/schemas/source/core/agent-notification-config-state.json +++ b/static/schemas/source/core/agent-notification-config-state.json @@ -63,7 +63,7 @@ "required": [ "schemes" ], - "additionalProperties": false + "additionalProperties": true }, "active": { "type": "boolean", @@ -78,5 +78,5 @@ "url", "event_types" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/agent-notification-config.json b/static/schemas/source/core/agent-notification-config.json index b44d1858163..c97b7e083c5 100644 --- a/static/schemas/source/core/agent-notification-config.json +++ b/static/schemas/source/core/agent-notification-config.json @@ -74,7 +74,7 @@ "required": [ "schemes" ], - "additionalProperties": false + "additionalProperties": true }, "active": { "type": "boolean", @@ -124,7 +124,7 @@ }, "required": ["all_authorized_accounts"] }, - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Registry subscriber receiving capability-change invalidations", diff --git a/static/schemas/source/core/agent-reporting-destination-state.json b/static/schemas/source/core/agent-reporting-destination-state.json index d0fa76f5365..a168ffd1a70 100644 --- a/static/schemas/source/core/agent-reporting-destination-state.json +++ b/static/schemas/source/core/agent-reporting-destination-state.json @@ -154,5 +154,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/agent-webhook-challenge.json b/static/schemas/source/core/agent-webhook-challenge.json index 6bc365866d1..c0596fb1bd0 100644 --- a/static/schemas/source/core/agent-webhook-challenge.json +++ b/static/schemas/source/core/agent-webhook-challenge.json @@ -99,7 +99,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true }, "event_types": { "type": "array", @@ -123,7 +123,7 @@ "delivery_auth", "event_types" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Agent-level endpoint proof-of-control challenge", diff --git a/static/schemas/source/core/attestation-capabilities.json b/static/schemas/source/core/attestation-capabilities.json index 029b6526c5d..67928ce9059 100644 --- a/static/schemas/source/core/attestation-capabilities.json +++ b/static/schemas/source/core/attestation-capabilities.json @@ -100,7 +100,7 @@ } }, "required": ["resolver_id", "url", "authentication"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -109,7 +109,7 @@ } }, "required": ["issuer"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -147,7 +147,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -184,7 +184,7 @@ } } ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "accepted_claim_types": [ diff --git a/static/schemas/source/core/attestation-evaluation.json b/static/schemas/source/core/attestation-evaluation.json index d39cde594b5..422fb7e2a55 100644 --- a/static/schemas/source/core/attestation-evaluation.json +++ b/static/schemas/source/core/attestation-evaluation.json @@ -111,7 +111,7 @@ "required": ["action_digest"] } ], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -141,7 +141,7 @@ } } ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "reference_digest": "sha256:6a09e667bb67ae853c6ef372a54ff53a510e527fade682d1b05688c2b3e6c1f0", diff --git a/static/schemas/source/core/attestation-issuer.json b/static/schemas/source/core/attestation-issuer.json index bb3284bed83..1ac5aea8d2e 100644 --- a/static/schemas/source/core/attestation-issuer.json +++ b/static/schemas/source/core/attestation-issuer.json @@ -24,7 +24,7 @@ } }, "required": ["type", "brand"], - "additionalProperties": false + "additionalProperties": true }, { "title": "AttestationAgentIssuer", @@ -46,7 +46,7 @@ } }, "required": ["type", "agent_url"], - "additionalProperties": false + "additionalProperties": true }, { "title": "AttestationOriginIssuer", @@ -68,7 +68,7 @@ } }, "required": ["type", "origin"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/attestation-reference.json b/static/schemas/source/core/attestation-reference.json index 6f688fa90e0..de006de201a 100644 --- a/static/schemas/source/core/attestation-reference.json +++ b/static/schemas/source/core/attestation-reference.json @@ -41,7 +41,7 @@ } }, "required": ["type", "credential_uri"], - "additionalProperties": false + "additionalProperties": true }, { "title": "AttestationIssuerCredentialIdLocator", @@ -70,7 +70,7 @@ } }, "required": ["type", "credential_id", "resolver_id"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -93,7 +93,7 @@ } }, "required": ["format", "value"], - "additionalProperties": false + "additionalProperties": true }, "content_digest": { "type": "string", @@ -119,7 +119,7 @@ "format": "date-time" } }, - "additionalProperties": false, + "additionalProperties": true, "minProperties": 1 }, "verify_agent": { @@ -133,7 +133,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -158,7 +158,7 @@ } } ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "issuer": { diff --git a/static/schemas/source/core/attestation-subject.json b/static/schemas/source/core/attestation-subject.json index 6202e4090a4..a6026074fdb 100644 --- a/static/schemas/source/core/attestation-subject.json +++ b/static/schemas/source/core/attestation-subject.json @@ -23,7 +23,7 @@ } }, "required": ["type", "brand"], - "additionalProperties": false + "additionalProperties": true }, { "title": "AttestationAgentSubject", @@ -44,7 +44,7 @@ } }, "required": ["type", "agent_url"], - "additionalProperties": false + "additionalProperties": true }, { "title": "AttestationResourceSubject", @@ -80,7 +80,7 @@ } }, "required": ["type", "resource_type", "namespace", "id"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/audience-activation-method.json b/static/schemas/source/core/audience-activation-method.json index 212e3072ea3..f7eca9152d0 100644 --- a/static/schemas/source/core/audience-activation-method.json +++ b/static/schemas/source/core/audience-activation-method.json @@ -14,7 +14,7 @@ "pattern": { "type": "string", "const": "sync_audiences" } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "title": "TMP identity match", @@ -32,11 +32,11 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["pattern", "buyer_agent"], - "additionalProperties": false + "additionalProperties": true }, { "title": "File transfer", @@ -64,7 +64,7 @@ } }, "required": ["pattern", "transport", "vendor"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Dataset query", @@ -102,13 +102,13 @@ "cloud": ["region"], "region": ["cloud"] }, - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 } }, "required": ["pattern", "vendor"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Clean room", @@ -122,7 +122,7 @@ } }, "required": ["pattern", "vendor"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Platform distribution", @@ -147,7 +147,7 @@ } }, "required": ["pattern", "vendor"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/audience-characteristic.json b/static/schemas/source/core/audience-characteristic.json index 957e97aa87c..9ff1eed8b97 100644 --- a/static/schemas/source/core/audience-characteristic.json +++ b/static/schemas/source/core/audience-characteristic.json @@ -41,7 +41,7 @@ "max": { "type": "number" } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "taxonomy": { "type": "object", @@ -52,7 +52,7 @@ "value_id": { "type": "string", "minLength": 1 } }, "required": ["system"], - "additionalProperties": false + "additionalProperties": true }, "label": { "type": "string", @@ -90,11 +90,11 @@ "max": { "type": "integer", "minimum": 0 } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } } } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/audience-evidence-pin.json b/static/schemas/source/core/audience-evidence-pin.json index faf58f0ae5c..5c5b89c4d53 100644 --- a/static/schemas/source/core/audience-evidence-pin.json +++ b/static/schemas/source/core/audience-evidence-pin.json @@ -20,5 +20,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["evidence_id", "snapshot_id", "version", "content_digest"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/audience-evidence-requirements.json b/static/schemas/source/core/audience-evidence-requirements.json index 621a659d795..1458ff304ff 100644 --- a/static/schemas/source/core/audience-evidence-requirements.json +++ b/static/schemas/source/core/audience-evidence-requirements.json @@ -111,5 +111,5 @@ "then": { "required": ["accepted_attestation_issuers"] } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/audience-evidence-selection.json b/static/schemas/source/core/audience-evidence-selection.json index eaca2037cfe..b142ca80573 100644 --- a/static/schemas/source/core/audience-evidence-selection.json +++ b/static/schemas/source/core/audience-evidence-selection.json @@ -54,7 +54,7 @@ } }, "required": ["action_type", "action_id", "action_digest"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["action_binding"] @@ -63,7 +63,7 @@ } }, "required": ["reference", "evaluation"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 10 @@ -71,5 +71,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["evidence_id", "snapshot_id", "version", "content_digest", "decision_use"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/audience-evidence.json b/static/schemas/source/core/audience-evidence.json index 5dbd1422585..3ebde8bfe19 100644 --- a/static/schemas/source/core/audience-evidence.json +++ b/static/schemas/source/core/audience-evidence.json @@ -55,7 +55,7 @@ "description": { "type": "string" } }, "required": ["system", "population_id", "version"], - "additionalProperties": false + "additionalProperties": true }, "evidence_type": { "type": "string", @@ -147,5 +147,5 @@ "then": { "properties": { "unit": { "const": "count" }, "value": { "type": "integer" } } } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/audience-source.json b/static/schemas/source/core/audience-source.json index 672086833cd..0b18fc6a79f 100644 --- a/static/schemas/source/core/audience-source.json +++ b/static/schemas/source/core/audience-source.json @@ -29,7 +29,7 @@ } }, "required": ["kind", "vendor", "locator"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Platform segment", @@ -49,7 +49,7 @@ } }, "required": ["kind", "vendor", "segment_ref"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/bidding-policy-capability.json b/static/schemas/source/core/bidding-policy-capability.json index aa2e2af2f65..bfb097cfd29 100644 --- a/static/schemas/source/core/bidding-policy-capability.json +++ b/static/schemas/source/core/bidding-policy-capability.json @@ -16,7 +16,7 @@ } }, "minProperties": 1, - "additionalProperties": false, + "additionalProperties": true, "definitions": { "scope_capability": { "type": "object", @@ -32,7 +32,7 @@ } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "policy_profile": { "type": "object", @@ -101,7 +101,7 @@ "else": { "not": { "required": ["roas_strengths"] } } } ], - "additionalProperties": false + "additionalProperties": true }, "max_bid_with_cost_per": { "type": "object", @@ -116,7 +116,7 @@ } }, "required": ["kind", "cost_per_strengths"], - "additionalProperties": false + "additionalProperties": true }, "max_bid_with_roas": { "type": "object", @@ -131,7 +131,7 @@ } }, "required": ["kind", "roas_strengths"], - "additionalProperties": false + "additionalProperties": true } } } diff --git a/static/schemas/source/core/brand-key.json b/static/schemas/source/core/brand-key.json index a57e3bc40ff..59176f7467a 100644 --- a/static/schemas/source/core/brand-key.json +++ b/static/schemas/source/core/brand-key.json @@ -26,5 +26,5 @@ } }, "required": ["domain"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/brand-ref.json b/static/schemas/source/core/brand-ref.json index e13c3aec71c..6f9adda1819 100644 --- a/static/schemas/source/core/brand-ref.json +++ b/static/schemas/source/core/brand-ref.json @@ -41,7 +41,7 @@ { "required": ["url"] }, { "required": ["email"] } ], - "additionalProperties": false + "additionalProperties": true }, "brand_kit_override": { "type": "object", @@ -74,7 +74,7 @@ } }, "required": ["domain"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "domain": "nova-brands.com", diff --git a/static/schemas/source/core/brand-response-authorization-result.json b/static/schemas/source/core/brand-response-authorization-result.json index 23e6774a1af..979ed5a311d 100644 --- a/static/schemas/source/core/brand-response-authorization-result.json +++ b/static/schemas/source/core/brand-response-authorization-result.json @@ -48,5 +48,5 @@ "required": ["trust", "reason"] } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/budget-allocation.json b/static/schemas/source/core/budget-allocation.json index cf2f422b459..0b05b054a08 100644 --- a/static/schemas/source/core/budget-allocation.json +++ b/static/schemas/source/core/budget-allocation.json @@ -20,7 +20,7 @@ "required": [ "mode" ], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -58,7 +58,7 @@ "mode", "optimization_goals" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/business-entity.json b/static/schemas/source/core/business-entity.json index 006058632df..7698c8dd44f 100644 --- a/static/schemas/source/core/business-entity.json +++ b/static/schemas/source/core/business-entity.json @@ -54,7 +54,7 @@ } }, "required": ["street", "city", "postal_code", "country"], - "additionalProperties": false + "additionalProperties": true }, "contacts": { "type": "array", @@ -89,7 +89,7 @@ } }, "required": ["role"], - "additionalProperties": false + "additionalProperties": true }, "maxItems": 10 }, @@ -125,14 +125,14 @@ } }, "required": ["account_holder"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["legal_name"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "German agency with full B2B details", diff --git a/static/schemas/source/core/canonical-account-ref.json b/static/schemas/source/core/canonical-account-ref.json index 0a116551589..1361ff2d906 100644 --- a/static/schemas/source/core/canonical-account-ref.json +++ b/static/schemas/source/core/canonical-account-ref.json @@ -14,7 +14,7 @@ } }, "required": ["account_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -46,7 +46,7 @@ } }, "required": ["brand", "operator"], - "additionalProperties": false + "additionalProperties": true } ], "examples": [ diff --git a/static/schemas/source/core/canonical-audience-evidence-selection.json b/static/schemas/source/core/canonical-audience-evidence-selection.json index b06e0e87dac..c53e0fcb593 100644 --- a/static/schemas/source/core/canonical-audience-evidence-selection.json +++ b/static/schemas/source/core/canonical-audience-evidence-selection.json @@ -15,5 +15,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["evidence_id", "snapshot_id", "version", "content_digest", "decision_use"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-audience-evidence.json b/static/schemas/source/core/canonical-audience-evidence.json index 11ec3159b9f..3d75fd940e5 100644 --- a/static/schemas/source/core/canonical-audience-evidence.json +++ b/static/schemas/source/core/canonical-audience-evidence.json @@ -22,7 +22,7 @@ "description": { "type": "string" } }, "required": ["system", "population_id", "version"], - "additionalProperties": false + "additionalProperties": true }, "evidence_type": { "type": "string", "enum": ["measured", "forecast", "seller_declared"] }, "methodology": { "$ref": "/schemas/enums/audience-evidence-methodology.json" }, @@ -49,5 +49,5 @@ { "if": { "properties": { "relationship": { "const": "index" } }, "required": ["relationship"] }, "then": { "properties": { "unit": { "const": "ratio" } } } }, { "if": { "properties": { "relationship": { "const": "reach_estimate" } }, "required": ["relationship"] }, "then": { "properties": { "unit": { "const": "count" }, "value": { "type": "integer" } } } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-delivery-forecast.json b/static/schemas/source/core/canonical-delivery-forecast.json index 52cfe301d83..99cf40ef1d0 100644 --- a/static/schemas/source/core/canonical-delivery-forecast.json +++ b/static/schemas/source/core/canonical-delivery-forecast.json @@ -22,5 +22,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["points", "method", "currency"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-forecast-point.json b/static/schemas/source/core/canonical-forecast-point.json index bc0100fc1a4..c2db6bf529f 100644 --- a/static/schemas/source/core/canonical-forecast-point.json +++ b/static/schemas/source/core/canonical-forecast-point.json @@ -31,7 +31,7 @@ "viewed_seconds": { "$ref": "/schemas/core/forecast-range.json" }, "standard": { "$ref": "/schemas/enums/viewability-standard.json" } }, - "additionalProperties": false, + "additionalProperties": true, "anyOf": [ { "not": { @@ -52,5 +52,5 @@ } }, "required": ["metrics"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-forecast-vendor-metric-value.json b/static/schemas/source/core/canonical-forecast-vendor-metric-value.json index 80192d1f847..2990b364826 100644 --- a/static/schemas/source/core/canonical-forecast-vendor-metric-value.json +++ b/static/schemas/source/core/canonical-forecast-vendor-metric-value.json @@ -13,5 +13,5 @@ "breakdown": { "type": "object", "additionalProperties": true } }, "required": ["vendor", "metric_id", "value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-format-option.json b/static/schemas/source/core/canonical-format-option.json index f8dafe4ccef..bc8648d3022 100644 --- a/static/schemas/source/core/canonical-format-option.json +++ b/static/schemas/source/core/canonical-format-option.json @@ -71,5 +71,5 @@ } } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-media-buy-action-fields.json b/static/schemas/source/core/canonical-media-buy-action-fields.json index 1f492e3c95d..8d6478f1bb9 100644 --- a/static/schemas/source/core/canonical-media-buy-action-fields.json +++ b/static/schemas/source/core/canonical-media-buy-action-fields.json @@ -23,5 +23,5 @@ } }, "required": ["task", "action", "mode"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-optimization-goal.json b/static/schemas/source/core/canonical-optimization-goal.json index 45183385cc8..4ea1b19701f 100644 --- a/static/schemas/source/core/canonical-optimization-goal.json +++ b/static/schemas/source/core/canonical-optimization-goal.json @@ -25,7 +25,7 @@ }, "required": ["window"], "anyOf": [{ "required": ["min"] }, { "required": ["max"] }], - "additionalProperties": false + "additionalProperties": true }, "view_duration_seconds": { "type": "number", "exclusiveMinimum": 0 }, "target": { @@ -35,7 +35,7 @@ "value": { "type": "number", "exclusiveMinimum": 0 } }, "required": ["kind", "value"], - "additionalProperties": false + "additionalProperties": true }, "priority": { "type": "integer", "minimum": 1 } }, @@ -53,7 +53,7 @@ "else": { "not": { "anyOf": [{ "required": ["standard"] }, { "required": ["vendor"] }] } } } ], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -71,7 +71,7 @@ "value_factor": { "type": "number", "default": 1 } }, "required": ["event_source_id", "event_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -81,13 +81,13 @@ "kind": { "type": "string", "const": "maximize_value" } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, "attribution_window": { "$ref": "/schemas/core/attribution-window.json" }, "priority": { "type": "integer", "minimum": 1 } }, "required": ["kind", "event_sources"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -102,12 +102,12 @@ "value": { "type": "number", "exclusiveMinimum": 0 } }, "required": ["kind", "value"], - "additionalProperties": false + "additionalProperties": true }, "priority": { "type": "integer", "minimum": 1 } }, "required": ["kind", "vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/canonical-placement.json b/static/schemas/source/core/canonical-placement.json index d5c5543f4d7..11d4414af20 100644 --- a/static/schemas/source/core/canonical-placement.json +++ b/static/schemas/source/core/canonical-placement.json @@ -14,7 +14,7 @@ "height": { "type": "integer", "minimum": 1 } }, "required": ["width", "height"], - "additionalProperties": false + "additionalProperties": true }, "CanonicalDoohPlacementAttributes": { "title": "Canonical DOOH Placement Attributes", @@ -104,5 +104,5 @@ "required": ["kind", "name"] } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-product-action.json b/static/schemas/source/core/canonical-product-action.json index b99f0af4731..2be34c96e29 100644 --- a/static/schemas/source/core/canonical-product-action.json +++ b/static/schemas/source/core/canonical-product-action.json @@ -18,5 +18,5 @@ "terms_ref": { "type": "string", "description": "Optional advisory pointer to published commercial terms. It is not a proposal change-term identity." } }, "required": ["action", "modes"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/canonical-product.json b/static/schemas/source/core/canonical-product.json index 8d10a452a3b..4b09772f3c5 100644 --- a/static/schemas/source/core/canonical-product.json +++ b/static/schemas/source/core/canonical-product.json @@ -103,7 +103,7 @@ "submitted_count": { "type": "integer", "minimum": 0 } }, "required": ["submitted_count"], - "additionalProperties": false + "additionalProperties": true }, "list_applications": { "type": "array", diff --git a/static/schemas/source/core/canonical-proposal.json b/static/schemas/source/core/canonical-proposal.json index 6bd0012bc68..0a2610ae08a 100644 --- a/static/schemas/source/core/canonical-proposal.json +++ b/static/schemas/source/core/canonical-proposal.json @@ -55,7 +55,7 @@ }, "required": ["currency"], "anyOf": [{ "required": ["recommended"] }, { "required": ["min"] }, { "required": ["max"] }], - "additionalProperties": false + "additionalProperties": true }, "forecast": { "allOf": [{ "$ref": "/schemas/core/canonical-delivery-forecast.json" }], diff --git a/static/schemas/source/core/canonical-reporting-capabilities.json b/static/schemas/source/core/canonical-reporting-capabilities.json index da69838f2db..6dfb48c7cec 100644 --- a/static/schemas/source/core/canonical-reporting-capabilities.json +++ b/static/schemas/source/core/canonical-reporting-capabilities.json @@ -28,7 +28,7 @@ "metric_id": { "$ref": "/schemas/core/vendor-metric-id.json" } }, "required": ["vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } }, "supports_creative_breakdown": { "type": "boolean" }, @@ -52,5 +52,5 @@ "measurement_windows": { "type": "array", "items": { "$ref": "/schemas/core/measurement-window.json" }, "minItems": 1, "uniqueItems": true } }, "required": ["available_reporting_frequencies", "expected_delay_minutes", "timezone", "supports_webhooks", "available_metrics", "date_range_support"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/capabilities-changed-webhook.json b/static/schemas/source/core/capabilities-changed-webhook.json index 9f389d88936..7f78cfb61f0 100644 --- a/static/schemas/source/core/capabilities-changed-webhook.json +++ b/static/schemas/source/core/capabilities-changed-webhook.json @@ -90,7 +90,7 @@ "reason", "capabilities_version" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Seller enabled sandbox support", diff --git a/static/schemas/source/core/catalog-selection.json b/static/schemas/source/core/catalog-selection.json index 9073ad126b8..5d3cbe221ff 100644 --- a/static/schemas/source/core/catalog-selection.json +++ b/static/schemas/source/core/catalog-selection.json @@ -31,5 +31,5 @@ } }, "required": ["catalog_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/catchment.json b/static/schemas/source/core/catchment.json index a5c0f63eb3f..ff014dd38c8 100644 --- a/static/schemas/source/core/catchment.json +++ b/static/schemas/source/core/catchment.json @@ -27,7 +27,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "transport_mode": { "$ref": "/schemas/enums/transport-mode.json", @@ -48,7 +48,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "geometry": { "type": "object", @@ -65,7 +65,7 @@ } }, "required": ["type", "coordinates"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" diff --git a/static/schemas/source/core/collection-distribution.json b/static/schemas/source/core/collection-distribution.json index 6d5b1a81245..342b735654b 100644 --- a/static/schemas/source/core/collection-distribution.json +++ b/static/schemas/source/core/collection-distribution.json @@ -34,7 +34,7 @@ } }, "required": ["type", "value"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 } diff --git a/static/schemas/source/core/collection-list-ref.json b/static/schemas/source/core/collection-list-ref.json index 7991fbe3a1d..01a632f44a9 100644 --- a/static/schemas/source/core/collection-list-ref.json +++ b/static/schemas/source/core/collection-list-ref.json @@ -22,5 +22,5 @@ } }, "required": ["agent_url", "list_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/collection-selection.json b/static/schemas/source/core/collection-selection.json index 372ea35e9d4..46b81d6e450 100644 --- a/static/schemas/source/core/collection-selection.json +++ b/static/schemas/source/core/collection-selection.json @@ -42,7 +42,7 @@ "mode", "collections" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "Product default collections", @@ -59,7 +59,7 @@ "required": [ "mode" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/collection.json b/static/schemas/source/core/collection.json index 45bf5a02149..b7e9c3b9811 100644 --- a/static/schemas/source/core/collection.json +++ b/static/schemas/source/core/collection.json @@ -105,7 +105,7 @@ } }, "required": ["collection_id", "relationship"], - "additionalProperties": false + "additionalProperties": true } }, "ext": { diff --git a/static/schemas/source/core/committed-metric.json b/static/schemas/source/core/committed-metric.json index 2d27519b78a..b7418a1757d 100644 --- a/static/schemas/source/core/committed-metric.json +++ b/static/schemas/source/core/committed-metric.json @@ -53,7 +53,7 @@ } }, "required": ["scope", "metric_id", "committed_at"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -108,7 +108,7 @@ } }, "required": ["scope", "vendor", "metric_id", "committed_at"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/creative-approval-scope.json b/static/schemas/source/core/creative-approval-scope.json index d592c585410..4b04f932abc 100644 --- a/static/schemas/source/core/creative-approval-scope.json +++ b/static/schemas/source/core/creative-approval-scope.json @@ -45,5 +45,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/creative-policy.json b/static/schemas/source/core/creative-policy.json index b8203e9626f..3b08a4623d6 100644 --- a/static/schemas/source/core/creative-policy.json +++ b/static/schemas/source/core/creative-policy.json @@ -72,7 +72,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/core/creative-variant.json b/static/schemas/source/core/creative-variant.json index 7012e00c267..34d04b4142e 100644 --- a/static/schemas/source/core/creative-variant.json +++ b/static/schemas/source/core/creative-variant.json @@ -80,7 +80,7 @@ } }, "required": ["property_id", "artifact_id"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" diff --git a/static/schemas/source/core/daypart-target.json b/static/schemas/source/core/daypart-target.json index cde5019f7f0..0715df239ef 100644 --- a/static/schemas/source/core/daypart-target.json +++ b/static/schemas/source/core/daypart-target.json @@ -45,5 +45,5 @@ } }, "required": ["days", "start_hour", "end_hour"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/delivery-metric-aggregate.json b/static/schemas/source/core/delivery-metric-aggregate.json index a47b520f345..31136c35969 100644 --- a/static/schemas/source/core/delivery-metric-aggregate.json +++ b/static/schemas/source/core/delivery-metric-aggregate.json @@ -112,7 +112,7 @@ "metric_id", "value" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { @@ -234,7 +234,7 @@ "metric_id", "value" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/delivery-metrics.json b/static/schemas/source/core/delivery-metrics.json index bcc2573e945..8042b108287 100644 --- a/static/schemas/source/core/delivery-metrics.json +++ b/static/schemas/source/core/delivery-metrics.json @@ -512,7 +512,7 @@ } }, "required": ["p25", "p50", "p75", "p90", "p95"], - "additionalProperties": false + "additionalProperties": true }, "viewed_seconds_histogram": { "type": "array", @@ -538,7 +538,7 @@ } }, "required": ["lower_bound_seconds", "impressions"], - "additionalProperties": false + "additionalProperties": true } }, "standard": { diff --git a/static/schemas/source/core/delivery-provider.json b/static/schemas/source/core/delivery-provider.json index 00011818bd0..0160394fec5 100644 --- a/static/schemas/source/core/delivery-provider.json +++ b/static/schemas/source/core/delivery-provider.json @@ -12,5 +12,5 @@ } }, "required": ["domain"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/delivery-recipient.json b/static/schemas/source/core/delivery-recipient.json index 734f2ef8257..242a5d3bc67 100644 --- a/static/schemas/source/core/delivery-recipient.json +++ b/static/schemas/source/core/delivery-recipient.json @@ -30,5 +30,5 @@ "cloud" ] }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/demographic-reporting-capability.json b/static/schemas/source/core/demographic-reporting-capability.json index 4e7d345a690..a6e01656b24 100644 --- a/static/schemas/source/core/demographic-reporting-capability.json +++ b/static/schemas/source/core/demographic-reporting-capability.json @@ -69,7 +69,7 @@ "then": { "required": ["demographic"] } } ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "uniqueItems": true @@ -100,7 +100,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true }, "demographic_systems": { "type": "array", @@ -121,5 +121,5 @@ { "required": ["age"] }, { "required": ["demographic_systems"] } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/destination-item.json b/static/schemas/source/core/destination-item.json index af8d3220a66..5a71e22a46b 100644 --- a/static/schemas/source/core/destination-item.json +++ b/static/schemas/source/core/destination-item.json @@ -48,7 +48,7 @@ } }, "required": ["lat", "lng"], - "additionalProperties": false + "additionalProperties": true }, "destination_type": { "type": "string", diff --git a/static/schemas/source/core/duration.json b/static/schemas/source/core/duration.json index 08deafd5e87..419691908f4 100644 --- a/static/schemas/source/core/duration.json +++ b/static/schemas/source/core/duration.json @@ -17,5 +17,5 @@ } }, "required": ["interval", "unit"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/error.json b/static/schemas/source/core/error.json index a1bd1ab72a0..f17ae4b3a3d 100644 --- a/static/schemas/source/core/error.json +++ b/static/schemas/source/core/error.json @@ -90,7 +90,7 @@ } }, "required": ["property_name", "value"], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/core/evaluator-spec.json b/static/schemas/source/core/evaluator-spec.json index c2dc31eaf4e..2aa4c5b855c 100644 --- a/static/schemas/source/core/evaluator-spec.json +++ b/static/schemas/source/core/evaluator-spec.json @@ -32,7 +32,7 @@ } }, "required": ["feature_id"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -52,7 +52,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true }, "eval_budget": { "type": "object", diff --git a/static/schemas/source/core/feature-requirement.json b/static/schemas/source/core/feature-requirement.json index 6d906f79dd9..5f1f398c140 100644 --- a/static/schemas/source/core/feature-requirement.json +++ b/static/schemas/source/core/feature-requirement.json @@ -36,5 +36,5 @@ } }, "required": ["feature_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/flight-item.json b/static/schemas/source/core/flight-item.json index fd97ba9aff4..45a2b97763b 100644 --- a/static/schemas/source/core/flight-item.json +++ b/static/schemas/source/core/flight-item.json @@ -24,7 +24,7 @@ } }, "required": ["airport_code"], - "additionalProperties": false + "additionalProperties": true }, "destination": { "type": "object", @@ -41,7 +41,7 @@ } }, "required": ["airport_code"], - "additionalProperties": false + "additionalProperties": true }, "airline": { "type": "string", diff --git a/static/schemas/source/core/forecast-vendor-metric-value.json b/static/schemas/source/core/forecast-vendor-metric-value.json index 85066fb8621..79ffb90051c 100644 --- a/static/schemas/source/core/forecast-vendor-metric-value.json +++ b/static/schemas/source/core/forecast-vendor-metric-value.json @@ -41,7 +41,7 @@ } }, "required": ["vendor", "metric_id", "value"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "vendor": { "domain": "attentionvendor.example" }, diff --git a/static/schemas/source/core/frequency-cap-constraints.json b/static/schemas/source/core/frequency-cap-constraints.json index edc78fc4eda..3bd40a79ce2 100644 --- a/static/schemas/source/core/frequency-cap-constraints.json +++ b/static/schemas/source/core/frequency-cap-constraints.json @@ -54,7 +54,7 @@ { "required": ["window_constraints"] }, { "required": ["suppression_constraints"] } ], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "unique_window_units": "window_constraints MUST contain at most one entry for each unit.", "unique_suppression_units": "suppression_constraints MUST contain at most one entry for each unit." diff --git a/static/schemas/source/core/frequency-cap-impression-constraints.json b/static/schemas/source/core/frequency-cap-impression-constraints.json index fcde555c41c..1c9fb0d7504 100644 --- a/static/schemas/source/core/frequency-cap-impression-constraints.json +++ b/static/schemas/source/core/frequency-cap-impression-constraints.json @@ -30,7 +30,7 @@ "not": { "required": ["allowed_values"] } } ], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "ordered_bounds": "minimum MUST be less than or equal to maximum." } diff --git a/static/schemas/source/core/frequency-cap-interval-constraints.json b/static/schemas/source/core/frequency-cap-interval-constraints.json index dbda1edc016..245e0b02154 100644 --- a/static/schemas/source/core/frequency-cap-interval-constraints.json +++ b/static/schemas/source/core/frequency-cap-interval-constraints.json @@ -46,7 +46,7 @@ } } }, - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "ordered_bounds": "minimum_interval MUST be less than or equal to maximum_interval." } diff --git a/static/schemas/source/core/frequency-cap-requirements.json b/static/schemas/source/core/frequency-cap-requirements.json index 3ece862f6bc..f4cc20cec63 100644 --- a/static/schemas/source/core/frequency-cap-requirements.json +++ b/static/schemas/source/core/frequency-cap-requirements.json @@ -39,5 +39,5 @@ "uniqueItems": true } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-breakdown-support.json b/static/schemas/source/core/geo-breakdown-support.json index dc1a8ea4a2c..d5d24f11a2f 100644 --- a/static/schemas/source/core/geo-breakdown-support.json +++ b/static/schemas/source/core/geo-breakdown-support.json @@ -24,5 +24,5 @@ "$ref": "/schemas/core/postal-area-support.json" } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-metro.json b/static/schemas/source/core/geo-metro.json index 9bae5866176..1076b659983 100644 --- a/static/schemas/source/core/geo-metro.json +++ b/static/schemas/source/core/geo-metro.json @@ -17,5 +17,5 @@ } }, "required": ["system", "values"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-place-area.json b/static/schemas/source/core/geo-place-area.json index e43eb2f372c..f99b62ebf22 100644 --- a/static/schemas/source/core/geo-place-area.json +++ b/static/schemas/source/core/geo-place-area.json @@ -68,5 +68,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-place-catalog-capability.json b/static/schemas/source/core/geo-place-catalog-capability.json index f4e1f3ad9ca..bc6d2e16303 100644 --- a/static/schemas/source/core/geo-place-catalog-capability.json +++ b/static/schemas/source/core/geo-place-catalog-capability.json @@ -28,7 +28,7 @@ } }, "required": ["current_version", "supported_versions", "resolver"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "member_of": { "field": "current_version", "array_field": "supported_versions" }, "description": "JSON Schema draft-07 cannot express scalar membership in a sibling array; conformance tooling MUST verify current_version is present in supported_versions." diff --git a/static/schemas/source/core/geo-place-catalog-entry.json b/static/schemas/source/core/geo-place-catalog-entry.json index d307e6062c3..214ef899fe7 100644 --- a/static/schemas/source/core/geo-place-catalog-entry.json +++ b/static/schemas/source/core/geo-place-catalog-entry.json @@ -59,5 +59,5 @@ } }, "required": ["value", "country", "place_type", "label", "canonical_name", "parent_labels", "status"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-place-requirement.json b/static/schemas/source/core/geo-place-requirement.json index f097d425c40..d77ac8ae413 100644 --- a/static/schemas/source/core/geo-place-requirement.json +++ b/static/schemas/source/core/geo-place-requirement.json @@ -29,7 +29,7 @@ } }, "required": ["countries"], - "additionalProperties": false + "additionalProperties": true } }, "properties": { @@ -41,5 +41,5 @@ } }, "required": ["systems"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-place-resolver.json b/static/schemas/source/core/geo-place-resolver.json index 453b5b51025..7fcfc8f9569 100644 --- a/static/schemas/source/core/geo-place-resolver.json +++ b/static/schemas/source/core/geo-place-resolver.json @@ -23,5 +23,5 @@ } }, "required": ["url", "auth", "protocol"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-place-support.json b/static/schemas/source/core/geo-place-support.json index 9279de60e25..4a4382b812c 100644 --- a/static/schemas/source/core/geo-place-support.json +++ b/static/schemas/source/core/geo-place-support.json @@ -26,5 +26,5 @@ } }, "required": ["countries", "catalog"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/geo-region-requirement.json b/static/schemas/source/core/geo-region-requirement.json index d91e27ad982..baa0a3a5258 100644 --- a/static/schemas/source/core/geo-region-requirement.json +++ b/static/schemas/source/core/geo-region-requirement.json @@ -23,7 +23,7 @@ } }, "required": ["all_values"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -40,7 +40,7 @@ } }, "required": ["values"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -48,7 +48,7 @@ } }, "required": ["countries"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "country_prefix_matches_map_key": { diff --git a/static/schemas/source/core/geo-region-support.json b/static/schemas/source/core/geo-region-support.json index 119d5b9c3f3..8cb0f113e9c 100644 --- a/static/schemas/source/core/geo-region-support.json +++ b/static/schemas/source/core/geo-region-support.json @@ -23,7 +23,7 @@ } }, "required": ["all_values"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -40,7 +40,7 @@ } }, "required": ["values"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -71,7 +71,7 @@ } }, "required": ["countries"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "country_prefix_matches_map_key": { diff --git a/static/schemas/source/core/get-geo-place-resolution-request.json b/static/schemas/source/core/get-geo-place-resolution-request.json index a248c639b07..a0bde4a35d9 100644 --- a/static/schemas/source/core/get-geo-place-resolution-request.json +++ b/static/schemas/source/core/get-geo-place-resolution-request.json @@ -54,5 +54,5 @@ { "required": ["value"] } ], "not": { "required": ["q", "value"] }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/get-geo-place-resolution-response.json b/static/schemas/source/core/get-geo-place-resolution-response.json index aeb2c68827b..b79b4b7f31d 100644 --- a/static/schemas/source/core/get-geo-place-resolution-response.json +++ b/static/schemas/source/core/get-geo-place-resolution-response.json @@ -60,5 +60,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/hotel-item.json b/static/schemas/source/core/hotel-item.json index 9dd888ebe29..187159790c3 100644 --- a/static/schemas/source/core/hotel-item.json +++ b/static/schemas/source/core/hotel-item.json @@ -35,7 +35,7 @@ } }, "required": ["lat", "lng"], - "additionalProperties": false + "additionalProperties": true }, "address": { "type": "object", @@ -63,7 +63,7 @@ "description": "ISO 3166-1 alpha-2 country code." } }, - "additionalProperties": false + "additionalProperties": true }, "star_rating": { "type": "integer", diff --git a/static/schemas/source/core/identifier.json b/static/schemas/source/core/identifier.json index f7e68aabe2c..17bae442b63 100644 --- a/static/schemas/source/core/identifier.json +++ b/static/schemas/source/core/identifier.json @@ -15,5 +15,5 @@ } }, "required": ["type", "value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/impairment.json b/static/schemas/source/core/impairment.json index 1fd087bf876..dbab8162e64 100644 --- a/static/schemas/source/core/impairment.json +++ b/static/schemas/source/core/impairment.json @@ -40,7 +40,7 @@ "description": "Current (offline) status of the resource. Drawn from the resource_type's canonical lifecycle enum; see impairment-offline-state for per-value resource_type pairing. The pairing is validated by impairment.coherence." } }, - "additionalProperties": false + "additionalProperties": true }, "reason_code": { "$ref": "/schemas/enums/impairment-reason-code.json", diff --git a/static/schemas/source/core/indicators-changed-webhook.json b/static/schemas/source/core/indicators-changed-webhook.json index fae45a90d0c..56ae6f397db 100644 --- a/static/schemas/source/core/indicators-changed-webhook.json +++ b/static/schemas/source/core/indicators-changed-webhook.json @@ -149,7 +149,7 @@ }, "spec": "specs/relationship-scoped-indicators.md#webhook-contract" }, - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Creative fatigue changed for one assignment", diff --git a/static/schemas/source/core/installment.json b/static/schemas/source/core/installment.json index 8f2343992db..f50ad910373 100644 --- a/static/schemas/source/core/installment.json +++ b/static/schemas/source/core/installment.json @@ -100,7 +100,7 @@ } }, "required": ["installment_id", "type"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" diff --git a/static/schemas/source/core/inventory-list-application.json b/static/schemas/source/core/inventory-list-application.json index 5e83fd8ac6e..a20a0ffe53b 100644 --- a/static/schemas/source/core/inventory-list-application.json +++ b/static/schemas/source/core/inventory-list-application.json @@ -69,7 +69,7 @@ } }, "required": ["matched", "unmatched"], - "additionalProperties": false + "additionalProperties": true } }, "required": [ @@ -81,7 +81,7 @@ "evaluated_at", "summary" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "Collection list application", @@ -134,7 +134,7 @@ } }, "required": ["matched", "unmatched"], - "additionalProperties": false + "additionalProperties": true } }, "required": [ @@ -146,7 +146,7 @@ "evaluated_at", "summary" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/job-item.json b/static/schemas/source/core/job-item.json index da64b94b944..8750004b95d 100644 --- a/static/schemas/source/core/job-item.json +++ b/static/schemas/source/core/job-item.json @@ -61,7 +61,7 @@ } }, "required": ["currency", "period"], - "additionalProperties": false + "additionalProperties": true }, "date_posted": { "type": "string", diff --git a/static/schemas/source/core/keyword-target.json b/static/schemas/source/core/keyword-target.json index 9b4c2b10069..1d6be7da60e 100644 --- a/static/schemas/source/core/keyword-target.json +++ b/static/schemas/source/core/keyword-target.json @@ -10,5 +10,5 @@ "bid_price": { "type": "number", "minimum": 0 } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/macro-declaration.json b/static/schemas/source/core/macro-declaration.json index 94c225462e3..1431306d906 100644 --- a/static/schemas/source/core/macro-declaration.json +++ b/static/schemas/source/core/macro-declaration.json @@ -74,7 +74,7 @@ "context": { "$ref": "/schemas/enums/macro-value-context.json" } }, "required": ["field", "occurrence", "context"], - "additionalProperties": false + "additionalProperties": true }, "encoding": { "$ref": "/schemas/core/macro-encoding.json", @@ -102,7 +102,7 @@ "required", "unavailable_behavior" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { "properties": { "dialect": { "enum": ["iab_vast", "iab_daast", "vendor"] } }, "required": ["dialect"] }, diff --git a/static/schemas/source/core/macro-encoding.json b/static/schemas/source/core/macro-encoding.json index 8b4ca0717d6..4044576362b 100644 --- a/static/schemas/source/core/macro-encoding.json +++ b/static/schemas/source/core/macro-encoding.json @@ -15,7 +15,7 @@ } }, "required": ["kind", "depth"], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { "properties": { "kind": { "const": "none" } }, "required": ["kind"] }, diff --git a/static/schemas/source/core/macro-resolution-capability.json b/static/schemas/source/core/macro-resolution-capability.json index 894e5cff734..9f8cb440b7a 100644 --- a/static/schemas/source/core/macro-resolution-capability.json +++ b/static/schemas/source/core/macro-resolution-capability.json @@ -54,7 +54,7 @@ "performed_by", "supported_contexts" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { "properties": { "dialect": { "enum": ["iab_vast", "iab_daast", "vendor"] } }, "required": ["dialect"] }, diff --git a/static/schemas/source/core/macro-resolution-result.json b/static/schemas/source/core/macro-resolution-result.json index 194b91275f7..5e1e1412328 100644 --- a/static/schemas/source/core/macro-resolution-result.json +++ b/static/schemas/source/core/macro-resolution-result.json @@ -58,7 +58,7 @@ "status", "reason" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { "properties": { "dialect": { "enum": ["iab_vast", "iab_daast", "vendor"] } }, "required": ["dialect"] }, diff --git a/static/schemas/source/core/macro-translation-target.json b/static/schemas/source/core/macro-translation-target.json index 2bc3e770d48..7ed54a517a4 100644 --- a/static/schemas/source/core/macro-translation-target.json +++ b/static/schemas/source/core/macro-translation-target.json @@ -20,7 +20,7 @@ "encoding": { "$ref": "/schemas/core/macro-encoding.json" } }, "required": ["token", "dialect", "dialect_semantic", "mapping_status", "next_operation", "performed_by", "encoding"], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { "properties": { "dialect": { "enum": ["iab_vast", "iab_daast", "vendor"] } }, "required": ["dialect"] }, diff --git a/static/schemas/source/core/media-buy-available-action.json b/static/schemas/source/core/media-buy-available-action.json index 3f0b023acee..e360169a739 100644 --- a/static/schemas/source/core/media-buy-available-action.json +++ b/static/schemas/source/core/media-buy-available-action.json @@ -44,5 +44,5 @@ } }, "required": ["action", "mode"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/media-buy-support-requirements.json b/static/schemas/source/core/media-buy-support-requirements.json index 57c719fe007..52c8abda587 100644 --- a/static/schemas/source/core/media-buy-support-requirements.json +++ b/static/schemas/source/core/media-buy-support-requirements.json @@ -16,5 +16,5 @@ "frequency_cap_constraints": ["frequency_cap"] }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/media-buy.json b/static/schemas/source/core/media-buy.json index 00b8d22e30c..f8489e0f410 100644 --- a/static/schemas/source/core/media-buy.json +++ b/static/schemas/source/core/media-buy.json @@ -77,7 +77,7 @@ "maxLength": 500 } }, - "additionalProperties": false + "additionalProperties": true }, "total_budget": { "type": "number", diff --git a/static/schemas/source/core/missing-metric.json b/static/schemas/source/core/missing-metric.json index 598052ad69a..a2764034e06 100644 --- a/static/schemas/source/core/missing-metric.json +++ b/static/schemas/source/core/missing-metric.json @@ -44,7 +44,7 @@ "scope", "metric_id" ], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -86,7 +86,7 @@ "vendor", "metric_id" ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/negative-keyword.json b/static/schemas/source/core/negative-keyword.json index 32f21368ff5..6f5d3566ca5 100644 --- a/static/schemas/source/core/negative-keyword.json +++ b/static/schemas/source/core/negative-keyword.json @@ -13,5 +13,5 @@ "match_type": { "$ref": "/schemas/enums/match-type.json" } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/notification-config.json b/static/schemas/source/core/notification-config.json index d21419df466..47514fecba1 100644 --- a/static/schemas/source/core/notification-config.json +++ b/static/schemas/source/core/notification-config.json @@ -75,7 +75,7 @@ "required": [ "schemes" ], - "additionalProperties": false + "additionalProperties": true }, "active": { "type": "boolean", @@ -103,7 +103,7 @@ } } ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Single subscriber receiving creative lifecycle events", diff --git a/static/schemas/source/core/operator-identity.json b/static/schemas/source/core/operator-identity.json index f2b11c6f0a1..0747650ced2 100644 --- a/static/schemas/source/core/operator-identity.json +++ b/static/schemas/source/core/operator-identity.json @@ -19,5 +19,5 @@ "required": [ "operator" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/operator-unit.json b/static/schemas/source/core/operator-unit.json index 9727442bcbc..6333af241fb 100644 --- a/static/schemas/source/core/operator-unit.json +++ b/static/schemas/source/core/operator-unit.json @@ -21,7 +21,7 @@ } }, "required": ["id"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "id": "234284238", "name": "Nova EMEA" }, { "id": "benelux-seat", "name": "Nova Benelux" } diff --git a/static/schemas/source/core/outcome-target-cost-per.json b/static/schemas/source/core/outcome-target-cost-per.json index c0860e3d47e..4317439c408 100644 --- a/static/schemas/source/core/outcome-target-cost-per.json +++ b/static/schemas/source/core/outcome-target-cost-per.json @@ -21,5 +21,5 @@ } }, "required": ["amount", "currency", "strength"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/overlay.json b/static/schemas/source/core/overlay.json index b510bede810..cafea655630 100644 --- a/static/schemas/source/core/overlay.json +++ b/static/schemas/source/core/overlay.json @@ -34,7 +34,7 @@ } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "bounds": { "type": "object", @@ -65,9 +65,9 @@ } }, "required": ["x", "y", "width", "height", "unit"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["id", "bounds"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/package-targeting-resolution.json b/static/schemas/source/core/package-targeting-resolution.json index 11654bde062..3eb7935f3bd 100644 --- a/static/schemas/source/core/package-targeting-resolution.json +++ b/static/schemas/source/core/package-targeting-resolution.json @@ -12,5 +12,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["demographics"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/package.json b/static/schemas/source/core/package.json index fa69da1effc..83ba62ea586 100644 --- a/static/schemas/source/core/package.json +++ b/static/schemas/source/core/package.json @@ -283,7 +283,7 @@ "description": "ISO 8601 timestamp when the seller acknowledged the cancellation. Confirms inventory has been released and billing stopped. Absent until the seller processes the cancellation." } }, - "additionalProperties": false + "additionalProperties": true }, "agency_estimate_number": { "type": "string", diff --git a/static/schemas/source/core/pagination-request.json b/static/schemas/source/core/pagination-request.json index 425bb74e659..7ce1f267e10 100644 --- a/static/schemas/source/core/pagination-request.json +++ b/static/schemas/source/core/pagination-request.json @@ -17,5 +17,5 @@ "description": "Opaque cursor from a previous response to fetch the next page" } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/pagination-response.json b/static/schemas/source/core/pagination-response.json index 8b0f1e2997d..8665c5c5e57 100644 --- a/static/schemas/source/core/pagination-response.json +++ b/static/schemas/source/core/pagination-response.json @@ -22,5 +22,5 @@ "required": [ "has_more" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/performance-feedback-assertion.json b/static/schemas/source/core/performance-feedback-assertion.json index 8251646588e..fd9b98a349b 100644 --- a/static/schemas/source/core/performance-feedback-assertion.json +++ b/static/schemas/source/core/performance-feedback-assertion.json @@ -105,10 +105,10 @@ } }, "required": ["lower", "upper", "level"], - "additionalProperties": false + "additionalProperties": true } }, - "additionalProperties": false + "additionalProperties": true }, "evidence_ref": { "type": "string", diff --git a/static/schemas/source/core/performance-feedback-metric.json b/static/schemas/source/core/performance-feedback-metric.json index 426d1737190..6b8b47c8f3f 100644 --- a/static/schemas/source/core/performance-feedback-metric.json +++ b/static/schemas/source/core/performance-feedback-metric.json @@ -41,7 +41,7 @@ } }, "required": ["scope", "metric_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -80,7 +80,7 @@ } }, "required": ["scope", "vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/performance-feedback.json b/static/schemas/source/core/performance-feedback.json index 9dd366030e5..3acc38d362b 100644 --- a/static/schemas/source/core/performance-feedback.json +++ b/static/schemas/source/core/performance-feedback.json @@ -94,7 +94,7 @@ } }, "required": ["scope", "metric_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -135,7 +135,7 @@ } }, "required": ["scope", "vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/core/placement-definition.json b/static/schemas/source/core/placement-definition.json index d204644b162..08a09eaf1d2 100644 --- a/static/schemas/source/core/placement-definition.json +++ b/static/schemas/source/core/placement-definition.json @@ -14,7 +14,7 @@ "height": { "type": "integer", "description": "Screen height in pixels.", "minimum": 1 } }, "required": ["width", "height"], - "additionalProperties": false + "additionalProperties": true }, "PublisherDoohPlacementAttributes": { "title": "Publisher DOOH Placement Attributes", diff --git a/static/schemas/source/core/placement-identity.json b/static/schemas/source/core/placement-identity.json index 352e3aacff3..4bdcd40bb65 100644 --- a/static/schemas/source/core/placement-identity.json +++ b/static/schemas/source/core/placement-identity.json @@ -24,7 +24,7 @@ } }, "required": ["kind", "publisher_domain", "placement_id"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Seller inline placement identity", @@ -46,7 +46,7 @@ } }, "required": ["kind", "seller_agent", "placement_id"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/placement-selection.json b/static/schemas/source/core/placement-selection.json index 18dab797e04..1f1f0515fc5 100644 --- a/static/schemas/source/core/placement-selection.json +++ b/static/schemas/source/core/placement-selection.json @@ -40,7 +40,7 @@ } }, "required": ["mode", "placement_refs"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Product default placements", @@ -55,7 +55,7 @@ } }, "required": ["mode"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/placement.json b/static/schemas/source/core/placement.json index d99fdebcc19..ecd46778977 100644 --- a/static/schemas/source/core/placement.json +++ b/static/schemas/source/core/placement.json @@ -14,7 +14,7 @@ "height": { "type": "integer", "description": "Screen height in pixels.", "minimum": 1 } }, "required": ["width", "height"], - "additionalProperties": false + "additionalProperties": true }, "ProductDoohPlacementAttributes": { "title": "Product DOOH Placement Attributes", diff --git a/static/schemas/source/core/postal-area.json b/static/schemas/source/core/postal-area.json index 064b8c0aafb..7d24a339a24 100644 --- a/static/schemas/source/core/postal-area.json +++ b/static/schemas/source/core/postal-area.json @@ -32,7 +32,7 @@ } }, "required": ["country", "system", "values"], - "additionalProperties": false + "additionalProperties": true }, { "title": "PostalAreaWithFusedSystem", @@ -54,7 +54,7 @@ } }, "required": ["system", "values"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/presentation-ref.json b/static/schemas/source/core/presentation-ref.json index f825606c633..ec21a06eba1 100644 --- a/static/schemas/source/core/presentation-ref.json +++ b/static/schemas/source/core/presentation-ref.json @@ -28,5 +28,5 @@ "description": "Version of /schemas/core/placement-presentation.json used to validate and compose the referenced document." } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/preview-provider.json b/static/schemas/source/core/preview-provider.json index 333ea054538..e1b3f69a13a 100644 --- a/static/schemas/source/core/preview-provider.json +++ b/static/schemas/source/core/preview-provider.json @@ -40,14 +40,14 @@ "description": "True only when the publisher delegates both creative rendering and the complete placement-specific frame to this route. When false or omitted, consumers compose any presentation_ref around the provider's creative render." } }, - "additionalProperties": false + "additionalProperties": true }, "x-adcp-validation": { "unique_item_properties": ["format_option_id"] } } }, - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "format_option_id": "resolves_within_declaring_adagents_json_and_is_listed_on_placement", diff --git a/static/schemas/source/core/price.json b/static/schemas/source/core/price.json index a3a487348c9..801243deff1 100644 --- a/static/schemas/source/core/price.json +++ b/static/schemas/source/core/price.json @@ -22,7 +22,7 @@ } }, "required": ["amount", "currency"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "One-time purchase price", diff --git a/static/schemas/source/core/principal-changed-webhook.json b/static/schemas/source/core/principal-changed-webhook.json index 5401dee89ab..e5cbc3059ac 100644 --- a/static/schemas/source/core/principal-changed-webhook.json +++ b/static/schemas/source/core/principal-changed-webhook.json @@ -71,7 +71,7 @@ } }, "required": ["idempotency_key", "notification_id", "notification_type", "fired_at", "subscriber_id", "agent_url", "changed_at", "reason"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Destination reached ready after recipient acceptance", diff --git a/static/schemas/source/core/principal-declarations-state.json b/static/schemas/source/core/principal-declarations-state.json index e144d4f3288..8fecdcf2042 100644 --- a/static/schemas/source/core/principal-declarations-state.json +++ b/static/schemas/source/core/principal-declarations-state.json @@ -41,12 +41,12 @@ } }, "required": ["axis", "value", "reason"], - "additionalProperties": false + "additionalProperties": true }, "maxItems": 64, "description": "Every declared value that is absent from the accepted intersection, with the seller's reason. Present whenever declared and accepted differ, so a buyer can see why a capability it relies on was not accepted instead of diffing the two sets." } }, "required": ["declared", "accepted"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/principal-declarations.json b/static/schemas/source/core/principal-declarations.json index fb703d725a5..6c57ac0b464 100644 --- a/static/schemas/source/core/principal-declarations.json +++ b/static/schemas/source/core/principal-declarations.json @@ -38,5 +38,5 @@ "description": "Experimental feature identifiers, matching the seller's experimental_features vocabulary, that the caller opts into receiving in asynchronous payloads. Unknown identifiers are accepted and excluded from the intersection rather than rejected, so a caller can declare once across sellers with different surfaces." } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/principal-state.json b/static/schemas/source/core/principal-state.json index a8551408432..0c33170a0e2 100644 --- a/static/schemas/source/core/principal-state.json +++ b/static/schemas/source/core/principal-state.json @@ -55,12 +55,12 @@ } }, "required": ["destination_id", "destination_refs"], - "additionalProperties": false + "additionalProperties": true }, "maxItems": 64, "description": "Destinations the caller revoked by omitting them from a submitted reporting_destinations section, retained while any generation remains resolvable for reporting history. Enumerable only by the owning principal. Reusing a retired destination_id requires fresh registration and proof and produces a new generation." } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product-allowed-action.json b/static/schemas/source/core/product-allowed-action.json index 2d848d9796d..fe27327de41 100644 --- a/static/schemas/source/core/product-allowed-action.json +++ b/static/schemas/source/core/product-allowed-action.json @@ -46,5 +46,5 @@ } }, "required": ["action", "modes"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product-audience-evidence-requirements.json b/static/schemas/source/core/product-audience-evidence-requirements.json index 2eba58d1adc..42a8fea048b 100644 --- a/static/schemas/source/core/product-audience-evidence-requirements.json +++ b/static/schemas/source/core/product-audience-evidence-requirements.json @@ -69,7 +69,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["type", "brand"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -83,7 +83,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["type", "agent_url"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -97,7 +97,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["type", "origin"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -122,5 +122,5 @@ "then": { "required": ["accepted_attestation_issuers"] } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product-filters.json b/static/schemas/source/core/product-filters.json index 5299c360f83..182c502c07b 100644 --- a/static/schemas/source/core/product-filters.json +++ b/static/schemas/source/core/product-filters.json @@ -151,7 +151,7 @@ } }, "required": ["system", "code"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -251,7 +251,7 @@ "minItems": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "audience_activation_methods": { "type": "array", @@ -266,7 +266,7 @@ "pattern": { "type": "string", "const": "sync_audiences" } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -280,11 +280,11 @@ "agent_url": { "type": "string", "format": "uri" } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -311,7 +311,7 @@ } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -324,7 +324,7 @@ } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -337,7 +337,7 @@ } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -350,7 +350,7 @@ } }, "required": ["pattern"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -449,7 +449,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -521,7 +521,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "transport_mode": { "$ref": "/schemas/enums/transport-mode.json", @@ -542,7 +542,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "geometry": { "type": "object", @@ -559,7 +559,7 @@ } }, "required": ["type", "coordinates"], - "additionalProperties": false + "additionalProperties": true } }, "oneOf": [ @@ -633,7 +633,7 @@ } }, "anyOf": [{ "required": ["vendor"] }, { "required": ["metric_id"] }], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "examples": [ @@ -668,7 +668,7 @@ } }, "required": ["keyword"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, diff --git a/static/schemas/source/core/product-identity.json b/static/schemas/source/core/product-identity.json index b37da4429d5..29b984ac69d 100644 --- a/static/schemas/source/core/product-identity.json +++ b/static/schemas/source/core/product-identity.json @@ -28,5 +28,5 @@ } }, "required": ["persistent_identifier"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product-offer-filters.json b/static/schemas/source/core/product-offer-filters.json index 27314bc0973..54436927f4f 100644 --- a/static/schemas/source/core/product-offer-filters.json +++ b/static/schemas/source/core/product-offer-filters.json @@ -67,7 +67,7 @@ } }, "required": ["start_time", "end_time"], - "additionalProperties": false + "additionalProperties": true }, "budget_range": { "$ref": "/schemas/core/budget-range.json" @@ -109,7 +109,7 @@ "system", "code" ], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -185,7 +185,7 @@ "minItems": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "required_features": { "allOf": [{ "$ref": "/schemas/core/canonical-media-buy-features.json" }], @@ -222,7 +222,7 @@ "metric_id": { "$ref": "/schemas/core/vendor-metric-id.json" } }, "anyOf": [{ "required": ["vendor"] }, { "required": ["metric_id"] }], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -241,5 +241,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product-targeting-resolution.json b/static/schemas/source/core/product-targeting-resolution.json index 9e30e63b3eb..74343608309 100644 --- a/static/schemas/source/core/product-targeting-resolution.json +++ b/static/schemas/source/core/product-targeting-resolution.json @@ -20,5 +20,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["modifications"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/product.json b/static/schemas/source/core/product.json index 707f237005c..897a98da865 100644 --- a/static/schemas/source/core/product.json +++ b/static/schemas/source/core/product.json @@ -659,7 +659,7 @@ } }, "required": ["methods"], - "additionalProperties": false + "additionalProperties": true }, "material_submission": { "type": "object", diff --git a/static/schemas/source/core/property-list-ref.json b/static/schemas/source/core/property-list-ref.json index 66b99bb2779..f500f105116 100644 --- a/static/schemas/source/core/property-list-ref.json +++ b/static/schemas/source/core/property-list-ref.json @@ -22,5 +22,5 @@ } }, "required": ["agent_url", "list_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/provenance.json b/static/schemas/source/core/provenance.json index 0b2f185095c..11f20fc9e33 100644 --- a/static/schemas/source/core/provenance.json +++ b/static/schemas/source/core/provenance.json @@ -131,7 +131,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true }, "embedded_at": { "type": "string", @@ -173,7 +173,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false + "additionalProperties": true }, "c2pa_action": { "$ref": "/schemas/enums/c2pa-watermark-action.json", diff --git a/static/schemas/source/core/push-notification-config.json b/static/schemas/source/core/push-notification-config.json index b3e23a160de..0f8c436b251 100644 --- a/static/schemas/source/core/push-notification-config.json +++ b/static/schemas/source/core/push-notification-config.json @@ -48,7 +48,7 @@ "schemes", "credentials" ], - "additionalProperties": false + "additionalProperties": true } }, "required": [ diff --git a/static/schemas/source/core/real-estate-item.json b/static/schemas/source/core/real-estate-item.json index eb263d29fac..1b8b4c3e5b7 100644 --- a/static/schemas/source/core/real-estate-item.json +++ b/static/schemas/source/core/real-estate-item.json @@ -39,7 +39,7 @@ "description": "ISO 3166-1 alpha-2 country code." } }, - "additionalProperties": false + "additionalProperties": true }, "price": { "$ref": "/schemas/core/price.json", @@ -81,7 +81,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "description": { "type": "string", @@ -105,7 +105,7 @@ } }, "required": ["lat", "lng"], - "additionalProperties": false + "additionalProperties": true }, "image_url": { "type": "string", diff --git a/static/schemas/source/core/reference-renderer.json b/static/schemas/source/core/reference-renderer.json index 8233d944de0..661ef5af387 100644 --- a/static/schemas/source/core/reference-renderer.json +++ b/static/schemas/source/core/reference-renderer.json @@ -53,10 +53,10 @@ "description": "Repository-relative GitHub Actions workflow path that npm provenance buildDefinition.externalParameters.workflow.path MUST identify." } }, - "additionalProperties": false + "additionalProperties": true } }, - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "export": "exists_in_pinned_package_and_passes_contract_fixtures_for_enclosing_format_input_contract" diff --git a/static/schemas/source/core/registry-event.json b/static/schemas/source/core/registry-event.json index 9f062fdd689..c7ded149f83 100644 --- a/static/schemas/source/core/registry-event.json +++ b/static/schemas/source/core/registry-event.json @@ -552,7 +552,7 @@ } }, "required": ["publisher_domain", "type", "value"], - "additionalProperties": false + "additionalProperties": true }, "collectionPayload": { "type": "object", diff --git a/static/schemas/source/core/registry-feed-response.json b/static/schemas/source/core/registry-feed-response.json index 2da9d50e993..69ca9aaed02 100644 --- a/static/schemas/source/core/registry-feed-response.json +++ b/static/schemas/source/core/registry-feed-response.json @@ -60,7 +60,7 @@ "lag_seconds", "retention_days" ], - "additionalProperties": false + "additionalProperties": true } }, "required": [ diff --git a/static/schemas/source/core/reporting-adjustment-receipt.json b/static/schemas/source/core/reporting-adjustment-receipt.json index b508928881f..5e4cbb13fdb 100644 --- a/static/schemas/source/core/reporting-adjustment-receipt.json +++ b/static/schemas/source/core/reporting-adjustment-receipt.json @@ -37,5 +37,5 @@ "acceptance_match": "accepted requires observed_adjustment_sha256 to equal the referenced adjustment's canonical_adjustment_sha256 and adjusts_reporting_revision_id to equal its target. A digest or semantic disagreement is rejected with stable rejection_codes.", "immutability": "A reporting_receipt_id is immutable. Exact retries are idempotent; reuse with different content is a conflict. A new ID may supersede only the current rejected receipt for this adjustment; history remains append-only and an accepted current leaf is terminal." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-adjustment.json b/static/schemas/source/core/reporting-adjustment.json index 3845211210b..3b36bd398da 100644 --- a/static/schemas/source/core/reporting-adjustment.json +++ b/static/schemas/source/core/reporting-adjustment.json @@ -22,7 +22,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false + "additionalProperties": true }, "control_total_deltas": { "type": "array", @@ -42,5 +42,5 @@ "ordering": "correction_observed_at MUST be no earlier than the adjusted revision's finalized_at and no later than created_at.", "canonical_evidence": "When the adjusted revision belongs to an obligation whose selected atomic offering uses reconciliation_mode: consumer_receipt (the Reconciled Billing tier), the adjustment MUST include canonical_adjustment_sha256 computed over the complete immutable adjustment object with only canonical_adjustment_sha256 omitted, using RFC 8785 JCS UTF-8 bytes and SHA-256. A seller's separate Core or Managed Delivery obligations do not inherit this requirement merely because the seller also advertises reconciled_billing: true; their adjustments do not require digest or receipt code and MAY omit this field." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-canonical-content-digest.json b/static/schemas/source/core/reporting-canonical-content-digest.json index 81a7f62702f..3bad85bb3f0 100644 --- a/static/schemas/source/core/reporting-canonical-content-digest.json +++ b/static/schemas/source/core/reporting-canonical-content-digest.json @@ -13,5 +13,5 @@ "canonicalization_sha256": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$" } }, "required": ["algorithm", "value", "canonicalization_id", "canonicalization_uri", "canonicalization_sha256"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-canonicalization-contract.json b/static/schemas/source/core/reporting-canonicalization-contract.json index dacbbd2bde7..d68f1886ac9 100644 --- a/static/schemas/source/core/reporting-canonicalization-contract.json +++ b/static/schemas/source/core/reporting-canonicalization-contract.json @@ -40,7 +40,7 @@ "sha256": { "type": "string", "const": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945" } }, "required": ["name", "purpose", "input_rows", "canonical_utf8_base64", "sha256"], - "additionalProperties": false + "additionalProperties": true }, "ordering_encoding": { "title": "OrderingEncodingGoldenVector", @@ -53,7 +53,7 @@ "sha256": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$" } }, "required": ["name", "purpose", "input_rows", "canonical_utf8_base64", "sha256"], - "additionalProperties": false + "additionalProperties": true }, "additional": { "type": "array", @@ -68,12 +68,12 @@ "sha256": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$" } }, "required": ["name", "purpose", "input_rows", "canonical_utf8_base64", "sha256"], - "additionalProperties": false + "additionalProperties": true } } }, "required": ["empty_report", "ordering_encoding"], - "additionalProperties": false, + "additionalProperties": true, "description": "Named cross-language conformance cases: exactly one empty_report vector, exactly one ordering_encoding vector, and an optional list of additional vectors." } }, @@ -82,5 +82,5 @@ "algorithm": "adcp_jcs_rows_v1 rejects duplicate JSON object keys, non-finite numbers, lone Unicode surrogates, missing/non-scalar primary keys, and duplicate primary-key tuples. Validate every row against the pinned row schema; do not normalize Unicode. RFC 8785-encode each primary-key value array and sort rows by unsigned lexicographic comparison of those UTF-8 bytes. RFC 8785-encode each complete row, then emit the UTF-8 bytes for '[' + the encoded rows joined by ',' + ']'. SHA-256 is computed over exactly those bytes.", "binding": "schema_sha256 and primary_keys MUST exactly equal the selected offering. Golden-vector names MUST be unique across empty_report, ordering_encoding, and additional. empty_report is the exact [] case. ordering_encoding is non-trivial: its input row order differs from canonical primary-key order and its object member order differs from JCS order. SDKs MUST strictly base64-decode canonical_utf8_base64, reproduce every golden vector's exact bytes and sha256, and reject any mismatch before using the contract." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-capabilities.json b/static/schemas/source/core/reporting-capabilities.json index 13bb72903db..6558da59fb4 100644 --- a/static/schemas/source/core/reporting-capabilities.json +++ b/static/schemas/source/core/reporting-capabilities.json @@ -85,7 +85,7 @@ } }, "required": ["vendor", "metric_id"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "vendor_relationship_required_for_self_measurement": "when vendor.domain equals the seller's own brand.json domain (or a domain the seller's brand.json lists as under common ownership or control), vendor_relationship MUST be present and MUST be first_party or affiliated", diff --git a/static/schemas/source/core/reporting-consumer-status.json b/static/schemas/source/core/reporting-consumer-status.json index 0c7aa68aadb..3577c8dd387 100644 --- a/static/schemas/source/core/reporting-consumer-status.json +++ b/static/schemas/source/core/reporting-consumer-status.json @@ -50,7 +50,7 @@ "source_timezone": { "type": "string", "minLength": 1 } }, "required": ["start", "end", "source_timezone"], - "additionalProperties": false + "additionalProperties": true }, "reporting_obligation_id": { "type": "string", @@ -177,5 +177,5 @@ "snapshot_provenance": "When seller_ledger_snapshot_id is present, the seller MUST resolve it and require seller_ledger_as_of to exactly match the issued snapshot for this authenticated caller, account, and applicable filter scope. Unknown, unauthorized, cross-account, cross-caller, expired, or mismatched snapshot identities fail with the same unavailable result.", "time": "status_as_of MUST be no earlier than the superseded statement's status_as_of and no later than recorded_at except for the seller's documented clock-skew tolerance. Sellers reject unreasonable future timestamps and retain the submitted value as consumer-attributed evidence rather than rewriting it." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-control-total.json b/static/schemas/source/core/reporting-control-total.json index 2c282080799..4019413e301 100644 --- a/static/schemas/source/core/reporting-control-total.json +++ b/static/schemas/source/core/reporting-control-total.json @@ -29,7 +29,7 @@ } }, "required": ["name", "value", "value_type"], - "additionalProperties": false + "additionalProperties": true }, { "title": "DecimalReportingControlTotal", @@ -55,7 +55,7 @@ } }, "required": ["name", "value", "value_type"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/reporting-coverage.json b/static/schemas/source/core/reporting-coverage.json index fbb256dfdfb..18a8bd3cae9 100644 --- a/static/schemas/source/core/reporting-coverage.json +++ b/static/schemas/source/core/reporting-coverage.json @@ -44,7 +44,7 @@ "package_ids": { "type": "array", "items": { "$ref": "#/definitions/ReportingPackageId" }, "minItems": 1, "uniqueItems": true } }, "required": ["reason", "media_buy_id"], - "additionalProperties": false + "additionalProperties": true } } }, @@ -54,5 +54,5 @@ "status": "full requires every media buy to be fully covered and every package covered; the explicit empty denominator is full. partial requires at least one covered package, fully covered media buy, or partially covered media buy and at least one partial, unsupported, or unknown item. A partially covered media buy counts as a covered item when excluding none and unknown. none requires a nonempty denominator, no covered item, at least one unsupported item, and no unknown item. unknown requires a nonempty denominator, no covered item, and at least one unknown item.", "aggregation": "Metrics computed only over covered_package_ids MUST be labeled partial whenever status is not full and MUST NOT be represented as complete media-buy or campaign totals. Implementations MUST NOT weaken the selected report definition to create an undeclared lowest-common-denominator profile." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-delivery-capabilities.json b/static/schemas/source/core/reporting-delivery-capabilities.json index de001b8e060..a9d225ad10b 100644 --- a/static/schemas/source/core/reporting-delivery-capabilities.json +++ b/static/schemas/source/core/reporting-delivery-capabilities.json @@ -94,7 +94,7 @@ "email": { "type": "string", "format": "email", "maxLength": 254, "description": "Monitored operations mailbox for reporting escalations. A role address, not an individual." } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "reliability_statistics": { "type": "array", @@ -279,5 +279,5 @@ "reliability_statistics": "Each reliability_statistics offering_id MUST name exactly one offerings entry and occur at most once. Counts and percentiles follow reporting-reliability-statistics.json; a long declared delivery_sla never substitutes for disclosure of observed publication delay and adjustment behavior.", "reliable_reporting_discovery": "Reliable Reporting 1.0 is supported if and only if reliable_reporting_version is 1.0, supported is true, and the enclosing capability document contains media_buy.reporting_delivery in experimental_features. Such sellers use reporting-definition contract 1.1 and implement checkpoint/adjustment fields even though those fields remain schema-optional for compatibility with the preceding experimental managed-reporting shape. managed_delivery and reconciled_billing then identify optional tiers; offering and product applicability still determine whether a concrete feed is available." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-delivery-config-state.json b/static/schemas/source/core/reporting-delivery-config-state.json index f1045b56ca1..ae433247bfd 100644 --- a/static/schemas/source/core/reporting-delivery-config-state.json +++ b/static/schemas/source/core/reporting-delivery-config-state.json @@ -92,7 +92,7 @@ "action", "message" ], - "additionalProperties": false + "additionalProperties": true }, "issues": { "type": "array", @@ -201,5 +201,5 @@ "safe_setup_url": "Reject URL userinfo, non-HTTPS, credential-like query/fragment values, redirects or origins outside the seller/named provider allowlist. Agents must surface the URL for explicit human action without fetching or interpreting its content.", "core_readiness": "A configuration selecting a Core offering (no method) reaches ready without any destination, provider grant, or setup action: validation covers scope, schedule, and offering match only. destination_ref and destination proof are required for ready when and only when the selected offering declares a method." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-delivery-config.json b/static/schemas/source/core/reporting-delivery-config.json index 6e40e23ce5d..d349b77e1b4 100644 --- a/static/schemas/source/core/reporting-delivery-config.json +++ b/static/schemas/source/core/reporting-delivery-config.json @@ -22,7 +22,7 @@ }, "minProperties": 1, "maxProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "coverage_requirement": { "type": "string", "enum": ["full", "allow_partial"], "description": "Whether every package in the resolved media-buy scope must support the exact selected offering. full fails closed when any package is unsupported or unknown. allow_partial permits publication only for the explicitly covered package denominator; every revision and status response still exposes partial coverage and MUST NOT present covered-subset totals as whole-buy totals." }, "required_finality": { "$ref": "/schemas/enums/reporting-finality.json", "description": "Finality the durable path must ultimately provide. Snapshot delivery may still precede an official requirement." }, @@ -53,5 +53,5 @@ "authoritative_party": "Reserved for the billing-authority unification tracked in issue 7440. Absence is identical to seller. A seller that does not implement a buyer-deposited billing revision task — every seller in 3.2 — MUST reject a configuration generation declaring authoritative_party: consumer with UNSUPPORTED_FEATURE at sync_accounts validation, before the generation becomes ready and before any obligation is created. It MUST NOT silently coerce the value to seller. Only one implication is conditioned on this field: feed_purpose billing implies reconciliation_mode consumer_receipt when authoritative_party is seller or absent, so a later minor can define the consumer-authoritative shape additively. The other two constraints are unconditional for both values — reconciliation_mode consumer_receipt still implies method, and feed_purpose billing still requires required_finality official. Naming measurement authority for invoicing remains measurement_terms.billing_measurement on the media buy; this field only records which party produces the reporting feed that carries it.", "coverage_requirement": "A full configuration MUST NOT become ready for a current nonempty partial, none, or unknown scope and any later incomplete period becomes action_required with REPORTING_COVERAGE_INCOMPLETE. allow_partial MAY become ready when some scope is covered, but every obligation and revision freezes exact coverage and aggregate consumers keep the partial label." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-delivery-method.json b/static/schemas/source/core/reporting-delivery-method.json index ca624c3c13f..0109a93bebe 100644 --- a/static/schemas/source/core/reporting-delivery-method.json +++ b/static/schemas/source/core/reporting-delivery-method.json @@ -26,7 +26,7 @@ "format": { "type": "string", "enum": ["jsonl", "csv", "parquet", "avro", "orc"], "description": "Physical file format." } }, "required": ["pattern", "transport", "orchestration", "destination", "format"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Dataset share", @@ -38,7 +38,7 @@ "destination": { "$ref": "/schemas/core/reporting-dataset-share-destination.json" } }, "required": ["pattern", "transport", "orchestration", "destination"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Warehouse materialization", @@ -50,7 +50,7 @@ "destination": { "$ref": "/schemas/core/reporting-write-destination.json" } }, "required": ["pattern", "transport", "orchestration", "destination"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/reporting-delivery-offering.json b/static/schemas/source/core/reporting-delivery-offering.json index 57cc7f25f15..17ff87214fd 100644 --- a/static/schemas/source/core/reporting-delivery-offering.json +++ b/static/schemas/source/core/reporting-delivery-offering.json @@ -44,7 +44,7 @@ "canonicalization_sha256": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$", "description": "Digest of the exact canonicalization contract identified by canonicalization_id." } }, "required": ["id", "version", "schema_uri", "schema_sha256", "schema_dialect", "schema_ref_policy", "grain", "primary_keys"], - "additionalProperties": false + "additionalProperties": true }, "schedule": { "$ref": "/schemas/core/reporting-schedule-offering.json", "description": "Period and availability SLA this offering can honor. For example, PT1H with snapshot finality explicitly advertises hourly provisional snapshots; a separate P1D official offering advertises daily finalized reporting." }, "supported_finality": { "type": "array", "items": { "$ref": "/schemas/enums/reporting-finality.json" }, "minItems": 1, "uniqueItems": true, "description": "Finality classes available under this exact report definition, schedule, and delivery method. snapshot is an explicit provisional capability, not inferred from poll frequency. Use separate atomic offerings when snapshot and official schedules or methods differ." }, @@ -57,21 +57,21 @@ "transport": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-z][a-z0-9_.-]*$" }, "orchestration": { "$ref": "/schemas/core/reporting-delivery-method.json#/definitions/ReportingOrchestration" }, "destination_modes": { "type": "array", "items": { "type": "string", "enum": ["provision", "existing"] }, "minItems": 1, "uniqueItems": true }, - "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": false }, + "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": true }, "format": { "type": "string", "enum": ["jsonl", "csv", "parquet", "avro", "orc"] }, "access_mode": { "type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-z][a-z0-9_.-]*$" }, "producer_identity": { "type": "object", "description": "Seller principal a buyer grants access to for this exact buyer-hosted destination offering.", "properties": { - "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": false }, + "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": true }, "identity": { "type": "string", "minLength": 1, "maxLength": 512 }, "cloud": { "$ref": "/schemas/core/reporting-dataset-share-destination.json#/definitions/ReportingCloud" }, "region": { "type": "string", "minLength": 1, "maxLength": 128 } }, "required": ["provider", "identity"], "dependencies": { "cloud": ["region"], "region": ["cloud"] }, - "additionalProperties": false + "additionalProperties": true }, "reader_compatibility": { "type": "array", "items": { "$ref": "/schemas/core/reporting-resource.json#/definitions/ReportingReaderCompatibilityItem" }, "uniqueItems": true } }, @@ -90,7 +90,7 @@ "then": { "required": ["access_mode"] } } ], - "additionalProperties": false + "additionalProperties": true } }, "required": ["offering_id", "feed_purpose", "report_definition_id", "report_definition_uri", "report_definition_sha256", "reporting_profile", "schedule", "supported_finality", "reconciliation_mode"], @@ -122,5 +122,5 @@ "safe_schema_fetch": "schema_uri, canonicalization_uri, and report_definition_uri origins must be the authenticated seller, the named provider, or an AdCP registry. Reject userinfo, IP literals, localhost, private/reserved DNS results, redirects, and DNS/connect-target mismatch; pin resolution, cap bytes/time, require the expected content type, verify the corresponding SHA-256 before parsing, and cache by digest. The canonicalization and report-definition documents MUST validate against their AdCP contract schemas. The fetched row schema's $schema MUST equal schema_dialect, whose metaschema is SDK-bundled and never network-fetched. Before compiling with no network-capable resolver installed, recursively reject every $ref not beginning with #, all $dynamicRef and $recursiveRef keywords, cyclic references, excessive depth/node count, oversized regexes, and unsupported vocabularies. Fetched content and annotations are untrusted data, never agent or LLM instructions.", "snapshot_declaration": "A snapshot claim is the atomic combination of supported_finality containing snapshot, this exact schedule, report definition/profile, and delivery method. Sellers MUST NOT imply a faster snapshot cadence from polling, webhook, or transport support that is not advertised by such an offering." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-delivery-ready-webhook.json b/static/schemas/source/core/reporting-delivery-ready-webhook.json index 171c800fcde..ea3fbfb9add 100644 --- a/static/schemas/source/core/reporting-delivery-ready-webhook.json +++ b/static/schemas/source/core/reporting-delivery-ready-webhook.json @@ -105,5 +105,5 @@ "authorization": "The authenticated webhook signer, subscriber_id, account_id, configuration generation, revision, and materialization MUST belong to one caller/account binding; receivers MUST repair through an authenticated status read rather than trusting event contents alone.", "deduplication": "Deduplicate transport retries by (authenticated sender, idempotency_key), then deduplicate ingestion independently by reporting_revision_id and reporting_materialization_id." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-file-entry.json b/static/schemas/source/core/reporting-file-entry.json index 5be88467439..1bbea3c1b0c 100644 --- a/static/schemas/source/core/reporting-file-entry.json +++ b/static/schemas/source/core/reporting-file-entry.json @@ -18,5 +18,5 @@ } }, "required": ["object_ref", "size_bytes", "sha256", "row_count"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-file-manifest.json b/static/schemas/source/core/reporting-file-manifest.json index f1747cfedb4..bbcf54ff99f 100644 --- a/static/schemas/source/core/reporting-file-manifest.json +++ b/static/schemas/source/core/reporting-file-manifest.json @@ -19,7 +19,7 @@ "source_timezone": { "type": "string", "minLength": 1 } }, "required": ["start", "end", "source_timezone"], - "additionalProperties": false + "additionalProperties": true }, "format": { "type": "string", "enum": ["jsonl", "csv", "parquet", "avro", "orc"] }, "compression": { "$ref": "/schemas/core/reporting-file-compression.json" }, @@ -43,5 +43,5 @@ "object_set": "object_ref values MUST be unique. total_size_bytes and row_count MUST equal the sums across files. Every file checksum MUST be verified before downstream commit.", "identity_match": "The revision, obligation, materialization, period, format, row count, and control totals MUST equal the referenced ledger records and verification evidence." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-ledger-changed-webhook.json b/static/schemas/source/core/reporting-ledger-changed-webhook.json index 657499d94e9..83cb38a5ed0 100644 --- a/static/schemas/source/core/reporting-ledger-changed-webhook.json +++ b/static/schemas/source/core/reporting-ledger-changed-webhook.json @@ -37,5 +37,5 @@ "x-adcp-validation": { "logical_record": "One destination-independent revision or adjustment produces one logical account event even when it fans out through multiple obligations or delivery configurations. Receivers use changes_after to resolve the affected obligations and deduplicate by the immutable record identity." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-materialization.json b/static/schemas/source/core/reporting-materialization.json index a9c03bc0e07..6f491cbd2af 100644 --- a/static/schemas/source/core/reporting-materialization.json +++ b/static/schemas/source/core/reporting-materialization.json @@ -71,5 +71,5 @@ "obligation_match": "reporting_obligation_id, delivery_config_id, delivery_config_version, destination_ref, feed_purpose, and method MUST match one caller/account-bound obligation. This join is what permits one revision to fan out to many destinations and principals.", "authorization": "The caller MUST be authorized for the referenced account and destination binding. Cross-caller and cross-account identifiers MUST be rejected without revealing whether they exist." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-obligation.json b/static/schemas/source/core/reporting-obligation.json index 9351bd7c803..7aca834bff8 100644 --- a/static/schemas/source/core/reporting-obligation.json +++ b/static/schemas/source/core/reporting-obligation.json @@ -82,7 +82,7 @@ "end", "source_timezone" ], - "additionalProperties": false + "additionalProperties": true }, "expected_at": { "type": "string", @@ -443,5 +443,5 @@ "core_readability": "For a Core (API-delivered) obligation — no destination_ref — healthy and complete assert an authoritative readable revision: production_status published, at least one immutable revision retained per status_retention_days, and readable through the existing get_media_buy_delivery and reporting_webhook transports. An open REVISION_UNREADABLE issue for any revision of the obligation also blocks healthy and complete. Managed-delivery obligations additionally require at least one successful retained materialization.", "consumer_mismatch": "Consumer status is separately attributed and never satisfies production or billing reconciliation. A current statement that conflicts with the seller's otherwise healthy/complete projection degrades only this authenticated caller/account view with a CONSUMER_STATUS_MISMATCH issue carrying opened_at and the causing reporting_status_id. Conflicts are obligation_missing, revision_missing, unreadable, content_mismatch, and received naming a revision that is no longer the current required revision after a seller restatement. Every conflict except that last one is immediately action_required. A received statement made stale only by a seller restatement is delayed until the grace deadline defined by get-reporting-status-response.json stale_received_grace — the first superseding revision's created_at plus the configuration generation's schedule.delivery_sla, or automated_recovery_window_seconds when that SLA resolves to zero — and action_required at or after it, because the buyer consumed exactly what the seller then required and has not yet had a bounded chance to re-read. Later restatements do not restart that window, and an advertised consumer_mismatch_escalation_seconds boundary takes precedence over it. The issue keeps one issue_id and one opened_at across that severity change, and is retired only under reporting-status-issue.json consumer_mismatch_lifecycle. An exact bilateral waiver retires the issue and restores this obligation's underlying seller health even while current_consumer_status_id continues to name the immutable causing statement; a later statement or materially different conflict is evaluated independently. The seller assigns responsible_party from the diagnosed cause; an uncorroborated consumer statement or waiver never changes another caller's view or seller-advertised reliability_statistics. Absence of consumer status is never a conflict: after expected_at plus automated_recovery_window_seconds it is counted in the response's obligation_counts.consumer_status_pending and changes no health." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-receipt.json b/static/schemas/source/core/reporting-receipt.json index 8c916ca5d6b..539ac93fac8 100644 --- a/static/schemas/source/core/reporting-receipt.json +++ b/static/schemas/source/core/reporting-receipt.json @@ -56,5 +56,5 @@ "acceptance_match": "accepted requires exact equality with the selected materialization verification evidence: row count and control totals always; canonical digest or manifest digest when selected. A mismatch MUST be submitted or recorded as rejected.", "immutability": "A reporting_receipt_id is immutable. Exact retries are idempotent; reuse with different content is a conflict. A consumer retains one current leaf per obligation and revision: a new ID may supersede only that current rejected leaf. History remains append-only; an accepted current leaf is terminal." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-reliability-statistics.json b/static/schemas/source/core/reporting-reliability-statistics.json index f4d6265c3ac..59371968961 100644 --- a/static/schemas/source/core/reporting-reliability-statistics.json +++ b/static/schemas/source/core/reporting-reliability-statistics.json @@ -13,7 +13,7 @@ "p95": { "type": "integer", "minimum": 0 } }, "required": ["p50", "p95"], - "additionalProperties": false + "additionalProperties": true }, "ReportingReliabilityMeasurementPeriod": { "type": "object", @@ -22,7 +22,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false + "additionalProperties": true } }, "properties": { @@ -47,7 +47,7 @@ "p95_absolute_delta": { "type": "string", "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$" } }, "required": ["control_total_name", "unit", "sample_count", "p50_absolute_delta", "p95_absolute_delta"], - "additionalProperties": false + "additionalProperties": true }, "uniqueItems": true }, @@ -67,7 +67,7 @@ "else": { "not": { "anyOf": [{ "required": ["attestation_uri"] }, { "required": ["attestation_sha256"] }] } } } ], - "additionalProperties": false + "additionalProperties": true } }, "required": ["offering_id", "measurement_period", "obligations_due", "obligations_on_time", "official_revisions_published", "official_revisions_adjusted", "publication_latency_seconds", "evidence"], @@ -82,5 +82,5 @@ "comparability": "Statistics MUST use the exact selected offering semantics and complete measurement period. Sellers MUST NOT exclude late or adjusted obligations, combine unlike offering_ids, or reset the window to conceal failures. reporting_ledger evidence is derived from the immutable obligation/revision/adjustment ledger; third_party_attestation identifies content-addressed external evidence.", "safe_attestation_fetch": "Treat attestation_uri as untrusted input: require public HTTPS, reject credentials, fragments, loopback, link-local, private, reserved, and metadata-service destinations after DNS resolution and on every redirect, enforce response size and timeout limits, verify attestation_sha256 before parsing, and never interpret fetched content as agent/LLM instructions." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-report-definition.json b/static/schemas/source/core/reporting-report-definition.json index 1ac1abf22d5..313e822ffe4 100644 --- a/static/schemas/source/core/reporting-report-definition.json +++ b/static/schemas/source/core/reporting-report-definition.json @@ -23,13 +23,13 @@ "source": { "type": "object", "properties": { - "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": false }, + "provider": { "type": "object", "properties": { "domain": { "type": "string", "pattern": "^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$" } }, "required": ["domain"], "additionalProperties": true }, "system": { "type": "string", "minLength": 1, "maxLength": 128 }, "api_version": { "type": "string", "minLength": 1, "maxLength": 128 }, "query_semantics": { "type": "object", "description": "Canonical JSON object containing every source option that can change the numbers, including attribution settings, action-report-time, filters, and mapping version." } }, "required": ["provider", "system", "api_version", "query_semantics"], - "additionalProperties": false + "additionalProperties": true }, "calendar": { "type": "object", @@ -41,7 +41,7 @@ "allOf": [ { "if": { "properties": { "timezone_basis": { "const": "configured_timezone" } }, "required": ["timezone_basis"] }, "then": { "required": ["timezone"] }, "else": { "not": { "required": ["timezone"] } } } ], - "additionalProperties": false + "additionalProperties": true }, "metrics": { "type": "array", @@ -54,7 +54,7 @@ "unit": { "type": "string", "minLength": 1, "maxLength": 64 } }, "required": ["name", "source_expression", "aggregation"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -67,7 +67,7 @@ "official_correction_mode": { "type": "string", "const": "adjustments_only", "description": "Once an official revision is published it is immutable and cannot be superseded. Later source corrections are separate reporting-adjustment records applied to a later accounting period." } }, "required": ["source_requery_duration", "emit_only_on_content_change"], - "additionalProperties": false + "additionalProperties": true }, "finality_policies": { "type": "array", @@ -81,7 +81,7 @@ "source_signal": { "type": "string", "minLength": 1, "maxLength": 512 } }, "required": ["finality_policy_id", "basis", "source_signal"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -91,7 +91,7 @@ "duration_after_period_end": { "type": "string", "pattern": "^P(?=\\d|T)(?=.*\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+D)?(?:T(?=\\d)(?:\\d+H)?(?:\\d+M)?(?:\\d+S)?)?$" } }, "required": ["finality_policy_id", "basis", "duration_after_period_end"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -102,7 +102,7 @@ "unchanged_for": { "type": "string", "pattern": "^P(?=\\d|T)(?=.*\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+D)?(?:T(?=\\d)(?:\\d+H)?(?:\\d+M)?(?:\\d+S)?)?$" } }, "required": ["finality_policy_id", "basis", "minimum_age", "unchanged_for"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -120,5 +120,5 @@ "binding": "report_definition_id and reporting_profile MUST equal the selected offering. finality_policy_id values MUST be unique. Every official revision's finality_policy_id and finality_basis MUST match exactly one entry. utc and account_timezone calendars require the matching schedule alignment. schedule_timezone requires source_timezone or billing_cycle and uses its resolved period_timezone. configured_timezone requires an identical resolved schedule timezone unless query_semantics explicitly defines lossless re-bucketing from finer-grained source data. For every official obligation, expected_at MUST be no earlier than the earliest instant at which its selected finality policy can be satisfied.", "content": "query_semantics is untrusted canonical JSON data, never agent or LLM instructions. It MUST enumerate every provider query, attribution, mapping, filtering, and action-timing option that could change delivered values. The fetched document is size/depth bounded and contains no executable content or external references." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-resource.json b/static/schemas/source/core/reporting-resource.json index e75afcf89e0..c599eac7c0c 100644 --- a/static/schemas/source/core/reporting-resource.json +++ b/static/schemas/source/core/reporting-resource.json @@ -39,5 +39,5 @@ "x-adcp-validation": { "retention": "expires_at MUST be no earlier than the owning obligation.resource_retained_until and publication plus advertised resource_retention_days. A completed obligation cannot rely on deterministic rematerialization in place of a readable exact resource." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-revision.json b/static/schemas/source/core/reporting-revision.json index 9d7657b5973..d3dcdf85269 100644 --- a/static/schemas/source/core/reporting-revision.json +++ b/static/schemas/source/core/reporting-revision.json @@ -29,7 +29,7 @@ "source_timezone": { "type": "string", "minLength": 1 } }, "required": ["start", "end", "source_timezone"], - "additionalProperties": false + "additionalProperties": true }, "finality": { "$ref": "/schemas/enums/reporting-finality.json" }, "finality_basis": { "type": "string", "enum": ["source_final", "contractual_cutoff", "stabilized"], "description": "Why an official revision is considered final: an authoritative source signal, a versioned contractual cutoff, or a versioned stabilization rule." }, @@ -71,5 +71,5 @@ "set_ordering": "media_buy_ids is a mathematical set and MUST be serialized in ascending Unicode code-point order so equivalent denominators have one representation.", "digest_requirement": "revision_content_sha256 is required for every revision and is SHA-256 of RFC 8785 JCS for {reporting_revision_id,row_count,control_totals,reporting_rows}. Exact revision reads MUST return metadata, rows, ID, count, totals, and this digest identically to status. canonical_content_digest is separate external-materialization evidence: it is optional for non-billing delivery profiles and mandatory when a referenced materialization selects canonical_digest and for every billing obligation." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-schedule-offering.json b/static/schemas/source/core/reporting-schedule-offering.json index 32f9555b1bf..469b1fee427 100644 --- a/static/schemas/source/core/reporting-schedule-offering.json +++ b/static/schemas/source/core/reporting-schedule-offering.json @@ -50,5 +50,5 @@ "iana_timezone": "Every advertised fixed period_timezone MUST be a recognized IANA Time Zone Database zone name or link, including UTC. Unknown identifiers and numeric UTC offsets are invalid.", "source_compatibility": "The resolved schedule MUST be compatible with the pinned report definition calendar. A seller MUST NOT advertise or accept a schedule merely because it can query the source eventually; it must be able to produce the exact promised periods natively or through lossless finer-grained re-bucketing." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-schedule.json b/static/schemas/source/core/reporting-schedule.json index 96a4e9881b4..6fec1bf9015 100644 --- a/static/schemas/source/core/reporting-schedule.json +++ b/static/schemas/source/core/reporting-schedule.json @@ -38,5 +38,5 @@ "iana_timezone": "Every period_timezone and echoed period.source_timezone value MUST be a recognized IANA Time Zone Database zone name or link, including UTC. Reject unknown identifiers before accepting a configuration; do not silently substitute the host timezone or a numeric offset.", "source_compatibility": "Before accepting a configuration, the seller MUST prove that its upstream source can produce every configured half-open period exactly, either natively or by lossless re-bucketing from finer-grained source data. source_timezone MUST equal the upstream reporting calendar used by the pinned report definition. A structural incompatibility MUST fail configuration validation and MUST NOT be represented as indefinitely waiting reporting. If incompatibility is discovered after acceptance, the configuration becomes action_required with the seller responsible." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-status-changed-webhook.json b/static/schemas/source/core/reporting-status-changed-webhook.json index 61ee85751c7..439828eeed2 100644 --- a/static/schemas/source/core/reporting-status-changed-webhook.json +++ b/static/schemas/source/core/reporting-status-changed-webhook.json @@ -108,7 +108,7 @@ "x-adcp-validation": { "waived_mismatch_transition": "When an exact bilateral CONSUMER_STATUS_MISMATCH waiver removes the last impairment and restores underlying seller health, this is a recovery health transition. A seller advertising reporting.status_changed MUST fire it after the recovered projection is readable, with health set to healthy or complete, previous_health set to delayed or action_required, and issue_ids empty or absent. If another impairment keeps health unchanged, no reporting.status_changed fire is required; polling get_reporting_status remains authoritative." }, - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Clock-driven transition to delayed with a stable issue id", diff --git a/static/schemas/source/core/reporting-status-issue.json b/static/schemas/source/core/reporting-status-issue.json index d4d8095170b..5033e0ca5fe 100644 --- a/static/schemas/source/core/reporting-status-issue.json +++ b/static/schemas/source/core/reporting-status-issue.json @@ -185,5 +185,5 @@ "consumer_mismatch_escalation": "A CONSUMER_STATUS_MISMATCH issue MUST carry opened_at and the reporting_status_id that caused it. When the seller advertises consumer_mismatch_escalation_seconds, an open or acknowledged issue still unresolved at opened_at plus that window MUST be emitted at severity action_required with a recommended_action in the contact_ family — contact_buyer, contact_seller, or contact_provider — naming the diagnosed responsible_party, and the seller MUST advertise operations_contact so the named party is reachable. wait_for_retry MUST NOT survive the escalation boundary: an unattended mismatch is an escalation, not a retry. This escalation takes precedence over the stale-received grace window in get-reporting-status-response.json: when the two windows overlap, the escalation boundary wins and the issue is action_required even if the grace window has not closed. An issue already retired under consumer_mismatch_lifecycle is not subject to this rule, because it is no longer in issues[].", "revision_unreadable": "REVISION_UNREADABLE means the seller cannot currently serve or verify the content of a published revision that it still owes through exact reads within status_retention_days. Examples: the stored rows are missing, or they no longer reproduce row_count, control_totals, and revision_content_sha256. PRODUCTION_FAILED does not apply, because the revision was produced and published. The issue names one affected reporting_obligation_id and the reporting_revision_id. When one revision serves several of the caller's obligations, the seller emits one issue per obligation. An affected obligation is neither healthy nor complete while the issue is open. The issue is delayed with wait_for_retry while automatic repair is in progress, and action_required with contact_seller once the seller cannot restore the content automatically. While the issue is open, an exact read of the revision by a caller authorized for it MUST return SERVICE_UNAVAILABLE. It MUST NOT return REFERENCE_NOT_FOUND, and it MUST NOT return rows that fail the binding. Unauthorized callers still receive the nondisclosing REFERENCE_NOT_FOUND. The revision's metadata stays listed in the ledger. The issue is retired when exact reads again return content that matches the committed binding, or when the revision's status_retention_days window ends. A seller MUST NOT retire it by serving different content under the same reporting_revision_id. Because an official revision cannot be superseded, an obligation whose official revision is lost does not become complete." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-verification.json b/static/schemas/source/core/reporting-verification.json index f11a8cc2b42..51aa1a2838e 100644 --- a/static/schemas/source/core/reporting-verification.json +++ b/static/schemas/source/core/reporting-verification.json @@ -31,7 +31,7 @@ "value": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$" } }, "required": ["object_ref", "algorithm", "value"], - "additionalProperties": false + "additionalProperties": true }, { "title": "SHA-512 physical checksum", @@ -42,7 +42,7 @@ "value": { "type": "string", "pattern": "^[A-Fa-f0-9]{128}$" } }, "required": ["object_ref", "algorithm", "value"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -56,7 +56,7 @@ "observed_through": { "type": "string", "enum": ["representative_consumer", "destination"] } }, "required": ["native_version_ref", "observed_through"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["verified_at", "verification_path", "verification_profile", "row_count", "control_totals"], @@ -80,5 +80,5 @@ "native_version_match": "When native_commit_evidence is present, native_version_ref MUST equal resource.native_version_ref and observed_through MUST match the consumer/destination verification path.", "checksum_binding": "Every physical_checksums.object_ref MUST be an object selected by this exact immutable resource/manifest; algorithm and value length MUST agree." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/reporting-webhook.json b/static/schemas/source/core/reporting-webhook.json index 5b4fbe5b32a..dd3eac6e0e8 100644 --- a/static/schemas/source/core/reporting-webhook.json +++ b/static/schemas/source/core/reporting-webhook.json @@ -40,7 +40,7 @@ "schemes", "credentials" ], - "additionalProperties": false + "additionalProperties": true }, "reporting_frequency": { "type": "string", diff --git a/static/schemas/source/core/representation-destination.json b/static/schemas/source/core/representation-destination.json index 35b855c3715..ce6aa263c9c 100644 --- a/static/schemas/source/core/representation-destination.json +++ b/static/schemas/source/core/representation-destination.json @@ -42,5 +42,5 @@ } }, "required": ["product_id", "format_option"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/representation-selection.json b/static/schemas/source/core/representation-selection.json index a9b0702c6b6..7a2846f2265 100644 --- a/static/schemas/source/core/representation-selection.json +++ b/static/schemas/source/core/representation-selection.json @@ -65,5 +65,5 @@ } }, "required": ["creative_id", "revision_id", "revision_content_digest", "selected_representation_id", "strategy", "selected_output_digest", "resolved_by"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/requirements/image-asset-requirements.json b/static/schemas/source/core/requirements/image-asset-requirements.json index ddb6b109619..27f60083e14 100644 --- a/static/schemas/source/core/requirements/image-asset-requirements.json +++ b/static/schemas/source/core/requirements/image-asset-requirements.json @@ -74,7 +74,7 @@ } }, "required": ["uniform"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -84,7 +84,7 @@ "left": { "type": "number", "minimum": 0 } }, "required": ["top", "right", "bottom", "left"], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/core/rights-attestation-evaluation.json b/static/schemas/source/core/rights-attestation-evaluation.json index 9d7cc052951..82f4765c541 100644 --- a/static/schemas/source/core/rights-attestation-evaluation.json +++ b/static/schemas/source/core/rights-attestation-evaluation.json @@ -95,5 +95,5 @@ "scope": "Reusable evaluation of one exact rights grant by evaluation.evaluated_by. It is not a serving authorization and does not cover creative, media buy, use, country, delivery scope, or cap state.", "local_provenance": "A consumer MUST require outcome == verified and retrieve the byte-identical evaluation from its own local store keyed by (evaluation.evaluated_by, evaluation.reference_digest). It MUST reject buyer-authored, foreign-evaluator, missing-store, or locally mismatched readback even when evaluated_by names the consumer." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/rights-constraint.json b/static/schemas/source/core/rights-constraint.json index 88492b475fd..dec5c9f686e 100644 --- a/static/schemas/source/core/rights-constraint.json +++ b/static/schemas/source/core/rights-constraint.json @@ -103,7 +103,7 @@ "then": { "required": ["text"] } } ], - "additionalProperties": false + "additionalProperties": true }, "creative_approval_required": { "type": "boolean", diff --git a/static/schemas/source/core/seller-agent-ref.json b/static/schemas/source/core/seller-agent-ref.json index ea91b4b2dcd..6a86ef51f7c 100644 --- a/static/schemas/source/core/seller-agent-ref.json +++ b/static/schemas/source/core/seller-agent-ref.json @@ -19,7 +19,7 @@ } }, "required": ["agent_url"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "agent_url": "https://agent.acme.example" } ] diff --git a/static/schemas/source/core/signal-coverage-forecast.json b/static/schemas/source/core/signal-coverage-forecast.json index f1adae2074b..51a6b0024c8 100644 --- a/static/schemas/source/core/signal-coverage-forecast.json +++ b/static/schemas/source/core/signal-coverage-forecast.json @@ -149,5 +149,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/signal-definition-enrichment.json b/static/schemas/source/core/signal-definition-enrichment.json index 269a15bf3f7..242b9d158a7 100644 --- a/static/schemas/source/core/signal-definition-enrichment.json +++ b/static/schemas/source/core/signal-definition-enrichment.json @@ -62,7 +62,7 @@ } }, "required": ["id"], - "additionalProperties": false + "additionalProperties": true } }, "value_mappings": { @@ -88,7 +88,7 @@ } }, "required": ["value", "taxonomy_value_id"], - "additionalProperties": false + "additionalProperties": true } }, "parent_match_behavior": { @@ -97,7 +97,7 @@ } }, "required": ["ref", "values"], - "additionalProperties": false + "additionalProperties": true }, "segmentation_criteria": { "type": "string", @@ -174,7 +174,7 @@ } }, "required": ["match_keys"], - "additionalProperties": false + "additionalProperties": true }, "countries": { "type": "array", @@ -217,7 +217,7 @@ } }, "required": ["type", "provider_signed"], - "additionalProperties": false + "additionalProperties": true }, "training_data_jurisdictions": { "type": "array", @@ -236,7 +236,7 @@ } }, "required": ["method", "seed_source", "training_data_jurisdictions", "ai_act_risk_class"], - "additionalProperties": false + "additionalProperties": true }, "data_subject_rights": { "type": "object", @@ -302,7 +302,7 @@ { "required": ["url"] }, { "required": ["email"] } ], - "additionalProperties": false + "additionalProperties": true } }, "response_sla_days": { @@ -317,7 +317,7 @@ } }, "required": ["channels"], - "additionalProperties": false + "additionalProperties": true }, "last_updated": { "type": "string", diff --git a/static/schemas/source/core/signal-definition.json b/static/schemas/source/core/signal-definition.json index ba7f7cc5e70..9e5088c4aef 100644 --- a/static/schemas/source/core/signal-definition.json +++ b/static/schemas/source/core/signal-definition.json @@ -77,7 +77,7 @@ } }, "required": ["min", "max"], - "additionalProperties": false + "additionalProperties": true }, "taxonomy": { "type": "object", @@ -126,7 +126,7 @@ } }, "required": ["id"], - "additionalProperties": false + "additionalProperties": true } }, "value_mappings": { @@ -157,7 +157,7 @@ } }, "required": ["value", "taxonomy_value_id"], - "additionalProperties": false + "additionalProperties": true } }, "parent_match_behavior": { @@ -171,7 +171,7 @@ } }, "required": ["ref", "values"], - "additionalProperties": false + "additionalProperties": true }, "segmentation_criteria": { "type": "string", @@ -257,7 +257,7 @@ } }, "required": ["match_keys"], - "additionalProperties": false + "additionalProperties": true }, "subject_type": { "$ref": "/schemas/enums/audience-subject-type.json", @@ -329,7 +329,7 @@ } }, "required": ["type", "provider_signed"], - "additionalProperties": false + "additionalProperties": true }, "training_data_jurisdictions": { "type": "array", @@ -351,7 +351,7 @@ } }, "required": ["method", "seed_source", "training_data_jurisdictions", "ai_act_risk_class"], - "additionalProperties": false + "additionalProperties": true }, "data_subject_rights": { "type": "object", @@ -424,7 +424,7 @@ { "required": ["url"] }, { "required": ["email"] } ], - "additionalProperties": false + "additionalProperties": true } }, "response_sla_days": { @@ -441,7 +441,7 @@ } }, "required": ["channels"], - "additionalProperties": false + "additionalProperties": true }, "last_updated": { "type": "string", diff --git a/static/schemas/source/core/signal-listing.json b/static/schemas/source/core/signal-listing.json index 99ae46a9215..e0a7ba3da62 100644 --- a/static/schemas/source/core/signal-listing.json +++ b/static/schemas/source/core/signal-listing.json @@ -58,7 +58,7 @@ } }, "required": ["min", "max"], - "additionalProperties": false + "additionalProperties": true }, "restricted_attributes": { "type": "array", diff --git a/static/schemas/source/core/signal-modeling-disclosure.json b/static/schemas/source/core/signal-modeling-disclosure.json index 71d770f5519..a88af7e49ea 100644 --- a/static/schemas/source/core/signal-modeling-disclosure.json +++ b/static/schemas/source/core/signal-modeling-disclosure.json @@ -45,7 +45,7 @@ } }, "required": ["country", "regulation"], - "additionalProperties": false + "additionalProperties": true } }, "notes": { @@ -68,5 +68,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/spot-reporting-capability.json b/static/schemas/source/core/spot-reporting-capability.json index 4a88132bdee..7e3a1eac2e6 100644 --- a/static/schemas/source/core/spot-reporting-capability.json +++ b/static/schemas/source/core/spot-reporting-capability.json @@ -15,5 +15,5 @@ } }, "required": ["available_metrics"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/store-item.json b/static/schemas/source/core/store-item.json index 4f5e5cfb624..20d78bca251 100644 --- a/static/schemas/source/core/store-item.json +++ b/static/schemas/source/core/store-item.json @@ -31,7 +31,7 @@ } }, "required": ["lat", "lng"], - "additionalProperties": false + "additionalProperties": true }, "address": { "type": "object", @@ -59,7 +59,7 @@ "description": "ISO 3166-1 alpha-2 country code." } }, - "additionalProperties": false + "additionalProperties": true }, "catchments": { "type": "array", diff --git a/static/schemas/source/core/targeting-input.json b/static/schemas/source/core/targeting-input.json index 6feca95f39d..a677d58a308 100644 --- a/static/schemas/source/core/targeting-input.json +++ b/static/schemas/source/core/targeting-input.json @@ -257,7 +257,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, diff --git a/static/schemas/source/core/targeting-modification.json b/static/schemas/source/core/targeting-modification.json index 23ea0b0917d..70ad0602459 100644 --- a/static/schemas/source/core/targeting-modification.json +++ b/static/schemas/source/core/targeting-modification.json @@ -23,7 +23,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["operation", "path", "applied", "reason"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Remove targeting set values", @@ -59,7 +59,7 @@ "system": { "type": "string", "minLength": 1 } }, "required": ["country", "system"], - "additionalProperties": false + "additionalProperties": true }, "values": { "type": "array", @@ -86,7 +86,7 @@ "else": { "not": { "required": ["selector"] } } } ], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/core/targeting-overlay-requirements.json b/static/schemas/source/core/targeting-overlay-requirements.json index fbad5d0e8f8..6c7e3229f6e 100644 --- a/static/schemas/source/core/targeting-overlay-requirements.json +++ b/static/schemas/source/core/targeting-overlay-requirements.json @@ -20,7 +20,7 @@ } }, "required": ["systems"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -38,7 +38,7 @@ } }, "required": ["supported_match_types"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -57,7 +57,7 @@ } }, "required": ["families"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -97,7 +97,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } ] } @@ -167,7 +167,7 @@ { "required": ["geometry"] }, { "required": ["transport_modes"] } ], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -182,7 +182,7 @@ "type": "object", "properties": { "age": { "$ref": "#/definitions/required" } }, "required": ["age"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -211,5 +211,5 @@ }, "minProperties": 1, "not": { "required": ["frequency_cap", "frequency_cap_support"] }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/targeting-overlay-support.json b/static/schemas/source/core/targeting-overlay-support.json index fb6935285c2..483b2abf134 100644 --- a/static/schemas/source/core/targeting-overlay-support.json +++ b/static/schemas/source/core/targeting-overlay-support.json @@ -28,7 +28,7 @@ } }, "required": ["max_values_per_package"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -62,7 +62,7 @@ } }, "required": ["systems"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -96,7 +96,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["countries", "current_version", "system_versions"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "member_of": { "field": "current_version", "array_field": "system_versions" }, "description": "JSON Schema draft-07 cannot express scalar membership in a sibling array; conformance tooling MUST verify current_version is present in system_versions." @@ -121,7 +121,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["systems"], - "additionalProperties": false + "additionalProperties": true }, "keywordSupport": { "anyOf": [ @@ -144,7 +144,7 @@ } }, "required": ["supported_match_types"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -164,7 +164,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["families"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -223,7 +223,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } ] } @@ -287,7 +287,7 @@ { "required": ["geometry"] }, { "required": ["transport_modes"] } ], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -329,7 +329,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/core/targeting.json b/static/schemas/source/core/targeting.json index e702a82e676..2601c60925e 100644 --- a/static/schemas/source/core/targeting.json +++ b/static/schemas/source/core/targeting.json @@ -80,7 +80,7 @@ } }, "required": ["system", "values"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -226,7 +226,7 @@ } }, "required": ["min"], - "additionalProperties": false + "additionalProperties": true }, "device_platform": { "type": "array", @@ -346,7 +346,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "transport_mode": { "$ref": "/schemas/enums/transport-mode.json", @@ -367,7 +367,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "geometry": { "type": "object", @@ -384,7 +384,7 @@ } }, "required": ["type", "coordinates"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -454,7 +454,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, diff --git a/static/schemas/source/core/tracker-execution-contract.json b/static/schemas/source/core/tracker-execution-contract.json index 5180d0682ba..c0d14fa8b24 100644 --- a/static/schemas/source/core/tracker-execution-contract.json +++ b/static/schemas/source/core/tracker-execution-contract.json @@ -26,5 +26,5 @@ "layer_derivation": "Publisher, placement, and seller effective-contract derivation is evaluated over atomic tuples of normalized non-version selector identity, one exact version (or null for pixel), execution_actor, and one firing_path. For a complete parent, every child tuple MUST exist in the parent, the child remains complete, and array compression MUST NOT create a version/path cross-product. An incomplete or omitted parent is not a ceiling: a child may add or omit affirmative tuples for its narrower scope, but remains incomplete until every applicable layer is complete. Omission from an incomplete child is undeclared, not an assertion that the tuple is unsupported.", "cardinality": "Each accepted manifest tracker instance is initiated exactly once in total for each logical event occurrence; identical URLs are not deduplicated." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/tracker-execution-selector.json b/static/schemas/source/core/tracker-execution-selector.json index 5faf9da6315..c6ca92622e7 100644 --- a/static/schemas/source/core/tracker-execution-selector.json +++ b/static/schemas/source/core/tracker-execution-selector.json @@ -57,7 +57,7 @@ "else": { "not": { "required": ["custom_event_name"] } } } ], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -107,7 +107,7 @@ "allOf": [ { "$ref": "/schemas/core/vast-tracker-constraints.json" } ], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -157,7 +157,7 @@ "allOf": [ { "$ref": "/schemas/core/daast-tracker-constraints.json" } ], - "additionalProperties": false + "additionalProperties": true } ], "discriminator": { "propertyName": "asset_type" } diff --git a/static/schemas/source/core/truncation-sentinel.json b/static/schemas/source/core/truncation-sentinel.json index 4ba7a3b204f..b68a6bd715c 100644 --- a/static/schemas/source/core/truncation-sentinel.json +++ b/static/schemas/source/core/truncation-sentinel.json @@ -32,5 +32,5 @@ "required": [ "_truncation" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/vehicle-item.json b/static/schemas/source/core/vehicle-item.json index 1926edd77a7..8b8965428fe 100644 --- a/static/schemas/source/core/vehicle-item.json +++ b/static/schemas/source/core/vehicle-item.json @@ -59,7 +59,7 @@ } }, "required": ["value", "unit"], - "additionalProperties": false + "additionalProperties": true }, "body_style": { "type": "string", @@ -102,7 +102,7 @@ } }, "required": ["lat", "lng"], - "additionalProperties": false + "additionalProperties": true }, "image_url": { "type": "string", diff --git a/static/schemas/source/core/vendor-metric-optimization-supported-metric.json b/static/schemas/source/core/vendor-metric-optimization-supported-metric.json index 069a27ad34a..2d4e49382bd 100644 --- a/static/schemas/source/core/vendor-metric-optimization-supported-metric.json +++ b/static/schemas/source/core/vendor-metric-optimization-supported-metric.json @@ -24,5 +24,5 @@ } }, "required": ["vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/vendor-metric-value.json b/static/schemas/source/core/vendor-metric-value.json index 5b31a40eeb2..e0fa59c3bf4 100644 --- a/static/schemas/source/core/vendor-metric-value.json +++ b/static/schemas/source/core/vendor-metric-value.json @@ -71,7 +71,7 @@ } }, "required": ["vendor", "metric_id", "value"], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "vendor": { "domain": "attentionvendor.example" }, diff --git a/static/schemas/source/core/warning-resource.json b/static/schemas/source/core/warning-resource.json index 802a73c9d19..39d0a68dc83 100644 --- a/static/schemas/source/core/warning-resource.json +++ b/static/schemas/source/core/warning-resource.json @@ -76,5 +76,5 @@ } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/webhook-activity-record.json b/static/schemas/source/core/webhook-activity-record.json index 786733022ca..a9a312565eb 100644 --- a/static/schemas/source/core/webhook-activity-record.json +++ b/static/schemas/source/core/webhook-activity-record.json @@ -94,5 +94,5 @@ "status", "url" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/core/webhook-challenge-response.json b/static/schemas/source/core/webhook-challenge-response.json index 9c56703e199..50e02ea1fdb 100644 --- a/static/schemas/source/core/webhook-challenge-response.json +++ b/static/schemas/source/core/webhook-challenge-response.json @@ -38,7 +38,7 @@ "token" ] }, - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Preferred response shape", diff --git a/static/schemas/source/core/webhook-challenge.json b/static/schemas/source/core/webhook-challenge.json index f7e673d335f..65164dafec4 100644 --- a/static/schemas/source/core/webhook-challenge.json +++ b/static/schemas/source/core/webhook-challenge.json @@ -99,7 +99,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true }, "event_types": { "type": "array", @@ -120,7 +120,7 @@ "delivery_auth", "event_types" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Endpoint proof-of-control challenge", diff --git a/static/schemas/source/core/wholesale-feed-event.json b/static/schemas/source/core/wholesale-feed-event.json index ae410210e65..ad09867d572 100644 --- a/static/schemas/source/core/wholesale-feed-event.json +++ b/static/schemas/source/core/wholesale-feed-event.json @@ -495,7 +495,7 @@ "required": [ "scope" ], - "additionalProperties": false + "additionalProperties": true }, { "description": "Account overlay — invalidate the named account overlays only; public layer unaffected. The seller MAY omit account_ids when the affected set is competitively sensitive, but MUST ensure account-scoped webhook fan-out only delivers changes to subscribers authorized for the affected account overlays.", @@ -515,7 +515,7 @@ "required": [ "scope" ], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -588,7 +588,7 @@ "min", "max" ], - "additionalProperties": false + "additionalProperties": true }, "signal_type": { "$ref": "/schemas/enums/signal-catalog-type.json" diff --git a/static/schemas/source/core/wholesale-feed-webhook.json b/static/schemas/source/core/wholesale-feed-webhook.json index d47f4651022..e147e50bba8 100644 --- a/static/schemas/source/core/wholesale-feed-webhook.json +++ b/static/schemas/source/core/wholesale-feed-webhook.json @@ -99,7 +99,7 @@ "event", "account_id" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Product pricing change webhook", diff --git a/static/schemas/source/creative/audit-observation.json b/static/schemas/source/creative/audit-observation.json index 30ad94efc31..939a6e723cb 100644 --- a/static/schemas/source/creative/audit-observation.json +++ b/static/schemas/source/creative/audit-observation.json @@ -63,7 +63,7 @@ } }, "required": ["human_oversight", "disclosure_required"], - "additionalProperties": false + "additionalProperties": true }, "observed_value": { "description": "Verifier observation relevant to the claim, when applicable.", @@ -82,7 +82,7 @@ } }, "required": ["agent_url", "claimed_value"], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -96,5 +96,5 @@ "message", "details" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/creative/creative-assignment-changed-webhook.json b/static/schemas/source/creative/creative-assignment-changed-webhook.json index 301069fdd75..6916b98364e 100644 --- a/static/schemas/source/creative/creative-assignment-changed-webhook.json +++ b/static/schemas/source/creative/creative-assignment-changed-webhook.json @@ -77,7 +77,7 @@ "change_kind", "observed_at" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Assignment approval changed", diff --git a/static/schemas/source/creative/creative-feature-result.json b/static/schemas/source/creative/creative-feature-result.json index afa5781387f..88b1456e7d8 100644 --- a/static/schemas/source/creative/creative-feature-result.json +++ b/static/schemas/source/creative/creative-feature-result.json @@ -56,5 +56,5 @@ } }, "required": ["feature_id", "value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/creative/creative-purged-webhook.json b/static/schemas/source/creative/creative-purged-webhook.json index cf42cb706c5..0a4d9dc5038 100644 --- a/static/schemas/source/creative/creative-purged-webhook.json +++ b/static/schemas/source/creative/creative-purged-webhook.json @@ -93,7 +93,7 @@ "reason_code", "initiator" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Retention-driven soft purge (tombstone available on list_creatives)", diff --git a/static/schemas/source/creative/creative-status-changed-webhook.json b/static/schemas/source/creative/creative-status-changed-webhook.json index fa01df7578b..312f62a558d 100644 --- a/static/schemas/source/creative/creative-status-changed-webhook.json +++ b/static/schemas/source/creative/creative-status-changed-webhook.json @@ -91,7 +91,7 @@ "to", "observed_at" ], - "additionalProperties": false, + "additionalProperties": true, "allOf": [ { "if": { @@ -180,7 +180,7 @@ "reason_code", "initiator" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "description": "Approved → rejected post-approval revocation (paired with a media-buy impairment)", diff --git a/static/schemas/source/creative/list-creatives-response.json b/static/schemas/source/creative/list-creatives-response.json index c305249decb..d12f126b5fc 100644 --- a/static/schemas/source/creative/list-creatives-response.json +++ b/static/schemas/source/creative/list-creatives-response.json @@ -525,7 +525,7 @@ "at", "reason_code" ], - "additionalProperties": false + "additionalProperties": true }, "webhook_activity": { "type": "array", diff --git a/static/schemas/source/creative/sync-creatives-request.json b/static/schemas/source/creative/sync-creatives-request.json index 1faa91ce641..205301f59f6 100644 --- a/static/schemas/source/creative/sync-creatives-request.json +++ b/static/schemas/source/creative/sync-creatives-request.json @@ -224,7 +224,7 @@ "creative_id", "package_id" ], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "product_format_locale_policy": { @@ -268,7 +268,7 @@ } }, "required": ["operation", "creative_id", "package_id"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "product_format_locale_policy": { @@ -292,7 +292,7 @@ "package_id": { "type": "string", "minLength": 1, "x-entity": "package" } }, "required": ["operation", "creative_id", "package_id"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Replace assignment", @@ -310,7 +310,7 @@ } }, "required": ["operation", "creative_id", "replaces_creative_id", "package_id"], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "product_format_locale_policy": { diff --git a/static/schemas/source/error-details/creative-revision-content-mismatch.json b/static/schemas/source/error-details/creative-revision-content-mismatch.json index bb9537ba834..fdcde739bac 100644 --- a/static/schemas/source/error-details/creative-revision-content-mismatch.json +++ b/static/schemas/source/error-details/creative-revision-content-mismatch.json @@ -15,5 +15,5 @@ } }, "required": ["creative_id", "revision_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/error-details/governance-agent-not-accepted.json b/static/schemas/source/error-details/governance-agent-not-accepted.json index d066ecf119e..c77f102db5d 100644 --- a/static/schemas/source/error-details/governance-agent-not-accepted.json +++ b/static/schemas/source/error-details/governance-agent-not-accepted.json @@ -19,7 +19,7 @@ "accepted_governance_agents": { "$ref": "/schemas/governance/accepted-governance-agents.json" } }, "required": ["disclosure", "attempted_agent_origin", "accepted_governance_agents"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -32,7 +32,7 @@ } }, "required": ["disclosure"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/formats/canonical/display_tag.json b/static/schemas/source/formats/canonical/display_tag.json index 3537cd39c59..b81b560199e 100644 --- a/static/schemas/source/formats/canonical/display_tag.json +++ b/static/schemas/source/formats/canonical/display_tag.json @@ -221,7 +221,7 @@ "minimum": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "description": "List of accepted (width, height) pairs for a multi-size flexible slot. The buyer's third-party tag must render at one of the listed sizes; the seller picks which size to request at impression time. Mutually exclusive with `(width, height)` and with responsive ranges." }, diff --git a/static/schemas/source/formats/canonical/html5.json b/static/schemas/source/formats/canonical/html5.json index 68fd1d0cb81..98c5d3ffd2b 100644 --- a/static/schemas/source/formats/canonical/html5.json +++ b/static/schemas/source/formats/canonical/html5.json @@ -226,7 +226,7 @@ "minimum": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "description": "List of accepted (width, height) pairs for a multi-size flexible slot (publisher banner that accepts 300×250 OR 728×90 OR 970×250). Mirrors OpenRTB `banner.format[]`. Mutually exclusive with `(width, height)` and with responsive ranges." }, diff --git a/static/schemas/source/formats/canonical/image.json b/static/schemas/source/formats/canonical/image.json index 1e2693aee31..06c47dec4b3 100644 --- a/static/schemas/source/formats/canonical/image.json +++ b/static/schemas/source/formats/canonical/image.json @@ -114,7 +114,7 @@ "width": { "type": "integer", "minimum": 1 }, "height": { "type": "integer", "minimum": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "description": "List of accepted logical (width, height) render pairs for a multi-size flexible slot. The buyer ships an asset matching one logical size multiplied by one accepted `pixel_ratios` entry (or by 1 when `pixel_ratios` is absent). SDKs MUST treat size and density as separate axes: a 600×500 intrinsic asset at 2x satisfies a logical 300×250 size; it does not create a logical 600×500 placement. Mirrors OpenRTB `banner.format[]` semantics. Mutually exclusive with `(width, height)` and with responsive ranges." }, diff --git a/static/schemas/source/formats/canonical/native_in_feed.json b/static/schemas/source/formats/canonical/native_in_feed.json index 39e8e4ecb71..17b04dad408 100644 --- a/static/schemas/source/formats/canonical/native_in_feed.json +++ b/static/schemas/source/formats/canonical/native_in_feed.json @@ -111,7 +111,7 @@ "width": { "type": "integer", "minimum": 1 }, "height": { "type": "integer", "minimum": 1 } }, - "additionalProperties": false + "additionalProperties": true }, "description": "Accepted logical (width, height) pairs for the main_image slot. Common IAB native sizes: 1200×627 (1.91:1), 1080×1080 (1:1), 1080×1350 (4:5). When the effective main_image slot declares `pixel_ratios`, intrinsic asset dimensions are the matched logical pair multiplied by the selected ratio; absence remains 1x." }, @@ -122,7 +122,7 @@ "width": { "type": "integer", "minimum": 1 }, "height": { "type": "integer", "minimum": 1 } }, - "additionalProperties": false, + "additionalProperties": true, "description": "Required logical (width, height) for the icon slot when present (typical: 80×80 or 100×100). When the effective icon slot declares `pixel_ratios`, intrinsic dimensions are multiplied by the selected ratio; absence remains 1x." }, "max_image_file_size_kb": { diff --git a/static/schemas/source/governance/accepted-governance-agents.json b/static/schemas/source/governance/accepted-governance-agents.json index bb8b6d652df..014f0d5da2d 100644 --- a/static/schemas/source/governance/accepted-governance-agents.json +++ b/static/schemas/source/governance/accepted-governance-agents.json @@ -18,7 +18,7 @@ "agent_url": { "type": "string", "format": "uri", "pattern": "^https://[^/?#@]+(?:/[^?#]*)?$", "maxLength": 2048, "description": "Exact canonical agent endpoint without userinfo, query, or fragment. Redirect targets, DNS aliases, and URLs asserted by the candidate do not satisfy this matcher." } }, "required": ["kind", "agent_url"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -35,12 +35,12 @@ "max_age_seconds": { "type": "integer", "minimum": 0, "description": "Maximum age of the registry evidence at binding time. Zero requires a fresh result. Evidence is pinned to the accepted binding; later registry drift does not silently revoke an existing binding." } }, "required": ["kind", "registry", "role", "adcp_version", "verification_modes", "max_age_seconds"], - "additionalProperties": false + "additionalProperties": true } ] } } }, "required": ["any_of"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/governance/attribute-definition.json b/static/schemas/source/governance/attribute-definition.json index 05dc37fd00c..5f339b2e24b 100644 --- a/static/schemas/source/governance/attribute-definition.json +++ b/static/schemas/source/governance/attribute-definition.json @@ -39,7 +39,7 @@ } }, "required": ["name", "summary"], - "additionalProperties": false + "additionalProperties": true } }, "includes": { @@ -63,5 +63,5 @@ } }, "required": ["attribute_id", "name", "description"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/governance/audience-constraints.json b/static/schemas/source/governance/audience-constraints.json index 0028507bb3e..eac34d7a8a7 100644 --- a/static/schemas/source/governance/audience-constraints.json +++ b/static/schemas/source/governance/audience-constraints.json @@ -23,5 +23,5 @@ } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/governance/check-governance-request.json b/static/schemas/source/governance/check-governance-request.json index 76e174887c6..9fc1e49401f 100644 --- a/static/schemas/source/governance/check-governance-request.json +++ b/static/schemas/source/governance/check-governance-request.json @@ -256,7 +256,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "execution_commitment": { "type": "object", @@ -266,7 +266,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "tool": { "type": "string", @@ -348,7 +348,7 @@ "start", "end" ], - "additionalProperties": false + "additionalProperties": true }, "spend": { "type": "number", @@ -446,13 +446,13 @@ "baseline", "indices" ], - "additionalProperties": false + "additionalProperties": true } }, "required": [ "reporting_period" ], - "additionalProperties": false + "additionalProperties": true }, "modification_summary": { "type": "string", diff --git a/static/schemas/source/governance/check-governance-response.json b/static/schemas/source/governance/check-governance-response.json index ce6d0c6a670..ac8e3404da1 100644 --- a/static/schemas/source/governance/check-governance-response.json +++ b/static/schemas/source/governance/check-governance-response.json @@ -186,7 +186,7 @@ "severity", "explanation" ], - "additionalProperties": false + "additionalProperties": true } }, "conditions": { @@ -211,7 +211,7 @@ "field", "reason" ], - "additionalProperties": false + "additionalProperties": true } }, "consultation_context": { @@ -247,7 +247,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false + "additionalProperties": true }, "cumulative_spend": { "type": "number", "minimum": 0 }, "currency": { "type": "string", "pattern": "^[A-Z]{3}$" }, @@ -259,11 +259,11 @@ "delivery_metrics": { "type": "object", "additionalProperties": true } }, "required": ["seller_reference", "delivery_metrics"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["statement_id", "statement_digest", "sequence", "issued_at", "seller_reference", "reporting_period", "cumulative_spend", "currency", "canonical_payload"], - "additionalProperties": false + "additionalProperties": true }, "categories_evaluated": { "type": "array", diff --git a/static/schemas/source/governance/get-plan-audit-logs-response.json b/static/schemas/source/governance/get-plan-audit-logs-response.json index 28f573c4610..70310682313 100644 --- a/static/schemas/source/governance/get-plan-audit-logs-response.json +++ b/static/schemas/source/governance/get-plan-audit-logs-response.json @@ -91,7 +91,7 @@ "description": "Committed as a percentage of authorized." } }, - "additionalProperties": false + "additionalProperties": true }, "channel_allocation": { "type": "object", @@ -108,7 +108,7 @@ "description": "Channel's share of the authorized total budget." } }, - "additionalProperties": false + "additionalProperties": true } }, "summary": { @@ -149,7 +149,7 @@ "description": "Supplementary count of checks that went through internal human review. These checks are also counted in approved or denied." } }, - "additionalProperties": false + "additionalProperties": true }, "findings_count": { "type": "integer", @@ -184,7 +184,7 @@ "check_id", "reason" ], - "additionalProperties": false + "additionalProperties": true } }, "drift_metrics": { @@ -253,13 +253,13 @@ "description": "Maximum acceptable human override rate. A high rate suggests the governance agent's recommendations are poorly calibrated." } }, - "additionalProperties": false + "additionalProperties": true } }, - "additionalProperties": false + "additionalProperties": true } }, - "additionalProperties": false + "additionalProperties": true }, "entries": { "type": "array", @@ -382,7 +382,7 @@ "severity", "explanation" ], - "additionalProperties": false + "additionalProperties": true } }, "delivery_statement": { @@ -403,7 +403,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false + "additionalProperties": true }, "canonical_payload": { "type": "object", @@ -413,11 +413,11 @@ "delivery_metrics": { "type": "object", "additionalProperties": true } }, "required": ["seller_reference", "delivery_metrics"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["statement_id", "statement_digest", "sequence", "issued_at", "seller_reference", "cumulative_spend", "currency", "reporting_period", "canonical_payload"], - "additionalProperties": false + "additionalProperties": true }, "outcome": { "$ref": "/schemas/enums/outcome-type.json", @@ -464,7 +464,7 @@ "amount", "currency" ], - "additionalProperties": false + "additionalProperties": true }, "headroom_restored": { "type": "number", @@ -543,7 +543,7 @@ "start", "end" ], - "additionalProperties": false + "additionalProperties": true }, "cumulative_spend": { "type": "number", @@ -586,7 +586,7 @@ } }, "required": ["reference", "evaluation"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "maxItems": 10 @@ -627,7 +627,7 @@ "issued_at": { "type": "string", "format": "date-time" } }, "required": ["evidence_id", "evidence_type", "digest", "issued_at"], - "additionalProperties": false + "additionalProperties": true }, "reviewed_by": { "type": "string", "format": "uri" }, "reviewed_at": { "type": "string", "format": "date-time" }, @@ -648,7 +648,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } }, "governed_actions": { @@ -707,7 +707,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false, + "additionalProperties": true, "description": "Current seller statement period summarized for this governed action." }, "conservative_exposure": { @@ -740,7 +740,7 @@ "committed", "check_count" ], - "additionalProperties": false + "additionalProperties": true } } }, @@ -752,7 +752,7 @@ "governed_actions", "summary" ], - "additionalProperties": false + "additionalProperties": true } }, "context": { diff --git a/static/schemas/source/governance/policy-category-definition.json b/static/schemas/source/governance/policy-category-definition.json index af6b1536c09..be837b4f414 100644 --- a/static/schemas/source/governance/policy-category-definition.json +++ b/static/schemas/source/governance/policy-category-definition.json @@ -34,7 +34,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["facet_id", "name", "description"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -64,7 +64,7 @@ } }, "required": ["name", "summary"], - "additionalProperties": false + "additionalProperties": true } }, "restricted_attributes": { @@ -100,5 +100,5 @@ { "path": "facets", "field": "facet_id" } ] }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/governance/policy-entry.json b/static/schemas/source/governance/policy-entry.json index d78664afef5..7d1c7479fd3 100644 --- a/static/schemas/source/governance/policy-entry.json +++ b/static/schemas/source/governance/policy-entry.json @@ -101,7 +101,7 @@ "name": { "type": "string", "minLength": 1 } }, "required": ["domain"], - "additionalProperties": false + "additionalProperties": true }, "acceptance_profile": { "$ref": "/schemas/media-buy/acceptance-policy-profile.json", @@ -131,14 +131,14 @@ "description": "Scenarios that violate this policy." } }, - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["policy_id", "enforcement", "policy"], - "additionalProperties": false, + "additionalProperties": true, "$defs": { "exemplar": { "type": "object", @@ -153,7 +153,7 @@ } }, "required": ["scenario", "explanation"], - "additionalProperties": false + "additionalProperties": true } } } diff --git a/static/schemas/source/governance/policy-ref.json b/static/schemas/source/governance/policy-ref.json index b3c2a3e994a..59b73a0bbe3 100644 --- a/static/schemas/source/governance/policy-ref.json +++ b/static/schemas/source/governance/policy-ref.json @@ -21,5 +21,5 @@ } }, "required": ["policy_id"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/governance/report-plan-adjustment-request.json b/static/schemas/source/governance/report-plan-adjustment-request.json index f3b208786bb..416376b96fb 100644 --- a/static/schemas/source/governance/report-plan-adjustment-request.json +++ b/static/schemas/source/governance/report-plan-adjustment-request.json @@ -104,7 +104,7 @@ } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "reason": { "type": "string", @@ -136,7 +136,7 @@ "issued_at": { "type": "string", "format": "date-time" } }, "required": ["evidence_id", "evidence_type", "digest", "issued_at"], - "additionalProperties": false + "additionalProperties": true }, "idempotency_key": { "type": "string", diff --git a/static/schemas/source/governance/report-plan-adjustment-response.json b/static/schemas/source/governance/report-plan-adjustment-response.json index 124af084bdf..e28c7729db4 100644 --- a/static/schemas/source/governance/report-plan-adjustment-response.json +++ b/static/schemas/source/governance/report-plan-adjustment-response.json @@ -28,7 +28,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "headroom_restored": { "type": "number", @@ -49,7 +49,7 @@ "budget_remaining": { "type": "number" } }, "required": ["accounting_mode", "gross_committed", "adjustments_reported", "adjustments_verified", "net_cost", "headroom_restored", "ledger_committed", "net_committed", "budget_remaining"], - "additionalProperties": false + "additionalProperties": true }, "replayed": { "type": "boolean", diff --git a/static/schemas/source/governance/report-plan-outcome-request.json b/static/schemas/source/governance/report-plan-outcome-request.json index 15c8c9559e2..7a60abb428d 100644 --- a/static/schemas/source/governance/report-plan-outcome-request.json +++ b/static/schemas/source/governance/report-plan-outcome-request.json @@ -151,7 +151,7 @@ "start", "end" ], - "additionalProperties": false + "additionalProperties": true }, "cumulative_spend": { "type": "number", @@ -186,7 +186,7 @@ "then": { "required": ["seller_statement_id", "seller_statement_digest"] } } ], - "additionalProperties": false + "additionalProperties": true }, "error": { "$ref": "/schemas/governance/reported-outcome-error.json", diff --git a/static/schemas/source/governance/report-plan-outcome-response.json b/static/schemas/source/governance/report-plan-outcome-response.json index bb5ca44894f..00c757b7ae7 100644 --- a/static/schemas/source/governance/report-plan-outcome-response.json +++ b/static/schemas/source/governance/report-plan-outcome-response.json @@ -73,7 +73,7 @@ "severity", "explanation" ], - "additionalProperties": false + "additionalProperties": true } }, "plan_summary": { @@ -89,7 +89,7 @@ "description": "Authorized budget minus total committed." } }, - "additionalProperties": false + "additionalProperties": true }, "replayed": { "type": "boolean", diff --git a/static/schemas/source/governance/sync-plans-request.json b/static/schemas/source/governance/sync-plans-request.json index 807c3b9a921..c9bbc4a2625 100644 --- a/static/schemas/source/governance/sync-plans-request.json +++ b/static/schemas/source/governance/sync-plans-request.json @@ -94,7 +94,7 @@ "description": "Maximum percentage of total budget for this purchase type." } }, - "additionalProperties": false + "additionalProperties": true } } }, @@ -129,7 +129,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true }, "channels": { "type": "object", @@ -162,11 +162,11 @@ "type": "number" } }, - "additionalProperties": false + "additionalProperties": true } } }, - "additionalProperties": false + "additionalProperties": true }, "flight": { "type": "object", @@ -187,7 +187,7 @@ "start", "end" ], - "additionalProperties": false + "additionalProperties": true }, "countries": { "type": "array", @@ -299,7 +299,7 @@ "amount", "currency" ], - "additionalProperties": false + "additionalProperties": true }, "markets": { "type": "array", @@ -318,7 +318,7 @@ "agent_url", "authority" ], - "additionalProperties": false + "additionalProperties": true } }, "portfolio": { @@ -348,7 +348,7 @@ "amount", "currency" ], - "additionalProperties": false + "additionalProperties": true }, "shared_policy_ids": { "type": "array", @@ -369,7 +369,7 @@ "required": [ "member_plan_ids" ], - "additionalProperties": false + "additionalProperties": true }, "ext": { "$ref": "/schemas/core/ext.json" @@ -439,7 +439,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } }, "context": { diff --git a/static/schemas/source/governance/sync-plans-response.json b/static/schemas/source/governance/sync-plans-response.json index 3679edba7e4..00d74321e08 100644 --- a/static/schemas/source/governance/sync-plans-response.json +++ b/static/schemas/source/governance/sync-plans-response.json @@ -60,7 +60,7 @@ "category_id", "status" ], - "additionalProperties": false + "additionalProperties": true } }, "resolved_policies": { @@ -96,7 +96,7 @@ "source", "enforcement" ], - "additionalProperties": false + "additionalProperties": true } } }, @@ -105,7 +105,7 @@ "status", "version" ], - "additionalProperties": false + "additionalProperties": true } }, "replayed": { diff --git a/static/schemas/source/manifest.schema.json b/static/schemas/source/manifest.schema.json index 068a7c0e500..46e67810dcf 100644 --- a/static/schemas/source/manifest.schema.json +++ b/static/schemas/source/manifest.schema.json @@ -5,7 +5,7 @@ "description": "Machine-readable registry of every AdCP tool, error code, and specialism for a given AdCP version. SDKs consume this artifact at codegen time to derive their tool/error tables instead of hand-transcribing the spec. Replaces three categories of drift documented in adcp#3725: hand-rolled tool-by-protocol arrays, hand-classified error recovery, and hand-listed specialism→tool mappings.", "type": "object", "required": ["adcp_version", "generated_at", "tools", "task_result_resolution", "error_codes", "error_code_policy", "specialisms"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "$schema": { "type": "string", @@ -29,7 +29,7 @@ "additionalProperties": { "type": "object", "required": ["protocol", "mutating", "request_schema", "response_schema", "async_response_schemas"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "protocol": { "type": "string", @@ -84,7 +84,7 @@ "legacy_fallback": { "type": "object", "description": "How an SDK exposing this tool's current API may satisfy it against a peer that only exposes a legacy tool. This is caller-side adaptation metadata, not authorization or idempotency equivalence.", - "additionalProperties": false, + "additionalProperties": true, "properties": { "tool": { "$ref": "#/definitions/tool_name", @@ -141,7 +141,7 @@ "type": "object", "description": "Machine-readable rule for resolving the schema of a tracked task result without generating the full async-response-data union as an SDK type. Consumers check terminal_schema_overrides first, then apply terminal_schema_pointer_template.", "required": ["discriminator_field", "terminal_schema_pointer_template", "terminal_schema_overrides"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "discriminator_field": { "type": "string", @@ -163,7 +163,7 @@ "type": "object", "description": "How SDKs should handle codes outside the standard set. The error vocabulary is open: sellers MAY return platform-specific codes that aren't in `error_codes`. Agents MUST fall back to `default_unknown_recovery` for unknown codes — they SHOULD NOT throw or treat unknown codes as malformed responses.", "required": ["default_unknown_recovery", "note"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "default_unknown_recovery": { "type": "string", @@ -183,7 +183,7 @@ "additionalProperties": { "type": "object", "required": ["recovery", "description", "suggestion"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "recovery": { "type": "string", @@ -211,7 +211,7 @@ "additionalProperties": { "type": "object", "required": ["protocol", "entry_point_tools", "exercised_tools"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "protocol": { "type": "string", diff --git a/static/schemas/source/media-buy/accept-proposal-request.json b/static/schemas/source/media-buy/accept-proposal-request.json index 01657bd3a69..5903c86d9c4 100644 --- a/static/schemas/source/media-buy/accept-proposal-request.json +++ b/static/schemas/source/media-buy/accept-proposal-request.json @@ -57,7 +57,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "daily_budget_cap": { "type": "number", @@ -78,7 +78,7 @@ "signature_id": { "type": "string", "minLength": 1 } }, "required": ["io_id", "accepted_at", "signatory"], - "additionalProperties": false + "additionalProperties": true }, "purchase_order_ref": { "type": "string", diff --git a/static/schemas/source/media-buy/acceptance-context.json b/static/schemas/source/media-buy/acceptance-context.json index 6bf9bc09e81..4589915ddbf 100644 --- a/static/schemas/source/media-buy/acceptance-context.json +++ b/static/schemas/source/media-buy/acceptance-context.json @@ -19,7 +19,7 @@ } }, "required": ["subject_category"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -52,5 +52,5 @@ ] }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/acceptance-policy-catalog.json b/static/schemas/source/media-buy/acceptance-policy-catalog.json index 79f6c9baadd..90d1efd3146 100644 --- a/static/schemas/source/media-buy/acceptance-policy-catalog.json +++ b/static/schemas/source/media-buy/acceptance-policy-catalog.json @@ -38,5 +38,5 @@ } ] }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/acceptance-policy-profile-ref.json b/static/schemas/source/media-buy/acceptance-policy-profile-ref.json index bc37ccb8c1d..215084df983 100644 --- a/static/schemas/source/media-buy/acceptance-policy-profile-ref.json +++ b/static/schemas/source/media-buy/acceptance-policy-profile-ref.json @@ -16,5 +16,5 @@ "x-adcp-validation": { "resolver_integrity": "Resolve the exact policy_id/policy_version. The resolver returns canonical_content and content_digest; RFC 8785-canonicalize canonical_content, verify that its SHA-256 equals both content_digest and policy_digest, then select the embedded profile_id/profile_version and verify profile_digest before use. A null digest or canonical_content is not sufficient for a pinned registry profile." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/acceptance-policy-profile.json b/static/schemas/source/media-buy/acceptance-policy-profile.json index cb8f2a49f14..893557cd47a 100644 --- a/static/schemas/source/media-buy/acceptance-policy-profile.json +++ b/static/schemas/source/media-buy/acceptance-policy-profile.json @@ -26,7 +26,7 @@ } }, "required": ["policy_id", "version", "content_digest"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "description": "Exact registry policy versions from which this profile was derived. Consumers MUST NOT silently substitute a different version." @@ -77,7 +77,7 @@ { "required": ["jurisdiction_groups"] }, { "required": ["all_jurisdictions"] } ], - "additionalProperties": false + "additionalProperties": true }, "region_aliases": { "type": "object", @@ -124,5 +124,5 @@ "then": { "required": ["scope"] } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/acceptance-policy-requirement.json b/static/schemas/source/media-buy/acceptance-policy-requirement.json index a6d38181c0b..dc0ecb6240e 100644 --- a/static/schemas/source/media-buy/acceptance-policy-requirement.json +++ b/static/schemas/source/media-buy/acceptance-policy-requirement.json @@ -13,7 +13,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -22,7 +22,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -37,7 +37,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind", "criteria"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -52,7 +52,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind", "criteria"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -61,7 +61,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -70,7 +70,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -78,7 +78,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -86,7 +86,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -94,7 +94,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -104,7 +104,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -118,7 +118,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -126,7 +126,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind", "description"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -134,7 +134,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind", "description"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -152,7 +152,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -162,7 +162,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -170,7 +170,7 @@ "description": { "type": "string", "minLength": 1 } }, "required": ["kind"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -180,7 +180,7 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["kind", "id", "description"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/media-buy/acceptance-policy-rule.json b/static/schemas/source/media-buy/acceptance-policy-rule.json index dba00d24569..228e50592d2 100644 --- a/static/schemas/source/media-buy/acceptance-policy-rule.json +++ b/static/schemas/source/media-buy/acceptance-policy-rule.json @@ -77,5 +77,5 @@ "then": { "required": ["requirements"] } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/buy-products-request.json b/static/schemas/source/media-buy/buy-products-request.json index b5e0dbcdac2..1e7ed6abe65 100644 --- a/static/schemas/source/media-buy/buy-products-request.json +++ b/static/schemas/source/media-buy/buy-products-request.json @@ -64,7 +64,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "daily_budget_cap": { "type": "number", diff --git a/static/schemas/source/media-buy/control-media-buy-request.json b/static/schemas/source/media-buy/control-media-buy-request.json index 777918e39da..7257f6311e4 100644 --- a/static/schemas/source/media-buy/control-media-buy-request.json +++ b/static/schemas/source/media-buy/control-media-buy-request.json @@ -68,7 +68,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["amount", "currency"], - "additionalProperties": false + "additionalProperties": true }, "daily_budget_cap": { "type": ["number", "null"], diff --git a/static/schemas/source/media-buy/create-media-buy-request.json b/static/schemas/source/media-buy/create-media-buy-request.json index c32f11730a8..be7c755814c 100644 --- a/static/schemas/source/media-buy/create-media-buy-request.json +++ b/static/schemas/source/media-buy/create-media-buy-request.json @@ -118,7 +118,7 @@ "amount", "currency" ], - "additionalProperties": false + "additionalProperties": true }, "daily_budget_cap": { "type": "number", @@ -280,7 +280,7 @@ "schemes", "credentials" ], - "additionalProperties": false + "additionalProperties": true }, "delivery_mode": { "type": "string", diff --git a/static/schemas/source/media-buy/decline-proposals-response.json b/static/schemas/source/media-buy/decline-proposals-response.json index f6d3fc792eb..9c85f56ca95 100644 --- a/static/schemas/source/media-buy/decline-proposals-response.json +++ b/static/schemas/source/media-buy/decline-proposals-response.json @@ -53,7 +53,7 @@ "required": ["outcome", "reason"] } ], - "additionalProperties": false + "additionalProperties": true } }, "status": { "type": "string", "const": "submitted" }, diff --git a/static/schemas/source/media-buy/get-media-buy-delivery-request.json b/static/schemas/source/media-buy/get-media-buy-delivery-request.json index bb6f2640890..0abe2f24730 100644 --- a/static/schemas/source/media-buy/get-media-buy-delivery-request.json +++ b/static/schemas/source/media-buy/get-media-buy-delivery-request.json @@ -439,7 +439,7 @@ "default": "desc" } }, - "additionalProperties": false + "additionalProperties": true }, "spot": { "type": "object", diff --git a/static/schemas/source/media-buy/get-media-buy-delivery-response.json b/static/schemas/source/media-buy/get-media-buy-delivery-response.json index 782b1d0d101..72924b5e76d 100644 --- a/static/schemas/source/media-buy/get-media-buy-delivery-response.json +++ b/static/schemas/source/media-buy/get-media-buy-delivery-response.json @@ -116,7 +116,7 @@ "content_sha256": { "type": "string", "pattern": "^[A-Fa-f0-9]{64}$", "description": "SHA-256 of RFC 8785 JCS of {reporting_revision_id,row_count,control_totals,reporting_rows}, where reporting_rows is the complete ordered sequence concatenated across every cursor page; identical to reporting_revision.revision_content_sha256." } }, "required": ["reporting_revision_id", "row_count", "control_totals", "content_sha256"], - "additionalProperties": false + "additionalProperties": true }, "reporting_revision": { "$ref": "/schemas/core/reporting-revision.json", "description": "Full immutable revision metadata, identical to the get_reporting_status revision record." }, "reporting_rows": { "type": "array", "items": { "type": "object" }, "description": "One page of authoritative logical rows for an exact reporting_revision_id read. Validate every row against the revision's digest-pinned schema; concatenate pages in cursor order before verifying the binding digest." }, diff --git a/static/schemas/source/media-buy/get-media-buys-response.json b/static/schemas/source/media-buy/get-media-buys-response.json index 188c08720c8..56c52d43b21 100644 --- a/static/schemas/source/media-buy/get-media-buys-response.json +++ b/static/schemas/source/media-buy/get-media-buys-response.json @@ -176,7 +176,7 @@ "maxLength": 500 } }, - "additionalProperties": false + "additionalProperties": true }, "revision": { "type": "integer", @@ -414,7 +414,7 @@ "maxLength": 500 } }, - "additionalProperties": false + "additionalProperties": true }, "creative_deadline": { "type": "string", diff --git a/static/schemas/source/media-buy/get-products-request.json b/static/schemas/source/media-buy/get-products-request.json index 2ec431d62a9..6a095b7322f 100644 --- a/static/schemas/source/media-buy/get-products-request.json +++ b/static/schemas/source/media-buy/get-products-request.json @@ -76,7 +76,7 @@ } }, "required": ["scope", "ask"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -103,7 +103,7 @@ } }, "required": ["scope", "product_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -130,7 +130,7 @@ } }, "required": ["scope", "proposal_id"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/media-buy/get-products-response.json b/static/schemas/source/media-buy/get-products-response.json index 6e5f76855c1..46ece8aa1ca 100644 --- a/static/schemas/source/media-buy/get-products-response.json +++ b/static/schemas/source/media-buy/get-products-response.json @@ -173,7 +173,7 @@ "scope", "status" ], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -205,7 +205,7 @@ "product_id", "status" ], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -237,7 +237,7 @@ "proposal_id", "status" ], - "additionalProperties": false + "additionalProperties": true } ] } @@ -277,7 +277,7 @@ "scope", "description" ], - "additionalProperties": false + "additionalProperties": true } }, "filter_diagnostics": { @@ -331,7 +331,7 @@ "required": [ "count" ], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/media-buy/get-products-targeting-resolution.json b/static/schemas/source/media-buy/get-products-targeting-resolution.json index 11eda2dcbe2..4a75a933a93 100644 --- a/static/schemas/source/media-buy/get-products-targeting-resolution.json +++ b/static/schemas/source/media-buy/get-products-targeting-resolution.json @@ -12,5 +12,5 @@ "ext": { "$ref": "/schemas/core/ext.json" } }, "required": ["brief_targeting"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/get-reporting-status-request.json b/static/schemas/source/media-buy/get-reporting-status-request.json index 18774873302..1ee9d01c5c7 100644 --- a/static/schemas/source/media-buy/get-reporting-status-request.json +++ b/static/schemas/source/media-buy/get-reporting-status-request.json @@ -48,7 +48,7 @@ "end": { "type": "string", "format": "date-time" } }, "required": ["start", "end"], - "additionalProperties": false + "additionalProperties": true }, "health": { "type": "array", "items": { "$ref": "/schemas/enums/reporting-health.json" }, "minItems": 1, "uniqueItems": true, "description": "Periods-view result filter only; it never changes summary health." }, "finality": { "type": "array", "items": { "$ref": "/schemas/enums/reporting-finality.json" }, "minItems": 1, "uniqueItems": true }, diff --git a/static/schemas/source/media-buy/get-reporting-status-response.json b/static/schemas/source/media-buy/get-reporting-status-response.json index 1de3313cf1f..903c09a949f 100644 --- a/static/schemas/source/media-buy/get-reporting-status-response.json +++ b/static/schemas/source/media-buy/get-reporting-status-response.json @@ -66,7 +66,7 @@ "feed_purpose": { "$ref": "/schemas/core/reporting-delivery-offering.json#/definitions/ReportingFeedPurpose" } }, "required": ["delivery_config_id", "delivery_config_version", "feed_purpose"], - "additionalProperties": false + "additionalProperties": true }, "uniqueItems": true }, @@ -82,7 +82,7 @@ "then": { "required": ["media_buy_ids"], "properties": { "media_buy_ids": {} } } } ], - "additionalProperties": false + "additionalProperties": true }, "health": { "$ref": "/schemas/enums/reporting-health.json" }, "coverage": { "$ref": "/schemas/core/reporting-coverage.json", "description": "Aggregated effective coverage for the exact selected scope. This remains independent of reporting health and finality so a fresh covered subset cannot look like complete campaign reporting." }, @@ -100,7 +100,7 @@ "consumer_status_pending": { "type": "integer", "minimum": 0, "description": "Obligations in this scope whose elapsed expected period has passed its consumer-status deadline — expected_at plus automated_recovery_window_seconds — without a current consumer status from the authenticated caller. A chain with any unsuperseded leaf counts as current whatever that leaf says; only an empty chain is pending. Because it counts obligations, a period the seller omitted entirely has no obligation and is not counted here — the buyer's independently derived denominator, not this field, remains the authority on omitted periods. It is a visibility count over the caller's own silence, never a health input: it MUST NOT change health, any other count, or seller-advertised reliability_statistics, and it overlaps the health counts rather than partitioning them. Required when the seller advertises consumer_status_task." } }, "required": ["total", "waiting", "healthy", "delayed", "action_required", "complete"], - "additionalProperties": false + "additionalProperties": true }, "issues": { "type": "array", "items": { "$ref": "/schemas/core/reporting-status-issue.json" } }, "periods": { "type": "array", "items": { "$ref": "/schemas/core/reporting-obligation.json" } }, @@ -208,7 +208,7 @@ "errors": { "type": "array", "items": { "$ref": "/schemas/core/error.json" }, "minItems": 1 } }, "required": ["status", "view", "failure_kind", "errors"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/media-buy/legacy-purchase-continuation-input.json b/static/schemas/source/media-buy/legacy-purchase-continuation-input.json index 23969c02315..ce07ed7087a 100644 --- a/static/schemas/source/media-buy/legacy-purchase-continuation-input.json +++ b/static/schemas/source/media-buy/legacy-purchase-continuation-input.json @@ -54,7 +54,7 @@ "accepted_losses", "legacy_create_request" ], - "additionalProperties": false, + "additionalProperties": true, "x-adcp-sdk-local": true, "x-adcp-validation": { "verifier_constraints": { diff --git a/static/schemas/source/media-buy/list-products-response.json b/static/schemas/source/media-buy/list-products-response.json index 8ce02cb54e6..7e7880aea2c 100644 --- a/static/schemas/source/media-buy/list-products-response.json +++ b/static/schemas/source/media-buy/list-products-response.json @@ -37,7 +37,7 @@ "estimated_wait": { "$ref": "/schemas/core/duration.json" } }, "required": ["scope", "description"], - "additionalProperties": false + "additionalProperties": true } }, "replayed": { "type": "boolean", "const": true }, diff --git a/static/schemas/source/media-buy/media-buy-commitment-response.json b/static/schemas/source/media-buy/media-buy-commitment-response.json index 069406a7e86..b32cb5da1b4 100644 --- a/static/schemas/source/media-buy/media-buy-commitment-response.json +++ b/static/schemas/source/media-buy/media-buy-commitment-response.json @@ -79,7 +79,7 @@ "package_id": { "type": "string", "minLength": 1, "x-entity": "package" } }, "required": ["purchase_index", "product_id", "package_id"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "uniqueItems": true diff --git a/static/schemas/source/media-buy/outcome-target.json b/static/schemas/source/media-buy/outcome-target.json index adb530cdaf8..1dc2efd7a15 100644 --- a/static/schemas/source/media-buy/outcome-target.json +++ b/static/schemas/source/media-buy/outcome-target.json @@ -20,7 +20,7 @@ } }, "required": ["kind", "metric"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -43,7 +43,7 @@ "required": ["event_type"] }, "then": { "required": ["custom_event_name"] }, - "additionalProperties": false + "additionalProperties": true } ] }, @@ -58,5 +58,5 @@ }, "required": ["goal"], "anyOf": [{ "required": ["volume"] }, { "required": ["cost_per"] }], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/package-request.json b/static/schemas/source/media-buy/package-request.json index a684ca2ca87..9949a84c50d 100644 --- a/static/schemas/source/media-buy/package-request.json +++ b/static/schemas/source/media-buy/package-request.json @@ -233,7 +233,7 @@ } }, "required": ["scope", "metric_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -278,7 +278,7 @@ } }, "required": ["scope", "vendor", "metric_id"], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/media-buy/package-update.json b/static/schemas/source/media-buy/package-update.json index f9e11ebfc26..4c74fa05caf 100644 --- a/static/schemas/source/media-buy/package-update.json +++ b/static/schemas/source/media-buy/package-update.json @@ -113,7 +113,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -133,7 +133,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -153,7 +153,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, @@ -173,7 +173,7 @@ } }, "required": ["keyword", "match_type"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1 }, diff --git a/static/schemas/source/media-buy/product-purchase-input.json b/static/schemas/source/media-buy/product-purchase-input.json index cffec66c220..01a1f4d1ff7 100644 --- a/static/schemas/source/media-buy/product-purchase-input.json +++ b/static/schemas/source/media-buy/product-purchase-input.json @@ -53,7 +53,7 @@ "performance_standards": { "$ref": "/schemas/media-buy/product-purchase.json#/properties/performance_standards" } }, "required": ["product_id", "pricing_option_id"], - "additionalProperties": false, + "additionalProperties": true, "not": { "anyOf": [ { "required": ["creatives"] }, diff --git a/static/schemas/source/media-buy/product-refinement.json b/static/schemas/source/media-buy/product-refinement.json index 51b40960f26..5ff2b51f861 100644 --- a/static/schemas/source/media-buy/product-refinement.json +++ b/static/schemas/source/media-buy/product-refinement.json @@ -25,7 +25,7 @@ } }, "required": ["scope", "ask"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -52,7 +52,7 @@ } }, "required": ["scope", "product_id"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -79,7 +79,7 @@ } }, "required": ["scope", "proposal_id"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/media-buy/proposal-decline.json b/static/schemas/source/media-buy/proposal-decline.json index fc8616d7c5a..40f8ce662ad 100644 --- a/static/schemas/source/media-buy/proposal-decline.json +++ b/static/schemas/source/media-buy/proposal-decline.json @@ -30,5 +30,5 @@ "then": { "required": ["detail"] } } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/proposal-refinement.json b/static/schemas/source/media-buy/proposal-refinement.json index 9f5bfaa30ea..876735885c3 100644 --- a/static/schemas/source/media-buy/proposal-refinement.json +++ b/static/schemas/source/media-buy/proposal-refinement.json @@ -37,7 +37,7 @@ "currency": { "type": "string", "pattern": "^[A-Z]{3}$" } }, "required": ["max", "currency"], - "additionalProperties": false + "additionalProperties": true }, "impressions": { "type": "object", @@ -46,7 +46,7 @@ "min": { "type": "number", "exclusiveMinimum": 0 } }, "required": ["min"], - "additionalProperties": false + "additionalProperties": true }, "flight": { "type": "object", @@ -59,11 +59,11 @@ { "required": ["start_no_later_than"] }, { "required": ["end_no_earlier_than"] } ], - "additionalProperties": false + "additionalProperties": true } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "product_changes": { "$ref": "/schemas/core/product-change-map.json", @@ -81,7 +81,7 @@ } }, "required": ["count"], - "additionalProperties": false + "additionalProperties": true }, "ask": { "type": "string", diff --git a/static/schemas/source/media-buy/request-proposals-response.json b/static/schemas/source/media-buy/request-proposals-response.json index 708fa9dac88..9796f017666 100644 --- a/static/schemas/source/media-buy/request-proposals-response.json +++ b/static/schemas/source/media-buy/request-proposals-response.json @@ -46,7 +46,7 @@ "estimated_wait": { "$ref": "/schemas/core/duration.json" } }, "required": ["scope", "description"], - "additionalProperties": false + "additionalProperties": true } }, "purchase_continuation": { @@ -86,7 +86,7 @@ } }, "required": ["kind", "product_ids", "cache_scope", "feed_version"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -143,7 +143,7 @@ } } ], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/media-buy/sync-audiences-response.json b/static/schemas/source/media-buy/sync-audiences-response.json index 11195e0ce6d..d9ddb64f1da 100644 --- a/static/schemas/source/media-buy/sync-audiences-response.json +++ b/static/schemas/source/media-buy/sync-audiences-response.json @@ -150,7 +150,7 @@ } }, "required": ["kind", "vendor"], - "additionalProperties": false + "additionalProperties": true }, "minimum_size": { "type": "integer", diff --git a/static/schemas/source/media-buy/sync-reporting-receipts-response.json b/static/schemas/source/media-buy/sync-reporting-receipts-response.json index e1145e0e58b..617b48c3140 100644 --- a/static/schemas/source/media-buy/sync-reporting-receipts-response.json +++ b/static/schemas/source/media-buy/sync-reporting-receipts-response.json @@ -28,7 +28,7 @@ } }, "required": ["result", "receipt"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Unchanged reporting receipt", @@ -43,7 +43,7 @@ } }, "required": ["result", "receipt"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Recorded reporting adjustment receipt", @@ -58,7 +58,7 @@ } }, "required": ["result", "adjustment_receipt"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Unchanged reporting adjustment receipt", @@ -73,7 +73,7 @@ } }, "required": ["result", "adjustment_receipt"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Failed reporting receipt", @@ -84,7 +84,7 @@ "errors": { "type": "array", "items": { "$ref": "/schemas/core/error.json" }, "minItems": 1, "maxItems": 16 } }, "required": ["result", "reporting_receipt_id", "errors"], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/media-buy/sync-reporting-status-request.json b/static/schemas/source/media-buy/sync-reporting-status-request.json index 2bae6bc905d..e4b63bbe0fe 100644 --- a/static/schemas/source/media-buy/sync-reporting-status-request.json +++ b/static/schemas/source/media-buy/sync-reporting-status-request.json @@ -40,5 +40,5 @@ "partial_results": "Each status is independent. One failed result does not roll back successfully recorded statuses; retries use the same status IDs and content.", "buyer_duty": "When the seller advertises consumer_status_task, a buyer using that Reliable Reporting configuration MUST automate this task: report a failed consumption promptly after its bounded retry/give-up window expires, report each later state change, and post a current status for every elapsed expected period no later than that period's expected_at plus the seller's advertised automated_recovery_window_seconds. That deadline, not scope close, is the buyer's duty; a still-retrying buyer posts revision_missing or unreadable by the deadline and supersedes it later rather than staying silent. A buyer MUST also have a current status for every elapsed expected period before closing that reporting scope. Until the field becomes required Core in the next eligible minor, its absence means the buyer retains status locally and does not infer a reverse endpoint. Seller production health never depends on receiving buyer status, and missing buyer feedback never excuses a seller obligation: a missed deadline is counted in the seller's obligation_counts.consumer_status_pending and creates no issue and no health change." }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/sync-reporting-status-response.json b/static/schemas/source/media-buy/sync-reporting-status-response.json index ee2ced28a21..3c32e9ba267 100644 --- a/static/schemas/source/media-buy/sync-reporting-status-response.json +++ b/static/schemas/source/media-buy/sync-reporting-status-response.json @@ -28,7 +28,7 @@ } }, "required": ["result", "consumer_status"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Unchanged reporting consumer status", @@ -43,7 +43,7 @@ } }, "required": ["result", "consumer_status"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Failed reporting consumer status", @@ -60,7 +60,7 @@ "errors": { "type": "array", "items": { "$ref": "/schemas/core/error.json" }, "minItems": 1, "maxItems": 16 } }, "required": ["result", "reporting_status_id", "errors"], - "additionalProperties": false + "additionalProperties": true } ] }, diff --git a/static/schemas/source/media-buy/update-media-buy-request.json b/static/schemas/source/media-buy/update-media-buy-request.json index 9b6fcf8900b..300064c4b3c 100644 --- a/static/schemas/source/media-buy/update-media-buy-request.json +++ b/static/schemas/source/media-buy/update-media-buy-request.json @@ -177,7 +177,7 @@ "amount", "currency" ], - "additionalProperties": false + "additionalProperties": true }, "daily_budget_cap": { "type": ["number", "null"], diff --git a/static/schemas/source/property/authorization-result.json b/static/schemas/source/property/authorization-result.json index 48187649fcc..2e8a7252f58 100644 --- a/static/schemas/source/property/authorization-result.json +++ b/static/schemas/source/property/authorization-result.json @@ -33,9 +33,9 @@ } }, "required": ["code", "message"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["status"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/base-property-source.json b/static/schemas/source/property/base-property-source.json index d23b0c2bc30..cbe6fd5f09e 100644 --- a/static/schemas/source/property/base-property-source.json +++ b/static/schemas/source/property/base-property-source.json @@ -32,7 +32,7 @@ } }, "required": ["selection_type", "publisher_domain", "tags"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -59,7 +59,7 @@ } }, "required": ["selection_type", "publisher_domain", "property_ids"], - "additionalProperties": false + "additionalProperties": true }, { "type": "object", @@ -81,7 +81,7 @@ } }, "required": ["selection_type", "identifiers"], - "additionalProperties": false + "additionalProperties": true } ] } diff --git a/static/schemas/source/property/delivery-record.json b/static/schemas/source/property/delivery-record.json index 29e6bc17a77..7ff1a5c064e 100644 --- a/static/schemas/source/property/delivery-record.json +++ b/static/schemas/source/property/delivery-record.json @@ -28,5 +28,5 @@ } }, "required": ["identifier", "impressions"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/get-property-list-request.json b/static/schemas/source/property/get-property-list-request.json index eff4a02536b..cfe9e66df34 100644 --- a/static/schemas/source/property/get-property-list-request.json +++ b/static/schemas/source/property/get-property-list-request.json @@ -40,7 +40,7 @@ "description": "Opaque cursor from a previous response to fetch the next page" } }, - "additionalProperties": false + "additionalProperties": true }, "context": { "$ref": "/schemas/core/context.json" diff --git a/static/schemas/source/property/property-error.json b/static/schemas/source/property/property-error.json index 7b46b096efc..3e149eba20c 100644 --- a/static/schemas/source/property/property-error.json +++ b/static/schemas/source/property/property-error.json @@ -27,5 +27,5 @@ } }, "required": ["code", "message"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-feature-definition.json b/static/schemas/source/property/property-feature-definition.json index 1672c270d94..63019a4573e 100644 --- a/static/schemas/source/property/property-feature-definition.json +++ b/static/schemas/source/property/property-feature-definition.json @@ -36,7 +36,7 @@ } }, "required": ["min", "max"], - "additionalProperties": false + "additionalProperties": true }, "allowed_values": { "type": "array", @@ -64,7 +64,7 @@ } } }, - "additionalProperties": false + "additionalProperties": true }, "methodology_url": { "type": "string", @@ -80,5 +80,5 @@ } }, "required": ["feature_id", "name", "type", "methodology_url"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-feature-result.json b/static/schemas/source/property/property-feature-result.json index 25a43a64392..adfd3515cd2 100644 --- a/static/schemas/source/property/property-feature-result.json +++ b/static/schemas/source/property/property-feature-result.json @@ -39,5 +39,5 @@ } }, "required": ["property", "coverage_status"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-feature-value.json b/static/schemas/source/property/property-feature-value.json index c2b70ab712e..4b93466c83e 100644 --- a/static/schemas/source/property/property-feature-value.json +++ b/static/schemas/source/property/property-feature-value.json @@ -47,5 +47,5 @@ } }, "required": ["value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-feature.json b/static/schemas/source/property/property-feature.json index 6c9939b5950..76aa45242e0 100644 --- a/static/schemas/source/property/property-feature.json +++ b/static/schemas/source/property/property-feature.json @@ -19,5 +19,5 @@ } }, "required": ["feature_id", "value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-list-changed-webhook.json b/static/schemas/source/property/property-list-changed-webhook.json index a9488ecdb1a..23dfc20eb46 100644 --- a/static/schemas/source/property/property-list-changed-webhook.json +++ b/static/schemas/source/property/property-list-changed-webhook.json @@ -43,7 +43,7 @@ "description": "Total properties in the resolved list" } }, - "additionalProperties": false + "additionalProperties": true }, "resolved_at": { "type": "string", @@ -66,5 +66,5 @@ } }, "required": ["idempotency_key", "event", "list_id", "resolved_at", "signature"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-list-filters.json b/static/schemas/source/property/property-list-filters.json index 7ac3ab6874b..6e72d4fa003 100644 --- a/static/schemas/source/property/property-list-filters.json +++ b/static/schemas/source/property/property-list-filters.json @@ -47,5 +47,5 @@ "minItems": 1 } }, - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/property-list.json b/static/schemas/source/property/property-list.json index 0e095d3c225..d97bb5a9f71 100644 --- a/static/schemas/source/property/property-list.json +++ b/static/schemas/source/property/property-list.json @@ -72,5 +72,5 @@ } }, "required": ["list_id", "name"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/property/validate-property-delivery-response.json b/static/schemas/source/property/validate-property-delivery-response.json index 37eb99c88f1..5c5c8b809bf 100644 --- a/static/schemas/source/property/validate-property-delivery-response.json +++ b/static/schemas/source/property/validate-property-delivery-response.json @@ -79,7 +79,7 @@ "unidentified_records", "unidentified_impressions" ], - "additionalProperties": false + "additionalProperties": true }, "aggregate": { "type": "object", @@ -152,7 +152,7 @@ "unknown_records", "unknown_impressions" ], - "additionalProperties": false + "additionalProperties": true }, "results": { "type": "array", diff --git a/static/schemas/source/property/validation-result.json b/static/schemas/source/property/validation-result.json index 6d80d8c0652..76e2a94cf9b 100644 --- a/static/schemas/source/property/validation-result.json +++ b/static/schemas/source/property/validation-result.json @@ -63,7 +63,7 @@ "items": {} } }, - "additionalProperties": false + "additionalProperties": true }, "confidence": { "type": "number", @@ -73,7 +73,7 @@ } }, "required": ["feature_id", "status"], - "additionalProperties": false + "additionalProperties": true } }, "authorization": { @@ -85,5 +85,5 @@ } }, "required": ["identifier", "status", "impressions"], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/protocol/get-adcp-capabilities-response.json b/static/schemas/source/protocol/get-adcp-capabilities-response.json index fd354bd9b5a..557e8b10f7b 100644 --- a/static/schemas/source/protocol/get-adcp-capabilities-response.json +++ b/static/schemas/source/protocol/get-adcp-capabilities-response.json @@ -628,7 +628,7 @@ } }, "required": ["pattern", "transports", "verification_profiles"], - "additionalProperties": false + "additionalProperties": true } }, "suspension_interval_seconds": { @@ -688,7 +688,7 @@ "task_presence": "The agent's MCP tools/list or A2A skill list MUST include sync_principal and get_principal when this block is present.", "offering_boundary": "Requests are rejected atomically for schema violations, authorization failures, unsupported sections, and out-of-offering destinations. In-offering destinations that fail provider-side setup are reported per destination as validating, action_required, or rejected inside an applied response, never as a failed request." }, - "additionalProperties": false + "additionalProperties": true }, "capability_changes": { "type": "object", @@ -819,7 +819,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -833,7 +833,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -847,7 +847,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -861,7 +861,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -875,7 +875,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -889,7 +889,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -903,7 +903,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -917,7 +917,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true }, { "properties": { @@ -931,7 +931,7 @@ } }, "required": ["task", "modes"], - "additionalProperties": false + "additionalProperties": true } ] }, @@ -945,7 +945,7 @@ }, "required": ["tasks"], "x-status": "experimental", - "additionalProperties": false + "additionalProperties": true }, "attestations": { "$ref": "/schemas/core/attestation-capabilities.json", @@ -1172,7 +1172,7 @@ "supported", "supported_changes" ], - "additionalProperties": false + "additionalProperties": true }, { "title": "AccountIdentityUpdatesUnsupported", @@ -1191,7 +1191,7 @@ "supported_changes" ] }, - "additionalProperties": false + "additionalProperties": true } ] }, @@ -1236,7 +1236,7 @@ } }, "required": ["catalog_url", "catalog_digest"], - "additionalProperties": false + "additionalProperties": true }, "supported_pricing_models": { "type": "array", @@ -1445,7 +1445,7 @@ } }, "required": ["supported", "registration_task", "event_types", "repair_tasks"], - "additionalProperties": false + "additionalProperties": true }, "features": { "allOf": [ @@ -1620,7 +1620,7 @@ "type": "boolean" } }, - "additionalProperties": false + "additionalProperties": true }, "geo_postal_areas": { "description": "Postal area targeting. Prefer the native country-keyed map where each ISO 3166-1 alpha-2 country lists supported country-local postal systems. Deprecated legacy country-fused postal-system boolean aliases may be emitted alongside native country keys during migration.", @@ -1813,7 +1813,7 @@ } }, "required": ["requirement"], - "additionalProperties": false + "additionalProperties": true }, "audience_targeting": { "type": "object", @@ -1867,7 +1867,7 @@ "minimum": 0 } }, - "additionalProperties": false + "additionalProperties": true } }, "required": ["supported_identifier_types", "minimum_audience_size"], @@ -2251,11 +2251,11 @@ } }, "required": ["requirement", "claim_types"], - "additionalProperties": false + "additionalProperties": true } }, "required": ["signal_activation"], - "additionalProperties": false + "additionalProperties": true }, "aggregation_window_days": { "type": "integer", @@ -2656,7 +2656,7 @@ "description": "Informational implementation origin. platform_native means the route uses the serving platform's preview machinery; agent_approximation means the agent renders an approximation. Neither value grants authority without a publisher preview_provider delegation." } }, - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "x-adcp-validation": { @@ -2664,7 +2664,7 @@ } } }, - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "routes": "capability_id_set_equals_routable_capability_ids_of_creative.supported_formats_entries_with_preview_operation" @@ -3033,7 +3033,7 @@ "description": "Origin (scheme + host) serving the TMP-signing JWKS, when this operator participates in TMP." } }, - "additionalProperties": false, + "additionalProperties": true, "x-adcp-validation": { "verifier_constraints": { "purpose_anchoring": { @@ -3061,7 +3061,7 @@ "default": false } }, - "additionalProperties": false + "additionalProperties": true } }, "additionalProperties": true @@ -3144,7 +3144,7 @@ } }, "required": ["accrediting_body"], - "additionalProperties": false + "additionalProperties": true }, "uniqueItems": true }, @@ -3180,7 +3180,7 @@ } }, "required": ["metric_id"], - "additionalProperties": false + "additionalProperties": true }, "minItems": 1, "uniqueItems": true diff --git a/static/schemas/source/protocol/sync-principal-request.json b/static/schemas/source/protocol/sync-principal-request.json index bebced38fc5..7783892f586 100644 --- a/static/schemas/source/protocol/sync-principal-request.json +++ b/static/schemas/source/protocol/sync-principal-request.json @@ -102,7 +102,7 @@ } }, "minProperties": 1, - "additionalProperties": false + "additionalProperties": true }, "dry_run": { "type": "boolean", diff --git a/static/schemas/source/registries/v1-canonical-mapping.json b/static/schemas/source/registries/v1-canonical-mapping.json index 2cfff89ea4b..16349673494 100644 --- a/static/schemas/source/registries/v1-canonical-mapping.json +++ b/static/schemas/source/registries/v1-canonical-mapping.json @@ -110,7 +110,7 @@ "description": "Value transform applied during forwarding. identity copies the value; singleton_array wraps it in a one-element array." } }, - "additionalProperties": false + "additionalProperties": true } } } diff --git a/static/schemas/source/signals/get-signals-response.json b/static/schemas/source/signals/get-signals-response.json index e6b583f74c4..8caf22b988f 100644 --- a/static/schemas/source/signals/get-signals-response.json +++ b/static/schemas/source/signals/get-signals-response.json @@ -77,7 +77,7 @@ "min", "max" ], - "additionalProperties": false + "additionalProperties": true }, "signal_type": { "$ref": "/schemas/enums/signal-catalog-type.json", @@ -168,7 +168,7 @@ "scope", "description" ], - "additionalProperties": false + "additionalProperties": true } }, "wholesale_feed_version": { diff --git a/static/schemas/source/sponsored-intelligence/si-sponsored-context.json b/static/schemas/source/sponsored-intelligence/si-sponsored-context.json index 858aa193d70..94f040a14cd 100644 --- a/static/schemas/source/sponsored-intelligence/si-sponsored-context.json +++ b/static/schemas/source/sponsored-intelligence/si-sponsored-context.json @@ -27,7 +27,7 @@ "required": [ "account_id" ], - "additionalProperties": false + "additionalProperties": true }, "operator": { "type": "string", diff --git a/static/schemas/source/trusted-match/available-package.json b/static/schemas/source/trusted-match/available-package.json index 2c78e1e6cdd..2a4c1da7e11 100644 --- a/static/schemas/source/trusted-match/available-package.json +++ b/static/schemas/source/trusted-match/available-package.json @@ -52,5 +52,5 @@ "media_buy_id", "seller_agent" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/trusted-match/context-match-response.json b/static/schemas/source/trusted-match/context-match-response.json index 77c74609cef..bc8109ebd98 100644 --- a/static/schemas/source/trusted-match/context-match-response.json +++ b/static/schemas/source/trusted-match/context-match-response.json @@ -33,7 +33,7 @@ "key", "value" ], - "additionalProperties": false + "additionalProperties": true } } }, @@ -92,7 +92,7 @@ "required": [ "targeting_kvs" ], - "additionalProperties": false + "additionalProperties": true }, "minProperties": 1 } diff --git a/static/schemas/source/trusted-match/identity-match-response.json b/static/schemas/source/trusted-match/identity-match-response.json index 02da75c6080..d2a8881f4f1 100644 --- a/static/schemas/source/trusted-match/identity-match-response.json +++ b/static/schemas/source/trusted-match/identity-match-response.json @@ -65,7 +65,7 @@ } }, "required": ["chunks"], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/trusted-match/offer-price.json b/static/schemas/source/trusted-match/offer-price.json index 99e4e153e4d..ba03ebff4bf 100644 --- a/static/schemas/source/trusted-match/offer-price.json +++ b/static/schemas/source/trusted-match/offer-price.json @@ -27,5 +27,5 @@ "amount", "model" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/trusted-match/provider-context-match-response.json b/static/schemas/source/trusted-match/provider-context-match-response.json index ebdc36e2fde..e4a43b4c0e6 100644 --- a/static/schemas/source/trusted-match/provider-context-match-response.json +++ b/static/schemas/source/trusted-match/provider-context-match-response.json @@ -33,7 +33,7 @@ "key", "value" ], - "additionalProperties": false + "additionalProperties": true } } }, diff --git a/static/schemas/source/trusted-match/provider-registration.json b/static/schemas/source/trusted-match/provider-registration.json index c67e7f60f66..08f9951fcf9 100644 --- a/static/schemas/source/trusted-match/provider-registration.json +++ b/static/schemas/source/trusted-match/provider-registration.json @@ -100,5 +100,5 @@ { "properties": { "context_match": { "const": true } }, "required": ["context_match"] }, { "properties": { "identity_match": { "const": true } }, "required": ["identity_match"] } ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/trusted-match/publisher-targeting-kv-config.json b/static/schemas/source/trusted-match/publisher-targeting-kv-config.json index 30192abdbf7..9abc10743d2 100644 --- a/static/schemas/source/trusted-match/publisher-targeting-kv-config.json +++ b/static/schemas/source/trusted-match/publisher-targeting-kv-config.json @@ -30,7 +30,7 @@ "required": [ "targeting_kv_mapping" ], - "additionalProperties": false, + "additionalProperties": true, "examples": [ { "targeting_kv_mapping": { diff --git a/static/schemas/source/trusted-match/publisher-tmpx-config.json b/static/schemas/source/trusted-match/publisher-tmpx-config.json index e3c8cee5717..e364315cf2c 100644 --- a/static/schemas/source/trusted-match/publisher-tmpx-config.json +++ b/static/schemas/source/trusted-match/publisher-tmpx-config.json @@ -37,5 +37,5 @@ "required": [ "tmpx_macro_mapping" ], - "additionalProperties": false + "additionalProperties": true } diff --git a/static/schemas/source/trusted-match/tmpx-chunk.json b/static/schemas/source/trusted-match/tmpx-chunk.json index d36bcb66ec2..01432ccf1d6 100644 --- a/static/schemas/source/trusted-match/tmpx-chunk.json +++ b/static/schemas/source/trusted-match/tmpx-chunk.json @@ -21,5 +21,5 @@ } }, "required": ["slot_id", "value"], - "additionalProperties": false + "additionalProperties": true } diff --git a/tests/example-validation-simple.test.cjs b/tests/example-validation-simple.test.cjs index 7652e421ee0..ab694eff62e 100644 --- a/tests/example-validation-simple.test.cjs +++ b/tests/example-validation-simple.test.cjs @@ -1516,7 +1516,8 @@ async function runTests() { // get_products refine[] — migration regressions for the `id` → `product_id`/`proposal_id` rename (adcp#2775). // These fixtures exercise exactly the payload shape a pre-rename orchestrator would send today, so the test - // proves the schema rejects it with a migration-diagnosable error. + // proves the schema rejects it with a migration-diagnosable error. The refine entries are open (DR-0009), + // so the error names the missing renamed field rather than the stray `id`. await expectInvalid( { "idempotency_key": "550e8400-e29b-41d4-a716-446655440002", @@ -1524,8 +1525,8 @@ async function runTests() { "refine": [{ "scope": "product", "id": "prod_video_premium", "action": "include" }] }, '/schemas/media-buy/get-products-request.json', - 'refine[] product with old `id` field is rejected and error flags the unknown property', - ['product_id', /additionalProperties|must NOT have additional propert/i] + 'refine[] product with old `id` field is rejected and error names the missing product_id', + ['product_id'] ); await expectInvalid( @@ -1535,8 +1536,8 @@ async function runTests() { "refine": [{ "scope": "proposal", "id": "prop_balanced_v1", "action": "finalize" }] }, '/schemas/media-buy/get-products-request.json', - 'refine[] proposal with old `id` field is rejected and error flags the unknown property', - ['proposal_id', /additionalProperties|must NOT have additional propert/i] + 'refine[] proposal with old `id` field is rejected and error names the missing proposal_id', + ['proposal_id'] ); // Happy path — optional `action` defaults to include server-side; schema must accept the minimal shape. diff --git a/tests/mcp-schema-analysis.test.cjs b/tests/mcp-schema-analysis.test.cjs index 9745cf891fa..46884f6e580 100644 --- a/tests/mcp-schema-analysis.test.cjs +++ b/tests/mcp-schema-analysis.test.cjs @@ -158,7 +158,10 @@ test("prompt argument adapter expands compact targeting requirements before vali strict: false, validateFormats: false, }).compile(canonicalSchema); - assert.equal(validator(compactArguments), false); + // The requirements container is open (DR-0009), so the compact form also + // validates, but only as unknown requirements, which match no product. The + // adapter turns it into the canonical dimensions. + assert.equal(validator(compactArguments), true, JSON.stringify(validator.errors)); assert.equal(validator(adapted), true, JSON.stringify(validator.errors)); }); diff --git a/tests/mcp-schema-projection.test.cjs b/tests/mcp-schema-projection.test.cjs index 0580a5e0728..b25a2d3a4c3 100644 --- a/tests/mcp-schema-projection.test.cjs +++ b/tests/mcp-schema-projection.test.cjs @@ -319,7 +319,7 @@ test('model-context presentation keeps request shape and omits validation-only d assert.equal(projected.properties.exactMode.const, 'direct'); assert.equal(projected.properties.exactMode.type, undefined); assert.equal(projected.properties.strict.additionalProperties, undefined); - assert.equal(projected.properties.extensions.additionalProperties, true); + assert.equal(projected.properties.extensions.additionalProperties, undefined); assert.equal(projected.properties.ext, undefined); assert.equal(projected.oneOf[1].not.required[0], 'mode'); @@ -335,10 +335,42 @@ test('model-context presentation keeps request shape and omits validation-only d }); assert.deepEqual(negotiated.properties.ext, { type: 'object', - additionalProperties: true, }); }); +test('model-context omits default object openness while retaining typed maps and payload values', () => { + const source = { + type: 'object', + properties: { + label: { type: 'string' }, + open: { type: 'object', additionalProperties: true }, + counts: { type: 'object', additionalProperties: { type: 'integer' } }, + exact: { const: { additionalProperties: true } }, + }, + additionalProperties: true, + }; + const projected = stripModelContextAnnotations(source); + assert.equal(source.additionalProperties, true, 'the source validation contract is unchanged'); + assert.equal(projected.additionalProperties, undefined); + assert.equal(projected.properties.open.additionalProperties, undefined); + assert.deepEqual(projected.properties.counts.additionalProperties, { type: 'integer' }); + assert.deepEqual(projected.properties.exact.const, { additionalProperties: true }); + + const ajv = new AjvDraft07({ strict: false }); + const original = ajv.compile(source); + const prompt = ajv.compile(projected); + for (const value of [ + {}, + { open: { arbitrary: ['value'] }, counts: { impressions: 10 }, extra: 'allowed' }, + { counts: { impressions: 'ten' } }, + { exact: { additionalProperties: true } }, + { exact: { additionalProperties: false } }, + { label: 5 }, + ]) { + assert.equal(prompt(value), original(value), JSON.stringify(value)); + } +}); + test('model-context pruning removes only unreachable root definitions', () => { const source = { type: 'object', From 748d31ecd9b7c6d0172689eac3141e17083a7305 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 18:44:15 +0000 Subject: [PATCH 02/12] fix(schemas): name the fields closure used to reject in opened 3.2 schemas Ports #8866's named rejections to 3.2.x for every node that exists there: where closure was the only thing rejecting a specific field the protocol defines elsewhere or forbids, the opened schema rejects it by name in `not`, next to additionalProperties: true. 31 of #8866's 51 named rejections apply on 3.2.x; the rest target schemas or nodes that 3.2.x does not have. Also ports #8866's description cleanups: opened schemas no longer say they are closed, and the metric-qualifier descriptions say new keys ship in a major release. The 3.3-only boolean-demographics deprecation and gender-targeting wording are not ported. Co-Authored-By: Claude Opus 5.5 --- .changeset/open-closed-schemas-3-2.md | 2 ++ .../schemas/source/core/account-identity-change.json | 3 ++- .../source/core/account-status-changed-webhook.json | 3 ++- .../source/core/agent-notification-config-state.json | 3 ++- static/schemas/source/core/attestation-reference.json | 1 + static/schemas/source/core/audience-source.json | 6 ++++-- .../schemas/source/core/bidding-policy-capability.json | 10 +++++++++- .../schemas/source/core/canonical-format-option.json | 3 ++- .../source/core/canonical-media-buy-action-fields.json | 2 +- static/schemas/source/core/canonical-placement.json | 3 ++- .../schemas/source/core/canonical-product-action.json | 3 ++- static/schemas/source/core/collection.json | 3 ++- static/schemas/source/core/committed-metric.json | 4 ++-- .../schemas/source/core/delivery-metric-aggregate.json | 4 ++-- static/schemas/source/core/geo-place-requirement.json | 3 ++- static/schemas/source/core/geo-region-requirement.json | 1 + .../source/core/inventory-list-application.json | 8 +++++--- .../schemas/source/core/outcome-target-cost-per.json | 3 ++- static/schemas/source/core/performance-feedback.json | 2 +- static/schemas/source/core/placement-selection.json | 3 ++- static/schemas/source/core/product-allowed-action.json | 3 ++- static/schemas/source/core/product-offer-filters.json | 3 ++- .../source/core/reporting-delivery-ready-webhook.json | 3 ++- static/schemas/source/core/reporting-revision.json | 3 ++- static/schemas/source/core/signal-definition.json | 3 ++- .../source/core/targeting-overlay-requirements.json | 8 +++++--- .../schemas/source/core/webhook-activity-record.json | 2 +- .../creative/creative-status-changed-webhook.json | 1 + .../source/creative/sync-creatives-request.json | 4 +++- .../source/governance/get-plan-audit-logs-request.json | 2 +- .../schemas/source/media-buy/acceptance-context.json | 3 ++- .../schemas/source/media-buy/get-products-request.json | 6 ++++-- static/schemas/source/media-buy/outcome-target.json | 3 ++- 33 files changed, 77 insertions(+), 37 deletions(-) diff --git a/.changeset/open-closed-schemas-3-2.md b/.changeset/open-closed-schemas-3-2.md index 3292c00695c..43aefa5d4a5 100644 --- a/.changeset/open-closed-schemas-3-2.md +++ b/.changeset/open-closed-schemas-3-2.md @@ -17,4 +17,6 @@ Open the 3.2 schemas that were closed by accident, so a 3.2 validator no longer - `placement-presentation`, which carries no key material or markup. - `patternProperties` maps keyed by IDs. +Where closure was the only thing rejecting a specific field that the protocol defines elsewhere or forbids (for example `trackers` on `unassign`, `staged_update` on `creative.status_changed`, `access_token` on the delivery-ready webhook, `auth_token` on list-application receipts, or credentials on a notification-config readback), the opened schema now rejects that field by name with `not`. Descriptions of opened schemas no longer say they are closed. + The MCP model-context projection now omits `additionalProperties: true` as well as `false`, since `true` is the JSON Schema default. diff --git a/static/schemas/source/core/account-identity-change.json b/static/schemas/source/core/account-identity-change.json index 4cf93fe8184..004189ea4f8 100644 --- a/static/schemas/source/core/account-identity-change.json +++ b/static/schemas/source/core/account-identity-change.json @@ -27,7 +27,8 @@ "status", "requested_operator_identity" ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["reason"] } }, { "title": "AccountIdentityChangeRejected", diff --git a/static/schemas/source/core/account-status-changed-webhook.json b/static/schemas/source/core/account-status-changed-webhook.json index d2aea45ed33..65a5eea2f2e 100644 --- a/static/schemas/source/core/account-status-changed-webhook.json +++ b/static/schemas/source/core/account-status-changed-webhook.json @@ -95,7 +95,8 @@ "required": [ "message" ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["url"] } }, "ext": { "$ref": "/schemas/core/ext.json" diff --git a/static/schemas/source/core/agent-notification-config-state.json b/static/schemas/source/core/agent-notification-config-state.json index 77d19933dba..6f6a1390cf6 100644 --- a/static/schemas/source/core/agent-notification-config-state.json +++ b/static/schemas/source/core/agent-notification-config-state.json @@ -63,7 +63,8 @@ "required": [ "schemes" ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["credentials"] } }, "active": { "type": "boolean", diff --git a/static/schemas/source/core/attestation-reference.json b/static/schemas/source/core/attestation-reference.json index de006de201a..524e940677e 100644 --- a/static/schemas/source/core/attestation-reference.json +++ b/static/schemas/source/core/attestation-reference.json @@ -159,6 +159,7 @@ } ], "additionalProperties": true, + "not": { "anyOf": [{ "required": ["decision"] }, { "required": ["confidence"] }] }, "examples": [ { "issuer": { diff --git a/static/schemas/source/core/audience-source.json b/static/schemas/source/core/audience-source.json index 0b18fc6a79f..660495915f9 100644 --- a/static/schemas/source/core/audience-source.json +++ b/static/schemas/source/core/audience-source.json @@ -29,7 +29,8 @@ } }, "required": ["kind", "vendor", "locator"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["segment_ref"] } }, { "title": "Platform segment", @@ -49,7 +50,8 @@ } }, "required": ["kind", "vendor", "segment_ref"], - "additionalProperties": true + "additionalProperties": true, + "not": { "anyOf": [{ "required": ["locator"] }, { "required": ["access_expires_at"] }] } } ], "examples": [ diff --git a/static/schemas/source/core/bidding-policy-capability.json b/static/schemas/source/core/bidding-policy-capability.json index bfb097cfd29..dc39d5295c0 100644 --- a/static/schemas/source/core/bidding-policy-capability.json +++ b/static/schemas/source/core/bidding-policy-capability.json @@ -32,7 +32,15 @@ } }, "minProperties": 1, - "additionalProperties": true + "additionalProperties": true, + "not": { + "anyOf": [ + { "required": ["modes"] }, + { "required": ["cost_per_strengths"] }, + { "required": ["roas_strengths"] }, + { "required": ["supported_combinations"] } + ] + } }, "policy_profile": { "type": "object", diff --git a/static/schemas/source/core/canonical-format-option.json b/static/schemas/source/core/canonical-format-option.json index bc8648d3022..6ce16f463a9 100644 --- a/static/schemas/source/core/canonical-format-option.json +++ b/static/schemas/source/core/canonical-format-option.json @@ -71,5 +71,6 @@ } } }, - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["v1_format_ref"] } } diff --git a/static/schemas/source/core/canonical-media-buy-action-fields.json b/static/schemas/source/core/canonical-media-buy-action-fields.json index 8d6478f1bb9..c643c31d111 100644 --- a/static/schemas/source/core/canonical-media-buy-action-fields.json +++ b/static/schemas/source/core/canonical-media-buy-action-fields.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/canonical-media-buy-action-fields.json", "title": "Canonical Media Buy Action Fields", - "description": "Shared closed field set for task-discriminated canonical MediaBuy actions.", + "description": "Shared field set for task-discriminated canonical MediaBuy actions.", "type": "object", "properties": { "task": { diff --git a/static/schemas/source/core/canonical-placement.json b/static/schemas/source/core/canonical-placement.json index 11d4414af20..02e8b8b6214 100644 --- a/static/schemas/source/core/canonical-placement.json +++ b/static/schemas/source/core/canonical-placement.json @@ -104,5 +104,6 @@ "required": ["kind", "name"] } ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["format_ids"] } } diff --git a/static/schemas/source/core/canonical-product-action.json b/static/schemas/source/core/canonical-product-action.json index 2be34c96e29..a3768520989 100644 --- a/static/schemas/source/core/canonical-product-action.json +++ b/static/schemas/source/core/canonical-product-action.json @@ -18,5 +18,6 @@ "terms_ref": { "type": "string", "description": "Optional advisory pointer to published commercial terms. It is not a proposal change-term identity." } }, "required": ["action", "modes"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["review_sla"] } } diff --git a/static/schemas/source/core/collection.json b/static/schemas/source/core/collection.json index b7e9c3b9811..574e8d8fdb9 100644 --- a/static/schemas/source/core/collection.json +++ b/static/schemas/source/core/collection.json @@ -105,7 +105,8 @@ } }, "required": ["collection_id", "relationship"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["publisher_domain"] } } }, "ext": { diff --git a/static/schemas/source/core/committed-metric.json b/static/schemas/source/core/committed-metric.json index b7418a1757d..a1dd3e113b6 100644 --- a/static/schemas/source/core/committed-metric.json +++ b/static/schemas/source/core/committed-metric.json @@ -21,7 +21,7 @@ }, "qualifier": { "type": "object", - "description": "Disambiguates metrics whose definition varies by qualifier. Today carries five keys — `viewability_standard` (MRC vs GroupM viewability), `completion_source` (seller- vs vendor-attested completion), `attribution_methodology` (how attribution was computed for outcome metrics), `attribution_window` (the time window over which outcomes were attributed), and `lift_dimension` (which dimension of brand_lift this row represents — awareness, consideration, etc.). Required when the underlying `metric_id` has multiple incompatible measurement paths AND the seller commits to a specific one. Symmetric on `missing_metrics`. Reserved for additive qualifiers in future minors — schema is closed (`additionalProperties: false`); new keys ship explicitly. **Heterogeneous value types**: qualifier values can be either string enums (`viewability_standard`, `completion_source`, `attribution_methodology`, `lift_dimension`) or structured objects (`attribution_window` is a duration `{interval, unit}`). Consumers MUST dispatch on key name to know value shape; structured-value qualifiers join on canonical (key-sorted) deep equality so `{interval: 14, unit: 'days'}` and `{unit: 'days', interval: 14}` resolve to the same partition. Rate-style metrics (`new_to_brand_rate`, `engagement_rate`, etc.) inherit the methodology of their numerator — when a rate carries `attribution_methodology` qualifier, it applies to the underlying conversions/events being rated.", + "description": "Disambiguates metrics whose definition varies by qualifier. Today carries five keys — `viewability_standard` (MRC vs GroupM viewability), `completion_source` (seller- vs vendor-attested completion), `attribution_methodology` (how attribution was computed for outcome metrics), `attribution_window` (the time window over which outcomes were attributed), and `lift_dimension` (which dimension of brand_lift this row represents — awareness, consideration, etc.). Required when the underlying `metric_id` has multiple incompatible measurement paths AND the seller commits to a specific one. Symmetric on `missing_metrics`. Closed (`additionalProperties: false`), because consumers join on the key set; new keys ship in a major release. **Heterogeneous value types**: qualifier values can be either string enums (`viewability_standard`, `completion_source`, `attribution_methodology`, `lift_dimension`) or structured objects (`attribution_window` is a duration `{interval, unit}`). Consumers MUST dispatch on key name to know value shape; structured-value qualifiers join on canonical (key-sorted) deep equality so `{interval: 14, unit: 'days'}` and `{unit: 'days', interval: 14}` resolve to the same partition. Rate-style metrics (`new_to_brand_rate`, `engagement_rate`, etc.) inherit the methodology of their numerator — when a rate carries `attribution_methodology` qualifier, it applies to the underlying conversions/events being rated.", "properties": { "viewability_standard": { "$ref": "/schemas/enums/viewability-standard.json", @@ -76,7 +76,7 @@ }, "qualifier": { "type": "object", - "description": "Optional qualifier disambiguating commitments to the same vendor metric measured under different methodologies or windows. Same closed key set as standard-scope entries; new keys ship explicitly.", + "description": "Optional qualifier disambiguating commitments to the same vendor metric measured under different methodologies or windows. Same closed key set as standard-scope entries; new keys ship in a major release.", "properties": { "viewability_standard": { "$ref": "/schemas/enums/viewability-standard.json", diff --git a/static/schemas/source/core/delivery-metric-aggregate.json b/static/schemas/source/core/delivery-metric-aggregate.json index 31136c35969..5b769602d2a 100644 --- a/static/schemas/source/core/delivery-metric-aggregate.json +++ b/static/schemas/source/core/delivery-metric-aggregate.json @@ -37,7 +37,7 @@ }, "qualifier": { "type": "object", - "description": "Qualifier keys disambiguating this row from sibling rows under the same `metric_id`. Symmetric with `committed_metrics.qualifier` today; expected to diverge in future minors as transparency disclosures buyers don't commit to ship delivery-only. Closed (`additionalProperties: false`) — new qualifier keys ship explicitly.", + "description": "Qualifier keys disambiguating this row from sibling rows under the same `metric_id`. Symmetric with `committed_metrics.qualifier` today; expected to diverge as transparency disclosures buyers don't commit to ship delivery-only. Closed (`additionalProperties: false`), because consumers join on the key set; new qualifier keys ship in a major release.", "properties": { "viewability_standard": { "$ref": "/schemas/enums/viewability-standard.json", @@ -193,7 +193,7 @@ }, "qualifier": { "type": "object", - "description": "Optional qualifier keys disambiguating this vendor-metric row from sibling rows under the same (vendor, metric_id) — e.g., attribution_window on a vendor outcome metric. Same closed key set as the standard branch; new keys ship explicitly.", + "description": "Optional qualifier keys disambiguating this vendor-metric row from sibling rows under the same (vendor, metric_id) — e.g., attribution_window on a vendor outcome metric. Same closed key set as the standard branch; new keys ship in a major release.", "properties": { "viewability_standard": { "$ref": "/schemas/enums/viewability-standard.json", diff --git a/static/schemas/source/core/geo-place-requirement.json b/static/schemas/source/core/geo-place-requirement.json index d77ac8ae413..9bcedf7c638 100644 --- a/static/schemas/source/core/geo-place-requirement.json +++ b/static/schemas/source/core/geo-place-requirement.json @@ -41,5 +41,6 @@ } }, "required": ["systems"], - "additionalProperties": true + "additionalProperties": true, + "not": { "anyOf": [{ "required": ["max_values_per_package"] }, { "required": ["max_packages"] }] } } diff --git a/static/schemas/source/core/geo-region-requirement.json b/static/schemas/source/core/geo-region-requirement.json index baa0a3a5258..5c30706c8b9 100644 --- a/static/schemas/source/core/geo-region-requirement.json +++ b/static/schemas/source/core/geo-region-requirement.json @@ -49,6 +49,7 @@ }, "required": ["countries"], "additionalProperties": true, + "not": { "anyOf": [{ "required": ["max_values_per_package"] }, { "required": ["max_packages"] }] }, "x-adcp-validation": { "verifier_constraints": { "country_prefix_matches_map_key": { diff --git a/static/schemas/source/core/inventory-list-application.json b/static/schemas/source/core/inventory-list-application.json index a20a0ffe53b..a2d0423dbd9 100644 --- a/static/schemas/source/core/inventory-list-application.json +++ b/static/schemas/source/core/inventory-list-application.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/inventory-list-application.json", "title": "Inventory List Application", - "description": "Seller-issued, product-scoped receipt showing how one effective property- or collection-list targeting reference intersected the inventory represented by a returned product. Each receipt compares its resolved entries independently against the same product inventory before any effective list is applied; product pricing and forecasts reflect the eligible inventory after all effective lists are composed. Sellers MUST NOT echo auth_token or other separately supplied fetch credentials; the closed receipt shape defines no credential field.", + "description": "Seller-issued, product-scoped receipt showing how one effective property- or collection-list targeting reference intersected the inventory represented by a returned product. Each receipt compares its resolved entries independently against the same product inventory before any effective list is applied; product pricing and forecasts reflect the eligible inventory after all effective lists are composed. Sellers MUST NOT echo auth_token or other separately supplied fetch credentials; the receipt shape defines no credential field.", "type": "object", "x-adcp-validation": { "verifier_constraints": { @@ -81,7 +81,8 @@ "evaluated_at", "summary" ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["auth_token"] } }, { "title": "Collection list application", @@ -146,7 +147,8 @@ "evaluated_at", "summary" ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["auth_token"] } } ] } diff --git a/static/schemas/source/core/outcome-target-cost-per.json b/static/schemas/source/core/outcome-target-cost-per.json index 4317439c408..0c76ee48d52 100644 --- a/static/schemas/source/core/outcome-target-cost-per.json +++ b/static/schemas/source/core/outcome-target-cost-per.json @@ -21,5 +21,6 @@ } }, "required": ["amount", "currency", "strength"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["max_bid"] } } diff --git a/static/schemas/source/core/performance-feedback.json b/static/schemas/source/core/performance-feedback.json index 3acc38d362b..43ca0dd559f 100644 --- a/static/schemas/source/core/performance-feedback.json +++ b/static/schemas/source/core/performance-feedback.json @@ -72,7 +72,7 @@ }, "qualifier": { "type": "object", - "description": "Disambiguator — same shape as `committed_metrics.qualifier`. Carry `viewability_standard` for MRC vs GroupM viewability feedback; `completion_source` for seller- vs vendor-attested completion feedback; `attribution_methodology` and `attribution_window` for outcome-metric feedback (the buyer pinning a specific methodology or window when the feedback is methodology-sensitive). Closed (`additionalProperties: false`); new keys ship explicitly in subsequent minors.", + "description": "Disambiguator — same shape as `committed_metrics.qualifier`. Carry `viewability_standard` for MRC vs GroupM viewability feedback; `completion_source` for seller- vs vendor-attested completion feedback; `attribution_methodology` and `attribution_window` for outcome-metric feedback (the buyer pinning a specific methodology or window when the feedback is methodology-sensitive). Closed (`additionalProperties: false`), because consumers join on the key set; new keys ship in a major release.", "properties": { "viewability_standard": { "$ref": "/schemas/enums/viewability-standard.json" diff --git a/static/schemas/source/core/placement-selection.json b/static/schemas/source/core/placement-selection.json index 1f1f0515fc5..5fe128bf19d 100644 --- a/static/schemas/source/core/placement-selection.json +++ b/static/schemas/source/core/placement-selection.json @@ -55,7 +55,8 @@ } }, "required": ["mode"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["placement_refs"] } } ] } diff --git a/static/schemas/source/core/product-allowed-action.json b/static/schemas/source/core/product-allowed-action.json index fe27327de41..05b0002de0f 100644 --- a/static/schemas/source/core/product-allowed-action.json +++ b/static/schemas/source/core/product-allowed-action.json @@ -46,5 +46,6 @@ } }, "required": ["action", "modes"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["review_sla"] } } diff --git a/static/schemas/source/core/product-offer-filters.json b/static/schemas/source/core/product-offer-filters.json index 54436927f4f..e64601c4ce9 100644 --- a/static/schemas/source/core/product-offer-filters.json +++ b/static/schemas/source/core/product-offer-filters.json @@ -67,7 +67,8 @@ } }, "required": ["start_time", "end_time"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["timezone"] } }, "budget_range": { "$ref": "/schemas/core/budget-range.json" diff --git a/static/schemas/source/core/reporting-delivery-ready-webhook.json b/static/schemas/source/core/reporting-delivery-ready-webhook.json index ea3fbfb9add..540f154d4b1 100644 --- a/static/schemas/source/core/reporting-delivery-ready-webhook.json +++ b/static/schemas/source/core/reporting-delivery-ready-webhook.json @@ -105,5 +105,6 @@ "authorization": "The authenticated webhook signer, subscriber_id, account_id, configuration generation, revision, and materialization MUST belong to one caller/account binding; receivers MUST repair through an authenticated status read rather than trusting event contents alone.", "deduplication": "Deduplicate transport retries by (authenticated sender, idempotency_key), then deduplicate ingestion independently by reporting_revision_id and reporting_materialization_id." }, - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["access_token"] } } diff --git a/static/schemas/source/core/reporting-revision.json b/static/schemas/source/core/reporting-revision.json index d3dcdf85269..c738da74d72 100644 --- a/static/schemas/source/core/reporting-revision.json +++ b/static/schemas/source/core/reporting-revision.json @@ -71,5 +71,6 @@ "set_ordering": "media_buy_ids is a mathematical set and MUST be serialized in ascending Unicode code-point order so equivalent denominators have one representation.", "digest_requirement": "revision_content_sha256 is required for every revision and is SHA-256 of RFC 8785 JCS for {reporting_revision_id,row_count,control_totals,reporting_rows}. Exact revision reads MUST return metadata, rows, ID, count, totals, and this digest identically to status. canonical_content_digest is separate external-materialization evidence: it is optional for non-billing delivery profiles and mandatory when a referenced materialization selects canonical_digest and for every billing obligation." }, - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["destination_ref"] } } diff --git a/static/schemas/source/core/signal-definition.json b/static/schemas/source/core/signal-definition.json index 9e5088c4aef..0c7cb98de1e 100644 --- a/static/schemas/source/core/signal-definition.json +++ b/static/schemas/source/core/signal-definition.json @@ -441,7 +441,8 @@ } }, "required": ["channels"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["gpc_honored"] } }, "last_updated": { "type": "string", diff --git a/static/schemas/source/core/targeting-overlay-requirements.json b/static/schemas/source/core/targeting-overlay-requirements.json index 6c7e3229f6e..548b400b9f4 100644 --- a/static/schemas/source/core/targeting-overlay-requirements.json +++ b/static/schemas/source/core/targeting-overlay-requirements.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/targeting-overlay-requirements.json", "title": "Targeting Overlay Requirements", - "description": "Buyer minimum requirements for targeting dimensions that will be selected on packages later. This request shape deliberately excludes seller limits such as max_values_per_package and max_packages. Matching is capability containment: where a field permits a boolean form, a requirement value of true matches product support true or any valid positive support object, and product support true satisfies every protocol-valid structured requirement except daypart_targets, where true promises inventory_local only. Otherwise, structured product support must contain the structured requirement. For geo_regions and geo_regions_exclude, every requested country must exist; requested all_values requires supported all_values; and requested values must be a subset of supported values unless support declares all_values. For geo_places and geo_places_exclude, every requested system and country key must exist and each requested place-type and system-version array must be a subset of the corresponding product array. Include and exclude fields match independently. Every valid structured requirement or support object represents a positive capability; empty, extension-only, and false-only objects are invalid. Object fields the buyer did not request do not participate. Missing or unknown required fields do not match. Numeric seller limits are disclosed only in Product.overlay_support and never participate in matching. Legacy frequency_cap: true matches only the unchanged broad declaration. frequency_cap_support matches either legacy true or a containing structured declaration; an empty object requests either positive form. A requirement carries at most one of the two.", + "description": "Buyer minimum requirements for targeting dimensions that will be selected on packages later. This request schema deliberately excludes seller limits such as max_values_per_package and max_packages. Matching is capability containment: where a field permits a boolean form, a requirement value of true matches product support true or any valid positive support object, and product support true satisfies every protocol-valid structured requirement except daypart_targets, where true promises inventory_local only. Otherwise, structured product support must contain the structured requirement. For geo_regions and geo_regions_exclude, every requested country must exist; requested all_values requires supported all_values; and requested values must be a subset of supported values unless support declares all_values. For geo_places and geo_places_exclude, every requested system and country key must exist and each requested place-type and system-version array must be a subset of the corresponding product array. Include and exclude fields match independently. Every valid structured requirement or support object represents a positive capability; empty, extension-only, and false-only objects are invalid. Object fields the buyer did not request do not participate. Missing or unknown required fields do not match. Numeric seller limits are disclosed only in Product.overlay_support and never participate in matching. Legacy frequency_cap: true matches only the unchanged broad declaration. frequency_cap_support matches either legacy true or a containing structured declaration; an empty object requests either positive form. A requirement carries at most one of the two.", "type": "object", "definitions": { "required": { "type": "boolean", "const": true }, @@ -20,7 +20,8 @@ } }, "required": ["systems"], - "additionalProperties": true + "additionalProperties": true, + "not": { "anyOf": [{ "required": ["max_values_per_package"] }, { "required": ["max_packages"] }] } } ] }, @@ -167,7 +168,8 @@ { "required": ["geometry"] }, { "required": ["transport_modes"] } ], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["max_values_per_package"] } } ] }, diff --git a/static/schemas/source/core/webhook-activity-record.json b/static/schemas/source/core/webhook-activity-record.json index a9a312565eb..75d3a8e88f3 100644 --- a/static/schemas/source/core/webhook-activity-record.json +++ b/static/schemas/source/core/webhook-activity-record.json @@ -83,7 +83,7 @@ }, "ext": { "$ref": "/schemas/core/ext.json", - "description": "Resource-specific extension slot. Adopters MAY surface a resource-specific cross-reference (e.g., `creative_id` on a creative-lifecycle record, `media_buy_id` on a record nested inside an account-level read) under `ext` rather than adding top-level fields — the canonical record shape stays uniform across resources and the `ext` envelope absorbs per-resource needs. Top-level extensions are not permitted (`additionalProperties: false`)." + "description": "Resource-specific extension slot. Adopters MAY surface a resource-specific cross-reference (e.g., `creative_id` on a creative-lifecycle record, `media_buy_id` on a record nested inside an account-level read) under `ext` rather than adding top-level fields — the canonical record shape stays uniform across resources and the `ext` envelope absorbs per-resource needs." } }, "required": [ diff --git a/static/schemas/source/creative/creative-status-changed-webhook.json b/static/schemas/source/creative/creative-status-changed-webhook.json index 312f62a558d..1a63d5c4f10 100644 --- a/static/schemas/source/creative/creative-status-changed-webhook.json +++ b/static/schemas/source/creative/creative-status-changed-webhook.json @@ -181,6 +181,7 @@ "initiator" ], "additionalProperties": true, + "not": { "required": ["staged_update"] }, "examples": [ { "description": "Approved → rejected post-approval revocation (paired with a media-buy impairment)", diff --git a/static/schemas/source/creative/sync-creatives-request.json b/static/schemas/source/creative/sync-creatives-request.json index 205301f59f6..3635896d082 100644 --- a/static/schemas/source/creative/sync-creatives-request.json +++ b/static/schemas/source/creative/sync-creatives-request.json @@ -292,7 +292,8 @@ "package_id": { "type": "string", "minLength": 1, "x-entity": "package" } }, "required": ["operation", "creative_id", "package_id"], - "additionalProperties": true + "additionalProperties": true, + "not": { "anyOf": [{ "required": ["trackers"] }, { "required": ["landing_page_url"] }] } }, { "title": "Replace assignment", @@ -311,6 +312,7 @@ }, "required": ["operation", "creative_id", "replaces_creative_id", "package_id"], "additionalProperties": true, + "not": { "anyOf": [{ "required": ["trackers"] }, { "required": ["landing_page_url"] }] }, "x-adcp-validation": { "verifier_constraints": { "product_format_locale_policy": { diff --git a/static/schemas/source/governance/get-plan-audit-logs-request.json b/static/schemas/source/governance/get-plan-audit-logs-request.json index 7de0c43ded7..7f099068b91 100644 --- a/static/schemas/source/governance/get-plan-audit-logs-request.json +++ b/static/schemas/source/governance/get-plan-audit-logs-request.json @@ -18,7 +18,7 @@ "x-entity": "governance_plan" }, "minItems": 1, - "description": "Plan IDs to retrieve. For a single plan, pass a one-element array. Plans uniquely scope account and operator; do not include a separate `account` field — the governance agent resolves account from each plan. Including `account` is rejected by `additionalProperties: false`." + "description": "Plan IDs to retrieve. For a single plan, pass a one-element array. Plans uniquely scope account and operator; do not include a separate `account` field — the governance agent resolves account from each plan." }, "portfolio_plan_ids": { "type": "array", diff --git a/static/schemas/source/media-buy/acceptance-context.json b/static/schemas/source/media-buy/acceptance-context.json index 4589915ddbf..4b814f278d9 100644 --- a/static/schemas/source/media-buy/acceptance-context.json +++ b/static/schemas/source/media-buy/acceptance-context.json @@ -52,5 +52,6 @@ ] }, "minProperties": 1, - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["political"] } } diff --git a/static/schemas/source/media-buy/get-products-request.json b/static/schemas/source/media-buy/get-products-request.json index 6a095b7322f..19d53e2ff73 100644 --- a/static/schemas/source/media-buy/get-products-request.json +++ b/static/schemas/source/media-buy/get-products-request.json @@ -76,7 +76,8 @@ } }, "required": ["scope", "ask"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["package"] } }, { "properties": { @@ -130,7 +131,8 @@ } }, "required": ["scope", "proposal_id"], - "additionalProperties": true + "additionalProperties": true, + "not": { "required": ["package"] } } ] } diff --git a/static/schemas/source/media-buy/outcome-target.json b/static/schemas/source/media-buy/outcome-target.json index 1dc2efd7a15..78cba05606c 100644 --- a/static/schemas/source/media-buy/outcome-target.json +++ b/static/schemas/source/media-buy/outcome-target.json @@ -58,5 +58,6 @@ }, "required": ["goal"], "anyOf": [{ "required": ["volume"] }, { "required": ["cost_per"] }], - "additionalProperties": true + "additionalProperties": true, + "not": { "anyOf": [{ "required": ["threshold_rate"] }, { "required": ["per_ad_spend"] }] } } From 0369440e1721ff388eaaab956bbcda0404aee690 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 18:44:16 +0000 Subject: [PATCH 03/12] test: expect opened 3.2 schemas to accept unknown keys Ports #8866's test edits for the test files 3.2.x has: generic unknown-key assertions now expect the key to validate, citing DR-0009 (DR-0036 is not on 3.2.x), and the training agent test shows an unknown hard overlay requirement still matches no product. Co-Authored-By: Claude Opus 5.5 --- server/tests/unit/training-agent.test.ts | 37 +++++++++++++++++++++++ tests/example-validation-simple.test.cjs | 13 ++++---- tests/identity-absence-coherence.test.cjs | 5 +-- tests/outcome-target.test.cjs | 5 +-- tests/reporting-status-contract.test.cjs | 6 ++-- tests/targeting-aware-discovery.test.cjs | 12 +++++++- 6 files changed, 65 insertions(+), 13 deletions(-) diff --git a/server/tests/unit/training-agent.test.ts b/server/tests/unit/training-agent.test.ts index 5953ae3dd0c..a70ea3d9a1b 100644 --- a/server/tests/unit/training-agent.test.ts +++ b/server/tests/unit/training-agent.test.ts @@ -19770,6 +19770,43 @@ describe('proposal lifecycle', () => { expect(unsupported.isError).toBeFalsy(); expect(unsupported.result).toMatchObject({ outcome: 'listed', products: [] }); + // The requirements container is open, so an unknown requirement validates. + // It still fails closed: "Missing or unknown required fields do not match." + // The only difference from allRegions above is the unknown key. + const unknownRequirement = { + geo_regions: { countries: { FR: { values: ['FR-49'] } } }, + future_unknown_dimension: true, + }; + const unknownRequirementValidation = validateSourceSchema( + 'core/targeting-overlay-requirements.json', + unknownRequirement, + ); + expect(unknownRequirementValidation.valid, JSON.stringify(unknownRequirementValidation.errors)).toBe(true); + const unknownListed = await simulateCallTool(server, 'list_products', { + account, + criteria: { + product_ids: [targetedProductId], + required_overlay_support: unknownRequirement, + }, + }); + expect(unknownListed.isError, JSON.stringify(unknownListed.result)).toBeFalsy(); + expect(unknownListed.result).toMatchObject({ outcome: 'listed', products: [] }); + const discover = (required_overlay_support: Record) => executeTrainingAgentTool('get_products', { + adcp_version: CURRENT_ADCP_VERSION, + account, + buying_mode: 'brief', + brief: 'Regional display inventory in France', + required_overlay_support, + }, DEFAULT_CTX); + const knownDiscovered = await discover({ geo_regions: unknownRequirement.geo_regions }); + expect(knownDiscovered.success, knownDiscovered.error).toBe(true); + expect((knownDiscovered.data as { products: Array<{ product_id: string }> }).products) + .toEqual(expect.arrayContaining([expect.objectContaining({ product_id: targetedProductId })])); + const unknownDiscovered = await discover(unknownRequirement); + expect(unknownDiscovered.success, unknownDiscovered.error).toBe(true); + expect(unknownDiscovered.data).not.toHaveProperty('errors'); + expect((unknownDiscovered.data as { products: unknown[] }).products).toEqual([]); + const concurrentListings = await Promise.all(['US', 'CA'].map(country => simulateCallTool( server, 'list_products', diff --git a/tests/example-validation-simple.test.cjs b/tests/example-validation-simple.test.cjs index ab694eff62e..3014c05df6d 100644 --- a/tests/example-validation-simple.test.cjs +++ b/tests/example-validation-simple.test.cjs @@ -1516,8 +1516,7 @@ async function runTests() { // get_products refine[] — migration regressions for the `id` → `product_id`/`proposal_id` rename (adcp#2775). // These fixtures exercise exactly the payload shape a pre-rename orchestrator would send today, so the test - // proves the schema rejects it with a migration-diagnosable error. The refine entries are open (DR-0009), - // so the error names the missing renamed field rather than the stray `id`. + // proves the schema rejects it with a migration-diagnosable error. await expectInvalid( { "idempotency_key": "550e8400-e29b-41d4-a716-446655440002", @@ -1525,8 +1524,9 @@ async function runTests() { "refine": [{ "scope": "product", "id": "prod_video_premium", "action": "include" }] }, '/schemas/media-buy/get-products-request.json', - 'refine[] product with old `id` field is rejected and error names the missing product_id', - ['product_id'] + 'refine[] product with old `id` field is rejected and error flags the missing product_id', + // Open by default (DR-0009): the unknown `id` key is no longer named; the missing `product_id` is. + ['product_id', /must have required property 'product_id'/] ); await expectInvalid( @@ -1536,8 +1536,9 @@ async function runTests() { "refine": [{ "scope": "proposal", "id": "prop_balanced_v1", "action": "finalize" }] }, '/schemas/media-buy/get-products-request.json', - 'refine[] proposal with old `id` field is rejected and error names the missing proposal_id', - ['proposal_id'] + 'refine[] proposal with old `id` field is rejected and error flags the missing proposal_id', + // Open by default (DR-0009): the unknown `id` key is no longer named; the missing `proposal_id` is. + ['proposal_id', /must have required property 'proposal_id'/] ); // Happy path — optional `action` defaults to include server-side; schema must accept the minimal shape. diff --git a/tests/identity-absence-coherence.test.cjs b/tests/identity-absence-coherence.test.cjs index 19a82916c71..027f58bc9b9 100644 --- a/tests/identity-absence-coherence.test.cjs +++ b/tests/identity-absence-coherence.test.cjs @@ -106,8 +106,9 @@ test("identity-absent products cannot advertise identifier-backed frequency-cap ...completeProduct, identity: { ...completeProduct.identity, undeclared: true }, }), - false, - "identity declaration remains a closed experimental object" + true, + // Open by default (DR-0009): an unknown key on the identity declaration validates. + "identity declaration accepts an unknown key" ); const identity = readJson("core/product-identity.json"); diff --git a/tests/outcome-target.test.cjs b/tests/outcome-target.test.cjs index cbbd34f6030..ecfbbdb2d14 100644 --- a/tests/outcome-target.test.cjs +++ b/tests/outcome-target.test.cjs @@ -127,13 +127,14 @@ describe('outcome_target reverse-forecast criteria', () => { ); }); - it('rejects non-positive volumes and unknown outcome_target fields', () => { + it('rejects non-positive volumes; an unknown outcome_target field validates', () => { const goal = { kind: 'metric', metric: 'clicks' }; assert.equal(validateCriteria({ outcome_target: { goal, volume: 0 } }), false); assert.equal(validateCriteria({ outcome_target: { goal, volume: -5 } }), false); + // Open by default (DR-0009): an unknown key (`currency`) beside `volume` validates. assert.equal( validateCriteria({ outcome_target: { goal, volume: 100, currency: 'USD' } }), - false, + true, ); }); diff --git a/tests/reporting-status-contract.test.cjs b/tests/reporting-status-contract.test.cjs index 79008d02222..1314f02390e 100644 --- a/tests/reporting-status-contract.test.cjs +++ b/tests/reporting-status-contract.test.cjs @@ -937,7 +937,8 @@ describe('managed reporting status contract', () => { `the count stays optional for sellers that do not advertise consumer_status_task: ${JSON.stringify(validateResponse.errors)}`, ); response.obligation_counts.consumer_status_overdue = 4; - assert.equal(validateResponse(response), false, 'obligation_counts stays a closed object'); + // Open by default (DR-0009): an unknown count key validates. + assert.equal(validateResponse(response), true, 'obligation_counts accepts an unknown key'); assert.match( readSchema('/schemas/media-buy/get-reporting-status-response.json')['x-adcp-validation'].incremental_repair, /requires obligation_counts.consumer_status_pending on the summary view/, @@ -1382,7 +1383,8 @@ describe('managed reporting status contract', () => { /at most one statement for each logical chain/, ); const syncRequestSchema = readSchema('/schemas/media-buy/sync-reporting-status-request.json'); - assert.equal(syncRequestSchema.additionalProperties, false); + // Open by default (DR-0009). + assert.equal(syncRequestSchema.additionalProperties, true); assert.ok( (syncRequestSchema.allOf || []).some((arm) => arm.$ref === '/schemas/core/version-envelope.json'), 'closed request composes the version envelope via root allOf', diff --git a/tests/targeting-aware-discovery.test.cjs b/tests/targeting-aware-discovery.test.cjs index ef9d6db2aa7..7c87a926b62 100644 --- a/tests/targeting-aware-discovery.test.cjs +++ b/tests/targeting-aware-discovery.test.cjs @@ -2005,9 +2005,19 @@ test("required overlay requirements exclude seller limit fields", async () => { false, "seller maxima are response-only" ); + // The requirements container is open (DR-0009). An unknown + // hard requirement still isn't ignored: matching fails closed on it. The + // functional case is in server/tests/unit/training-agent.test.ts. assert.equal( validate({ future_unknown_dimension: true }), - false, + true, + errors(validate) + ); + assert.match( + JSON.parse( + fs.readFileSync(path.join(SCHEMA_ROOT, "core", "targeting-overlay-requirements.json"), "utf8") + ).description, + /Missing or unknown required fields do not match\./, "unknown hard requirements must not be ignored" ); for (const zeroCapability of [ From 499cc08adc8af87b68f2da96d86be6b2f2b5dab5 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 19:13:40 +0000 Subject: [PATCH 04/12] fix(schemas): keep key-presence anyOf unions apart by name on 3.2.x Ports #8866's 9bda16d277 and 32768d44e5 to 3.2.x. Opening exposed anyOf unions whose branches were told apart only by which keys are present; each branch now rejects its sibling's keys by name: geo-region requirement and support countries (all_values vs values), the canonical account ref (account_id vs brand + operator), the deprecated fused-system postal area (no country), and sync_reporting_receipts results (receipt vs adjustment_receipt). Also names `step` on frequency cap impression constraints and `mode` on list-application receipts. Tests: adds canonical-account-ref.test.cjs (loading source schemas, as 3.2.x tests do), strips the format-key prohibitions from the MCP legacy-graph check, and flips the generic unknown-key vectors, citing DR-0009. PARITY_COMPILE_LIMIT is unchanged on 3.2.x; it does not trip. Co-Authored-By: Claude Opus 5.5 --- .changeset/open-closed-schemas-3-2.md | 2 +- package.json | 2 +- .../source/core/canonical-account-ref.json | 2 + .../frequency-cap-impression-constraints.json | 1 + .../source/core/geo-region-requirement.json | 2 + .../source/core/geo-region-support.json | 2 + .../core/inventory-list-application.json | 4 +- static/schemas/source/core/postal-area.json | 1 + .../sync-reporting-receipts-response.json | 4 ++ tests/canonical-account-ref.test.cjs | 47 +++++++++++++++++++ tests/composed-schema-validation.test.cjs | 5 +- tests/mcp-schema-projection.test.cjs | 8 +++- tests/targeting-aware-discovery.test.cjs | 13 +++-- tests/trusted-match-context-merge.test.cjs | 7 ++- 14 files changed, 89 insertions(+), 11 deletions(-) create mode 100644 tests/canonical-account-ref.test.cjs diff --git a/.changeset/open-closed-schemas-3-2.md b/.changeset/open-closed-schemas-3-2.md index 43aefa5d4a5..c5d1bf18cdf 100644 --- a/.changeset/open-closed-schemas-3-2.md +++ b/.changeset/open-closed-schemas-3-2.md @@ -17,6 +17,6 @@ Open the 3.2 schemas that were closed by accident, so a 3.2 validator no longer - `placement-presentation`, which carries no key material or markup. - `patternProperties` maps keyed by IDs. -Where closure was the only thing rejecting a specific field that the protocol defines elsewhere or forbids (for example `trackers` on `unassign`, `staged_update` on `creative.status_changed`, `access_token` on the delivery-ready webhook, `auth_token` on list-application receipts, or credentials on a notification-config readback), the opened schema now rejects that field by name with `not`. Descriptions of opened schemas no longer say they are closed. +Where closure was the only thing rejecting a specific field that the protocol defines elsewhere or forbids (for example `trackers` on `unassign`, `staged_update` on `creative.status_changed`, `access_token` on the delivery-ready webhook, `auth_token` on list-application receipts, or credentials on a notification-config readback), the opened schema now rejects that field by name with `not`. The same applies to `anyOf` unions whose branches were told apart only by which keys are present: a geo-region country entry carries `all_values` or `values`, not both; a canonical account ref carries `account_id` or the brand + operator natural key, not both; a deprecated fused-system postal area carries no `country`; and a reporting-receipt result carries `receipt` or `adjustment_receipt`. Descriptions of opened schemas no longer say they are closed. The MCP model-context projection now omits `additionalProperties: true` as well as `false`, since `true` is the JSON Schema default. diff --git a/package.json b/package.json index 67ddf5d6d33..17c17d8a4d9 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "verify:cdn-artifacts-cutover": "node scripts/verify-cdn-artifacts-cutover.mjs", "typecheck": "tsc --project server/tsconfig.json --noEmit && npm run typecheck:fixed-trace-rollout-tests", "typecheck:fixed-trace-rollout-tests": "node scripts/typecheck-fixed-trace-rollout-tests.mjs", - "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", + "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/canonical-account-ref.test.cjs tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", "test:performance-feedback": "node --test --test-force-exit --test-timeout=30000 tests/performance-feedback-contract.test.cjs", "test:dist-schema-version-ids": "node --test --test-force-exit --test-timeout=30000 tests/dist-schema-version-ids.test.cjs", "test:examples": "node tests/example-validation-simple.test.cjs && npm run test:tmp-context-merge", diff --git a/static/schemas/source/core/canonical-account-ref.json b/static/schemas/source/core/canonical-account-ref.json index 1361ff2d906..01ed4b31033 100644 --- a/static/schemas/source/core/canonical-account-ref.json +++ b/static/schemas/source/core/canonical-account-ref.json @@ -14,6 +14,7 @@ } }, "required": ["account_id"], + "not": { "anyOf": [{ "required": ["brand"] }, { "required": ["operator"] }] }, "additionalProperties": true }, { @@ -46,6 +47,7 @@ } }, "required": ["brand", "operator"], + "not": { "required": ["account_id"] }, "additionalProperties": true } ], diff --git a/static/schemas/source/core/frequency-cap-impression-constraints.json b/static/schemas/source/core/frequency-cap-impression-constraints.json index 1c9fb0d7504..ad11c0a8395 100644 --- a/static/schemas/source/core/frequency-cap-impression-constraints.json +++ b/static/schemas/source/core/frequency-cap-impression-constraints.json @@ -30,6 +30,7 @@ "not": { "required": ["allowed_values"] } } ], + "not": { "required": ["step"] }, "additionalProperties": true, "x-adcp-validation": { "ordered_bounds": "minimum MUST be less than or equal to maximum." diff --git a/static/schemas/source/core/geo-region-requirement.json b/static/schemas/source/core/geo-region-requirement.json index 5c30706c8b9..319d107fc19 100644 --- a/static/schemas/source/core/geo-region-requirement.json +++ b/static/schemas/source/core/geo-region-requirement.json @@ -23,6 +23,7 @@ } }, "required": ["all_values"], + "not": { "required": ["values"] }, "additionalProperties": true }, { @@ -40,6 +41,7 @@ } }, "required": ["values"], + "not": { "required": ["all_values"] }, "additionalProperties": true } ] diff --git a/static/schemas/source/core/geo-region-support.json b/static/schemas/source/core/geo-region-support.json index 8cb0f113e9c..53301295164 100644 --- a/static/schemas/source/core/geo-region-support.json +++ b/static/schemas/source/core/geo-region-support.json @@ -23,6 +23,7 @@ } }, "required": ["all_values"], + "not": { "required": ["values"] }, "additionalProperties": true }, { @@ -40,6 +41,7 @@ } }, "required": ["values"], + "not": { "required": ["all_values"] }, "additionalProperties": true } ] diff --git a/static/schemas/source/core/inventory-list-application.json b/static/schemas/source/core/inventory-list-application.json index a2d0423dbd9..492e83b04ab 100644 --- a/static/schemas/source/core/inventory-list-application.json +++ b/static/schemas/source/core/inventory-list-application.json @@ -82,7 +82,7 @@ "summary" ], "additionalProperties": true, - "not": { "required": ["auth_token"] } + "not": { "anyOf": [{ "required": ["auth_token"] }, { "required": ["mode"] }] } }, { "title": "Collection list application", @@ -148,7 +148,7 @@ "summary" ], "additionalProperties": true, - "not": { "required": ["auth_token"] } + "not": { "anyOf": [{ "required": ["auth_token"] }, { "required": ["mode"] }] } } ] } diff --git a/static/schemas/source/core/postal-area.json b/static/schemas/source/core/postal-area.json index 7d24a339a24..63ee5530937 100644 --- a/static/schemas/source/core/postal-area.json +++ b/static/schemas/source/core/postal-area.json @@ -54,6 +54,7 @@ } }, "required": ["system", "values"], + "not": { "required": ["country"] }, "additionalProperties": true } ] diff --git a/static/schemas/source/media-buy/sync-reporting-receipts-response.json b/static/schemas/source/media-buy/sync-reporting-receipts-response.json index 617b48c3140..3380f6db7b1 100644 --- a/static/schemas/source/media-buy/sync-reporting-receipts-response.json +++ b/static/schemas/source/media-buy/sync-reporting-receipts-response.json @@ -28,6 +28,7 @@ } }, "required": ["result", "receipt"], + "not": { "required": ["adjustment_receipt"] }, "additionalProperties": true }, { @@ -43,6 +44,7 @@ } }, "required": ["result", "receipt"], + "not": { "required": ["adjustment_receipt"] }, "additionalProperties": true }, { @@ -58,6 +60,7 @@ } }, "required": ["result", "adjustment_receipt"], + "not": { "required": ["receipt"] }, "additionalProperties": true }, { @@ -73,6 +76,7 @@ } }, "required": ["result", "adjustment_receipt"], + "not": { "required": ["receipt"] }, "additionalProperties": true }, { diff --git a/tests/canonical-account-ref.test.cjs b/tests/canonical-account-ref.test.cjs new file mode 100644 index 00000000000..58c447896de --- /dev/null +++ b/tests/canonical-account-ref.test.cjs @@ -0,0 +1,47 @@ +const fs = require('node:fs'); +const path = require('node:path'); +const assert = require('node:assert/strict'); +const test = require('node:test'); +const Ajv = require('ajv'); +const addFormats = require('ajv-formats'); + +const SCHEMA_ROOT = path.join(__dirname, '..', 'static', 'schemas', 'source'); + +const readSchema = (relativePath) => JSON.parse(fs.readFileSync(path.join(SCHEMA_ROOT, relativePath), 'utf8')); + +async function compile() { + const ajv = new Ajv({ + allErrors: true, + strict: false, + discriminator: true, + loadSchema: async (uri) => readSchema(uri.replace('/schemas/', '')), + }); + addFormats(ajv); + return ajv.compileAsync(readSchema('core/canonical-account-ref.json')); +} + +const errors = (validate) => JSON.stringify(validate.errors, null, 2); +const BRAND = { domain: 'nova-athletics.example' }; +const OPERATOR = 'nova-athletics.example'; + +test('a canonical account ref is an account_id or the brand + operator natural key', async () => { + const validate = await compile(); + assert.equal(validate({ account_id: 'acc_nova_nl' }), true, errors(validate)); + assert.equal(validate({ brand: BRAND, operator: OPERATOR }), true, errors(validate)); + assert.equal(validate({}), false, 'one of the two forms is required'); + assert.equal(validate({ brand: BRAND }), false, 'the natural key needs an operator'); +}); + +test('the account_id form names no natural-key member, and the natural key names no account_id', async () => { + const validate = await compile(); + assert.equal(validate({ account_id: 'acc_nova_nl', brand: BRAND }), false, 'brand beside account_id'); + assert.equal(validate({ account_id: 'acc_nova_nl', operator: OPERATOR }), false, 'operator beside account_id'); + assert.equal(validate({ account_id: 'acc_nova_nl', brand: BRAND, operator: OPERATOR }), false, 'both forms at once'); +}); + +test('an unknown key on a canonical account ref validates', async () => { + const validate = await compile(); + // Open by default (WG decision of 2026-11-09, DR-0009): an unknown key validates. + assert.equal(validate({ account_id: 'acc_nova_nl', note: 'x' }), true, errors(validate)); + assert.equal(validate({ brand: BRAND, operator: OPERATOR, note: 'x' }), true, errors(validate)); +}); diff --git a/tests/composed-schema-validation.test.cjs b/tests/composed-schema-validation.test.cjs index 3a531a7e4e3..e572e3e29a9 100644 --- a/tests/composed-schema-validation.test.cjs +++ b/tests/composed-schema-validation.test.cjs @@ -3570,13 +3570,14 @@ async function runTests() { }, 'SignalCoverageForecast scope accepts seller-specific extra qualifier (inventory_class)' ); - await testSchemaRejection( + // Open by default (DR-0009): the typo is an unknown key and is ignored. + await testSchemaValidation( '/schemas/core/signal-coverage-forecast.json', { ...signalCoverageForecast, bucket_completness: 'partial' }, - 'SignalCoverageForecast rejects unknown top-level field (bucket_completness typo)' + 'SignalCoverageForecast ignores unknown top-level field (bucket_completness typo)' ); log(''); diff --git a/tests/mcp-schema-projection.test.cjs b/tests/mcp-schema-projection.test.cjs index b25a2d3a4c3..cb9fc4fd839 100644 --- a/tests/mcp-schema-projection.test.cjs +++ b/tests/mcp-schema-projection.test.cjs @@ -53,6 +53,9 @@ const PRODUCTION_PROFILE_DIR = path.join(PROJECTION_DIR, 'profiles', 'production const CANONICAL_PRODUCT_PROHIBITION = JSON.stringify({ not: JSON.parse(fs.readFileSync(path.join(SOURCE_DIR, 'core', 'canonical-product.json'), 'utf8')).not, }).slice(1, -1); +// The named rejections of the canonical Product's legacy format keys, as the +// projection serializes them (added when the 3.2 schemas were opened, DR-0009). +const FORMAT_KEY_PROHIBITIONS = ['"not":{"required":["format_ids"]}', '"not":{"required":["v1_format_ref"]}']; // The generated profiles describe the active surface of the package's release // line. Before the line's GA (x.y.0-rc.N) that is the x.y.0 surface the tool // manifest declares via added_in; once the line has a stable release it is the @@ -1021,7 +1024,10 @@ test('generated MCP projection covers every tool within AdCP safety bounds', () `${toolName} output must use the canonical-only Product view`); // The canonical Product forbids the legacy Product's keys by name; // forbidding them does not expose them. - const exposed = output.replaceAll(CANONICAL_PRODUCT_PROHIBITION, ''); + const exposed = FORMAT_KEY_PROHIBITIONS.reduce( + (text, prohibition) => text.replaceAll(prohibition, ''), + output.replaceAll(CANONICAL_PRODUCT_PROHIBITION, ''), + ); assert.doesNotMatch(exposed, /format_ids|format-id\.json|v1_format_ref|update_packages|"update_media_buy"/, `${toolName} output must not expose the legacy Product graph`); } diff --git a/tests/targeting-aware-discovery.test.cjs b/tests/targeting-aware-discovery.test.cjs index 7c87a926b62..80fb4276dd2 100644 --- a/tests/targeting-aware-discovery.test.cjs +++ b/tests/targeting-aware-discovery.test.cjs @@ -666,8 +666,9 @@ test("product responses expose symmetric property and collection list applicatio ); assert.equal( validateReceipt({ ...collectionReceipt, entries_total: 200 }), - false, - "counts are represented only by the closed summary partition" + // Open by default (DR-0009): `entries_total` is an unknown key and validates. + true, + "counts are declared only by the summary partition; entries_total is ignored" ); assert.equal( validateCanonicalProduct({ @@ -2085,7 +2086,6 @@ test("required overlay requirements exclude seller limit fields", async () => { { geo_countries: {} }, { geo_countries: { ext: { vendor: "hint" } } }, { geo_countries: { max_values_per_package: 0 } }, - { geo_countries: { max_values_per_package: 1, unknown: true } }, { geo_proximity: { radius: true, max_values_per_package: 0 } }, { geo_proximity: { max_values_per_package: 1 } }, ]) { @@ -2098,6 +2098,13 @@ test("required overlay requirements exclude seller limit fields", async () => { ); } + // Open by default (DR-0009): an unknown key beside a valid seller maximum validates. + assert.equal( + validateSupport({ geo_countries: { max_values_per_package: 1, unknown: true } }), + true, + errors(validateSupport) + ); + const requirements = JSON.parse( fs.readFileSync( path.join(SCHEMA_ROOT, "core", "targeting-overlay-requirements.json"), diff --git a/tests/trusted-match-context-merge.test.cjs b/tests/trusted-match-context-merge.test.cjs index cf839e1bab6..040b1ab3701 100644 --- a/tests/trusted-match-context-merge.test.cjs +++ b/tests/trusted-match-context-merge.test.cjs @@ -174,13 +174,18 @@ describe('Trusted Match Context targeting merge vectors', () => { { targeting_kv_mapping: { provider_a: {} } }, { targeting_kv_mapping: { provider_a: { key: '' } } }, {}, - { targeting_kv_mapping: {}, unexpected: true }, ]; for (const config of invalidConfigs) { assert.equal(validatePublisherConfig(config), false, `${JSON.stringify(config)} unexpectedly validated`); } }); + it('accepts an unknown key on the publisher targeting config', () => { + // Open by default (WG decision of 2026-11-09, DR-0009): an unknown key validates. + const config = { targeting_kv_mapping: {}, unexpected: true }; + assert.equal(validatePublisherConfig(config), true, JSON.stringify(validatePublisherConfig.errors)); + }); + it('rejects invalid merged response shapes', () => { for (const vector of fixture.invalid_router_responses) { assert.equal(validateRouterResponse(vector.response), false, `${vector.id} unexpectedly validated`); From 4157a26aea7fce707270936cb0b38f371f567534 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 9 Nov 2026 19:27:21 +0000 Subject: [PATCH 05/12] fix(training-agent): omit default openness from bundled tools/list definitions on 3.2.x Ports the tools/list and parity-test parts of 9c1c52de47 (#8866): bundled definitions in the product-discovery tools/list schemas omit `additionalProperties: true`, which is JSON Schema's default and carries no information. The root keeps the keyword. The parity test compares openness rather than the literal keyword. The sync_principal part of 9c1c52de47 does not apply: the 3.2 training agent does not implement sync_principal. Co-Authored-By: Claude Opus 5.5 --- server/src/training-agent/source-schema.ts | 11 ++++--- .../product-discovery-schema-parity.test.ts | 30 +++++++++---------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/server/src/training-agent/source-schema.ts b/server/src/training-agent/source-schema.ts index 0de56145635..a18d7483811 100644 --- a/server/src/training-agent/source-schema.ts +++ b/server/src/training-agent/source-schema.ts @@ -76,11 +76,14 @@ function linkedSchemaType(uri: string): unknown { return linked && typeof linked === 'object' ? (linked as JsonSchema).type : undefined; } -function keepDefinitionKey(key: string): boolean { +function keepDefinitionKey(key: string, value?: unknown): boolean { return key !== '$id' && key !== '$schema' && (key === 'x-adcp-schema-uri' || !key.startsWith('x-')) - && !definitionAnnotationKeys.has(key); + && !definitionAnnotationKeys.has(key) + // `additionalProperties: true` is JSON Schema's default and carries no + // information, so referenced definitions omit it from tools/list. + && !(key === 'additionalProperties' && value === true); } /** Build one self-contained schema without duplicating referenced schemas or @@ -146,7 +149,7 @@ function bundleSchema(root: JsonSchema): JsonSchema { const siblings = Object.fromEntries( Object.entries(record) - .filter(([key]) => key !== '$ref' && (!definitionPath || keepDefinitionKey(key))) + .filter(([key, entry]) => key !== '$ref' && (!definitionPath || keepDefinitionKey(key, entry))) .map(([key, entry]) => [key, rewrite(entry, definitionPath)]), ); if (Object.keys(siblings).length === 0) return { $ref: rewrittenRef }; @@ -157,7 +160,7 @@ function bundleSchema(root: JsonSchema): JsonSchema { return Object.fromEntries( Object.entries(record) - .filter(([key]) => !definitionPath || keepDefinitionKey(key)) + .filter(([key, entry]) => !definitionPath || keepDefinitionKey(key, entry)) .map(([key, entry]) => [key, rewrite(entry, definitionPath)]), ); } diff --git a/server/tests/unit/product-discovery-schema-parity.test.ts b/server/tests/unit/product-discovery-schema-parity.test.ts index 0335e8040d6..50d37021d16 100644 --- a/server/tests/unit/product-discovery-schema-parity.test.ts +++ b/server/tests/unit/product-discovery-schema-parity.test.ts @@ -22,6 +22,12 @@ function resolveLocalRef(root: JsonSchema, value: JsonSchema): JsonSchema { ), root); } +// tools/list omits `additionalProperties: true` inside bundled definitions (it +// is JSON Schema's default), so compare openness rather than the keyword. +function openness(schema: JsonSchema): boolean { + return schema.additionalProperties !== false; +} + describe('product discovery MCP schema parity', () => { it('keeps runtime discovery constraints aligned with source schemas', () => { const tools = new Map(productDiscoveryAliasToolDefinitions().map(tool => [tool.name, tool.inputSchema as JsonSchema])); @@ -64,42 +70,36 @@ describe('product discovery MCP schema parity', () => { expect(runtimeRefinement).toMatchObject({ type: sourceRefinement.type, required: sourceRefinement.required, - additionalProperties: sourceRefinement.additionalProperties, }); + expect(openness(runtimeRefinement)).toBe(openness(sourceRefinement)); // Repository-local refs must be bundled because MCP consumers do not have // an AdCP schema registry attached to tools/list. for (const runtime of tools.values()) { expect(JSON.stringify(runtime)).not.toContain('"$ref":"/schemas/'); } - const brandKey = JSON.parse(readFileSync( - join(process.cwd(), 'static/schemas/source/core/brand-key.json'), - 'utf8', - )) as JsonSchema; - expect(resolveLocalRef(list, list.properties.brand)) - .toMatchObject({ required: ['domain'], additionalProperties: brandKey.additionalProperties }); + const brand = resolveLocalRef(list, list.properties.brand); + expect(brand).toMatchObject({ required: ['domain'] }); + expect(openness(brand)).toBe(true); expect(resolveLocalRef(list, list.properties.fields)).toMatchObject({ minItems: 1, uniqueItems: true, items: { enum: expect.arrayContaining(['product_id', 'format_options', 'pricing_options']) }, }); - expect(resolveLocalRef(list, list.properties.criteria)) - .toMatchObject({ additionalProperties: sourceSchema('product-discovery-criteria').additionalProperties }); + expect(openness(resolveLocalRef(list, list.properties.criteria))) + .toBe(openness(sourceSchema('product-discovery-criteria'))); expect(resolveLocalRef(refineTool, refineTool.properties.refinements.items)) .toMatchObject({ required: ['proposal_id'], - additionalProperties: sourceRefinement.additionalProperties, // Definition annotations are intentionally stripped from tools/list; // dispatch still applies the source-schema default semantics. properties: { action: { enum: ['revise', 'finalize'] } }, oneOf: expect.any(Array), }); const declineTool = tools.get('decline_proposals')!; - expect(resolveLocalRef(declineTool, declineTool.properties.declines.items)) - .toMatchObject({ - required: ['proposal_id', 'reason'], - additionalProperties: sourceSchema('proposal-decline').additionalProperties, - }); + const decline = resolveLocalRef(declineTool, declineTool.properties.declines.items); + expect(decline).toMatchObject({ required: ['proposal_id', 'reason'] }); + expect(openness(decline)).toBe(openness(sourceSchema('decline-proposals-request').properties.declines.items)); }); it('bundles each tools/list input schema as a valid standalone document', () => { From a081fc3a46d0d6b18dacce574a1d12dccacbd63b Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 16:22:52 +0000 Subject: [PATCH 06/12] fix(schemas): mirror #8866's review fixes on 3.2.x Ports cd8bc76220 (Konstantin Mirin's review of #8866) for every node 3.2.x shares: - Key-presence guards: account-ref's account_id and natural-key forms exclude each other, as canonical-account-ref's now do for all six natural-key fields; image bleed is uniform or per-side; a failed reporting-receipt result carries no receipt. - Named rejections only for names the protocol defines elsewhere or forbids: step, gpc_honored, political, threshold_rate and per_ad_spend are dropped, and list-application receipts reject auth_token alone. access_token on the delivery-ready webhook stays as a credential clamp. - Each node or union with a named rejection says in its description what it rejects and why. The sync_creatives sentence omits the merge op 3.2.x does not have, and the closed lookup_unavailable branch states its clamp in 3.2.x terms. - The get_principal current branch and the sync_principal applied and validated branches open; the validated branch rejects destination_ref and configuration_version. The changeset calls the commercial terms a hold until 4.0 rather than a structural reason. 674 of 775 locations open; 101 stay closed. Co-Authored-By: Claude Opus 5.5 --- .changeset/open-closed-schemas-3-2.md | 10 +++++----- .../schemas/source/core/account-identity-change.json | 1 + static/schemas/source/core/account-ref.json | 4 +++- .../source/core/account-status-changed-webhook.json | 2 +- .../source/core/agent-notification-config-state.json | 1 + static/schemas/source/core/attestation-reference.json | 2 +- static/schemas/source/core/audience-source.json | 2 +- .../schemas/source/core/bidding-policy-capability.json | 2 +- static/schemas/source/core/canonical-account-ref.json | 4 ++-- .../schemas/source/core/canonical-format-option.json | 2 +- static/schemas/source/core/canonical-placement.json | 2 +- .../schemas/source/core/canonical-product-action.json | 2 +- static/schemas/source/core/collection.json | 1 + .../core/frequency-cap-impression-constraints.json | 1 - static/schemas/source/core/geo-place-requirement.json | 2 +- static/schemas/source/core/geo-region-requirement.json | 3 ++- static/schemas/source/core/geo-region-support.json | 1 + .../source/core/inventory-list-application.json | 6 +++--- .../schemas/source/core/outcome-target-cost-per.json | 2 +- static/schemas/source/core/placement-selection.json | 1 + static/schemas/source/core/postal-area.json | 1 + static/schemas/source/core/product-allowed-action.json | 2 +- static/schemas/source/core/product-offer-filters.json | 2 +- .../source/core/reporting-delivery-ready-webhook.json | 2 +- static/schemas/source/core/reporting-revision.json | 2 +- .../core/requirements/image-asset-requirements.json | 4 +++- static/schemas/source/core/signal-definition.json | 3 +-- .../source/core/targeting-overlay-requirements.json | 2 ++ .../creative/creative-status-changed-webhook.json | 2 +- .../source/creative/sync-creatives-request.json | 1 + .../schemas/source/media-buy/acceptance-context.json | 3 +-- .../schemas/source/media-buy/get-products-request.json | 1 + .../media-buy/get-reporting-status-response.json | 1 + static/schemas/source/media-buy/outcome-target.json | 3 +-- .../media-buy/sync-reporting-receipts-response.json | 2 ++ .../source/protocol/get-principal-response.json | 2 +- .../source/protocol/sync-principal-response.json | 6 ++++-- 37 files changed, 53 insertions(+), 37 deletions(-) diff --git a/.changeset/open-closed-schemas-3-2.md b/.changeset/open-closed-schemas-3-2.md index c5d1bf18cdf..88564b64803 100644 --- a/.changeset/open-closed-schemas-3-2.md +++ b/.changeset/open-closed-schemas-3-2.md @@ -4,19 +4,19 @@ Open the 3.2 schemas that were closed by accident, so a 3.2 validator no longer rejects a newer 3.x payload because it carries a field 3.2 does not know. Backports the 3.3 opening decided by the working group on 2026-11-09. -`additionalProperties` goes from `false` to `true` at 671 of the 775 closed locations in the 3.2 source tree. +`additionalProperties` goes from `false` to `true` at 674 of the 775 closed locations in the 3.2 source tree. -104 locations stay closed for a structural reason, by the same rules as 3.3: +101 locations stay closed, matching 3.3: most for a structural reason, and the commercial terms as a hold until 4.0. - `oneOf` branches told apart only by which keys are present (`a2ui/bound-value.json`, `brand.json`). -- The signed commercial terms that `terms_digest` binds, and the hard `proposal-budget-constraint` a seller must understand. - Metric qualifiers and forecast dimensions, which consumers join on. - The JWS response envelope. -- Privacy boundaries: the TMP match requests, the not-found error, the per-agent permission-denied and billing-not-permitted details, the `get_principal` and `sync_principal` results, and the `get_reporting_status` unavailable-lookup result. +- Privacy boundaries: the TMP match requests, the not-found error, the per-agent permission-denied and billing-not-permitted details, the `get_principal` recognized, unconfigured and failed results, the failed `sync_principal` result, and the `get_reporting_status` unavailable-lookup result. - The credential-free reporting destinations and the destination `setup` action. - `placement-presentation`, which carries no key material or markup. - `patternProperties` maps keyed by IDs. +- Held closed until 4.0: the commercial terms and the hard `proposal-budget-constraint`. This is a hold, not a structural reason; 4.0 gives `commercial_terms` a declared extension point with must-understand. -Where closure was the only thing rejecting a specific field that the protocol defines elsewhere or forbids (for example `trackers` on `unassign`, `staged_update` on `creative.status_changed`, `access_token` on the delivery-ready webhook, `auth_token` on list-application receipts, or credentials on a notification-config readback), the opened schema now rejects that field by name with `not`. The same applies to `anyOf` unions whose branches were told apart only by which keys are present: a geo-region country entry carries `all_values` or `values`, not both; a canonical account ref carries `account_id` or the brand + operator natural key, not both; a deprecated fused-system postal area carries no `country`; and a reporting-receipt result carries `receipt` or `adjustment_receipt`. Descriptions of opened schemas no longer say they are closed. +Where closure was the only thing rejecting a specific field that the protocol defines elsewhere or forbids (for example `trackers` on `unassign`, `staged_update` on `creative.status_changed`, `auth_token` on list-application receipts, or credentials on a notification-config readback), the opened schema now rejects that field by name with `not`. `access_token` on the delivery-ready webhook is rejected as a credential clamp. The same applies to unions whose branches were told apart only by which keys are present: an account ref, compact or not, carries `account_id` or the natural key, not both; a geo-region country entry carries `all_values` or `values`; image bleed is uniform or per-side; a deprecated fused-system postal area carries no `country`; and a reporting-receipt result carries `receipt` or `adjustment_receipt`, a failed one neither. Each node with a named rejection says in its description what it rejects and why, since generated types cannot express `not`. Descriptions of opened schemas no longer say they are closed. The MCP model-context projection now omits `additionalProperties: true` as well as `false`, since `true` is the JSON Schema default. diff --git a/static/schemas/source/core/account-identity-change.json b/static/schemas/source/core/account-identity-change.json index 004189ea4f8..f496d961280 100644 --- a/static/schemas/source/core/account-identity-change.json +++ b/static/schemas/source/core/account-identity-change.json @@ -5,6 +5,7 @@ "description": "A requested operator-identity change that has not been applied. The account's top-level operator and operator_unit remain canonical until this object disappears after approval and the canonical fields advance. Rejected changes remain visible until replaced by a later request so buyers polling list_accounts can observe the outcome.", "oneOf": [ { + "description": "A pending change rejects `reason`: only a rejected change carries one.", "title": "AccountIdentityChangePending", "type": "object", "properties": { diff --git a/static/schemas/source/core/account-ref.json b/static/schemas/source/core/account-ref.json index fff685fb2bb..1e3f45a1449 100644 --- a/static/schemas/source/core/account-ref.json +++ b/static/schemas/source/core/account-ref.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/account-ref.json", "title": "Account Reference", - "description": "Reference to an advertiser account by seller-assigned ID or natural key. account_id is the seller/storefront handle returned by list_accounts. The natural key is brand + operator + optional operator_unit.id + optional fixed currency + optional buyer-selected account timezone + sandbox; it describes the advertiser object the seller resolves or provisions. After a capability-gated identity rekey, the former natural key is tombstoned and returns ACCOUNT_MOVED to authorized callers rather than resolving or provisioning another account. brand.countries qualifies the advertiser's geographic identity. operator_unit identifies the operator-owned buying seat or business unit and is distinct from the seller account. operator_unit.name is display metadata and does not participate in identity. Use account_id when the seller or upstream platform owns the canonical account namespace; use the natural key for buyer-declared accounts (require_operator_auth: false).", + "description": "Reference to an advertiser account by seller-assigned ID or natural key. account_id is the seller/storefront handle returned by list_accounts. The natural key is brand + operator + optional operator_unit.id + optional fixed currency + optional buyer-selected account timezone + sandbox; it describes the advertiser object the seller resolves or provisions. After a capability-gated identity rekey, the former natural key is tombstoned and returns ACCOUNT_MOVED to authorized callers rather than resolving or provisioning another account. brand.countries qualifies the advertiser's geographic identity. operator_unit identifies the operator-owned buying seat or business unit and is distinct from the seller account. operator_unit.name is display metadata and does not participate in identity. Use account_id when the seller or upstream platform owns the canonical account namespace; use the natural key for buyer-declared accounts (require_operator_auth: false). The two forms exclude each other: the account_id form rejects the natural-key fields (`brand`, `operator`, `operator_unit`, `currency`, `timezone`, `sandbox`), and the natural-key form rejects `account_id`.", "type": "object", "oneOf": [ { @@ -14,6 +14,7 @@ } }, "required": ["account_id"], + "not": { "anyOf": [{ "required": ["brand"] }, { "required": ["operator"] }, { "required": ["operator_unit"] }, { "required": ["currency"] }, { "required": ["timezone"] }, { "required": ["sandbox"] }] }, "additionalProperties": true }, { @@ -49,6 +50,7 @@ } }, "required": ["brand", "operator"], + "not": { "required": ["account_id"] }, "additionalProperties": true } ], diff --git a/static/schemas/source/core/account-status-changed-webhook.json b/static/schemas/source/core/account-status-changed-webhook.json index 65a5eea2f2e..c686daeb2df 100644 --- a/static/schemas/source/core/account-status-changed-webhook.json +++ b/static/schemas/source/core/account-status-changed-webhook.json @@ -80,7 +80,7 @@ }, "setup": { "type": "object", - "description": "Reduced setup hint when the new status requires human action. This block intentionally omits setup.url; receivers fetch the current setup URL from list_accounts if the caller is authorized to see it.", + "description": "Reduced setup hint when the new status requires human action. This block intentionally omits setup.url; receivers fetch the current setup URL from list_accounts if the caller is authorized to see it. Rejects `url`, so a setup link is never fanned out to every subscriber of this webhook.", "properties": { "message": { "type": "string", diff --git a/static/schemas/source/core/agent-notification-config-state.json b/static/schemas/source/core/agent-notification-config-state.json index 6f6a1390cf6..90cde1fe170 100644 --- a/static/schemas/source/core/agent-notification-config-state.json +++ b/static/schemas/source/core/agent-notification-config-state.json @@ -48,6 +48,7 @@ "description": "Echoed from the desired configuration when set." }, "authentication": { + "description": "Rejects `credentials`: credentials are write-only and never read back.", "type": "object", "deprecated": true, "properties": { diff --git a/static/schemas/source/core/attestation-reference.json b/static/schemas/source/core/attestation-reference.json index 524e940677e..f8796082c9e 100644 --- a/static/schemas/source/core/attestation-reference.json +++ b/static/schemas/source/core/attestation-reference.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/attestation-reference.json", "title": "Attestation Reference", - "description": "Portable, reference-first presentation of an independently issued claim. It identifies the claimed issuer, claim vocabulary, subject, and either a stable credential locator or an embedded credential. A presentation is a locator and claim hint, not proof or a trust decision. The evaluator remains verifier-of-record and MUST resolve or inspect the credential only under its published attestation capabilities and local trust policy.", + "description": "Portable, reference-first presentation of an independently issued claim. It identifies the claimed issuer, claim vocabulary, subject, and either a stable credential locator or an embedded credential. A presentation is a locator and claim hint, not proof or a trust decision. The evaluator remains verifier-of-record and MUST resolve or inspect the credential only under its published attestation capabilities and local trust policy. Rejects `decision` and `confidence`: a presenter can't supply an evaluator's outcome, which only attestation-evaluation records.", "type": "object", "properties": { "issuer": { diff --git a/static/schemas/source/core/audience-source.json b/static/schemas/source/core/audience-source.json index 660495915f9..5c337e8db68 100644 --- a/static/schemas/source/core/audience-source.json +++ b/static/schemas/source/core/audience-source.json @@ -3,7 +3,7 @@ "$id": "/schemas/core/audience-source.json", "title": "Audience Source", "x-status": "experimental", - "description": "External source reference for an audience: a pointer to buyer data that the seller ingests over a declared activation rail, instead of inline member deltas. The data never transits AdCP — the protocol carries the reference; ingestion happens on the vendor's rails. kind discriminates the entry. A buyer MUST only send a source kind whose corresponding activation pattern (dataset_query for dataset, platform_distribution for platform_segment) the seller has declared via audience_activation; sellers reject undeclared kinds with UNSUPPORTED_FEATURE. References are never credentials: grant-based paths are in-protocol only when the vendor flow is grantee-identified (the grant names a principal; no secret is conveyed), and requests carrying credential material are rejected with CREDENTIAL_IN_ARGS. Experimental (x-status: experimental): part of the media_buy.audience_activation surface — sellers implementing external sources MUST list media_buy.audience_activation in experimental_features. Per docs/reference/experimental-status, this surface MAY change between 3.x releases with notice.", + "description": "External source reference for an audience: a pointer to buyer data that the seller ingests over a declared activation rail, instead of inline member deltas. The data never transits AdCP — the protocol carries the reference; ingestion happens on the vendor's rails. kind discriminates the entry. A buyer MUST only send a source kind whose corresponding activation pattern (dataset_query for dataset, platform_distribution for platform_segment) the seller has declared via audience_activation; sellers reject undeclared kinds with UNSUPPORTED_FEATURE. References are never credentials: grant-based paths are in-protocol only when the vendor flow is grantee-identified (the grant names a principal; no secret is conveyed), and requests carrying credential material are rejected with CREDENTIAL_IN_ARGS. Experimental (x-status: experimental): part of the media_buy.audience_activation surface — sellers implementing external sources MUST list media_buy.audience_activation in experimental_features. Per docs/reference/experimental-status, this surface MAY change between 3.x releases with notice. Each kind rejects the fields only the other defines: a dataset source rejects `segment_ref`, and a platform segment rejects `locator` and `access_expires_at`.", "type": "object", "oneOf": [ { diff --git a/static/schemas/source/core/bidding-policy-capability.json b/static/schemas/source/core/bidding-policy-capability.json index dc39d5295c0..091e4bff946 100644 --- a/static/schemas/source/core/bidding-policy-capability.json +++ b/static/schemas/source/core/bidding-policy-capability.json @@ -20,7 +20,7 @@ "definitions": { "scope_capability": { "type": "object", - "description": "Support at one authored scope, partitioned by the media buy's resulting allocation mode. Omitted contexts are unsupported; claims in one context make no claim about the other.", + "description": "Support at one authored scope, partitioned by the media buy's resulting allocation mode. Omitted contexts are unsupported; claims in one context make no claim about the other. Rejects `modes`, `cost_per_strengths`, `roas_strengths` and `supported_combinations`, which belong to policy_profile one level down.", "properties": { "fixed": { "$ref": "#/definitions/policy_profile", diff --git a/static/schemas/source/core/canonical-account-ref.json b/static/schemas/source/core/canonical-account-ref.json index 01ed4b31033..ff6c6864f0a 100644 --- a/static/schemas/source/core/canonical-account-ref.json +++ b/static/schemas/source/core/canonical-account-ref.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/canonical-account-ref.json", "title": "Canonical Account Reference", - "description": "Compact advertiser-account identity for canonical 3.2 tools. Uses either the seller/storefront account_id returned by list_accounts or the buyer-declared natural key without BrandRef inline overrides. The natural key is brand + operator + optional operator_unit.id + optional fixed currency + optional buyer-selected account timezone + sandbox. brand.countries qualifies the commercial advertiser identity without targeting delivery; operator_unit identifies the operator-owned buying context. operator_unit.name is display metadata and is excluded from identity.", + "description": "Compact advertiser-account identity for canonical 3.2 tools. Uses either the seller/storefront account_id returned by list_accounts or the buyer-declared natural key without BrandRef inline overrides. The natural key is brand + operator + optional operator_unit.id + optional fixed currency + optional buyer-selected account timezone + sandbox. brand.countries qualifies the commercial advertiser identity without targeting delivery; operator_unit identifies the operator-owned buying context. operator_unit.name is display metadata and is excluded from identity. The two forms exclude each other: the account_id form rejects the natural-key fields (`brand`, `operator`, `operator_unit`, `currency`, `timezone`, `sandbox`), and the natural-key form rejects `account_id`.", "type": "object", "anyOf": [ { @@ -14,7 +14,7 @@ } }, "required": ["account_id"], - "not": { "anyOf": [{ "required": ["brand"] }, { "required": ["operator"] }] }, + "not": { "anyOf": [{ "required": ["brand"] }, { "required": ["operator"] }, { "required": ["operator_unit"] }, { "required": ["currency"] }, { "required": ["timezone"] }, { "required": ["sandbox"] }] }, "additionalProperties": true }, { diff --git a/static/schemas/source/core/canonical-format-option.json b/static/schemas/source/core/canonical-format-option.json index 6ce16f463a9..796aa5f394f 100644 --- a/static/schemas/source/core/canonical-format-option.json +++ b/static/schemas/source/core/canonical-format-option.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/canonical-format-option.json", "title": "Canonical Format Option", - "description": "Compact canonical creative-format declaration. Legacy named-format links are intentionally absent; params are validated against the canonical schema selected by format_kind without inlining every format union into product discovery. Format-option processing metadata such as macro_resolution_capabilities stays at this object's top level and is not part of canonical params.", + "description": "Compact canonical creative-format declaration. Legacy named-format links are intentionally absent; params are validated against the canonical schema selected by format_kind without inlining every format union into product discovery. Format-option processing metadata such as macro_resolution_capabilities stays at this object's top level and is not part of canonical params. Rejects `v1_format_ref`, the legacy named-format link of product-format-declaration.", "type": "object", "properties": { "format_option_id": { "type": "string", "minLength": 1 }, diff --git a/static/schemas/source/core/canonical-placement.json b/static/schemas/source/core/canonical-placement.json index 02e8b8b6214..832361dce2a 100644 --- a/static/schemas/source/core/canonical-placement.json +++ b/static/schemas/source/core/canonical-placement.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/canonical-placement.json", "title": "Canonical Product Placement", - "description": "Compact product placement with canonical format narrowing. Publisher references carry their publisher authority. New seller-inline placements SHOULD carry seller_agent as their defining authority; legacy seller-inline placements without it remain valid in product context.", + "description": "Compact product placement with canonical format narrowing. Publisher references carry their publisher authority. New seller-inline placements SHOULD carry seller_agent as their defining authority; legacy seller-inline placements without it remain valid in product context. Rejects `format_ids`, the legacy placement format list; canonical placements reference format options.", "type": "object", "definitions": { "CanonicalDoohScreenResolution": { diff --git a/static/schemas/source/core/canonical-product-action.json b/static/schemas/source/core/canonical-product-action.json index a3768520989..877ac8122e3 100644 --- a/static/schemas/source/core/canonical-product-action.json +++ b/static/schemas/source/core/canonical-product-action.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/canonical-product-action.json", "title": "Canonical Product Action", - "description": "Fine-grained action template advertised on a compact product. The resulting MediaBuy exposes the authoritative routed task in available_actions.", + "description": "Fine-grained action template advertised on a compact product. The resulting MediaBuy exposes the authoritative routed task in available_actions. Rejects `review_sla`: a product's review commitment is creative_policy.review_sla.", "x-adcp-validation": { "verifier_constraints": { "constraint_action_compatibility": "The constraints.kind is compatible with action under change-term-constraints.json. Product constraints are advisory and a proposal must restate binding bounds." diff --git a/static/schemas/source/core/collection.json b/static/schemas/source/core/collection.json index 574e8d8fdb9..d6ee5473ad1 100644 --- a/static/schemas/source/core/collection.json +++ b/static/schemas/source/core/collection.json @@ -92,6 +92,7 @@ "type": "array", "description": "Relationships to other collections (spin-offs, companion collections, etc.). Each entry references another collection by collection_id within the same publisher's adagents.json.", "items": { + "description": "Rejects `publisher_domain`: a related collection is a local reference, not a cross-publisher declaration.", "type": "object", "properties": { "collection_id": { diff --git a/static/schemas/source/core/frequency-cap-impression-constraints.json b/static/schemas/source/core/frequency-cap-impression-constraints.json index ad11c0a8395..1c9fb0d7504 100644 --- a/static/schemas/source/core/frequency-cap-impression-constraints.json +++ b/static/schemas/source/core/frequency-cap-impression-constraints.json @@ -30,7 +30,6 @@ "not": { "required": ["allowed_values"] } } ], - "not": { "required": ["step"] }, "additionalProperties": true, "x-adcp-validation": { "ordered_bounds": "minimum MUST be less than or equal to maximum." diff --git a/static/schemas/source/core/geo-place-requirement.json b/static/schemas/source/core/geo-place-requirement.json index 9bcedf7c638..0ce24d6c461 100644 --- a/static/schemas/source/core/geo-place-requirement.json +++ b/static/schemas/source/core/geo-place-requirement.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/geo-place-requirement.json", "title": "Geographic Place Requirement", - "description": "Identifier systems and collision-safe country/type pairs the buyer must be allowed to select later.", + "description": "Identifier systems and collision-safe country/type pairs the buyer must be allowed to select later. Rejects the seller limits `max_values_per_package` and `max_packages`, which only product support discloses.", "type": "object", "definitions": { "catalogRequirement": { diff --git a/static/schemas/source/core/geo-region-requirement.json b/static/schemas/source/core/geo-region-requirement.json index 319d107fc19..e435754f709 100644 --- a/static/schemas/source/core/geo-region-requirement.json +++ b/static/schemas/source/core/geo-region-requirement.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/geo-region-requirement.json", "title": "Geographic Region Requirement", - "description": "Buyer minimum requirements for ISO 3166-2 subdivision values that must remain independently selectable later. Country keys prevent a false cross-country capability claim. all_values requires support for every protocol-valid ISO subdivision active in the seller's support snapshot when the declaration is issued; values requests an exact finite candidate set. Exact delivery values known now belong in get_products.targeting_overlay instead.", + "description": "Buyer minimum requirements for ISO 3166-2 subdivision values that must remain independently selectable later. Country keys prevent a false cross-country capability claim. all_values requires support for every protocol-valid ISO subdivision active in the seller's support snapshot when the declaration is issued; values requests an exact finite candidate set. Exact delivery values known now belong in get_products.targeting_overlay instead. Rejects the seller limits `max_values_per_package` and `max_packages`, which only product support discloses.", "type": "object", "properties": { "countries": { @@ -12,6 +12,7 @@ "pattern": "^[A-Z]{2}$" }, "additionalProperties": { + "description": "`all_values` and `values` exclude each other.", "anyOf": [ { "type": "object", diff --git a/static/schemas/source/core/geo-region-support.json b/static/schemas/source/core/geo-region-support.json index 53301295164..cedeb3349c1 100644 --- a/static/schemas/source/core/geo-region-support.json +++ b/static/schemas/source/core/geo-region-support.json @@ -12,6 +12,7 @@ "pattern": "^[A-Z]{2}$" }, "additionalProperties": { + "description": "`all_values` and `values` exclude each other.", "anyOf": [ { "type": "object", diff --git a/static/schemas/source/core/inventory-list-application.json b/static/schemas/source/core/inventory-list-application.json index 492e83b04ab..a3405599cad 100644 --- a/static/schemas/source/core/inventory-list-application.json +++ b/static/schemas/source/core/inventory-list-application.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/inventory-list-application.json", "title": "Inventory List Application", - "description": "Seller-issued, product-scoped receipt showing how one effective property- or collection-list targeting reference intersected the inventory represented by a returned product. Each receipt compares its resolved entries independently against the same product inventory before any effective list is applied; product pricing and forecasts reflect the eligible inventory after all effective lists are composed. Sellers MUST NOT echo auth_token or other separately supplied fetch credentials; the receipt shape defines no credential field.", + "description": "Seller-issued, product-scoped receipt showing how one effective property- or collection-list targeting reference intersected the inventory represented by a returned product. Each receipt compares its resolved entries independently against the same product inventory before any effective list is applied; product pricing and forecasts reflect the eligible inventory after all effective lists are composed. Sellers MUST NOT echo auth_token or other separately supplied fetch credentials; the receipt shape defines no credential field. Both receipt branches reject `auth_token`.", "type": "object", "x-adcp-validation": { "verifier_constraints": { @@ -82,7 +82,7 @@ "summary" ], "additionalProperties": true, - "not": { "anyOf": [{ "required": ["auth_token"] }, { "required": ["mode"] }] } + "not": { "required": ["auth_token"] } }, { "title": "Collection list application", @@ -148,7 +148,7 @@ "summary" ], "additionalProperties": true, - "not": { "anyOf": [{ "required": ["auth_token"] }, { "required": ["mode"] }] } + "not": { "required": ["auth_token"] } } ] } diff --git a/static/schemas/source/core/outcome-target-cost-per.json b/static/schemas/source/core/outcome-target-cost-per.json index 0c76ee48d52..13841027a7d 100644 --- a/static/schemas/source/core/outcome-target-cost-per.json +++ b/static/schemas/source/core/outcome-target-cost-per.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/outcome-target-cost-per.json", "title": "Outcome Target Cost Per", - "description": "Average cost the buyer will pay per goal result: BiddingPolicy.cost_per plus a currency. It requires a goal expressible as a canonical optimization goal; otherwise the seller rejects with INVALID_REQUEST naming criteria.outcome_target.cost_per, since the goal stays plannable by volume. With a buyer budget (offer_filters.budget_range or the brief), the seller plans the volume it can deliver within it at or below (cap) or around (target) the cost; with volume, see volume; with neither, it MUST state the spend for the volume it can deliver at the cost in total_budget_guidance. Each proposal answers in commercial_terms.bidding.cost_per, which the buyer adopts on acceptance; it is an execution control, not an expected price, and billing stays on the selected pricing option. The answer MUST NOT carry purchase-level bidding. Under fixed or omitted budget_allocation every purchase's primary optimization goal, and under seller_optimized the primary budget_allocation.optimization_goals goal, MUST match goal and resolve to one result unit as BiddingPolicy.cost_per defines it: the same metric and result-defining qualifiers, or for an event goal every event_sources[] entry carrying the goal's event_type (and custom_event_name) with one resolved attribution_window. Seller-added qualifiers (such as view_duration_seconds or reach_unit) are permitted and visible in the proposal. For an event goal the seller fills event_sources from sources available on the buyer's account for that event, buyer-synced or seller-managed, exactly one unless it advertises conversion_tracking.multi_source_event_dedup, and states attribution_window, which SHOULD be one advertised in conversion_tracking.attribution_windows; with none available it rejects. A seller MUST NOT answer with a bidding policy outside its advertised features.bidding_policy profile for the proposal's scope and allocation mode; a declaring seller without one rejects. Rejections of a target that cannot be represented or bound (strength, currency, goal, capability) use INVALID_REQUEST naming criteria.outcome_target.cost_per; a valid target with no viable inventory is outcome 'rejected'.", + "description": "Average cost the buyer will pay per goal result: BiddingPolicy.cost_per plus a currency. It requires a goal expressible as a canonical optimization goal; otherwise the seller rejects with INVALID_REQUEST naming criteria.outcome_target.cost_per, since the goal stays plannable by volume. With a buyer budget (offer_filters.budget_range or the brief), the seller plans the volume it can deliver within it at or below (cap) or around (target) the cost; with volume, see volume; with neither, it MUST state the spend for the volume it can deliver at the cost in total_budget_guidance. Each proposal answers in commercial_terms.bidding.cost_per, which the buyer adopts on acceptance; it is an execution control, not an expected price, and billing stays on the selected pricing option. The answer MUST NOT carry purchase-level bidding. Under fixed or omitted budget_allocation every purchase's primary optimization goal, and under seller_optimized the primary budget_allocation.optimization_goals goal, MUST match goal and resolve to one result unit as BiddingPolicy.cost_per defines it: the same metric and result-defining qualifiers, or for an event goal every event_sources[] entry carrying the goal's event_type (and custom_event_name) with one resolved attribution_window. Seller-added qualifiers (such as view_duration_seconds or reach_unit) are permitted and visible in the proposal. For an event goal the seller fills event_sources from sources available on the buyer's account for that event, buyer-synced or seller-managed, exactly one unless it advertises conversion_tracking.multi_source_event_dedup, and states attribution_window, which SHOULD be one advertised in conversion_tracking.attribution_windows; with none available it rejects. A seller MUST NOT answer with a bidding policy outside its advertised features.bidding_policy profile for the proposal's scope and allocation mode; a declaring seller without one rejects. Rejections of a target that cannot be represented or bound (strength, currency, goal, capability) use INVALID_REQUEST naming criteria.outcome_target.cost_per; a valid target with no viable inventory is outcome 'rejected'. Rejects `max_bid`, which belongs to bidding_policy.", "type": "object", "properties": { "amount": { diff --git a/static/schemas/source/core/placement-selection.json b/static/schemas/source/core/placement-selection.json index 5fe128bf19d..af37ad4bda0 100644 --- a/static/schemas/source/core/placement-selection.json +++ b/static/schemas/source/core/placement-selection.json @@ -43,6 +43,7 @@ "additionalProperties": true }, { + "description": "Rejects `placement_refs`: the default mode names no placements.", "title": "Product default placements", "type": "object", "properties": { diff --git a/static/schemas/source/core/postal-area.json b/static/schemas/source/core/postal-area.json index 63ee5530937..919778bc35e 100644 --- a/static/schemas/source/core/postal-area.json +++ b/static/schemas/source/core/postal-area.json @@ -35,6 +35,7 @@ "additionalProperties": true }, { + "description": "Rejects `country`: the fused legacy system already names the country.", "title": "PostalAreaWithFusedSystem", "deprecated": true, "type": "object", diff --git a/static/schemas/source/core/product-allowed-action.json b/static/schemas/source/core/product-allowed-action.json index 05b0002de0f..eaa2ba0c8a1 100644 --- a/static/schemas/source/core/product-allowed-action.json +++ b/static/schemas/source/core/product-allowed-action.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/core/product-allowed-action.json", "title": "Product Allowed Action", - "description": "An action a seller declares as allowed on buys created against this product, scoped to the buy statuses where the action is permitted and the modes available. Advisory template only — the authoritative per-buy resolution lives in `available_actions[]` on the buy response (which may diverge from the product template based on negotiated terms, account tier, or buy-level overrides). The containing `allowed_actions[]` array is uniquely keyed by `action`; sellers MUST NOT emit two entries with the same `action` value. JSON Schema `uniqueItems` only catches structurally identical objects, so validators MUST enforce action-uniqueness separately.", + "description": "An action a seller declares as allowed on buys created against this product, scoped to the buy statuses where the action is permitted and the modes available. Advisory template only — the authoritative per-buy resolution lives in `available_actions[]` on the buy response (which may diverge from the product template based on negotiated terms, account tier, or buy-level overrides). The containing `allowed_actions[]` array is uniquely keyed by `action`; sellers MUST NOT emit two entries with the same `action` value. JSON Schema `uniqueItems` only catches structurally identical objects, so validators MUST enforce action-uniqueness separately. Rejects `review_sla`: a product's review commitment is creative_policy.review_sla.", "x-adcp-validation": { "verifier_constraints": { "constraint_action_compatibility": "The constraints.kind is compatible with action under change-term-constraints.json. Product constraints are advisory upper bounds and cannot create a proposal-bound right." diff --git a/static/schemas/source/core/product-offer-filters.json b/static/schemas/source/core/product-offer-filters.json index e64601c4ce9..018b0329658 100644 --- a/static/schemas/source/core/product-offer-filters.json +++ b/static/schemas/source/core/product-offer-filters.json @@ -53,7 +53,7 @@ }, "availability_horizon": { "type": "object", - "description": "Flexible-window availability discovery: the buyer is open to any bookable window inside [start_time, end_time) and asks the seller to describe when the returned inventory can run, instead of filtering to one exact flight. Sellers that support this field partition the horizon into time-dimensioned forecast rows (forecast-dimension-time) carrying availability_status; sellers that cannot cover the full horizon signal the gap via the response's incomplete[] mechanism. Unlike start_date/end_date this is not an eligibility filter — products remain returnable when only part of the horizon is open. The resulting availability is a snapshot bounded by the forecast's valid_until, never a hold. Mutually exclusive with start_date and end_date, which declare a fixed flight; buyers that already know their dates use those instead.", + "description": "Flexible-window availability discovery: the buyer is open to any bookable window inside [start_time, end_time) and asks the seller to describe when the returned inventory can run, instead of filtering to one exact flight. Sellers that support this field partition the horizon into time-dimensioned forecast rows (forecast-dimension-time) carrying availability_status; sellers that cannot cover the full horizon signal the gap via the response's incomplete[] mechanism. Unlike start_date/end_date this is not an eligibility filter — products remain returnable when only part of the horizon is open. The resulting availability is a snapshot bounded by the forecast's valid_until, never a hold. Mutually exclusive with start_date and end_date, which declare a fixed flight; buyers that already know their dates use those instead. Rejects `timezone`: the bounds are instants.", "properties": { "start_time": { "type": "string", diff --git a/static/schemas/source/core/reporting-delivery-ready-webhook.json b/static/schemas/source/core/reporting-delivery-ready-webhook.json index 540f154d4b1..97c9de7d2ba 100644 --- a/static/schemas/source/core/reporting-delivery-ready-webhook.json +++ b/static/schemas/source/core/reporting-delivery-ready-webhook.json @@ -3,7 +3,7 @@ "$id": "/schemas/core/reporting-delivery-ready-webhook.json", "title": "Reporting Delivery Ready Webhook", "x-status": "experimental", - "description": "Compact account-anchored readiness doorbell registered through sync_accounts notification_configs using reporting.delivery_ready. Managed-delivery tier only: it names a materialization at a destination, so Core (API-delivered) configurations never fire it — Core consumers subscribe to reporting.status_changed and poll get_reporting_status. The named revision/materialization MUST already be observable through the intended consumer path. Transport retries are deduplicated by (authenticated sender, idempotency_key); downstream ingestion is deduplicated independently by reporting_revision_id and reporting_materialization_id. Ordering is unconstrained and receivers repair through authenticated get_reporting_status. The event MUST be signed using the advertised AdCP webhook-signing profile and MUST NOT contain rows, object lists, signed URLs, activation URLs, credentials, or access tokens.", + "description": "Compact account-anchored readiness doorbell registered through sync_accounts notification_configs using reporting.delivery_ready. Managed-delivery tier only: it names a materialization at a destination, so Core (API-delivered) configurations never fire it — Core consumers subscribe to reporting.status_changed and poll get_reporting_status. The named revision/materialization MUST already be observable through the intended consumer path. Transport retries are deduplicated by (authenticated sender, idempotency_key); downstream ingestion is deduplicated independently by reporting_revision_id and reporting_materialization_id. Ordering is unconstrained and receivers repair through authenticated get_reporting_status. The event MUST be signed using the advertised AdCP webhook-signing profile and MUST NOT contain rows, object lists, signed URLs, activation URLs, credentials, or access tokens. Rejects `access_token`: the webhook never carries a bearer credential, and the receiver fetches with its own credentials.", "type": "object", "properties": { "idempotency_key": { diff --git a/static/schemas/source/core/reporting-revision.json b/static/schemas/source/core/reporting-revision.json index c738da74d72..422aab0ed78 100644 --- a/static/schemas/source/core/reporting-revision.json +++ b/static/schemas/source/core/reporting-revision.json @@ -3,7 +3,7 @@ "$id": "/schemas/core/reporting-revision.json", "title": "Reporting Revision", "x-status": "experimental", - "description": "One immutable emitted version of logical reporting content. The revision is destination-independent: one canonical revision may fan out through many caller/account-bound obligations and materializations, including file, warehouse, and dataset-share destinations. The report_definition_id plus period and scope identify the logical slice; provisional restatements create a new snapshot revision and preserve the superseded snapshot for the advertised retention window. An official revision is terminal; later corrections are separate reporting adjustments.", + "description": "One immutable emitted version of logical reporting content. The revision is destination-independent: one canonical revision may fan out through many caller/account-bound obligations and materializations, including file, warehouse, and dataset-share destinations. The report_definition_id plus period and scope identify the logical slice; provisional restatements create a new snapshot revision and preserve the superseded snapshot for the advertised retention window. An official revision is terminal; later corrections are separate reporting adjustments. Rejects `destination_ref`: a revision is destination-independent.", "type": "object", "properties": { "reporting_revision_id": { "type": "string", "minLength": 1, "maxLength": 255, "pattern": "^[A-Za-z0-9_.:-]{1,255}$", "x-entity": "reporting_revision", "description": "Portable AdCP identity for this immutable report publication. Distinct from package delivery_revision_id and provider-native versions." }, diff --git a/static/schemas/source/core/requirements/image-asset-requirements.json b/static/schemas/source/core/requirements/image-asset-requirements.json index 27f60083e14..2755308d825 100644 --- a/static/schemas/source/core/requirements/image-asset-requirements.json +++ b/static/schemas/source/core/requirements/image-asset-requirements.json @@ -63,7 +63,7 @@ }, "bleed": { "type": "object", - "description": "Required bleed area beyond the trim size. The submitted image must be larger than the declared dimensions: total width = trim width + left bleed + right bleed, total height = trim height + top bleed + bottom bleed. For uniform bleed: total = trim + (2 * uniform). Uses the same unit as the parent dimensions.", + "description": "Required bleed area beyond the trim size. The submitted image must be larger than the declared dimensions: total width = trim width + left bleed + right bleed, total height = trim height + top bleed + bottom bleed. For uniform bleed: total = trim + (2 * uniform). Uses the same unit as the parent dimensions. The uniform and per-side forms exclude each other.", "oneOf": [ { "properties": { @@ -74,6 +74,7 @@ } }, "required": ["uniform"], + "not": { "anyOf": [{ "required": ["top"] }, { "required": ["right"] }, { "required": ["bottom"] }, { "required": ["left"] }] }, "additionalProperties": true }, { @@ -84,6 +85,7 @@ "left": { "type": "number", "minimum": 0 } }, "required": ["top", "right", "bottom", "left"], + "not": { "required": ["uniform"] }, "additionalProperties": true } ] diff --git a/static/schemas/source/core/signal-definition.json b/static/schemas/source/core/signal-definition.json index 0c7cb98de1e..9e5088c4aef 100644 --- a/static/schemas/source/core/signal-definition.json +++ b/static/schemas/source/core/signal-definition.json @@ -441,8 +441,7 @@ } }, "required": ["channels"], - "additionalProperties": true, - "not": { "required": ["gpc_honored"] } + "additionalProperties": true }, "last_updated": { "type": "string", diff --git a/static/schemas/source/core/targeting-overlay-requirements.json b/static/schemas/source/core/targeting-overlay-requirements.json index 548b400b9f4..da16a3f82c0 100644 --- a/static/schemas/source/core/targeting-overlay-requirements.json +++ b/static/schemas/source/core/targeting-overlay-requirements.json @@ -10,6 +10,7 @@ "anyOf": [ { "$ref": "#/definitions/required" }, { + "description": "Rejects the seller limits `max_values_per_package` and `max_packages`, which only product support discloses.", "type": "object", "properties": { "systems": { @@ -150,6 +151,7 @@ "anyOf": [ { "$ref": "#/definitions/required" }, { + "description": "Rejects the seller limit `max_values_per_package`, which only product support discloses.", "type": "object", "properties": { "radius": { "$ref": "#/definitions/required" }, diff --git a/static/schemas/source/creative/creative-status-changed-webhook.json b/static/schemas/source/creative/creative-status-changed-webhook.json index 1a63d5c4f10..07bd6c55872 100644 --- a/static/schemas/source/creative/creative-status-changed-webhook.json +++ b/static/schemas/source/creative/creative-status-changed-webhook.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/schemas/creative/creative-status-changed-webhook.json", "title": "Creative Status Changed Webhook", - "description": "Account-level push notification fired when a creative in the library transitions status by seller or system initiative. Fires per registered subscriber against each `notification_configs[]` entry whose `event_types` includes `creative.status_changed`. Buyer-initiated transitions (archive, unarchive, resubmit) do NOT fire — those are acknowledged on the `sync_creatives` response path. Receivers MUST verify signing per the registered scheme (RFC 9421 webhook profile by default; legacy Bearer / HMAC-SHA256 when `authentication` was supplied at registration) and dedupe by `idempotency_key`. See docs/protocol/snapshot-and-log.mdx for the snapshot/log duality rules — the current status is always authoritative on `list_creatives`.", + "description": "Account-level push notification fired when a creative in the library transitions status by seller or system initiative. Fires per registered subscriber against each `notification_configs[]` entry whose `event_types` includes `creative.status_changed`. Buyer-initiated transitions (archive, unarchive, resubmit) do NOT fire — those are acknowledged on the `sync_creatives` response path. Receivers MUST verify signing per the registered scheme (RFC 9421 webhook profile by default; legacy Bearer / HMAC-SHA256 when `authentication` was supplied at registration) and dedupe by `idempotency_key`. See docs/protocol/snapshot-and-log.mdx for the snapshot/log duality rules — the current status is always authoritative on `list_creatives`. Rejects `staged_update`: staged outcomes don't ride on status_changed.", "type": "object", "properties": { "idempotency_key": { diff --git a/static/schemas/source/creative/sync-creatives-request.json b/static/schemas/source/creative/sync-creatives-request.json index 3635896d082..374d7feae69 100644 --- a/static/schemas/source/creative/sync-creatives-request.json +++ b/static/schemas/source/creative/sync-creatives-request.json @@ -248,6 +248,7 @@ "minItems": 1, "maxItems": 500, "items": { + "description": "`trackers` and `landing_page_url` belong only to assign: unassign and replace reject them.", "type": "object", "discriminator": { "propertyName": "operation" diff --git a/static/schemas/source/media-buy/acceptance-context.json b/static/schemas/source/media-buy/acceptance-context.json index 4b814f278d9..4589915ddbf 100644 --- a/static/schemas/source/media-buy/acceptance-context.json +++ b/static/schemas/source/media-buy/acceptance-context.json @@ -52,6 +52,5 @@ ] }, "minProperties": 1, - "additionalProperties": true, - "not": { "required": ["political"] } + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/get-products-request.json b/static/schemas/source/media-buy/get-products-request.json index 19d53e2ff73..ceeb00904b7 100644 --- a/static/schemas/source/media-buy/get-products-request.json +++ b/static/schemas/source/media-buy/get-products-request.json @@ -57,6 +57,7 @@ "description": "Array of change requests for iterating on products and proposals from a previous get_products response. Each entry declares a scope (request, product, or proposal) and what the buyer is asking for. Only valid when buying_mode is 'refine'. The seller responds to each entry via refinement_applied in the response, matched by position.\n\nFinalize-exclusivity rule: if any entry has `action: 'finalize'`, ALL entries in the array MUST be proposal-scoped with `action: 'finalize'` — mixing finalize entries with `include`/`omit` entries or with request- / product-scoped entries MUST be rejected by the seller with `INVALID_REQUEST`. Finalize is a commit, not a refinement; the buyer expressing intent to commit means refinements have already converged. Buyers needing to refine AND commit in close succession sequence the calls: first a refine call (no finalize), then a finalize call against the resulting `proposal_id`(s).\n\nMulti-finalize semantics: multiple finalize entries against different `proposal_id` values in a single call are allowed and MUST be **atomic at the observation point** — sellers MUST NOT return a success response unless every named proposal has both completed and been persisted as committed. Pre-commit validation runs before any side-effects (inventory pull, terms lock, governance attestation); if any proposal fails validation, the seller MUST reject the entire call without committing any of the named proposals. There is no rollback operation in the spec — an `unfinalize` would itself be a new mutation surface; the atomicity guarantee runs entirely on the seller's pre-commit validation gate, not on post-commit reversal. Sellers that cannot guarantee atomic pre-commit validation MUST reject multi-finalize arrays with `MULTI_FINALIZE_UNSUPPORTED` (preferred — distinguishes seller-side capability gap from a malformed request) or `INVALID_REQUEST` (acceptable fallback for sellers on a pre-3.1 error catalog). If a mid-commit failure occurs *after* validation passed but before all proposals persist (e.g., a downstream ad server fails between commits one and two), the seller MUST return `INTERNAL_ERROR` with `refinement_applied[]` carrying per-position outcomes — the spec does NOT define a recovery path for this case, and buyers SHOULD treat the resulting state as undefined and re-read via `get_media_buys` / equivalent before retrying. Buyers MUST NOT assume multi-finalize support without a successful first attempt — there is no capability flag for this; the failure response is the discovery surface. Buyers whose intent specifically requires atomic commit (e.g., budget-shared proposals where one finalizing without the other is incoherent) MUST be prepared to abandon the intent if the seller returns `MULTI_FINALIZE_UNSUPPORTED` — there is no recovery for that loss of buyer intent beyond sequencing single-finalize calls and accepting the looser commit guarantee.", "minItems": 1, "items": { + "description": "Only the product scope takes `package`; the request and proposal scopes reject it.", "type": "object", "discriminator": { "propertyName": "scope" diff --git a/static/schemas/source/media-buy/get-reporting-status-response.json b/static/schemas/source/media-buy/get-reporting-status-response.json index 903c09a949f..c0d7696286c 100644 --- a/static/schemas/source/media-buy/get-reporting-status-response.json +++ b/static/schemas/source/media-buy/get-reporting-status-response.json @@ -150,6 +150,7 @@ "required": ["status"], "oneOf": [ { + "description": "Every unknown or unauthorized identifier returns this one shape: its message and error are constants, and the branch and its error objects are closed, so it carries nothing that tells an unknown identifier from an unauthorized one.", "title": "Unavailable lookup", "type": "object", "properties": { diff --git a/static/schemas/source/media-buy/outcome-target.json b/static/schemas/source/media-buy/outcome-target.json index 78cba05606c..1dc2efd7a15 100644 --- a/static/schemas/source/media-buy/outcome-target.json +++ b/static/schemas/source/media-buy/outcome-target.json @@ -58,6 +58,5 @@ }, "required": ["goal"], "anyOf": [{ "required": ["volume"] }, { "required": ["cost_per"] }], - "additionalProperties": true, - "not": { "anyOf": [{ "required": ["threshold_rate"] }, { "required": ["per_ad_spend"] }] } + "additionalProperties": true } diff --git a/static/schemas/source/media-buy/sync-reporting-receipts-response.json b/static/schemas/source/media-buy/sync-reporting-receipts-response.json index 3380f6db7b1..26052f23317 100644 --- a/static/schemas/source/media-buy/sync-reporting-receipts-response.json +++ b/static/schemas/source/media-buy/sync-reporting-receipts-response.json @@ -14,6 +14,7 @@ "results": { "type": "array", "items": { + "description": "A result carries a receipt or an adjustment receipt, never both, and a failed result carries neither.", "anyOf": [ { "title": "Recorded reporting receipt", @@ -88,6 +89,7 @@ "errors": { "type": "array", "items": { "$ref": "/schemas/core/error.json" }, "minItems": 1, "maxItems": 16 } }, "required": ["result", "reporting_receipt_id", "errors"], + "not": { "anyOf": [{ "required": ["receipt"] }, { "required": ["adjustment_receipt"] }] }, "additionalProperties": true } ] diff --git a/static/schemas/source/protocol/get-principal-response.json b/static/schemas/source/protocol/get-principal-response.json index f14ff780ad4..bb9c81a0a1d 100644 --- a/static/schemas/source/protocol/get-principal-response.json +++ b/static/schemas/source/protocol/get-principal-response.json @@ -45,7 +45,7 @@ } }, "required": ["kind", "principal_id", "principal_kind", "configuration_version", "configuration"], - "additionalProperties": false + "additionalProperties": true }, { "title": "Recognized principal without standing configuration", diff --git a/static/schemas/source/protocol/sync-principal-response.json b/static/schemas/source/protocol/sync-principal-response.json index cf2a65a1343..bb1d735b317 100644 --- a/static/schemas/source/protocol/sync-principal-response.json +++ b/static/schemas/source/protocol/sync-principal-response.json @@ -61,9 +61,10 @@ } }, "required": ["kind", "action", "dry_run", "principal_id", "principal_kind", "configuration_version", "configuration"], - "additionalProperties": false + "additionalProperties": true }, { + "description": "Rejects `destination_ref` and `configuration_version`: a dry run issues no durable identifier.", "title": "Validated principal dry run", "type": "object", "properties": { @@ -88,7 +89,8 @@ } }, "required": ["kind", "action", "dry_run"], - "additionalProperties": false + "not": { "anyOf": [{ "required": ["destination_ref"] }, { "required": ["configuration_version"] }] }, + "additionalProperties": true }, { "title": "Failed principal sync", From 89faeb68c2612a265cf30c4740a24fa3fe693369 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 16:22:53 +0000 Subject: [PATCH 07/12] test: flip probes for dropped rejections; add account-ref and bleed guards Ports c01b095db5 (#8866) for the test files 3.2.x has: probes for the dropped rejections expect acceptance (DR-0009); account-ref.test.cjs and image-bleed.test.cjs are new (loading source schemas, as 3.2.x tests do) and wired into test:schemas; canonical-account-ref covers the extended guard. The MCP legacy-graph check walks the parsed schema and skips `not` and descriptions, and the model-context projection omits named rejections beside declared properties, as it omits bounds. PARITY_COMPILE_LIMIT is unchanged on 3.2.x; it does not trip. Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- scripts/mcp-schema-projection.cjs | 13 +++++ tests/account-ref.test.cjs | 50 +++++++++++++++++++ tests/canonical-account-ref.test.cjs | 3 ++ tests/composed-schema-validation.test.cjs | 5 +- tests/image-bleed.test.cjs | 46 +++++++++++++++++ tests/mcp-schema-projection.test.cjs | 38 +++++++++----- ...seller-governance-policy-surfaces.test.cjs | 3 +- tests/targeting-aware-discovery.test.cjs | 10 ++-- 9 files changed, 149 insertions(+), 21 deletions(-) create mode 100644 tests/account-ref.test.cjs create mode 100644 tests/image-bleed.test.cjs diff --git a/package.json b/package.json index 17c17d8a4d9..00e4d2beba4 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "verify:cdn-artifacts-cutover": "node scripts/verify-cdn-artifacts-cutover.mjs", "typecheck": "tsc --project server/tsconfig.json --noEmit && npm run typecheck:fixed-trace-rollout-tests", "typecheck:fixed-trace-rollout-tests": "node scripts/typecheck-fixed-trace-rollout-tests.mjs", - "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/canonical-account-ref.test.cjs tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", + "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/account-ref.test.cjs tests/canonical-account-ref.test.cjs tests/image-bleed.test.cjs tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", "test:performance-feedback": "node --test --test-force-exit --test-timeout=30000 tests/performance-feedback-contract.test.cjs", "test:dist-schema-version-ids": "node --test --test-force-exit --test-timeout=30000 tests/dist-schema-version-ids.test.cjs", "test:examples": "node tests/example-validation-simple.test.cjs && npm run test:tmp-context-merge", diff --git a/scripts/mcp-schema-projection.cjs b/scripts/mcp-schema-projection.cjs index ede5f02f9de..b561a5a43be 100644 --- a/scripts/mcp-schema-projection.cjs +++ b/scripts/mcp-schema-projection.cjs @@ -813,6 +813,15 @@ function stripPresentationAnnotations(schema) { return stripped; } +/** True for `{ required: [...] }` or an `anyOf` of only such clauses. */ +function isNamedRejection(not) { + const requiredOnly = value => value && typeof value === 'object' && !Array.isArray(value) + && Object.keys(value).length === 1 && Array.isArray(value.required); + if (requiredOnly(not)) return true; + return Boolean(not) && typeof not === 'object' && Object.keys(not).length === 1 + && Array.isArray(not.anyOf) && not.anyOf.length > 0 && not.anyOf.every(requiredOnly); +} + function stripModelContextAnnotations(schema) { const stripped = stripPresentationAnnotations(schema); walkSchema(stripped, node => { @@ -840,6 +849,10 @@ function stripModelContextAnnotations(schema) { // JSON Schema's default, so omit that redundant spelling as well. Retain // schema-valued additionalProperties to describe typed dictionary values. if (typeof node.additionalProperties === 'boolean') delete node.additionalProperties; + // A named rejection (`not` over required names only, beside declared + // properties) is validation, like the bounds omitted above; the validation + // profile keeps it. A bare `not` branch of a union is logic and stays. + if (node.properties && isNamedRejection(node.not)) delete node.not; for (const keyword of Object.keys(node)) { if (keyword.startsWith('x-')) delete node[keyword]; } diff --git a/tests/account-ref.test.cjs b/tests/account-ref.test.cjs new file mode 100644 index 00000000000..9be97eee212 --- /dev/null +++ b/tests/account-ref.test.cjs @@ -0,0 +1,50 @@ +const fs = require('node:fs'); +const path = require('node:path'); +const assert = require('node:assert/strict'); +const test = require('node:test'); +const Ajv = require('ajv'); +const addFormats = require('ajv-formats'); + +const SCHEMA_ROOT = path.join(__dirname, '..', 'static', 'schemas', 'source'); + +const readSchema = (relativePath) => JSON.parse(fs.readFileSync(path.join(SCHEMA_ROOT, relativePath), 'utf8')); + +async function compile() { + const ajv = new Ajv({ + allErrors: true, + strict: false, + discriminator: true, + loadSchema: async (uri) => readSchema(uri.replace('/schemas/', '')), + }); + addFormats(ajv); + return ajv.compileAsync(readSchema('core/account-ref.json')); +} + +const errors = (validate) => JSON.stringify(validate.errors, null, 2); +const BRAND = { domain: 'nova-athletics.example' }; +const OPERATOR = 'nova-athletics.example'; + +test('an account ref is an account_id or the brand + operator natural key', async () => { + const validate = await compile(); + assert.equal(validate({ account_id: 'acc_nova_nl' }), true, errors(validate)); + assert.equal(validate({ brand: BRAND, operator: OPERATOR }), true, errors(validate)); + assert.equal(validate({}), false, 'one of the two forms is required'); + assert.equal(validate({ brand: BRAND }), false, 'the natural key needs an operator'); +}); + +test('the account_id form names no natural-key member, and the natural key names no account_id', async () => { + const validate = await compile(); + const members = { brand: BRAND, operator: OPERATOR, operator_unit: { id: 'unit_1' }, currency: 'USD', timezone: 'Europe/Amsterdam', sandbox: true }; + for (const [name, value] of Object.entries(members)) { + assert.equal(validate({ account_id: 'acc_nova_nl', [name]: value }), false, `${name} beside account_id`); + } + assert.equal(validate({ account_id: 'acc_nova_nl', brand: BRAND, operator: OPERATOR }), false, 'both forms at once'); + assert.equal(validate({ brand: BRAND, operator: OPERATOR, account_id: 'acc_nova_nl' }), false, 'account_id beside the natural key'); +}); + +test('an unknown key on an account ref validates', async () => { + const validate = await compile(); + // Open by default (WG decision of 2026-11-09, DR-0009): an unknown key validates. + assert.equal(validate({ account_id: 'acc_nova_nl', note: 'x' }), true, errors(validate)); + assert.equal(validate({ brand: BRAND, operator: OPERATOR, note: 'x' }), true, errors(validate)); +}); diff --git a/tests/canonical-account-ref.test.cjs b/tests/canonical-account-ref.test.cjs index 58c447896de..e59892d8ac8 100644 --- a/tests/canonical-account-ref.test.cjs +++ b/tests/canonical-account-ref.test.cjs @@ -37,6 +37,9 @@ test('the account_id form names no natural-key member, and the natural key names assert.equal(validate({ account_id: 'acc_nova_nl', brand: BRAND }), false, 'brand beside account_id'); assert.equal(validate({ account_id: 'acc_nova_nl', operator: OPERATOR }), false, 'operator beside account_id'); assert.equal(validate({ account_id: 'acc_nova_nl', brand: BRAND, operator: OPERATOR }), false, 'both forms at once'); + assert.equal(validate({ account_id: 'acc_nova_nl', sandbox: true }), false, 'sandbox beside account_id'); + assert.equal(validate({ account_id: 'acc_nova_nl', currency: 'USD' }), false, 'currency beside account_id'); + assert.equal(validate({ brand: BRAND, operator: OPERATOR, account_id: 'acc_nova_nl' }), false, 'account_id beside the natural key'); }); test('an unknown key on a canonical account ref validates', async () => { diff --git a/tests/composed-schema-validation.test.cjs b/tests/composed-schema-validation.test.cjs index e572e3e29a9..9ada88cf4c2 100644 --- a/tests/composed-schema-validation.test.cjs +++ b/tests/composed-schema-validation.test.cjs @@ -6231,7 +6231,8 @@ async function runTests() { }, 'Rejects DSR routing that declares no access, erasure, or objection channel' ); - await testSchemaRejection( + // Open by default (DR-0009): signal-level gpc_honored is an unknown key and validates (ignored). + await testSchemaValidation( '/schemas/core/signal-definition.json', { id: 'dsr_gpc_not_signal_level', @@ -6247,7 +6248,7 @@ async function runTests() { gpc_honored: true } }, - 'Rejects signal-level gpc_honored in DSR routing' + 'Ignores signal-level gpc_honored in DSR routing (unknown key)' ); log(''); diff --git a/tests/image-bleed.test.cjs b/tests/image-bleed.test.cjs new file mode 100644 index 00000000000..7931a63d232 --- /dev/null +++ b/tests/image-bleed.test.cjs @@ -0,0 +1,46 @@ +const fs = require('node:fs'); +const path = require('node:path'); +const assert = require('node:assert/strict'); +const test = require('node:test'); +const Ajv = require('ajv'); +const addFormats = require('ajv-formats'); + +const SCHEMA_ROOT = path.join(__dirname, '..', 'static', 'schemas', 'source'); + +const readSchema = (relativePath) => JSON.parse(fs.readFileSync(path.join(SCHEMA_ROOT, relativePath), 'utf8')); + +async function compile() { + const ajv = new Ajv({ + allErrors: true, + strict: false, + discriminator: true, + loadSchema: async (uri) => readSchema(uri.replace('/schemas/', '')), + }); + addFormats(ajv); + return ajv.compileAsync(readSchema('core/requirements/image-asset-requirements.json')); +} + +const errors = (validate) => JSON.stringify(validate.errors, null, 2); +const withBleed = (bleed) => ({ bleed }); + +test('bleed is either one uniform value or all four sides', async () => { + const validate = await compile(); + assert.equal(validate(withBleed({ uniform: 2 })), true, errors(validate)); + assert.equal(validate(withBleed({ top: 1, right: 1, bottom: 1, left: 1 })), true, errors(validate)); + assert.equal(validate(withBleed({})), false, 'one form is required'); + assert.equal(validate(withBleed({ top: 1, right: 1 })), false, 'the per-side form needs all four sides'); + assert.equal(validate(withBleed({ uniform: -1 })), false, 'bleed is not negative'); +}); + +test('the uniform and per-side bleed forms exclude each other', async () => { + const validate = await compile(); + assert.equal(validate(withBleed({ uniform: 2, top: 1 })), false, 'uniform with one side'); + assert.equal(validate(withBleed({ uniform: 2, top: 1, right: 1, bottom: 1, left: 1 })), false, 'per-side form plus uniform'); +}); + +test('an unknown key on bleed validates', async () => { + const validate = await compile(); + // Open by default (WG decision of 2026-11-09, DR-0009): an unknown key validates. + assert.equal(validate(withBleed({ uniform: 2, note: 'x' })), true, errors(validate)); + assert.equal(validate(withBleed({ top: 1, right: 1, bottom: 1, left: 1, note: 'x' })), true, errors(validate)); +}); diff --git a/tests/mcp-schema-projection.test.cjs b/tests/mcp-schema-projection.test.cjs index cb9fc4fd839..acd69e2810f 100644 --- a/tests/mcp-schema-projection.test.cjs +++ b/tests/mcp-schema-projection.test.cjs @@ -49,13 +49,19 @@ const STORYBOARD_DIR = path.join(REPO_ROOT, 'static', 'compliance', 'source'); const LATEST_DIR = path.join(REPO_ROOT, 'dist', 'schemas', 'latest'); const PROJECTION_DIR = path.join(LATEST_DIR, 'mcp', MCP_PROTOCOL_VERSION); const PRODUCTION_PROFILE_DIR = path.join(PROJECTION_DIR, 'profiles', 'production'); -// The canonical Product's `not`, as the projection serializes it. -const CANONICAL_PRODUCT_PROHIBITION = JSON.stringify({ - not: JSON.parse(fs.readFileSync(path.join(SOURCE_DIR, 'core', 'canonical-product.json'), 'utf8')).not, -}).slice(1, -1); -// The named rejections of the canonical Product's legacy format keys, as the -// projection serializes them (added when the 3.2 schemas were opened, DR-0009). -const FORMAT_KEY_PROHIBITIONS = ['"not":{"required":["format_ids"]}', '"not":{"required":["v1_format_ref"]}']; +// A named rejection (`not: { required: [...] }`) forbids a legacy key without +// exposing it, and its schema description may name the key it rejects. Drops +// every `not` keyword and description string so a legacy-graph scan sees only +// what a schema accepts, whatever the rejection's shape or serialization. +function withoutNamedRejections(node, parentKey) { + if (Array.isArray(node)) return node.map((item) => withoutNamedRejections(item, parentKey)); + if (!node || typeof node !== 'object') return node; + return Object.fromEntries( + Object.entries(node) + .filter(([key, value]) => parentKey === 'properties' || !(key === 'not' || (key === 'description' && typeof value === 'string'))) + .map(([key, value]) => [key, withoutNamedRejections(value, key)]), + ); +} // The generated profiles describe the active surface of the package's release // line. Before the line's GA (x.y.0-rc.N) that is the x.y.0 surface the tool // manifest declares via added_in; once the line has a stable release it is the @@ -94,6 +100,8 @@ const ACTIVE_SURFACE_VERSION = semver.prerelease(PACKAGE_VERSION) // from colliding with BiddingPolicy's CostPer and Strength. It is embedded in // list_products, request_proposals, and refine_proposals (~0.5 KiB each), // measured at 452,953 bytes (442.3 KiB) and bounded at 443 KiB. +// Named rejections (DR-0009) are validation, so the model-context view omits +// them with the bounds; the budget is unchanged. const MODEL_CONTEXT_BUDGET_KIB = { 'media-buy': 443, creative: 410, @@ -325,6 +333,13 @@ test('model-context presentation keeps request shape and omits validation-only d assert.equal(projected.properties.extensions.additionalProperties, undefined); assert.equal(projected.properties.ext, undefined); assert.equal(projected.oneOf[1].not.required[0], 'mode'); + // A named rejection beside declared properties is validation-only. + const named = stripModelContextAnnotations({ + type: 'object', + properties: { a: { type: 'string' } }, + not: { anyOf: [{ required: ['b'] }, { required: ['c'] }] }, + }); + assert.equal(named.not, undefined); const negotiated = stripModelContextAnnotations({ type: 'object', @@ -1022,12 +1037,9 @@ test('generated MCP projection covers every tool within AdCP safety bounds', () if (['list_products', 'request_proposals', 'refine_proposals'].includes(toolName)) { assert.match(output, /Canonical Product/, `${toolName} output must use the canonical-only Product view`); - // The canonical Product forbids the legacy Product's keys by name; - // forbidding them does not expose them. - const exposed = FORMAT_KEY_PROHIBITIONS.reduce( - (text, prohibition) => text.replaceAll(prohibition, ''), - output.replaceAll(CANONICAL_PRODUCT_PROHIBITION, ''), - ); + // The canonical Product forbids the legacy Product's keys by name and + // says so in descriptions; forbidding them does not expose them. + const exposed = JSON.stringify(withoutNamedRejections(JSON.parse(output))); assert.doesNotMatch(exposed, /format_ids|format-id\.json|v1_format_ref|update_packages|"update_media_buy"/, `${toolName} output must not expose the legacy Product graph`); } diff --git a/tests/seller-governance-policy-surfaces.test.cjs b/tests/seller-governance-policy-surfaces.test.cjs index ea7223ebc1d..26b3a0697fc 100644 --- a/tests/seller-governance-policy-surfaces.test.cjs +++ b/tests/seller-governance-policy-surfaces.test.cjs @@ -101,7 +101,8 @@ test('acceptance context uses registry category facets instead of a political bo delivery_jurisdictions: ['DE'], }), true, JSON.stringify(validate.errors)); - assert.equal(validate({ political: true }), false); + // Open by default (DR-0009): `political` is an unknown key and validates. + assert.equal(validate({ political: true }), true); }); test('storyboard fixtures cannot invent acceptance-policy facets', () => { diff --git a/tests/targeting-aware-discovery.test.cjs b/tests/targeting-aware-discovery.test.cjs index 80fb4276dd2..b90bf83ccb9 100644 --- a/tests/targeting-aware-discovery.test.cjs +++ b/tests/targeting-aware-discovery.test.cjs @@ -278,8 +278,9 @@ test("frequency cap detail preserves the legacy boolean and separates aggregate validateConstraints({ max_impressions_constraints: { minimum: 1, maximum: 10, step: 2 }, }), - false, - "count ranges have no step" + // Open by default (DR-0009): `step` is defined nowhere, so it is an unknown key and validates. + true, + "count ranges declare no step; it is an ignored unknown key" ); const requirementsSchema = JSON.parse( @@ -661,8 +662,9 @@ test("product responses expose symmetric property and collection list applicatio ); assert.equal( validateReceipt({ ...collectionReceipt, mode: "exclude" }), - false, - "effect is the only application discriminator" + // Open by default (DR-0009): `mode` is defined nowhere, so it is an unknown key and validates. + true, + "effect is the only declared application discriminator; mode is ignored" ); assert.equal( validateReceipt({ ...collectionReceipt, entries_total: 200 }), From d31abc3ecd205513d78093f8e44673d561eb3155 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 16:26:24 +0000 Subject: [PATCH 08/12] docs: describe refine scope branches and policy entries as open on 3.2.x The refine[] scope branches and governance policy entries are open on 3.2.x now. A pre-rename refine entry still fails validation, because its generic `id` doesn't supply the `product_id` or `proposal_id` its scope requires; the troubleshooting section shows the error the opened schema gives. A policy-entry field outside the table has no defined meaning, so receivers ignore it; partner metadata still belongs under `ext`. Co-Authored-By: Claude Opus 5.5 --- docs/governance/content-standards/index.mdx | 2 +- docs/media-buy/product-discovery/refinement.mdx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/governance/content-standards/index.mdx b/docs/governance/content-standards/index.mdx index 065a4dfb095..a0eab5a9a1d 100644 --- a/docs/governance/content-standards/index.mdx +++ b/docs/governance/content-standards/index.mdx @@ -225,7 +225,7 @@ Content Standards uses **addressable policies** — an array of policy entries, | `exemplars` | No | Structured `pass` and `fail` scenarios used to calibrate policy interpretation. | | `ext` | No | Vendor-namespaced extension data for partner-specific metadata. | -Policy entries are closed objects: fields outside this table fail schema validation rather than being silently ignored. Put partner-specific, buyer-visible metadata under a vendor key in `ext` (for example, `ext.acme`) instead of adding sibling fields or encoding structured metadata inside the natural-language `policy` value. +Policy entries are open objects: a field outside this table passes schema validation but has no defined meaning, so receivers ignore it. Put partner-specific, buyer-visible metadata under a vendor key in `ext` (for example, `ext.acme`) instead of adding sibling fields or encoding structured metadata inside the natural-language `policy` value. ```json { diff --git a/docs/media-buy/product-discovery/refinement.mdx b/docs/media-buy/product-discovery/refinement.mdx index fa2d281eb4e..9ccdcd38ec9 100644 --- a/docs/media-buy/product-discovery/refinement.mdx +++ b/docs/media-buy/product-discovery/refinement.mdx @@ -329,13 +329,13 @@ Client implementations should validate refinement requests against the [request | `MULTI_FINALIZE_UNSUPPORTED` | `refine[]` carried multiple `action: 'finalize'` entries but the seller cannot guarantee atomic multi-proposal commit | Sequence single-proposal finalize calls (one finalize per `get_products` call) | | `INVALID_REQUEST` | `refine` provided in `brief` or `wholesale` mode, empty `refine` array, or missing required fields | Check `buying_mode` and required fields | -### Troubleshooting: "must NOT have additional properties" on `refine[].id` +### Troubleshooting: a stray `id` on `refine[]` -Each scope branch in `refine[]` is `additionalProperties: false`, which means a stray `id` field from the pre-3.0-rc refine shape is rejected — not silently ignored — with an error along the lines of: +Each scope branch in `refine[]` is open, so an unknown field is not itself an error. A refine entry in the pre-3.0-rc shape still fails validation: its generic `id` field doesn't stand in for the `product_id` or `proposal_id` that its scope requires. The error reads along the lines of: ``` -/refine/0: must NOT have additional properties { additionalProperty: "id" } -/refine/0: must match oneOf schema { required: ["product_id"] } +/refine/0: must have required property 'product_id' { missingProperty: "product_id" } +/refine/0: must match exactly one schema in oneOf ``` If you see this, an orchestrator is still constructing product or proposal refine entries with the generic `id` field. Rename to `product_id` under `scope: "product"` and `proposal_id` under `scope: "proposal"`. See the [task reference](/docs/media-buy/task-reference/get_products#refine-array) for the current shape. The same rename applies to `refinement_applied[]` if you're echoing on the seller side. From 2db39cac3c2b0a4ebbfb94123057d71eaf4fee31 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 17:05:30 +0000 Subject: [PATCH 09/12] docs: give the real reasons for the sync_plans and account-ref statements The sync_plans plan item is open on 3.2.x, so the governance agent's bookkeeping fields are simply not declared there, rather than excluded by closure. The two AccountRef variants are told apart by named rejections: the account_id variant rejects the natural-key fields and the natural-key variant rejects account_id, so {account_id, brand} still fails both. Co-Authored-By: Claude Opus 5.5 --- docs/governance/campaign/specification.mdx | 2 +- docs/protocol/calling-an-agent.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/governance/campaign/specification.mdx b/docs/governance/campaign/specification.mdx index 2b17923985e..80255b4ed6e 100644 --- a/docs/governance/campaign/specification.mdx +++ b/docs/governance/campaign/specification.mdx @@ -898,7 +898,7 @@ Closed list — governance agents MUST NOT extend or shrink it; any addition is - `committedBudget` — derived from downstream `check_governance` / `report_plan_outcome` activity - `committedByType` — derived from the same activity -None of these appear in the `sync_plans` request schema (`additionalProperties: false` on the plan item); they exist only on the governance agent's persisted plan state. The list is stated explicitly so an implementer naively hashing their internal state struct strips the right fields. Implementations that discover additional GA-internal fields on their persisted plan state beyond this list MUST treat those fields as **IN the preimage** until the profile version bumps — fail-safe toward inclusion, not exclusion. The "anything that looks like bookkeeping → strip" shortcut silently diverges every implementation that guesses differently; the safe default is "if it is not on the closed list, it is part of the hash." +None of these is declared in the `sync_plans` plan-item schema; they exist only on the governance agent's persisted plan state. The list is stated explicitly so an implementer naively hashing their internal state struct strips the right fields. Implementations that discover additional GA-internal fields on their persisted plan state beyond this list MUST treat those fields as **IN the preimage** until the profile version bumps — fail-safe toward inclusion, not exclusion. The "anything that looks like bookkeeping → strip" shortcut silently diverges every implementation that guesses differently; the safe default is "if it is not on the closed list, it is part of the hash." All other fields — including `ext`, `custom_policies`, `objectives`, `delegations`, `human_override`, and every field declared in the `sync_plans` plan-item schema — are IN the preimage. Caller guidance: diff --git a/docs/protocol/calling-an-agent.mdx b/docs/protocol/calling-an-agent.mdx index 65b7bae893e..1a74215afe3 100644 --- a/docs/protocol/calling-an-agent.mdx +++ b/docs/protocol/calling-an-agent.mdx @@ -59,7 +59,7 @@ For the key-required operations listed above, a missing key produces `adcp_error "account": { "brand": { "domain": "acme.com" }, "operator": "pinnacle-media.com" } ``` -**Do NOT merge required fields across variants.** `additionalProperties: false` on each variant means `{account_id, brand}` fails BOTH. +**Do NOT merge required fields across variants.** Each variant rejects the other's fields by name: the `account_id` variant rejects the natural-key fields (`brand`, `operator`, `operator_unit`, `currency`, `timezone`, `sandbox`), and the natural-key variant rejects `account_id`. So `{account_id, brand}` fails BOTH. When a task schema requires `account`, send an explicit `AccountRef` even if the SDK auto-selected the only account available to the authenticated credential. Hidden credential-implied defaulting is not a protocol model. When a task marks `account` optional, omission has only the semantics documented by that task. From 1f8c583c166307551c41625f01bbc032cff2e8ac Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 17:06:57 +0000 Subject: [PATCH 10/12] docs: match #8866's wording for the opened-schema statements Aligns the refine troubleshooting, policy-entry, sync_plans and AccountRef passages with #8866 (6c689cc678), including the two calling-an-agent error-table rows that named additionalProperties. Co-Authored-By: Claude Opus 5.5 --- docs/governance/campaign/specification.mdx | 2 +- docs/governance/content-standards/index.mdx | 2 +- docs/media-buy/product-discovery/refinement.mdx | 7 +++---- docs/protocol/calling-an-agent.mdx | 6 +++--- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/governance/campaign/specification.mdx b/docs/governance/campaign/specification.mdx index 80255b4ed6e..ae2403126e2 100644 --- a/docs/governance/campaign/specification.mdx +++ b/docs/governance/campaign/specification.mdx @@ -898,7 +898,7 @@ Closed list — governance agents MUST NOT extend or shrink it; any addition is - `committedBudget` — derived from downstream `check_governance` / `report_plan_outcome` activity - `committedByType` — derived from the same activity -None of these is declared in the `sync_plans` plan-item schema; they exist only on the governance agent's persisted plan state. The list is stated explicitly so an implementer naively hashing their internal state struct strips the right fields. Implementations that discover additional GA-internal fields on their persisted plan state beyond this list MUST treat those fields as **IN the preimage** until the profile version bumps — fail-safe toward inclusion, not exclusion. The "anything that looks like bookkeeping → strip" shortcut silently diverges every implementation that guesses differently; the safe default is "if it is not on the closed list, it is part of the hash." +None of these is a `sync_plans` request field; they exist only on the governance agent's persisted plan state. The list is stated explicitly so an implementer naively hashing their internal state struct strips the right fields. Implementations that discover additional GA-internal fields on their persisted plan state beyond this list MUST treat those fields as **IN the preimage** until the profile version bumps — fail-safe toward inclusion, not exclusion. The "anything that looks like bookkeeping → strip" shortcut silently diverges every implementation that guesses differently; the safe default is "if it is not on the closed list, it is part of the hash." All other fields — including `ext`, `custom_policies`, `objectives`, `delegations`, `human_override`, and every field declared in the `sync_plans` plan-item schema — are IN the preimage. Caller guidance: diff --git a/docs/governance/content-standards/index.mdx b/docs/governance/content-standards/index.mdx index a0eab5a9a1d..f4e04418d93 100644 --- a/docs/governance/content-standards/index.mdx +++ b/docs/governance/content-standards/index.mdx @@ -225,7 +225,7 @@ Content Standards uses **addressable policies** — an array of policy entries, | `exemplars` | No | Structured `pass` and `fail` scenarios used to calibrate policy interpretation. | | `ext` | No | Vendor-namespaced extension data for partner-specific metadata. | -Policy entries are open objects: a field outside this table passes schema validation but has no defined meaning, so receivers ignore it. Put partner-specific, buyer-visible metadata under a vendor key in `ext` (for example, `ext.acme`) instead of adding sibling fields or encoding structured metadata inside the natural-language `policy` value. +Fields outside this table aren't part of a policy entry, and readers ignore them. Put partner-specific, buyer-visible metadata under a vendor key in `ext` (for example, `ext.acme`) instead of adding sibling fields or encoding structured metadata inside the natural-language `policy` value. ```json { diff --git a/docs/media-buy/product-discovery/refinement.mdx b/docs/media-buy/product-discovery/refinement.mdx index 9ccdcd38ec9..80997d52c98 100644 --- a/docs/media-buy/product-discovery/refinement.mdx +++ b/docs/media-buy/product-discovery/refinement.mdx @@ -329,13 +329,12 @@ Client implementations should validate refinement requests against the [request | `MULTI_FINALIZE_UNSUPPORTED` | `refine[]` carried multiple `action: 'finalize'` entries but the seller cannot guarantee atomic multi-proposal commit | Sequence single-proposal finalize calls (one finalize per `get_products` call) | | `INVALID_REQUEST` | `refine` provided in `brief` or `wholesale` mode, empty `refine` array, or missing required fields | Check `buying_mode` and required fields | -### Troubleshooting: a stray `id` on `refine[]` +### Troubleshooting: "must NOT have additional properties" on `refine[].id` -Each scope branch in `refine[]` is open, so an unknown field is not itself an error. A refine entry in the pre-3.0-rc shape still fails validation: its generic `id` field doesn't stand in for the `product_id` or `proposal_id` that its scope requires. The error reads along the lines of: +Each scope branch in `refine[]` requires its own identifier, so an entry that carries only the generic `id` field from the pre-3.0-rc refine shape is rejected, with an error along the lines of: ``` -/refine/0: must have required property 'product_id' { missingProperty: "product_id" } -/refine/0: must match exactly one schema in oneOf +/refine/0: must have required property 'product_id' ``` If you see this, an orchestrator is still constructing product or proposal refine entries with the generic `id` field. Rename to `product_id` under `scope: "product"` and `proposal_id` under `scope: "proposal"`. See the [task reference](/docs/media-buy/task-reference/get_products#refine-array) for the current shape. The same rename applies to `refinement_applied[]` if you're echoing on the seller side. diff --git a/docs/protocol/calling-an-agent.mdx b/docs/protocol/calling-an-agent.mdx index 1a74215afe3..3e37dd40286 100644 --- a/docs/protocol/calling-an-agent.mdx +++ b/docs/protocol/calling-an-agent.mdx @@ -59,7 +59,7 @@ For the key-required operations listed above, a missing key produces `adcp_error "account": { "brand": { "domain": "acme.com" }, "operator": "pinnacle-media.com" } ``` -**Do NOT merge required fields across variants.** Each variant rejects the other's fields by name: the `account_id` variant rejects the natural-key fields (`brand`, `operator`, `operator_unit`, `currency`, `timezone`, `sandbox`), and the natural-key variant rejects `account_id`. So `{account_id, brand}` fails BOTH. +**Do NOT merge required fields across variants.** Each variant rejects the other's fields, so `{account_id, brand}` fails BOTH. When a task schema requires `account`, send an explicit `AccountRef` even if the SDK auto-selected the only account available to the authenticated credential. Hidden credential-implied defaulting is not a protocol model. When a task marks `account` optional, omission has only the semantics documented by that task. @@ -157,9 +157,9 @@ Every validation failure produces an envelope shaped like: | Symptom | What it means | Fix | |---|---|---| | `keyword: 'oneOf'` with `variants[]` | Discriminated union — you sent fields from multiple variants, or none | Pick ONE variant from `variants[]`. Send only its `required` fields. | -| 2-3 `additionalProperties` errors at the same pointer | You merged `oneOf` variants | Drop to one variant. Don't keep "extra" fields "for completeness". | +| 2-3 `not` or `required` errors at the same pointer | You merged `oneOf` variants | Drop to one variant. Don't keep "extra" fields "for completeness". | | `keyword: 'required'`, `pointer: '/idempotency_key'` | Mutating tool, no UUID | Generate fresh UUID per logical operation. Reuse on retries. | -| `keyword: 'type'` or `additionalProperties` at `/budget` | Sent `{amount, currency}` | `budget` is a number. Currency is implied by `pricing_option_id`. | +| `keyword: 'type'` at `/budget` | Sent `{amount, currency}` | `budget` is a number. Currency is implied by `pricing_option_id`. | | `enum` at `/format_kind` | Sent a non-canonical format kind | Choose a registered canonical kind or use a valid `custom` declaration. | | `keyword: 'enum'` at `/destinations/*/type` | Made-up destination type | Use `'platform'` (with `platform`) or `'agent'` (with `agent_url`). | | Response carries `status: 'submitted'` and `task_id` | Async — work is queued, NOT done | On the AdCP v3 A2A profile, invoke [`get_task_status`](https://adcontextprotocol.org/schemas/v3/protocol/get-task-status-request.json). On MCP, use the advertised AdCP polling task. | From 9712ad7f7d47ddbecf7343607ca916acec2c8df7 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Tue, 10 Nov 2026 17:26:53 +0000 Subject: [PATCH 11/12] fix(schemas): reserve the plan_hash bookkeeping names on sync_plans plans Ports fa7aefacfe (#8866). The opened sync_plans plan item accepted the governance agent's bookkeeping names: version, status, syncedAt, revisionHistory, committedBudget and committedByType. The plan_hash profile strips exactly those names from its preimage, so a buyer value under one of them would sit outside the hash and could collide with state the agent manages. The plan item now rejects them by name, and its description says they are reserved and a buyer MUST NOT send them. The list matches 3.2's closed "Excluded fields" list. No storyboard, fixture or request example sends them. The test loads source schemas, as 3.2.x tests do, and cites DR-0009. Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- .../source/governance/sync-plans-request.json | 2 + tests/sync-plans-reserved-names.test.cjs | 70 +++++++++++++++++++ 3 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 tests/sync-plans-reserved-names.test.cjs diff --git a/package.json b/package.json index 00e4d2beba4..3cfca558021 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "verify:cdn-artifacts-cutover": "node scripts/verify-cdn-artifacts-cutover.mjs", "typecheck": "tsc --project server/tsconfig.json --noEmit && npm run typecheck:fixed-trace-rollout-tests", "typecheck:fixed-trace-rollout-tests": "node scripts/typecheck-fixed-trace-rollout-tests.mjs", - "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/account-ref.test.cjs tests/canonical-account-ref.test.cjs tests/image-bleed.test.cjs tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", + "test:schemas": "node tests/schema-validation.test.cjs && node --test tests/account-ref.test.cjs tests/canonical-account-ref.test.cjs tests/image-bleed.test.cjs tests/sync-plans-reserved-names.test.cjs tests/outcome-target.test.cjs tests/trusted-match-offer-creative-data.test.cjs tests/accessibility-violation-details.test.cjs tests/portfolio-routing-scope.test.cjs tests/catalog-item-availability-updates.test.cjs tests/seller-optimized-package-controls.test.cjs tests/compact-product-lifecycle-storyboards.test.cjs tests/timezone-resolution-storyboards.test.cjs tests/total-budget-redistribution-currency.test.cjs tests/dooh-allocation.test.cjs tests/identity-absence-coherence.test.cjs tests/execution-requirements.test.cjs tests/schema-deprecation-metadata.test.cjs tests/products-only-brief-compatibility.test.cjs tests/async-identity-convergence.test.cjs tests/creative-rotation.test.cjs tests/canonical-forecast-point-parity.test.cjs tests/creative-revisions.test.cjs tests/creative-delivery-contracts.test.cjs tests/tracker-execution-contracts.test.cjs tests/tracker-execution-package-integration.test.cjs tests/metric-identity-coherence.test.cjs tests/viewable-rate-optimization-goal.test.cjs tests/sort-contract-delivery-reporting.test.cjs tests/time-based-views-contract.test.cjs tests/metric-qualifier-parity.test.cjs tests/requested-metrics-contract.test.cjs tests/auto-breakdown-negotiation-contract.test.cjs tests/format-delivery-reporting-contract.test.cjs tests/inventory-delivery-reporting-contract.test.cjs tests/lint-schema-enum-drift.test.cjs tests/format-asset-type-parity.test.cjs tests/synthetic-depiction.test.cjs tests/creative-rendering-authority.test.cjs tests/buyer-reason.test.cjs tests/error-recovery-vectors.test.cjs tests/reporting-status-contract.test.cjs tests/reporting-reconciliation-fixture.test.cjs tests/reporting-core-fixture.test.cjs tests/reporting-native-version-ref-bounds.test.cjs && npm run test:premium-display-formats && npm run test:geo-region-targeting", "test:performance-feedback": "node --test --test-force-exit --test-timeout=30000 tests/performance-feedback-contract.test.cjs", "test:dist-schema-version-ids": "node --test --test-force-exit --test-timeout=30000 tests/dist-schema-version-ids.test.cjs", "test:examples": "node tests/example-validation-simple.test.cjs && npm run test:tmp-context-merge", diff --git a/static/schemas/source/governance/sync-plans-request.json b/static/schemas/source/governance/sync-plans-request.json index c9bbc4a2625..d920dee56b8 100644 --- a/static/schemas/source/governance/sync-plans-request.json +++ b/static/schemas/source/governance/sync-plans-request.json @@ -23,6 +23,7 @@ "type": "array", "description": "One or more campaign plans to sync.", "items": { + "description": "Rejects `version`, `status`, `syncedAt`, `revisionHistory`, `committedBudget` and `committedByType`: these names are reserved for the governance agent's persisted plan state and excluded from the plan_hash preimage, so a buyer MUST NOT send them.", "type": "object", "properties": { "plan_id": { @@ -439,6 +440,7 @@ } } ], + "not": { "anyOf": [{ "required": ["version"] }, { "required": ["status"] }, { "required": ["syncedAt"] }, { "required": ["revisionHistory"] }, { "required": ["committedBudget"] }, { "required": ["committedByType"] }] }, "additionalProperties": true } }, diff --git a/tests/sync-plans-reserved-names.test.cjs b/tests/sync-plans-reserved-names.test.cjs new file mode 100644 index 00000000000..d3b4f526749 --- /dev/null +++ b/tests/sync-plans-reserved-names.test.cjs @@ -0,0 +1,70 @@ +const fs = require('node:fs'); +const path = require('node:path'); +const assert = require('node:assert/strict'); +const test = require('node:test'); +const Ajv = require('ajv'); +const addFormats = require('ajv-formats'); + +const SCHEMA_ROOT = path.join(__dirname, '..', 'static', 'schemas', 'source'); + +const readSchema = (relativePath) => JSON.parse(fs.readFileSync(path.join(SCHEMA_ROOT, relativePath), 'utf8')); + +async function compile() { + const ajv = new Ajv({ + allErrors: true, + strict: false, + discriminator: true, + loadSchema: async (uri) => readSchema(uri.replace('/schemas/', '')), + }); + addFormats(ajv); + return ajv.compileAsync(readSchema('governance/sync-plans-request.json')); +} + +const errors = (validate) => JSON.stringify(validate.errors, null, 2); + +// Names reserved for the governance agent's persisted plan state and excluded +// from the plan_hash preimage (docs/governance/campaign/specification.mdx). +const RESERVED = { + version: 3, + status: 'active', + syncedAt: '2026-04-19T12:00:00Z', + revisionHistory: [], + committedBudget: 100, + committedByType: {}, +}; + +const request = (planFields = {}) => ({ + idempotency_key: 'reserved-names-plan-1', + plans: [{ + plan_id: 'reserved_names_campaign', + brand: { domain: 'acme.example' }, + objectives: 'Reach a broad audience.', + budget: { total: 1000, currency: 'USD', reallocation_threshold: 0 }, + flight: { start: '2026-10-01T00:00:00Z', end: '2026-11-01T00:00:00Z' }, + ...planFields, + }], +}); + +test('a plan without reserved names validates, and an unknown key on it validates', async () => { + const validate = await compile(); + assert.equal(validate(request()), true, errors(validate)); + // Open by default (WG decision of 2026-11-09, DR-0009): an unknown key validates. + assert.equal(validate(request({ buyer_note: 'x' })), true, errors(validate)); +}); + +for (const [name, value] of Object.entries(RESERVED)) { + test(`a plan that sends the reserved name ${name} is rejected by the plan's not keyword`, async () => { + const validate = await compile(); + assert.equal(validate(request({ [name]: value })), false, name); + assert.ok( + validate.errors.some((error) => error.keyword === 'not' && error.schemaPath.includes('/plans/items/not')), + `${name}: ${errors(validate)}`, + ); + }); +} + +test('the plan item description names every reserved name and forbids sending them', () => { + const { description } = readSchema('governance/sync-plans-request.json').properties.plans.items; + for (const name of Object.keys(RESERVED)) assert.ok(description.includes(`\`${name}\``), name); + assert.match(description, /MUST NOT send them/); +}); From 600458f51d47b790116b1b690513291c61f53df6 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Thu, 12 Nov 2026 15:11:57 +0000 Subject: [PATCH 12/12] docs(refinement): match the troubleshooting heading to the error it shows Ports 7d4dd1b289 (#8866): the heading names the error the opened refine branches give, and the text says which identifier each scope requires. Co-Authored-By: Claude Opus 5.5 --- docs/media-buy/product-discovery/refinement.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/media-buy/product-discovery/refinement.mdx b/docs/media-buy/product-discovery/refinement.mdx index 80997d52c98..1a2fcc159fd 100644 --- a/docs/media-buy/product-discovery/refinement.mdx +++ b/docs/media-buy/product-discovery/refinement.mdx @@ -329,9 +329,9 @@ Client implementations should validate refinement requests against the [request | `MULTI_FINALIZE_UNSUPPORTED` | `refine[]` carried multiple `action: 'finalize'` entries but the seller cannot guarantee atomic multi-proposal commit | Sequence single-proposal finalize calls (one finalize per `get_products` call) | | `INVALID_REQUEST` | `refine` provided in `brief` or `wholesale` mode, empty `refine` array, or missing required fields | Check `buying_mode` and required fields | -### Troubleshooting: "must NOT have additional properties" on `refine[].id` +### Troubleshooting: "must have required property 'product_id'" on `refine[]` -Each scope branch in `refine[]` requires its own identifier, so an entry that carries only the generic `id` field from the pre-3.0-rc refine shape is rejected, with an error along the lines of: +The `product` scope requires `product_id` and the `proposal` scope requires `proposal_id` (the `request` scope requires `ask` instead). So an entry that carries only the generic `id` field from the pre-3.0-rc refine shape is rejected, with an error along the lines of: ``` /refine/0: must have required property 'product_id'