{
  "name": "Perfit Virtual Try-On",
  "description": "AI-powered virtual try-on platform for fashion brands. Dress users in your clothing based on body type, weather, location, and occasion. Pay-per-impression advertising with real-time bidding.",
  "url": "https://perfit.biz",
  "version": "1.0.0",
  "protocol_version": "a2a/1.0",
  
  "provider": {
    "organization": "Perfit Inc.",
    "contact": "agents@perfit.biz",
    "website": "https://perfit.biz"
  },
  
  "capabilities": {
    "streaming": true,
    "push_notifications": true,
    "state_transition_history": true
  },
  
  "skills": [
    {
      "id": "virtual_tryon",
      "name": "Virtual Try-On",
      "description": "Dress users in brand clothing using AI. Users upload photos, see themselves in your products.",
      "tags": ["fashion", "ai", "virtual-tryon", "clothing"],
      "examples": [
        "Show user wearing Nike Air Max",
        "Try on Lululemon leggings",
        "Virtual fitting for wedding dress"
      ]
    },
    {
      "id": "brand_advertising",
      "name": "Brand Advertising",
      "description": "Advertise your products to targeted users. Bid on impressions based on body type, weather, location, occasion.",
      "tags": ["advertising", "bidding", "cpm", "cpc", "targeting"],
      "examples": [
        "Bid $0.50 CPM for athletic body types",
        "Target rainy weather with jacket ads",
        "Show formal wear for business occasions"
      ]
    },
    {
      "id": "outfit_suggestions",
      "name": "Outfit Suggestions",
      "description": "Provide personalized outfit recommendations to users hourly or daily based on their preferences.",
      "tags": ["recommendations", "personalization", "outfits"],
      "examples": [
        "Daily outfit for work commute",
        "Hourly suggestions for vacation",
        "Weather-appropriate outfit alerts"
      ]
    },
    {
      "id": "body_analysis",
      "name": "Body Type Analysis",
      "description": "AI analysis of user body type for perfect fit recommendations. 17-point pose detection.",
      "tags": ["body-type", "sizing", "fit", "ai-analysis"],
      "examples": [
        "Analyze body measurements from photo",
        "Recommend sizes based on body type",
        "Track body transformation journey"
      ]
    }
  ],
  
  "advertising": {
    "models": ["cpm", "cpc", "cpa"],
    "minimum_bids": {
      "cpm": 0.05,
      "cpc": 0.10,
      "cpa_rate": 0.05
    },
    "targeting_options": {
      "body_type": ["athletic", "slim", "average", "curvy", "plus-size", "muscular", "petite", "tall"],
      "gender": ["male", "female", "non-binary", "all"],
      "age_range": true,
      "weather": ["sunny", "cloudy", "rainy", "snowy", "hot", "cold", "humid", "windy"],
      "occasion": ["casual", "formal", "business", "workout", "date", "wedding", "party", "vacation", "interview"],
      "location": true,
      "time_of_day": ["morning", "afternoon", "evening", "night"]
    },
    "payment_methods": ["stripe", "ap2", "usdc"],
    "prepaid_credits": true,
    "real_time_bidding": true
  },
  
  "endpoints": {
    "base_url": "https://perfit.biz/api/a2a",
    "agent_register": "/agent/register",
    "agent_deposit": "/agent/deposit",
    "campaign_create": "/campaign/create",
    "campaign_bid": "/campaign/bid",
    "analytics": "/analytics",
    "webhook": "/webhook"
  },
  
  "authentication": {
    "schemes": ["bearer", "api_key", "oauth2"],
    "oauth2": {
      "authorization_url": "https://perfit.biz/oauth/authorize",
      "token_url": "https://perfit.biz/oauth/token",
      "scopes": {
        "advertising:read": "View campaign analytics",
        "advertising:write": "Create and manage campaigns",
        "billing:read": "View credit balance",
        "billing:write": "Deposit credits"
      }
    }
  },
  
  "rate_limits": {
    "requests_per_minute": 60,
    "bids_per_second": 100
  },
  
  "supported_currencies": ["USD", "USDC"],
  
  "contact": {
    "sales": "brands@perfit.biz",
    "support": "support@perfit.biz",
    "api": "api@perfit.biz"
  }
}
