← All types

ProductGroup

JSON-LD Output

{
    "@context": "https://schema.org/",
    "@type": "ProductGroup",
    "name": "Classic Oxford Shirt Collection",
    "productGroupID": "oxford-shirts",
    "variesBy": [
        "https://schema.org/color",
        "https://schema.org/size"
    ],
    "hasVariant": [
        {
            "@type": "Product",
            "name": "Classic Oxford Shirt - Blue",
            "image": [
                "https://example.com/shirts/blue.jpg"
            ],
            "description": "Classic oxford button-down shirt in blue.",
            "sku": "SHIRT-OX-BLUE-M",
            "offers": [
                {
                    "@type": "Offer",
                    "url": "https://example.com/shirts/blue",
                    "priceCurrency": "USD",
                    "price": 89,
                    "availability": "https://schema.org/InStock",
                    "priceValidUntil": "2026-12-31"
                }
            ],
            "brand": {
                "@type": "Brand",
                "name": "ClassicWear"
            },
            "mpn": "OX-BLUE-M",
            "aggregateRating": {
                "@type": "AggregateRating",
                "ratingValue": 4.6,
                "bestRating": 5,
                "worstRating": 1,
                "ratingCount": 156
            },
            "review": [
                {
                    "@type": "Review",
                    "author": {
                        "@type": "Person",
                        "name": "Sam T."
                    },
                    "reviewRating": {
                        "@type": "Rating",
                        "ratingValue": 5,
                        "bestRating": 5,
                        "worstRating": 1
                    },
                    "reviewBody": "Perfect fit and great quality cotton.",
                    "datePublished": "2025-08-15"
                }
            ],
            "color": "Blue",
            "material": "100% Premium Cotton",
            "pattern": "Solid",
            "size": "M",
            "inProductGroupWithID": "oxford-shirts",
            "gtin": "0012345678905",
            "isVariantOf": {
                "@type": "ProductGroup",
                "name": "Classic Oxford Shirt Collection",
                "productGroupID": "oxford-shirts",
                "variesBy": [
                    "https://schema.org/color",
                    "https://schema.org/size"
                ],
                "url": "https://example.com/shirts/oxford"
            },
            "audience": {
                "@type": "PeopleAudience",
                "suggestedGender": "unisex",
                "suggestedMinAge": 16
            },
            "hasCertification": [
                {
                    "@type": "Certification",
                    "name": "OEKO-TEX Standard 100",
                    "issuedBy": {
                        "@type": "Organization",
                        "name": "OEKO-TEX Association"
                    },
                    "certificationIdentification": "OT-12345"
                }
            ],
            "subjectOf": "https://example.com/shirt-review"
        },
        {
            "@type": "Product",
            "name": "Classic Oxford Shirt - White",
            "image": [
                "https://example.com/shirts/white.jpg"
            ],
            "description": "Classic oxford button-down shirt in white.",
            "sku": "SHIRT-OX-WHITE-M",
            "offers": [
                {
                    "@type": "Offer",
                    "url": "https://example.com/shirts/white",
                    "priceCurrency": "USD",
                    "price": 89,
                    "availability": "https://schema.org/InStock",
                    "priceValidUntil": "2026-12-31"
                }
            ],
            "brand": {
                "@type": "Brand",
                "name": "ClassicWear"
            },
            "mpn": "OX-WHITE-M",
            "aggregateRating": {
                "@type": "AggregateRating",
                "ratingValue": 4.5,
                "bestRating": 5,
                "worstRating": 1,
                "ratingCount": 142
            },
            "review": [
                {
                    "@type": "Review",
                    "author": {
                        "@type": "Person",
                        "name": "Jordan K."
                    },
                    "reviewRating": {
                        "@type": "Rating",
                        "ratingValue": 5,
                        "bestRating": 5,
                        "worstRating": 1
                    },
                    "reviewBody": "Crisp look and comfortable all day.",
                    "datePublished": "2025-09-03"
                }
            ],
            "color": "White",
            "material": "100% Premium Cotton",
            "pattern": "Solid",
            "size": "M",
            "inProductGroupWithID": "oxford-shirts",
            "gtin": "0012345678912",
            "isVariantOf": {
                "@type": "ProductGroup",
                "name": "Classic Oxford Shirt Collection",
                "productGroupID": "oxford-shirts",
                "variesBy": [
                    "https://schema.org/color",
                    "https://schema.org/size"
                ],
                "url": "https://example.com/shirts/oxford"
            },
            "audience": {
                "@type": "PeopleAudience",
                "suggestedGender": "unisex",
                "suggestedMinAge": 16
            },
            "hasCertification": [
                {
                    "@type": "Certification",
                    "name": "OEKO-TEX Standard 100",
                    "issuedBy": {
                        "@type": "Organization",
                        "name": "OEKO-TEX Association"
                    },
                    "certificationIdentification": "OT-12345"
                }
            ],
            "subjectOf": "https://example.com/shirt-review"
        }
    ],
    "url": "https://example.com/shirts/oxford",
    "description": "Our classic oxford button-down shirts, available in multiple colors and sizes.",
    "brand": {
        "@type": "Brand",
        "name": "ClassicWear"
    },
    "aggregateRating": {
        "@type": "AggregateRating",
        "ratingValue": 4.7,
        "bestRating": 5,
        "worstRating": 1,
        "ratingCount": 312,
        "reviewCount": 89
    }
}

Source: generate-product-group.php

Schema: https://schema.org/ProductGroup