Optimization Guide

Shopify Toy & Children's Product Schema — Age Range, Safety Warnings & CE/ASTM Certifications

When parents ask AI shopping agents "best STEM toys for 5-year-olds" or "CE certified building blocks safe for toddlers," every toy brand without machine-readable age ranges, safety certifications, and choking hazard data is automatically excluded. Toys are one of the most safety-filtered product categories in AI shopping — the schema stakes are unusually high.

TL;DR Use suggestedAudience with PeopleAudience and integer suggestedMinAge/suggestedMaxAge for age targeting; safetyConsideration with exact CPSC warning text for choking/magnetic hazards; hasCertification for CE marking/ASTM F963/CPC compliance; and additionalProperty for developmental benefits and play type. Store toy attributes in a toy.* metafield namespace.

Why Toy Age Filtering Fails Without Structured Data

AI shopping agents processing toy queries apply three simultaneous filters: age range (integer comparison), safety certification presence (boolean), and developmental category (controlled vocabulary). None are outputs of Shopify's default product JSON-LD.

Age range is the most critical filter. When a parent searches "toys for 4-year-olds," the AI agent compares an integer (4) against a range. It cannot reliably extract age ranges from title text — "Ages 3+" can mean 3–6, 3–10, or 3 to adult depending on context. The suggestedAudience.suggestedMinAge and suggestedMaxAge integer properties eliminate the ambiguity entirely.

Safety certifications are the second major filter. Parents using AI agents for toy purchases are disproportionately safety-conscious and frequently include certification qualifiers: "CE certified wooden toys," "ASTM tested baby toys," "BPA-free teething toys." Without hasCertification objects, these products are invisible in certification-filtered queries regardless of actual compliance.

Toy AI query types requiring structured data

Query type Example Required schema Without schema
Age range filter "toys for 4-year-olds" suggestedMinAge: 3, suggestedMaxAge: 6 Age filter cannot match integer threshold
Safety certification "CE certified building blocks" hasCertification CE marking Certified toy excluded from cert filter
No choking hazard "safe toys for 2-year-olds no small parts" safetyConsideration + suggestedMinAge Safety status undetectable
Developmental benefit "fine motor skills toys for toddlers" additionalProperty developmentalBenefit Skill match relies on description NLP
Gender neutral gift "gender neutral toys 5-year-old" suggestedGender: Unisex Gender targeting signal missing
STEM/educational "STEM toys for kindergarteners" additionalProperty playType: STEM Category not machine-readable

Age Range: suggestedAudience PeopleAudience

The suggestedAudience property on Product takes a PeopleAudience object. For toys, use suggestedMinAge and suggestedMaxAge as integers (years). This is the primary age-filtering signal for AI shopping agents.

Title-based age (not machine-readable)
{
  "@type": "Product",
  "name": "Building Blocks Ages 3+",
  // Age buried in title string
  // AI agent cannot compare
  // integer 4 against "Ages 3+"
  // → excluded from age filter
}
suggestedAudience (machine-readable)
{
  "@type": "Product",
  "name": "Building Blocks Set",
  "suggestedAudience": {
    "@type": "PeopleAudience",
    "suggestedMinAge": 3,
    "suggestedMaxAge": 8,
    "suggestedGender": "Unisex"
  }
  // 4 >= 3 AND 4 <= 8 → match
}

Age range conventions by label

Package label suggestedMinAge suggestedMaxAge Notes
0–6 months 0 1 Add additionalProperty for month precision
6–18 months 0 2 Add additionalProperty: "6–18 months"
Ages 2–4 2 4 Direct mapping
Ages 3+ 3 (omit) No upper bound — omit suggestedMaxAge
Ages 8–12 8 12 Direct mapping
Ages 14+ 14 (omit) No upper bound

Safety Warnings: safetyConsideration

Use the safetyConsideration property with exact CPSC-standard warning language. AI agents trained on CPSC-compliant data recognize these specific phrases and apply them in safety filtering.

CPSC Standard Warning Phrases — use exact text:
  • "CHOKING HAZARD — Small parts. Not for children under 3 years."
  • "CHOKING HAZARD — This toy is a small ball. Not for children under 3 years."
  • "CHOKING HAZARD — Children under 8 years can choke or suffocate on uninflated or broken balloons. Adult supervision required."
  • "CHOKING HAZARD — This toy contains a marble. Not for children under 3 years."
  • "MAGNETIC HAZARD — This toy contains powerful magnets. Swallowed magnets can cause serious injury. Seek immediate medical attention if magnets are swallowed."

Complete JSON-LD Example: Educational Magnetic Tiles Set

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Magnetic Tiles Building Set — 64 Pieces",
  "description": "Open-ended STEM magnetic tile set for creative building and spatial reasoning. 64 colorful transparent tiles in 5 shapes. CE marked, ASTM F963 tested, BPA-free.",
  "url": "https://example.com/products/magnetic-tiles-64",
  "sku": "MAG-TILE-64",
  "gtin12": "012345678901",
  "brand": { "@type": "Brand", "name": "BuildRight Toys" },
  "offers": {
    "@type": "Offer",
    "price": "49.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock",
    "url": "https://example.com/products/magnetic-tiles-64"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.8",
    "reviewCount": "2341",
    "bestRating": "5"
  },
  "suggestedAudience": {
    "@type": "PeopleAudience",
    "suggestedMinAge": 3,
    "suggestedGender": "Unisex"
  },
  "safetyConsideration": "CHOKING HAZARD — Small parts. Not for children under 3 years. MAGNETIC HAZARD — Contains small magnets. Swallowed magnets can stick together across intestinal walls causing serious injury. Seek immediate medical attention if magnets are swallowed. Adult supervision recommended for children under 6.",
  "hasCertification": [
    {
      "@type": "Certification",
      "name": "CE Marking — EN 71 Toy Safety",
      "certificationIdentification": "CE-EN71-2025-40192",
      "issuedBy": {
        "@type": "Organization",
        "name": "TÜV Rheinland",
        "url": "https://www.tuv.com"
      },
      "certificationStatus": "CertificationActive"
    },
    {
      "@type": "Certification",
      "name": "ASTM F963-17 Toy Safety Standard",
      "issuedBy": {
        "@type": "Organization",
        "name": "SGS North America (testing lab) — self-certified by BuildRight Toys"
      }
    },
    {
      "@type": "Certification",
      "name": "Children's Product Certificate (CPSIA)",
      "certificationIdentification": "CPC-BRT-2025-MAG64",
      "issuedBy": {
        "@type": "Organization",
        "name": "BuildRight Toys LLC"
      }
    }
  ],
  "additionalProperty": [
    {
      "@type": "PropertyValue",
      "propertyID": "ageRange",
      "name": "Recommended Age",
      "value": "Ages 3 and up"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "developmentalBenefit",
      "name": "Developmental Benefits",
      "value": "STEM, Spatial Reasoning, Fine Motor, Creativity, Problem Solving"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "playType",
      "name": "Play Type",
      "value": "Construction, Open-Ended, STEM"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "pieceCount",
      "name": "Piece Count",
      "value": "64 tiles"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "material",
      "name": "Material",
      "value": "BPA-free ABS plastic with embedded magnets"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "certificationStatus",
      "name": "Safety Certifications",
      "value": "CE Marked, ASTM F963 Tested, CPSIA Compliant"
    },
    {
      "@type": "PropertyValue",
      "propertyID": "testingLab",
      "name": "Third-Party Testing Lab",
      "value": "SGS North America"
    }
  ]
}
</script>

Safety Certifications Reference

Certification Market Standard Who issues AI queries matched
CE Marking EU / UK EN 71 (Toy Safety Directive) Manufacturer (with notified body for high-risk toys) "CE certified toys", "EU safe toys"
ASTM F963 US Standard Consumer Safety Specification for Toy Safety Manufacturer (self-certified, 3rd-party tested) "ASTM tested toys for toddlers"
CPSIA CPC US Consumer Product Safety Improvement Act Manufacturer (legal requirement for US sale) "CPSIA compliant children's toys"
UKCA Marking UK UK Toy Safety Regulations 2011 Manufacturer (post-Brexit CE replacement) "UKCA toys UK"
CCC (China Compulsory Certification) China GB 6675 Toy Safety CNCA-accredited lab "CCC certified toys"
OEKO-TEX Standard 100 Global Textile safety (plush toys, fabric toys) OEKO-TEX member institutes "OEKO-TEX plush toys", "non-toxic stuffed animals"

Developmental Benefits and Play Type Values

Use consistent controlled vocabulary for additionalProperty developmental benefit and play type values. AI agents match these against educational and skill-building toy queries.

developmentalBenefit values

Value Toy examples AI queries matched
Fine Motor Stacking rings, threading beads, puzzles "fine motor skills toys for toddlers", "pincer grasp activities"
Gross Motor Balance boards, crawl tunnels, ride-ons "gross motor toys for 2-year-olds", "active play toys"
Cognitive Shape sorters, puzzles, memory games "cognitive development toys for babies", "brain toys for toddlers"
Language Talking toys, books, storytelling kits "language development toys", "talking toys for speech delay"
STEM Magnetic tiles, coding robots, science kits "STEM toys for kindergarteners", "coding toys for kids"
Creativity Art sets, clay, open-ended building "creative toys for 5-year-olds", "open-ended play toys"
Social-Emotional Role play sets, dolls, cooperative games "cooperative games for kids", "empathy toys"
Spatial Reasoning 3D puzzles, building sets, tangrams "spatial reasoning toys", "3D puzzle for 8-year-olds"

Shopify Liquid Snippet for Toy Schema

{% comment %} toy-schema.liquid — outputs toy safety and age JSON-LD {% endcomment %}
{% assign toy_min_age   = product.metafields.toy.min_age %}
{% assign toy_max_age   = product.metafields.toy.max_age %}
{% assign toy_gender    = product.metafields.toy.suggested_gender | default: 'Unisex' %}
{% assign toy_safety    = product.metafields.toy.safety_consideration %}
{% assign toy_dev       = product.metafields.toy.developmental_benefit %}
{% assign toy_play_type = product.metafields.toy.play_type %}
{% assign toy_certs_json = product.metafields.toy.certifications %}

{% if toy_min_age != blank %}

{% endif %}

Common Toy Schema Mistakes

# Mistake Impact Fix
1 Age range only in product title ("Ages 3+") — no suggestedAudience AI age-filter cannot apply integer comparison; product excluded from age-specific queries Add suggestedAudience with integer suggestedMinAge and optional suggestedMaxAge
2 Safety certifications only in product description text "CE certified" in text requires NLP extraction; hasCertification is explicit machine-readable Add hasCertification objects for CE, ASTM F963, and CPC for every compliant product
3 Missing safetyConsideration for small-part / magnetic hazard toys Safety-filtered parent queries cannot exclude hazardous-for-age products; also a CPSC labeling gap signal Add safetyConsideration with exact CPSC standard choking/magnetic hazard warning text
4 No suggestedGender — or using binary-only gender values AI agents cannot serve "gender neutral" gift queries without the Unisex value Add suggestedGender: Male / Female / Unisex. Default most toys to "Unisex" unless explicitly gendered
5 No developmental benefit or play type data Product invisible to the large segment of educational toy queries ("STEM", "fine motor", "open-ended play") Add additionalProperty entries for developmentalBenefit and playType using controlled vocabulary

Frequently Asked Questions

How do I express the recommended age range for a toy in schema.org?

Use suggestedAudience on the Product block set to a PeopleAudience object with suggestedMinAge and suggestedMaxAge as integers (age in years). For toys with no upper age limit (ages 8 and up), omit suggestedMaxAge. For infant toys in months (0–6 months), use suggestedMinAge: 0, suggestedMaxAge: 1 and add an additionalProperty for month-level precision. AI agents use these integer values to filter "toys for 4-year-olds" and similar queries.

How do I add a choking hazard warning to product schema?

Use safetyConsideration on the Product block with the exact CPSC standard warning text: "CHOKING HAZARD — Small parts. Not for children under 3 years." for small-parts products. Using the exact CPSC wording is important — AI agents trained on CPSC-compliant data recognize these specific phrases in safety filtering. Also set suggestedMinAge: 3 in suggestedAudience so the age gate is machine-readable separately from the warning text.

What toy safety certifications should I include in schema?

Include hasCertification objects for CE marking (EN 71 — required for EU toy sales), ASTM F963 (US toy safety standard), and CPC (Children's Product Certificate — legally required for US children's product sales under CPSIA). Also include OEKO-TEX Standard 100 for plush/fabric toys. These are the primary safety certification filters in AI parent shopping queries. See the table above for issuedBy values for each certification type.

How do I structure educational and developmental benefit data for toys?

Use additionalProperty with propertyID: "developmentalBenefit" for skill tags (Fine Motor, Gross Motor, Cognitive, STEM, Creativity, Language, Social-Emotional, Spatial Reasoning) and propertyID: "playType" for play category (Construction, Role Play, Sensory, STEM, Outdoor, Musical, Puzzle). These match the most common educational toy query types in AI shopping: "STEM toys for 5-year-olds," "fine motor skills toys for toddlers," "open-ended creative play."

What is the Children's Product Certificate (CPC) and how does it appear in structured data?

The CPC is a legal requirement under CPSIA for all children's products subject to CPSC safety rules in the US, including toys for children under 12. Use hasCertification with name: "Children's Product Certificate (CPSIA)" and issuedBy pointing to your company — the CPC is issued by the manufacturer, not a third-party lab. Add the CPSC-accredited testing lab as an additionalProperty with propertyID: "testingLab". Its presence in schema signals CPSIA compliance to AI agents filtering for legally compliant US children's products.

Related Resources