{
  "$schema": "https://a2aprotocol.org/schema/agent-card/v1.json",
  "name": "PrintMatic",
  "description": "Self-service apparel printing platform — AI agents can browse catalog, get real-time quotes, configure products, and place orders programmatically.",
  "url": "https://printmatic.pl",
  "version": "1.0.0",
  "provider": {
    "organization": "Apla Print Sp. z o.o.",
    "url": "https://printmatic.pl",
    "contact": "kontakt@printmatic.pl"
  },
  "documentationUrl": "https://printmatic.pl/llms-full.txt",
  "capabilities": {
    "streaming": false,
    "pushNotifications": true,
    "stateTransitionHistory": false
  },
  "defaultInputModes": ["text/plain", "application/json"],
  "defaultOutputModes": ["text/plain", "application/json"],
  "skills": [
    {
      "id": "browse-catalog",
      "name": "Browse Product Catalog",
      "description": "List apparel products (t-shirts, hoodies, polos) with filters by style, color, gender, brand",
      "tags": ["commerce", "catalog"],
      "examples": [
        "List all white t-shirts for men",
        "Show hoodies under 200g/m²",
        "Find tank tops by Gildan"
      ]
    },
    {
      "id": "get-quote",
      "name": "Get Real-Time Quote",
      "description": "Calculate price for product configuration: blank cost + print cost + setup fee for given quantity and technique",
      "tags": ["pricing", "commerce"],
      "examples": [
        "Quote 50 black hoodies with 2-color screen print on front",
        "How much for 100 polos with embroidered logo?",
        "DTF print cost for 20 t-shirts with full-color design"
      ]
    },
    {
      "id": "create-order",
      "name": "Create Order",
      "description": "Place order through cart + checkout flow with P24 payment",
      "tags": ["commerce", "checkout"],
      "examples": [
        "Order 30 white t-shirts size mix S/M/L",
        "Buy with rush delivery (Express, +30%)"
      ]
    },
    {
      "id": "create-campaign",
      "name": "Create Preorder Campaign",
      "description": "Set up 'Sprzedawaj i zarabiaj' campaign — define product, set seller margin, share link, collect orders",
      "tags": ["campaigns", "commerce"],
      "examples": [
        "Start preorder for school class t-shirts with 15zł margin",
        "Create NGO fundraiser campaign with deadline 30 days"
      ]
    },
    {
      "id": "track-order",
      "name": "Track Order Status",
      "description": "Get real-time order status by token (production, shipping, delivered)",
      "tags": ["commerce", "tracking"],
      "examples": [
        "Where is my order TOKEN-XYZ?",
        "When will my campaign close?"
      ]
    }
  ],
  "authentication": {
    "schemes": ["magic-link", "oauth2", "session-cookie"],
    "magicLink": {
      "endpoint": "https://printmatic.pl/api/shop/auth/magic-link",
      "method": "POST",
      "auto_account_creation": true
    },
    "oauth2": {
      "type": "google",
      "redirect_uri": "https://printmatic.pl/shop/auth/google/callback"
    }
  },
  "supportEndpoints": {
    "openapi": "https://printmatic.pl/openapi.yaml",
    "agent_skills": "https://printmatic.pl/.well-known/agent-skills/index.json",
    "acp": "https://printmatic.pl/.well-known/acp.json",
    "mcp": "https://printmatic.pl/.well-known/mcp/server-card.json",
    "ai_plugin": "https://printmatic.pl/.well-known/ai-plugin.json",
    "llms_full": "https://printmatic.pl/llms-full.txt",
    "pricing": "https://printmatic.pl/pricing.md"
  }
}
