{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://genaiforecommerce.com/data/tool.schema.json",
  "title": "GenAI for E-commerce tool",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "slug",
    "title",
    "url",
    "productUrl",
    "description",
    "answer",
    "vendor",
    "vendorName",
    "useCases",
    "primaryUseCase",
    "platforms",
    "pricingModel",
    "freeTier",
    "teamSize",
    "modalities",
    "api",
    "protocols",
    "tested",
    "status",
    "dateModified",
    "lastChecked",
    "sources"
  ],
  "properties": {
    "slug": { "type": "string", "pattern": "^[a-z0-9-]+$" },
    "title": { "type": "string", "minLength": 1 },
    "url": { "type": "string", "format": "uri" },
    "productUrl": { "type": "string", "minLength": 1 },
    "description": { "type": "string", "maxLength": 160 },
    "answer": { "type": "string" },
    "vendor": { "type": "string" },
    "vendorName": { "type": "string" },
    "useCases": { "type": "array", "items": { "type": "string" }, "minItems": 1 },
    "primaryUseCase": { "type": "string" },
    "platforms": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["slug", "integration"],
        "properties": {
          "slug": { "type": "string" },
          "integration": { "type": "string" }
        }
      }
    },
    "pricingModel": { "type": "string" },
    "startingPrice": {
      "type": ["object", "null"],
      "additionalProperties": false,
      "required": ["amount", "currency", "period"],
      "properties": {
        "amount": { "type": "number" },
        "currency": { "type": "string" },
        "period": { "type": "string", "enum": ["month", "year", "one-off", "usage"] }
      }
    },
    "freeTier": { "type": "boolean" },
    "teamSize": { "type": "array", "items": { "type": "string" } },
    "modalities": { "type": "array", "items": { "type": "string" } },
    "api": { "type": "boolean" },
    "protocols": { "type": "array", "items": { "type": "string" } },
    "tested": { "type": "boolean" },
    "status": { "type": "string", "enum": ["draft", "stable", "deprecated"] },
    "dateModified": { "type": "string", "format": "date" },
    "lastChecked": { "type": "string", "format": "date" },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["id", "title", "resource"],
        "properties": {
          "id": { "type": "string" },
          "title": { "type": "string" },
          "resource": { "type": "string" }
        }
      }
    },
    "pricingUnit": {
      "type": "string",
      "enum": [
        "seat",
        "image",
        "credit",
        "video-minute",
        "word",
        "sku",
        "conversation",
        "resolution",
        "order",
        "flat",
        "custom"
      ],
      "description": "Prices are only comparable within one unit."
    },
    "freeTrialDays": {
      "type": "integer",
      "minimum": 0
    },
    "freeTierLimits": {
      "type": "string",
      "minLength": 1,
      "description": "Plain limits of the free plan, quoted from the pricing page."
    },
    "capabilities": {
      "type": "object",
      "description": "Capability flags. Absent means not documented. false only when a source documents the absence. languages, max-length-sec, max-output-px, and max-video-length-sec are numbers. machine-translation-engine is a string. Every other key is true or false.",
      "propertyNames": {
        "enum": [
          "api",
          "shopify-app",
          "woocommerce-plugin",
          "bigcommerce-app",
          "adobe-commerce-ext",
          "amazon-integration",
          "bulk-processing",
          "csv-import",
          "feed-import",
          "brand-kit",
          "languages",
          "team-workspaces",
          "sso",
          "soc2",
          "gdpr-dpa",
          "eu-data-residency",
          "commercial-use-rights",
          "free-tier",
          "mcp-server",
          "data-export",
          "no-training-on-customer-data",
          "static-ad-generation",
          "video-ad-generation",
          "ugc-avatar-video",
          "ad-copy-generation",
          "template-library",
          "multi-placement-resize",
          "catalog-ads-from-feed",
          "publish-meta",
          "publish-google",
          "publish-tiktok",
          "variant-generation",
          "creative-scoring",
          "competitor-ad-research",
          "brand-safe-stock",
          "max-video-length-sec",
          "background-removal",
          "background-generation",
          "ai-fashion-model",
          "virtual-try-on",
          "ghost-mannequin",
          "shadows-reflections",
          "relighting",
          "upscaling",
          "object-removal",
          "color-variants",
          "style-reference",
          "marketplace-presets",
          "image-to-video",
          "360-spin",
          "batch-processing",
          "max-output-px",
          "shopify-sync",
          "bulk-generation",
          "platform-writeback",
          "brand-voice-training",
          "seo-keywords",
          "meta-tags",
          "multilingual",
          "image-to-attributes",
          "category-templates",
          "channel-formats",
          "approval-workflow",
          "duplicate-check",
          "a-plus-content",
          "pim-integration",
          "ai-chat-agent",
          "email-automation",
          "order-status-lookup",
          "returns-exchanges",
          "order-edits",
          "product-recommendations",
          "human-handoff",
          "kb-ingestion",
          "action-guardrails",
          "voice-agent",
          "channels-whatsapp",
          "channels-instagram-messenger",
          "channels-sms",
          "helpdesk-integrations",
          "csat-analytics",
          "pricing-per-resolution",
          "text-to-video",
          "product-video-from-url",
          "avatars",
          "voiceover",
          "auto-captions",
          "aspect-ratios",
          "templates",
          "max-length-sec",
          "blog-generation",
          "keyword-research",
          "serp-brief",
          "internal-linking",
          "schema-markup",
          "collection-page-copy",
          "cms-publish",
          "ai-search-tracking",
          "store-translation",
          "machine-translation-engine",
          "glossary",
          "human-review-option",
          "image-text-translation",
          "currency-localisation",
          "personalised-email",
          "segment-generation",
          "onsite-personalisation",
          "quiz-builder",
          "real-time-events",
          "semantic-search",
          "conversational-search",
          "visual-search",
          "merchandising-rules",
          "synonyms-auto",
          "zero-results-recovery",
          "search-analytics",
          "attribute-extraction",
          "taxonomy-mapping",
          "image-tagging",
          "data-cleansing",
          "feed-optimisation",
          "pim-native",
          "gs1-gtin-support",
          "demand-forecasting",
          "natural-language-queries",
          "anomaly-alerts",
          "inventory-recommendations",
          "attribution",
          "data-connectors",
          "competitor-monitoring",
          "dynamic-repricing",
          "rules-plus-ai",
          "marketplace-repricing",
          "margin-guardrails",
          "price-elasticity",
          "acp-support",
          "ucp-support",
          "ap2-support",
          "agent-checkout",
          "product-feed-for-agents",
          "agent-analytics",
          "llm-visibility-tracking"
        ]
      },
      "additionalProperties": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "number"
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "tier": {
      "type": "string",
      "enum": [
        "A",
        "B",
        "C"
      ],
      "description": "Freshness cadence. A is re-checked most often."
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Former names, for dedupe after a rebrand."
    },
    "appStore": {
      "type": "object",
      "additionalProperties": false,
      "description": "Listing URLs used for freshness checks and platform proof.",
      "properties": {
        "shopify": {
          "type": "string",
          "format": "uri"
        },
        "woocommerce": {
          "type": "string",
          "format": "uri"
        },
        "bigcommerce": {
          "type": "string",
          "format": "uri"
        },
        "adobe": {
          "type": "string",
          "format": "uri"
        },
        "amazon": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "evidence": {
      "type": "string",
      "pattern": "^knowledge/evidence/tools/[a-z0-9]+(?:-[a-z0-9]+)*\\.json$",
      "description": "Path to the field-level evidence sidecar."
    }
  }
}
