Product structured data: required vs recommended fields (and what the warnings mean)
One product tested on 1 December 2026: four required values met Google's minimum, our app still showed 4 warnings and 2 notes, a Python script listed the 26 recommended properties.
We make Schema Markup Generator, the app this guide uses. The free methods come first; every step shown in Schema Markup Generator was checked in the app itself, and the screenshots come from the real app with invented sample data.
Short answer
For a merchant listing, Google requires only a product name, an image and an offer with a price and a currency. Everything else in its lists is recommended: 18 properties for the product and 8 for the offer. Add the ones that apply to most shops first: a description, the brand, a barcode number (GTIN) or a part number (MPN), availability and condition. Set shipping and returns once for the whole business, in Organization markup or in Merchant Center or Search Console, and put them on a single offer only to override that. In our test, a product with the four required values met Google's documented minimum for both features (checked by our script and our app, not by Google's tools), and Schema Markup Generator still showed 4 warnings and 2 notes, for recommended properties; in Search Console, missing recommended properties are non-critical issues and the item stays valid. The free script below lists what a page leaves out.
Required and recommended, as Google lists them
Product markup feeds two Google features with different rules. A product snippet needs a name and one of offers, review or aggregateRating. A merchant listing, for pages where the product can be bought, needs a name, an image and an Offer with a price above zero and a priceCurrency. Google's merchant listing page (last updated 8 September 2026) then lists the recommended properties:
- Product, recommended: aggregateRating, audience, brand.name, category, color, description, gtin (or gtin8, gtin12, gtin13, gtin14, isbn), hasAdultConsideration, hasCertification, inProductGroupWithID, isVariantOf, material, mpn, pattern, review, size, sku, subjectOf.
- Offer, recommended: availability, hasMerchantReturnPolicy, itemCondition, priceValidUntil, shippingDetails, url, validFrom, validThrough.
The difference shows up in Google's reports. In Search Console's rich result reports, critical issues make an item invalid, while non-critical ones are listed under "Improve item appearance" and the item stays valid. Merchant Center is stricter about two of the recommended values: if you sell through a Merchant Center account, its help says that price, priceCurrency, availability and condition are required for automatic item updates.
Method 1 (free): list what a page leaves out
This Python script reads the JSON-LD of a saved product page, finds every Product in it and prints the required properties that are missing, then each recommended property from Google's two lists that the page leaves out. It also checks any barcode number it finds. Save it as recommended.py. It needs Python 3.7 or later and nothing else; save the page from your browser (or its HTML source) and pass the file name. The -I runs Python in isolated mode, so it does not import files from the current folder.
"""List what a page's Product JSON-LD leaves out of Google's merchant listing properties.
Usage: py -3 -I recommended.py product-page.html [more pages ...]
py -3 -I recommended.py 4006381333931 (check one barcode number)
The property lists are copied from Google's merchant listing documentation (last updated 2026-09-08). The
barcode checks follow the GS1 check digit rule and the ranges Google Merchant Center Help says not to submit.
Python 3 only, no packages.
"""
import json
import sys
from html.parser import HTMLParser
PRODUCT_REQUIRED = ["name", "image", "offers"]
PRODUCT_RECOMMENDED = ["aggregateRating", "audience", "brand.name", "category", "color", "description",
"gtin/isbn", "hasAdultConsideration", "hasCertification", "inProductGroupWithID",
"isVariantOf", "material", "mpn", "pattern", "review", "size", "sku", "subjectOf"]
OFFER_RECOMMENDED = ["availability", "hasMerchantReturnPolicy", "itemCondition", "priceValidUntil",
"shippingDetails", "url", "validFrom", "validThrough"]
GTIN_KEYS = ["gtin", "gtin8", "gtin12", "gtin13", "gtin14", "isbn"]
class JsonLd(HTMLParser):
"""Collects the text of every <script type="application/ld+json"> block."""
def __init__(self):
super().__init__()
self.blocks, self.inside = [], False
def handle_starttag(self, tag, attrs):
if tag == "script" and (dict(attrs).get("type") or "").lower() == "application/ld+json":
self.inside = True
self.blocks.append("")
def handle_endtag(self, tag):
if tag == "script":
self.inside = False
def handle_data(self, data):
if self.inside:
self.blocks[-1] += data
def types(node):
t = node.get("@type", [])
return [x.split("/")[-1] for x in (t if isinstance(t, list) else [t]) if isinstance(x, str)]
def products(data):
"""Every node typed Product in a JSON-LD value (top level, lists, @graph and nested objects)."""
if isinstance(data, list):
for x in data:
yield from products(x)
elif isinstance(data, dict):
if "Product" in types(data):
yield data
for value in data.values():
if isinstance(value, (dict, list)):
yield from products(value)
def has(node, prop):
if prop == "brand.name":
brand = node.get("brand")
return isinstance(brand, dict) and bool(brand.get("name"))
if prop == "gtin/isbn":
return any(node.get(k) for k in GTIN_KEYS)
return node.get(prop) not in (None, "", [], {})
def gtin_report(number):
"""One line on a barcode number: digits and length, GS1 check digit, ranges Merchant Center refuses."""
s = str(number).strip()
if not s.isascii() or not s.isdigit():
return "digits only (no spaces, dashes or letters)"
if len(s) not in (8, 12, 13, 14):
return f"{len(s)} digits: a GTIN has 8, 12, 13 or 14"
body = [int(c) for c in s[:-1]]
total = sum(d * (3 if i % 2 == 0 else 1) for i, d in enumerate(reversed(body)))
expected = (10 - total % 10) % 10
if expected != int(s[-1]):
return f"the check digit should be {expected}, not {s[-1]}"
if len(s) in (12, 13):
thirteen = s.zfill(13) # a 12-digit UPC is the 13-digit number with a leading 0
if thirteen[:2] in ("02", "04") or thirteen[0] == "2":
return "check digit correct, but the number is in a restricted range (02, 04 or 2): " \
"Merchant Center says not to submit it"
if thirteen[:2] in ("05", "98", "99"):
return "check digit correct, but the number is in a coupon range (05, 98 or 99): " \
"Merchant Center says not to submit it"
return "check digit correct"
def report(path):
parser = JsonLd()
with open(path, encoding="utf-8") as f:
parser.feed(f.read())
found = 0
for text in parser.blocks:
try:
data = json.loads(text)
except ValueError as exc:
print(f"{path}: a JSON-LD block is not valid JSON ({exc})")
continue
for p in products(data):
found += 1
print(f'{path}: Product "{p.get("name", "?")}"')
missing = [k for k in PRODUCT_REQUIRED if not has(p, k)]
offers = p.get("offers")
offers = [o for o in (offers if isinstance(offers, list) else [offers]) if isinstance(o, dict)]
for o in offers:
if "AggregateOffer" in types(o):
missing.append("offers: an Offer with one price (an AggregateOffer is for product snippets)")
continue
spec = o.get("priceSpecification") if isinstance(o.get("priceSpecification"), dict) else {}
price = o.get("price", spec.get("price"))
try:
if float(str(price)) <= 0:
missing.append("offers.price above 0")
except ValueError:
missing.append("offers.price (a number)")
if not (o.get("priceCurrency") or spec.get("priceCurrency")):
missing.append("offers.priceCurrency")
print(" required: " + ("all present" if not missing else "MISSING " + ", ".join(missing)))
gone = [k for k in PRODUCT_RECOMMENDED if not has(p, k)]
print(f" recommended for the product, missing {len(gone)} of {len(PRODUCT_RECOMMENDED)}: "
+ (", ".join(gone) or "none"))
for i, o in enumerate(offers, 1):
gone = [k for k in OFFER_RECOMMENDED if not has(o, k)]
label = "the offer" if len(offers) == 1 else f"offer {i}"
print(f" recommended for {label}, missing {len(gone)} of {len(OFFER_RECOMMENDED)}: "
+ (", ".join(gone) or "none"))
for k in GTIN_KEYS[:-1]:
if p.get(k):
print(f" {k} {p[k]}: {gtin_report(p[k])}")
if not found:
print(f"{path}: no Product in the page's JSON-LD")
if __name__ == "__main__":
for arg in sys.argv[1:]:
if arg.isdigit():
print(f"{arg}: {gtin_report(arg)}")
else:
report(arg)
Our test page is an invented shop's product page with only the required properties in its markup:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Assam breakfast tea, loose leaf, 250 g",
"image": "https://northfieldtea.example/img/assam-breakfast-250g.jpg",
"offers": {
"@type": "Offer",
"price": "8.50",
"priceCurrency": "GBP"
}
}
</script>
The script on that page, run on 1 December 2026 with Python 3.11.9 on Windows 11:
py -3 -I recommended.py assam-required-only.html
assam-required-only.html: Product "Assam breakfast tea, loose leaf, 250 g"
required: all present
recommended for the product, missing 18 of 18: aggregateRating, audience, brand.name, category, color, description, gtin/isbn, hasAdultConsideration, hasCertification, inProductGroupWithID, isVariantOf, material, mpn, pattern, review, size, sku, subjectOf
recommended for the offer, missing 8 of 8: availability, hasMerchantReturnPolicy, itemCondition, priceValidUntil, shippingDetails, url, validFrom, validThrough
Nothing required is missing, so the page meets Google's minimum for both features. All 26 recommended properties are missing. Most of them only apply to some products, so the next step is to pick the ones that apply to yours.
The recommended properties to add first
These apply to almost every product a shop sells:
- description: Google's page says that it is not mandatory but strongly recommended.
- brand.name: the brand, as a Brand with a name. For your own products, that is your own brand.
- gtin, mpn or sku: the barcode number (GTIN) if the product has one, otherwise the manufacturer's part number (MPN); sku is your own article number. Google recommends the most specific GTIN property, gtin13 for a 13-digit EAN.
- availability and itemCondition on the offer: InStock, OutOfStock, PreOrder and so on, and NewCondition, UsedCondition or RefurbishedCondition. These two are the values Merchant Center needs for automatic item updates.
- shippingDetails and hasMerchantReturnPolicy: see Shipping and returns below; they rarely belong on each product.
The others are for particular cases. color, size, material and pattern describe products that come in those options; inProductGroupWithID and isVariantOf link the variants of one product; audience, hasAdultConsideration and hasCertification cover products made for a group of people, adult products and certified products; category and subjectOf (a 3D model of the product) are optional details, and priceValidUntil, validFrom and validThrough are dates for a price that only holds for a time. Add aggregateRating and review only for ratings and reviews the page shows; Google's merchant listing page refers to its review snippet guidelines for them. The offer's url is the address where the product is bought; Google's page says that it can be omitted.
The same page with a description, the brand, an SKU, a GTIN, the offer's address, availability and condition added:
py -3 -I recommended.py assam-recommended.html
assam-recommended.html: Product "Assam breakfast tea, loose leaf, 250 g"
required: all present
recommended for the product, missing 14 of 18: aggregateRating, audience, category, color, hasAdultConsideration, hasCertification, inProductGroupWithID, isVariantOf, material, mpn, pattern, review, size, subjectOf
recommended for the offer, missing 5 of 8: hasMerchantReturnPolicy, priceValidUntil, shippingDetails, validFrom, validThrough
gtin13 2001234567893: check digit correct, but the number is in a restricted range (02, 04 or 2): Merchant Center says not to submit it
14 product properties and 5 offer properties are still missing. None of the 14 apply to a tea pouch, and shipping and returns are the next section. The last line is about the barcode number.
Barcode numbers: the check digit and the ranges Merchant Center refuses
The last digit of a GTIN is a check digit, computed from the others. GS1's method: starting next to the check digit and moving left, multiply the digits by 3 and 1 in turn, add the results, and subtract the sum from the nearest equal or higher multiple of ten. GS1's own example, 629104150021, gives a sum of 57 and the check digit 3. The script does the same for any number you pass:
py -3 -I recommended.py 2001234567890 6291041500213
2001234567890: the check digit should be 3, not 0
6291041500213: check digit correct
A correct check digit is not enough. Merchant Center's GTIN help also says not to submit numbers in the restricted ranges (starting with 02, 04 or 2) or the coupon ranges (05, 98 or 99), and not to guess or make up a value. A store brand, or a product only you sell, generally has no GTIN: leave the property out and give the brand with an MPN, as Merchant Center advises; your own article number can go in sku as well. Our test number, 2001234567893, is invented; it starts with 2, so the script flags it. A store brand like our tea would normally have no GTIN at all.
Shipping and returns: once for the business
shippingDetails and hasMerchantReturnPolicy are on the offer's recommended list, but Google's merchant listing page recommends a global policy for the business under Organization markup instead, and the offer-level versions only to override it for some products or when there is no standard policy. The two documents that describe the global versions:
- Merchant shipping policy: a ShippingService under Organization, through hasShippingService.
- Merchant return policy: a MerchantReturnPolicy under Organization, through hasMerchantReturnPolicy, placed on a single page that describes the policy rather than on every page.
Offer-level shipping and return markup supports only some of the properties of the global versions. If you have a Merchant Center account, the merchant listing page also offers shipping and return settings in Merchant Center, or account-level settings in Search Console that are added to Merchant Center automatically. Where several of these exist, Google's order of precedence, from strongest to weakest, is: product feeds in Merchant Center, settings in the Content API for Shopping, settings in Merchant Center or Search Console, product-level markup, Organization markup. Our script reads one page at a time, so on a product page it lists shippingDetails and hasMerchantReturnPolicy as missing even when your Organization markup or your settings cover them.
Method 2: build and check it with Schema Markup Generator
Schema Markup Generator is our Windows app that builds JSON-LD for products, FAQs, articles, events and local businesses from forms, checks required and recommended fields as you type, and can import a CSV for many products. It runs offline. The screenshots come from version 1.0.0 (evaluation build), with the same invented product typed into the Product form.
- Fill in the required fields. With the name, one picture, the price 8.50 and the site's currency (GBP), both Google features are ready, and the findings read 0 errors, 4 warnings, 2 notes: add availability, add a GTIN or an MPN with the brand, add a description, add the brand; and notes that shipping costs and times and a return policy are recommended for merchant listings.
- Type the barcode number. We first typed it with a wrong last digit, 2001234567890. The app reports it as an error, says the number should end in 3, and marks the merchant listing as needs fixes until it is corrected. It writes the number as gtin13, the most specific property for 13 digits.
- Add the recommended product fields. With the correct GTIN, a description, the brand, an SKU, availability In stock and condition New, the warnings are gone and only the two notes on shipping and returns remain.
- Add shipping and returns, if this product needs its own. The form's Shipping and Returns sections fill the offer's shippingDetails and hasMerchantReturnPolicy; with them filled in, the findings read 0 errors, 0 warnings, 0 notes. If your Organization markup or your Merchant Center or Search Console settings already cover shipping and returns, leave these sections empty and ignore the two notes: the app checks the product's own block and shows them whenever that block has no shipping or return details.



The block the app saved at the last step, with shipping and returns on the offer. Our invented GTIN is there only to show the check: for a store-brand product like this tea, leave gtin13 out. In the app's checks the SKU alone also clears the GTIN warning, and the brand is already there.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Assam breakfast tea, loose leaf, 250 g",
"description": "Strong, malty black tea from Assam for the morning cup, loose leaf in a 250 g pouch.",
"image": "https://northfieldtea.example/img/assam-breakfast-250g.jpg",
"url": "https://northfieldtea.example/tea/assam-breakfast-250g/",
"brand": {
"@type": "Brand",
"name": "Northfield"
},
"sku": "NF-ASSAM-250",
"offers": {
"@type": "Offer",
"price": "8.50",
"priceCurrency": "GBP",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"shippingDetails": {
"@type": "OfferShippingDetails",
"shippingDestination": {
"@type": "DefinedRegion",
"addressCountry": "GB"
},
"shippingRate": {
"@type": "MonetaryAmount",
"value": "3.95",
"currency": "GBP"
},
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"handlingTime": {
"@type": "QuantitativeValue",
"minValue": 0,
"maxValue": 1,
"unitCode": "DAY"
},
"transitTime": {
"@type": "QuantitativeValue",
"minValue": 1,
"maxValue": 3,
"unitCode": "DAY"
}
}
},
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"applicableCountry": "GB",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 30,
"returnFees": "https://schema.org/ReturnFeesCustomerResponsibility",
"returnMethod": "https://schema.org/ReturnByMail"
}
},
"gtin13": "2001234567893"
}
</script>
We counted the findings of the three saved blocks again with the app's own checks outside the window: 4 warnings and 2 notes, then 2 notes, then none, as on the screen. The app accepted the invented number in the restricted range without a warning: its check covers the digits, the length and the check digit, so run the script above, or read Merchant Center's GTIN help, for the ranges. The app also wrote the product page's address as the product's url, not the offer's, so our script still lists the offer's url as missing; Google says that one can be omitted. To build the same markup for many products from a spreadsheet, see Product JSON-LD for many products from a CSV.
Limitations
- The property lists come from Google's documentation as read on 1 December 2026 (merchant listing page last updated 8 September 2026); the app's checks are dated 6 November 2026. Google can change either list.
- We did not run Google's Rich Results Test or Search Console's reports on these pages: the shop is invented and its pages are not online. What those tools show comes from Google's documentation. Once your own page is online, test it with Google's Rich Results Test and watch the Merchant listings report in Search Console.
- Valid markup makes a page eligible; Google decides whether to show a rich result.
- The script checks one page's JSON-LD: not Microdata or RDFa, not Organization markup on other pages, and not your Merchant Center or Search Console settings. Its range check covers 12- and 13-digit numbers only. It does not follow @id references, so an Offer linked by @id inside @graph is reported as missing.
- The shop, the product and the barcode number are invented, and the results come from one test day, 1 December 2026. Schema Markup Generator's planned requirements: Windows 10 (22H2) or 11, 64-bit.
References
- Google Search Central: Merchant listing (Product, Offer) structured data
- Google Search Central: Product snippet structured data
- Google Search Central: Merchant shipping policy (ShippingService) structured data
- Google Search Central: Merchant return policy (MerchantReturnPolicy) structured data
- Search Console Help: Rich result status reports
- Merchant Center Help: Set up structured data for Merchant Center
- Merchant Center Help: GTIN [gtin]
- GS1: How to calculate a check digit manually
- Google: Rich Results Test