{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://finger.md/schemas/agent.json",
  "title": "Agentic Web agent.json descriptor",
  "description": "Site-level agent descriptor published at /.well-known/agent.json by Agentic Web properties operated by The Holding Company and compatible issuers. Describes what a web property is, who operates it, and where its machine-readable surfaces live. Complementary to (not a replacement for) the A2A AgentCard at /.well-known/agent-card.json and the MCP discovery manifest at /.well-known/mcp.json.",
  "type": "object",
  "required": ["issuer", "displayName", "description", "operator", "operator_url"],
  "additionalProperties": true,
  "properties": {
    "$schema": {
      "type": "string",
      "format": "uri",
      "description": "URL of this schema."
    },
    "issuer": {
      "type": "string",
      "format": "uri",
      "description": "Canonical origin publishing this descriptor, with trailing slash (e.g. https://finger.md/)."
    },
    "handle": {
      "type": "string",
      "description": "Operator-scoped identifier for this surface (e.g. /finger/site)."
    },
    "displayName": {
      "type": "string",
      "description": "Human-readable name of the property."
    },
    "purpose": {
      "type": "string",
      "description": "One-word role of this surface within the family (e.g. operator, trust-surface, identity-registry)."
    },
    "description": {
      "type": "string",
      "description": "One-paragraph description of the property for agents."
    },
    "surfaces": {
      "type": "object",
      "description": "Map of machine-readable surfaces this property exposes. Values are URLs or URL templates ({handle} placeholders allowed).",
      "additionalProperties": { "type": "string" }
    },
    "family": {
      "type": "object",
      "description": "Related properties run by the same operator, keyed by audience (for_users, for_people, for_agents, ...).",
      "additionalProperties": { "type": "string", "format": "uri" }
    },
    "contact": {
      "type": "object",
      "description": "Contact URIs, typically mailto:. Conventional keys: hello, security.",
      "additionalProperties": { "type": "string" }
    },
    "operator": {
      "type": "string",
      "description": "Legal or trading name of the operating entity."
    },
    "operator_url": {
      "type": "string",
      "format": "uri",
      "description": "Home URL of the operating entity."
    },
    "governance": {
      "type": "string",
      "format": "uri",
      "description": "Where this descriptor and the property's policies are maintained (e.g. a repository URL)."
    },
    "funding": {
      "type": "object",
      "description": "Optional funding/financing status block.",
      "additionalProperties": true,
      "properties": {
        "status": { "type": "string" },
        "type": { "type": "string" },
        "contact": { "type": "string" },
        "details": { "type": "string", "format": "uri" }
      }
    }
  }
}
