{
  "$schema": "https://a2a-protocol.org/schemas/v1/agent-card.json",
  "protocolVersion": "1.0",
  "name": "winery-finder",
  "displayName": "Winery Finder",
  "description": "AI wine-country trip concierge + audio-tour marketplace. Curates 3-stop day trips across Napa, Sonoma, Willamette, Paso Robles, Santa Ynez, and the Finger Lakes based on natural-language descriptions of your ideal day.",
  "iconUrl": "https://www.wineryfinderapp.com/icon-512.png",
  "url": "https://www.wineryfinderapp.com/api/a2a",
  "provider": {
    "organization": "Winery Finder",
    "url": "https://www.wineryfinderapp.com",
    "contactEmail": "support@wineryfinderapp.com"
  },
  "version": "1.0.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "authentication": {
    "schemes": ["none", "bearer"],
    "description": "Read endpoints (plan_trip, browse_wineries, list_tours) are unauthenticated. Purchase endpoints require a bearer token issued through the delegated checkout flow."
  },
  "defaultInputModes": ["text/plain", "application/json"],
  "defaultOutputModes": ["application/json", "text/markdown"],
  "skills": [
    {
      "id": "plan_wine_trip",
      "name": "Plan a wine trip",
      "description": "Given a natural-language description of a wine-country day (region, mood, party size, budget, amenities), return a 3-stop itinerary with drive times, tasting fees, and reasoning notes.",
      "tags": ["travel", "planning", "wine", "AI"],
      "examples": [
        "Plan a romantic Sonoma day with cheese pairings, back by 5pm",
        "Dog-friendly tasting rooms in Napa under $30 tasting fees",
        "A weekend in Willamette Valley focused on Pinot Noir"
      ],
      "inputModes": ["text/plain"],
      "outputModes": ["application/json"]
    },
    {
      "id": "browse_wineries",
      "name": "Browse the winery directory",
      "description": "Filter the curated winery directory by region, price range, amenities, or wine style.",
      "tags": ["wine", "directory", "search"],
      "examples": [
        "Show wineries in Napa Valley open on Sundays",
        "Find boutique pinot producers in Willamette"
      ]
    },
    {
      "id": "list_audio_tours",
      "name": "Browse audio tours",
      "description": "List the marketplace of expert-narrated audio tours ($4.99-$12.99 each). Delivered as offline-capable HMAC-signed URLs after Stripe checkout.",
      "tags": ["audio", "tours", "commerce"],
      "examples": [
        "Show me audio tours for Napa Valley",
        "What audio tours cover Castello di Amorosa?"
      ]
    },
    {
      "id": "top_trending_trips",
      "name": "Top 10 trending trips",
      "description": "Return the 10 highest-voted community itineraries with stops, votes, and shareable slugs.",
      "tags": ["social", "leaderboard", "wine"]
    }
  ]
}
