Skip to content

Validator reports invalid adagents.json as valid (missing authorization_type) #4476

Closed

Description

@bokelley

Summary

The online adagents.json validator (the one fronting https://adcontextprotocol.org/ / https://agenticadvertising.org/) reports files as valid: true even when their authorized_agents[] entries violate the published JSON Schema by omitting authorization_type and the required selector.

Schema requirement

https://adcontextprotocol.org/schemas/v1/adagents.json requires every entry in authorized_agents.items to satisfy one of:

oneOf:
  - { required: [url, authorized_for, authorization_type, property_ids] }
  - { required: [url, authorized_for, authorization_type, property_tags] }
  - { required: [url, authorized_for, authorization_type, properties] }
  - { required: [url, authorized_for, authorization_type, publisher_properties] }
  - { required: [url, authorized_for, authorization_type, signal_ids] }
  - { required: [url, authorized_for, authorization_type, signal_tags] }

There is no oneOf variant that allows {url, authorized_for} alone.

Repro

Live file: https://wonderstruck.org/.well-known/adagents.json

{
  "$schema": "https://adcontextprotocol.org/schemas/v1/adagents.json",
  "authorized_agents": [
    {"url": "https://wonderstruck.sales-agent.scope3.com", "authorized_for": "Authorized for display banners"},
    {"url": "https://interchange.io", "authorized_for": "Authorized for display banners"}
  ],
  "properties": [
    {"property_id": "main_site", "property_type": "website", "name": "Main site",
     "identifiers": [{"type": "domain", "value": "wonderstruck.org"}], "tags": ["sites"]}
  ],
  "last_updated": "2026-05-03T14:32:20.587Z"
}

Validator output: {"valid": true, "errors": [], "warnings": [], ...} — but no entry has authorization_type, so per the schema, none of the oneOf variants match. This should be a validation error.

We're seeing the same shape from Raptive and others. Publishers see valid: true and assume they're done; downstream SDK consumers (Python SDK returns [] for these entries, correctly) report "agent not authorized" and the publisher pushes back saying their file is valid. The validator is the source of the disagreement.

Asks

  1. Run the validator against the published JSON Schema. It's clearly not doing strict schema validation today, or it would catch this.
  2. Surface a per-entry error message when authorization_type is missing: e.g. "authorized_agents[0]: missing required field authorization_type (one of property_ids, property_tags, inline_properties, publisher_properties, signal_ids, signal_tags)."
  3. Consider raising the visibility of authorization_type in the human-readable docs. It's mentioned further down the page but isn't in the basic-example section, which is what publishers copy from. The example adagents.json snippets near the top should show authorization_type to set expectations.

Cross-references

  • Filing companion issues against adcp-client-python (validator API to distinguish schema-invalid from "agent not listed") and adcp-client (TS SDK doesn't implement per-agent resolution at all).

Activity

  1. added a commit that references this issue on May 17, 2026
    a972dbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions