{
  "version": "1.0",
  "profile": "ARW-4",
  "site": {
    "name": "CloudCart",
    "description": "Minimal CloudCart example focused on the ARW-1.0 skills layer",
    "homepage": "https://cloudcart.arw.dev",
    "contact": "ai@cloudcart.arw.dev"
  },
  "content_signals": {
    "search": "yes",
    "ai_input": "yes",
    "ai_train": "no",
    "agent": "yes",
    "use": "reference"
  },
  "content": [
    {
      "url": "/products/wireless-keyboard",
      "description": "Wireless Keyboard Pro — Bluetooth 5.0 mechanical keyboard, $129.99, in stock.",
      "tags": ["electronics", "keyboards", "wireless", "bluetooth", "mechanical"],
      "authored": true,
      "priority": "high",
      "purpose": "product_information",
      "chunks": [
        { "id": "product-summary", "heading": "Product Overview" },
        { "id": "product-specs", "heading": "Technical Specifications" },
        { "id": "product-reviews", "heading": "Customer Reviews" }
      ]
    }
  ],
  "tools": [
    {
      "name": "search_products",
      "description": "Search the product catalog by query and category",
      "type": "rest",
      "endpoint": "/api/v1/products/search",
      "method": "GET",
      "auth": "none",
      "input_schema": {
        "type": "object",
        "properties": {
          "query": { "type": "string" },
          "max_results": { "type": "integer", "default": 10 }
        },
        "required": ["query"]
      },
      "annotations": { "read_only": true, "idempotent": true }
    },
    {
      "name": "configure_product",
      "description": "Configure product options via interactive configurator",
      "type": "webmcp",
      "page": "/products/wireless-keyboard",
      "annotations": { "read_only": false, "requires_user_presence": true }
    },
    {
      "name": "add_to_cart",
      "description": "Add a configured product to the shopping cart",
      "type": "rest",
      "endpoint": "/api/v1/cart/items",
      "method": "POST",
      "auth": "oauth2",
      "input_schema": {
        "type": "object",
        "properties": {
          "sku": { "type": "string" },
          "quantity": { "type": "integer", "minimum": 1 }
        },
        "required": ["sku", "quantity"]
      },
      "annotations": { "destructive": false, "idempotent": false }
    },
    {
      "name": "checkout_flow",
      "description": "Complete checkout with shipping and payment",
      "type": "webmcp",
      "page": "/checkout",
      "annotations": { "destructive": true, "requires_user_presence": true }
    }
  ],
  "skills": [
    {
      "name": "purchase_product",
      "description": "End-to-end product purchase: search, configure, add to cart, checkout",
      "skill_doc": "/skills/purchase-product/SKILL.md",
      "tools_required": [
        "search_products",
        "configure_product",
        "add_to_cart",
        "checkout_flow"
      ],
      "digest": "sha256:1bff2282d757d5ffd94019a17c6cdb2dbb6a74471203a3ca97ce33ff8834c065",
      "annotations": {
        "requires_user_presence": true,
        "estimated_steps": 4,
        "estimated_time": "2-5 minutes"
      }
    },
    {
      "name": "search_and_summarize",
      "description": "Search the product catalog and return a cited summary of the top matches",
      "skill_doc": "/skills/search-and-summarize/SKILL.md",
      "tools_required": ["search_products"],
      "digest": "sha256:5e5857ff693a867fab0c10ad4619745d07faeafcb02500051a670812a33357b8",
      "annotations": {
        "requires_user_presence": false,
        "estimated_steps": 2,
        "estimated_time": "10-30 seconds"
      }
    }
  ],
  "integrations": [
    {
      "name": "Product Data MCP Server",
      "type": "mcp",
      "endpoint": "/api/mcp/v1",
      "description": "MCP server for product catalog queries",
      "tool_catalog": [
        { "name": "get_product", "description": "Retrieve product details by SKU" },
        { "name": "list_categories", "description": "List all product categories" }
      ]
    }
  ],
  "oauth": {
    "authorization_url": "/oauth/authorize",
    "token_url": "/oauth/token",
    "scopes": [
      { "name": "cart:write", "description": "Add and remove items from cart" },
      { "name": "orders:read", "description": "Read order history and status" }
    ]
  },
  "policies": {
    "attribution": {
      "required": true,
      "format": "link",
      "template": "Information from CloudCart ({path})"
    },
    "rate_limits": {
      "authenticated": "100/min",
      "unauthenticated": "20/min"
    }
  }
}
