{
 "openapi": "3.1.0",
 "info": {
  "title": "A2A Grocery \u2014 door HTTP surface",
  "summary": "Product facts on this hub are served live from gtinfetch.ai, the GTIN resolver for AI agents; every answer carries its source page, date read and gtinfetch\u2019s signature. Paid resolves at x402.gtinfetch.ai.",
  "version": "1.0.0",
  "contact": {
   "email": "mcp@a2a-grocery.ai",
   "url": "https://a2a-grocery.ai"
  },
  "license": {
   "name": "MIT",
   "url": "https://github.com/greencore-solutions/a2a-grocery/blob/main/LICENSE"
  }
 },
 "servers": [
  {
   "url": "https://a2a-grocery.ai"
  }
 ],
 "paths": {
  "/a2a": {
   "post": {
    "summary": "A2A 0.3.0 JSON-RPC (message/send, tasks/get)",
    "responses": {
     "200": {
      "description": "task"
     }
    }
   }
  },
  "/agents.json": {
   "get": {
    "summary": "the agent table, counted at request time",
    "responses": {
     "200": {
      "description": "table"
     }
    }
   }
  },
  "/api": {
   "get": {
    "summary": "The paid call (x402 v2: 402 offer without payment; settled answer + signed receipt with PAYMENT-SIGNATURE)",
    "responses": {
     "402": {
      "description": "PaymentRequired (Base USDC)"
     },
     "200": {
      "description": "signed receipt"
     },
     "403": {
      "description": "a refused order intent \u2014 not settled, not charged"
     }
    }
   }
  },
  "/x402/receipt/{nonce}": {
   "get": {
    "summary": "durable signed receipt",
    "parameters": [
     {
      "name": "nonce",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "receipt"
     },
     "404": {
      "description": "none"
     }
    }
   }
  },
  "/x402/jwks.json": {
   "get": {
    "summary": "the receipt keyring (EdDSA)",
    "responses": {
     "200": {
      "description": "keys"
     }
    }
   }
  },
  "/.well-known/agent-card.json": {
   "get": {
    "summary": "signed Agent Card",
    "responses": {
     "200": {
      "description": "card"
     }
    }
   }
  },
  "/.well-known/mcp.json": {
   "get": {
    "summary": "MCP server card",
    "responses": {
     "200": {
      "description": "card"
     }
    }
   }
  }
 }
}
