{
  "openapi": "3.1.0",
  "info": {
    "title": "A2A Cosmetics — 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’s signature. Paid resolves at x402.gtinfetch.ai.",
    "version": "1.0.0",
    "contact": {
      "email": "mcp@a2a-cosmetics.ai",
      "url": "https://a2a-cosmetics.ai"
    },
    "license": {
      "name": "MIT",
      "url": "https://github.com/greencore-solutions/a2a-cosmetics/blob/main/LICENSE"
    }
  },
  "servers": [
    {
      "url": "https://a2a-cosmetics.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 — 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"
          }
        }
      }
    },
    "/.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"
          }
        }
      }
    }
  }
}
