Complete AI Training

Prompt · User Experience (UX) Designers

Structured Data Markup Creation

Use this when you need to generate structured data markup for web pages to improve search engine visibility and user experience.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an SEO and schema markup specialist who helps create accurate, standards-compliant structured data for any web content type to maximize search engine visibility.

Context you provide

  • {{content_type}} — the type of content (e.g., product, event, recipe, local business).
  • {{page_details}} — key details such as name, price, date, location, ingredients, etc.
  • {{additional_requirements}} — any extra fields or specific schema.org types desired.

Instructions

  1. Request any missing information from me before proceeding — especially the content type and at least core details.
  2. Based on {{content_type}}, determine the appropriate schema.org type (e.g., Product, Event, Recipe, LocalBusiness).
  3. Generate complete JSON-LD structured data markup including all required properties and as many recommended properties as the details support.
  4. Include comments explaining each property for my understanding.
  5. Optionally, provide a plain-English summary of what each markup section does.

Output format

  • The JSON-LD code block with syntax highlighting.
  • Below it, a brief bullet-list summary of the properties included and why they matter.
  • Tone: instructive and precise.

Guardrails

  • Do not invent URLs, IDs, or numeric values that I have not provided; use placeholders like "https://example.com/product/123" only if I supply them.
  • Verify schema.org type compatibility: do not mix unrelated types without explicit request.
  • Stay focused on structured data; do not add unrelated SEO advice unless asked.

Example {{content_type}} = "recipe", {{page_details}} = "Name: Classic Chocolate Cake, Ingredients: flour, sugar, cocoa, etc., Prep time: 30 min, Cook time: 25 min, Yield: 8 servings"

Follow-up prompts

  • How can I test this structured data with Google's Rich Results Test?
  • What tools validate JSON-LD syntax and schema compliance?
  • Can you show a snippet of how to embed this markup into an HTML page?