Schema

Discovery

The Discovery object defines the canonical location of the MSP-1 well-known declaration to prevent inference-based filename guessing and make resolution deterministic.

Path: /schema/discovery/ Canonical: /.well-known/msp.json

Object

discovery is a top-level MSP-1 object that may appear in both inline MSP-1 blocks and the site’s well-known declaration. It makes the canonical discovery endpoint explicit.

Fields

wellKnown

The canonical well-known path where the site’s MSP-1 declaration lives. Use a root-relative path.

Type: IRI (root-relative path)

Example: "/.well-known/msp.json"

canonical

A boolean signal that the declared wellKnown location is authoritative for discovery.

Type: boolean

Example: true

Example

{
  "discovery": {
    "wellKnown": "/.well-known/msp.json",
    "canonical": true
  }
}

Related

Return to the schema index:

/schema/