{
  "name": "Sera Stores Commerce Agent",
  "version": "1.0.0",
  "description": "Autonomous AI shopping assistant and catalog discovery agent for Sera Stores.",
  "protocolVersion": "0.3.0",
  "url": "https://serastores.com",
  "supportedInterfaces": [
    {
      "url": "https://serastores.com/agent/a2a",
      "protocolBinding": "HTTP+JSON",
      "protocolVersion": "0.3.0"
    }
  ],
  "capabilities": {
    "streaming": true,
    "pushNotifications": false,
    "stateful": false,
    "extensions": [
      {
        "uri": "https://a2a-protocol.org/extensions/ap2",
        "name": "ap2",
        "required": false
      }
    ]
  },
  "extensions": [
    {
      "id": "ap2",
      "name": "ap2",
      "uri": "https://a2a-protocol.org/extensions/ap2",
      "description": "Agent Payment Protocol (AP2) Extension",
      "paymentMethods": ["card", "wallet"],
      "checkoutEndpoint": "https://serastores.com/checkout"
    }
  ],
  "skills": [
    {
      "id": "catalog_search",
      "name": "Product Catalog Search",
      "description": "Search products in the store catalog by keyword, SKU, or category",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search keyword or product name"
          },
          "category": {
            "type": "string",
            "description": "Category slug or ID"
          }
        },
        "required": ["query"]
      }
    },
    {
      "id": "product_details",
      "name": "Get Product Details",
      "description": "Retrieve comprehensive details, specifications, price, and inventory for a specific product",
      "inputSchema": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "integer",
            "description": "Unique product ID"
          },
          "sku": {
            "type": "string",
            "description": "Product SKU"
          }
        }
      }
    },
    {
      "id": "check_stock",
      "name": "Check Inventory Stock",
      "description": "Check current inventory levels and availability for products",
      "inputSchema": {
        "type": "object",
        "properties": {
          "productIds": {
            "type": "array",
            "items": { "type": "integer" },
            "description": "List of product IDs to check"
          }
        },
        "required": ["productIds"]
      }
    }
  ]
}
