{
  "name": "Product",
  "description": "Use this schema type for product pages in e-commerce stores or any page showcasing a product for sale. Enables rich product results in Google Search with price, availability, ratings, and review information.",
  "schema_type": "Product",
  "version": "1.0.0",
  "fields": [
    {
      "key": "name",
      "label": "Product Name",
      "type": "text",
      "required": true,
      "description": "The name of the product.",
      "default": ""
    },
    {
      "key": "image",
      "label": "Product Image URL",
      "type": "url",
      "required": true,
      "description": "URL of the product image. Use high-quality images with a minimum of 800x800 pixels.",
      "default": ""
    },
    {
      "key": "description",
      "label": "Description",
      "type": "textarea",
      "required": false,
      "description": "A detailed description of the product.",
      "default": ""
    },
    {
      "key": "sku",
      "label": "SKU",
      "type": "text",
      "required": false,
      "description": "The Stock Keeping Unit identifier for the product.",
      "default": ""
    },
    {
      "key": "brand",
      "label": "Brand",
      "type": "text",
      "required": false,
      "description": "The brand or manufacturer of the product.",
      "default": ""
    },
    {
      "key": "offers",
      "label": "Offers",
      "type": "object",
      "required": false,
      "description": "Pricing and availability information for the product.",
      "default": "",
      "fields": [
        {
          "key": "price",
          "label": "Price",
          "type": "number",
          "required": true,
          "description": "The price of the product.",
          "default": ""
        },
        {
          "key": "priceCurrency",
          "label": "Price Currency",
          "type": "text",
          "required": true,
          "description": "The currency of the price in ISO 4217 format (e.g., USD, EUR, GBP).",
          "default": "USD"
        },
        {
          "key": "availability",
          "label": "Availability",
          "type": "select",
          "required": false,
          "description": "The availability status of the product.",
          "default": "https://schema.org/InStock",
          "options": [
            { "value": "https://schema.org/InStock", "label": "In Stock" },
            { "value": "https://schema.org/OutOfStock", "label": "Out of Stock" },
            { "value": "https://schema.org/PreOrder", "label": "Pre-Order" },
            { "value": "https://schema.org/BackOrder", "label": "Back Order" },
            { "value": "https://schema.org/Discontinued", "label": "Discontinued" },
            { "value": "https://schema.org/LimitedAvailability", "label": "Limited Availability" }
          ]
        },
        {
          "key": "url",
          "label": "Offer URL",
          "type": "url",
          "required": false,
          "description": "The URL where the product can be purchased.",
          "default": ""
        },
        {
          "key": "priceValidUntil",
          "label": "Price Valid Until",
          "type": "date",
          "required": false,
          "description": "The date after which the price is no longer valid, in ISO 8601 format.",
          "default": ""
        }
      ]
    },
    {
      "key": "aggregateRating",
      "label": "Aggregate Rating",
      "type": "object",
      "required": false,
      "description": "The overall rating of the product based on multiple reviews.",
      "default": "",
      "fields": [
        {
          "key": "ratingValue",
          "label": "Rating Value",
          "type": "number",
          "required": true,
          "description": "The average rating value.",
          "default": ""
        },
        {
          "key": "reviewCount",
          "label": "Review Count",
          "type": "number",
          "required": true,
          "description": "The total number of reviews.",
          "default": ""
        },
        {
          "key": "bestRating",
          "label": "Best Rating",
          "type": "number",
          "required": false,
          "description": "The highest possible rating value.",
          "default": "5"
        },
        {
          "key": "worstRating",
          "label": "Worst Rating",
          "type": "number",
          "required": false,
          "description": "The lowest possible rating value.",
          "default": "1"
        }
      ]
    },
    {
      "key": "review",
      "label": "Review",
      "type": "object",
      "required": false,
      "description": "A featured review of the product.",
      "default": "",
      "fields": [
        {
          "key": "author",
          "label": "Reviewer Name",
          "type": "text",
          "required": true,
          "description": "Name of the person who wrote the review.",
          "default": ""
        },
        {
          "key": "reviewRating",
          "label": "Review Rating",
          "type": "number",
          "required": true,
          "description": "The rating given in this review.",
          "default": ""
        },
        {
          "key": "reviewBody",
          "label": "Review Text",
          "type": "textarea",
          "required": false,
          "description": "The text content of the review.",
          "default": ""
        }
      ]
    },
    {
      "key": "gtin",
      "label": "GTIN",
      "type": "text",
      "required": false,
      "description": "The Global Trade Item Number (GTIN-8, GTIN-12, GTIN-13, or GTIN-14).",
      "default": ""
    },
    {
      "key": "mpn",
      "label": "MPN",
      "type": "text",
      "required": false,
      "description": "The Manufacturer Part Number of the product.",
      "default": ""
    },
    {
      "key": "color",
      "label": "Color",
      "type": "text",
      "required": false,
      "description": "The color of the product.",
      "default": ""
    },
    {
      "key": "material",
      "label": "Material",
      "type": "text",
      "required": false,
      "description": "The material the product is made from.",
      "default": ""
    }
  ],
  "template": {
    "@context": "https://schema.org",
    "@type": "Product",
    "name": "",
    "image": "",
    "description": "",
    "sku": "",
    "brand": {
      "@type": "Brand",
      "name": ""
    },
    "offers": {
      "@type": "Offer",
      "price": "",
      "priceCurrency": "USD",
      "availability": "https://schema.org/InStock",
      "url": "",
      "priceValidUntil": ""
    },
    "aggregateRating": {
      "@type": "AggregateRating",
      "ratingValue": "",
      "reviewCount": "",
      "bestRating": "5",
      "worstRating": "1"
    },
    "review": {
      "@type": "Review",
      "author": {
        "@type": "Person",
        "name": ""
      },
      "reviewRating": {
        "@type": "Rating",
        "ratingValue": ""
      },
      "reviewBody": ""
    },
    "gtin": "",
    "mpn": "",
    "color": "",
    "material": ""
  },
  "google_required": ["name", "image"],
  "google_recommended": ["offers", "aggregateRating", "brand", "review"]
}