Open Edge Discovery and Trust Protocol (OEDTP) v0.1

Version 0.1.0 · Status: Draft for implementation · Minimum complete discovery protocol

1. Purpose and boundary

OEDTP lets any organization describe a network service on its own domain so that programs, agents and people can find it, understand what it does, and check that the description is well-formed, through any registry or none.

Version 0.1 covers exactly one loop, the smallest one that is complete:

StepWhoWhat
1. Publish identityPublisherServes /.well-known/open-edge.json on its own domain (section 4)
2. Describe capabilitiesPublisherLists typed capability descriptors in that document, or links to them (section 5)
3. RegisterPublisherSubmits its domain to one or more registries (section 7)
4. DiscoverClientFinds networks through a registry search, or directly at a domain (sections 6 and 7)
5. ValidateAnyoneChecks a domain against this specification with an independent validator (section 8)

Everything outside that loop is excluded from v0.1 (section 3).

2. Four permanent design rules

These rules apply to v0.1 and to every later version.

  1. Independence. Implementing, publishing, registering, discovering and validating MUST NOT require any service, account, credential or proprietary dependency of any particular company, including the authors of this specification.
  2. Federation-ready. Discovery MUST NOT require one central registry or a privileged gatekeeper. A network is discoverable at its own domain without any registry, and any party MAY operate a registry.
  3. Neutrality. Registration is not endorsement. Validation is a check against this specification, not a security certification, audit or recommendation.
  4. Testability. Every normative v0.1 requirement has a reproducible test, or a documented reason it cannot be automated (section 9).

The protocol-debt rule:

Any dependency that prevents an independent organization from implementing, publishing, discovering, validating, and using OEDTP without Caelara should be treated as protocol debt.

3. Network states

StateMeaningWho sets itIn v0.1
RegisteredA registry has accepted the domain into its index. Says nothing about the content.A registry, on submissionYes
ValidatedAt a stated time, the domain's identity document and discovery references passed an OEDTP validator for a stated protocol_version and suite_version. Not an endorsement or security certification.A registry or anyone running a validatorYes
Independently trustedReserved. Meant for evidence from parties other than the publisher and the registry.Not definedNo, reserved for v0.2 or later

A registry MUST record Registered and Validated as separate fields and MUST NOT present either as the other, or as an endorsement.

Excluded from v0.1

Trust scores; reputation systems; marketplace economics; pricing, billing, payment and settlement; signed or complex execution receipts; execution standards; multi-party verification; governance frameworks; registry federation and synchronization protocols. Implementations MAY carry such information as extension fields (names that begin with x-). Consumers MUST NOT require extension fields for conformance.

4. Step 1: identity document

I-1. A publisher MUST serve its identity document at https://<domain>/.well-known/open-edge.json (RFC 8615) over HTTPS, with HTTP status 200.

I-2. The response MUST be JSON (RFC 8259) with a media type of application/json or a +json type.

I-3. The response MUST be readable cross-origin, with Access-Control-Allow-Origin: *.

I-4. The document MUST be valid against schemas/oedtp-identity.schema.json.

I-5. protocol_version MUST be "0.1.0".

I-6. domain MUST equal the host the document was fetched from (compared case-insensitively, without a port).

I-7. A request for the document MUST NOT be redirected to a non-HTTPS URL.

Required members:

MemberMeaning
protocol_version"0.1.0"
nameCanonical network name
domainThe publishing domain
operator{ "name", "url" }, optionally "contact": who operates the network
capabilities or capabilities_urlInline capability descriptors, or an HTTPS URL that returns { "capabilities": [...] }
discoveryLinks to the standard discovery documents (section 6)

Optional members: description, registries (registries the publisher has submitted to, for convenience only), updated_at, and extension fields beginning with x-.

Example:

{
  "protocol_version": "0.1.0",
  "name": "Example Network",
  "domain": "example.org",
  "operator": { "name": "Example Org", "url": "https://example.org", "contact": "mailto:[email protected]" },
  "capabilities": [
    {
      "id": "org.example.translate",
      "version": "1.0.0",
      "summary": "Translate short text between languages",
      "input": { "media_type": "application/json", "schema": { "type": "object", "required": ["text", "to"], "properties": { "text": { "type": "string" }, "to": { "type": "string" } } } },
      "output": { "media_type": "application/json" },
      "interfaces": [{ "type": "openapi", "url": "https://example.org/openapi.json", "operation_id": "translate" }]
    }
  ],
  "discovery": {
    "api_catalog": "https://example.org/.well-known/api-catalog",
    "openapi": "https://example.org/openapi.json",
    "llms_txt": "https://example.org/llms.txt"
  }
}

5. Step 2: capability descriptors

C-1. Every capability descriptor MUST be valid against schemas/oedtp-capability.schema.json.

C-2. Capability id values MUST be unique within a document. They SHOULD use reverse-domain notation under a domain the publisher controls.

C-3. version MUST be a semantic version (MAJOR.MINOR.PATCH).

C-4. input and output MUST each declare a media_type, and MAY declare a JSON Schema (Draft 2020-12) in schema.

C-5. Every capability MUST list at least one interface in interfaces. Each interface names a discovery mechanism: openapi (with url and operation_id), mcp (with url and tool), a2a (with url and skill), or http (with url and method).

C-6. If capabilities_url is used instead of inline capabilities, it MUST return HTTP 200 with JSON of the form { "capabilities": [ ... ] }, under the same rules as I-2 and I-3.

The core schema has no pricing, billing, execution or workflow fields. Publishers MAY add them as x- extensions.

6. Discovery references

The identity document's discovery object links to existing, independently specified discovery documents. v0.1 does not redefine them; it only requires that the links it declares work.

MemberPoints toSpecificationv0.1 check
api_catalog/.well-known/api-catalogRFC 9727 (Linkset, RFC 9264)200; application/linkset+json; a linkset array
agent_card/.well-known/agent-card.jsonA2A agent card200; JSON with name and at least one skill or interface
openapiOpenAPI description, conventionally /openapi.jsonOpenAPI 3.1 or 3.2 (for example 3.2.1)200; JSON with openapi of 3.1.x or 3.2.x and a paths object
mcpMCP endpoint, conventionally /mcpMCP, Streamable HTTP transportA JSON-RPC initialize request over POST returns a result with protocolVersion
llms_txt/llms.txtllms.txt convention200; text whose first line begins with #

D-1. discovery MUST contain at least one of the members above.

D-2. Every declared discovery URL MUST use HTTPS and MUST pass the check in the table.

D-3. Declared discovery documents MUST be readable cross-origin (Access-Control-Allow-Origin: *). For the MCP endpoint this applies to the POST response.

D-4. A publisher that serves an API catalog SHOULD also send Link: </.well-known/api-catalog>; rel="api-catalog" on its home page, as RFC 9727 recommends.

7. Steps 3 and 4: registries

A registry is an index of domains. Any party MAY operate one. The registry interface is described in registry-openapi.json (OpenAPI 3.2.1); its paths are relative to the registry's base URL.

OperationPathEffect
RegisterPOST /v0.1/registry/networks with { "domain": "example.org" }Creates or refreshes the record. Sets registered: true, then validates.
SearchGET /v0.1/registry/networks?capability=&state=&q=&source_type=Lists records, filtered by capability id or prefix, state, text and source type
RetrieveGET /v0.1/registry/networks/{domain}Returns one record
RevalidatePOST /v0.1/registry/networks/{domain}/validateRuns validation again

R-1. Registering MUST NOT require an account, credential, payment or approval. A registry MAY rate-limit.

R-2. A record MUST carry registered (boolean) and validated (boolean) as separate fields, plus state (one of registered, validated).

R-3. validated MUST be true only when the registry fetched the domain's identity document over HTTPS from that domain and every required check of section 8 passed. The record MUST state protocol_version, suite_version, the time of the check and the identifiers of any failed checks.

R-4. Records MUST carry endorsement: false. A registry MUST NOT present registration or validation as endorsement, ranking, certification or a security statement.

R-5. Fetching the identity document from the domain itself is the v0.1 proof of domain control. A registry MUST NOT accept an identity document submitted in a request body as a substitute.

R-7 (optional extension: external indexing). A registry MAY also list public capability records copied from other open catalogs, so a client can discover services that do not publish an identity document yet. Such a record MUST carry source_type: "external_indexed", registered: false, validated: false, state: "indexed", endorsement: false and indexed_from naming the catalog it came from. Records submitted by their own domain carry source_type: "native". A registry MUST NOT present an indexed record as registered, validated or endorsed, and MUST list a native record instead of an indexed one for the same domain.

R-6. Search results MUST be derived only from records the registry holds. A client SHOULD confirm a record by fetching /.well-known/open-edge.json from the domain itself before relying on it.

Registry federation (registries exchanging records) is out of scope for v0.1. Clients MAY query several registries and merge the results by domain.

8. Step 5: validation

A validator checks one domain and emits a JSON report.

V-1. The report MUST contain protocol_version: "0.1.0", the validator's suite_version, the target origin, result (pass or fail), and a checks array of { id, requirement, result, detail } objects. Each result is pass, fail, warn or skip. fail is reserved for MUST requirements and warn for SHOULD requirements.

V-2. The report MUST contain endorsement: false and security_certification: false.

V-3. For the same target state, two runs MUST produce byte-identical reports. Checks are listed in a fixed order and the report contains no timestamps unless the caller asks for one.

V-4. result is pass exactly when no check is fail.

V-5. A validator MUST NOT need an account, credential or any hosted service other than the target domain itself.

The reference validator is oedtp-verify (npx oedtp-verify <url>). Its check identifiers are the requirement identifiers of this document.

9. Testability

RequirementAutomated by oedtp-verifyNotes
I-1, I-2, I-3, I-4, I-5, I-6, I-7Yes
C-1, C-2, C-3, C-4, C-5, C-6YesC-2's reverse-domain advice is a SHOULD and is not checked
D-1, D-2, D-3YesOnly for members the document declares
D-4Yes, as warnSHOULD
R-1Not by the validatorNeeds a registry under test; the reference test suite checks it for the reference registry
R-2, R-3, R-4, R-6Not by the validatorChecked by the reference registry tests
R-5Not automatable in generalDepends on registry internals; registries SHOULD document how they fetch
V-1 to V-5Yes, against the validator itselfThe reference test suite runs every report through these checks

10. Security and privacy considerations

  • Validation shows that published documents are well-formed and that declared links work. It does not show that a network is safe, honest, lawful or fit for a purpose.
  • A registry learns which domains were submitted and when. It SHOULD NOT log which clients search it beyond operating needs.
  • Validators fetch URLs that publishers choose. They SHOULD refuse non-HTTPS URLs, apply timeouts and size limits, and not follow redirects to other hosts for well-known documents.
  • Publishers MUST NOT put credentials or personal data in identity documents or capability descriptors.

11. Versioning

Documents carry protocol_version. v0.1 consumers MUST reject documents whose major and minor version is not 0.1. Within a version, consumers MUST ignore unknown members that begin with x-.

12. Reference implementation

Open Edge Network (https://open-edge-network.pages.dev) is the first live implementation. Its identity document is at https://open-edge-network.pages.dev/.well-known/open-edge.json, and its reference registry accepts submissions at https://api.caelaralabs.com/v0.1/registry/networks. Nothing in this specification requires either.