Structured Data·Claude Code
Structured DataClaude Code

Add Organization schemaClaude Code

Organization schema tells Google who you are as an entity. Without it, no knowledge panel, weaker brand signals, less context for AI citations.

rocket_launch

Fixing this in Claude Code

Anthropic's official terminal coding agent

Claude Code can grep the whole codebase first, plan the change, then edit every affected file. Paste the prompt below into your Claude Code chat and the fix rolls out across the project in one pass.

Using a different tool? Pick your stack:

The prompt for Claude Code

Copy and paste this into your Claude Code chat exactly as-is.

Run Claude Code in the project root and make these exact changes, scanning the whole codebase first:

Add Organization schema

1. Add a <script type="application/ld+json"> with @type Organization, including name, url, logo, and sameAs (social profiles).

Why this matters

Organization schema is the foundation of your entity on the web. Google uses it for the knowledge panel on the right side of brand searches. AI tools use it to anchor "according to X" citations.

Without it, Google has to infer your brand from scattered signals — slower and less reliable. With it, your brand, logo, and social profiles all tie together cleanly.

How to use this prompt in Claude Code

  1. 1. Open your Claude Code project.
  2. 2. Copy the prompt above with the copy button.
  3. 3. Paste into the Claude Code chat and send.
  4. 4. Review the diff, accept the changes, redeploy.
  5. 5. Verify the fix using the checklist below.

Common mistakes to avoid

  • error_outlineMissing the logo field — knowledge panel shows no image.
  • error_outlinesameAs links pointing to dead or unrelated profiles.
  • error_outlineShipping Organization schema on every page — should be on homepage only (or the About page).

How to verify the fix worked

  • check_circlePaste into https://validator.schema.org/ — no errors.
  • check_circleSearch your brand name on Google — knowledge panel appears within weeks.
  • check_circleRich Results Test passes.

Frequently asked questions

Organization vs LocalBusiness?expand_more
LocalBusiness extends Organization with address/hours. Use LocalBusiness if you have a physical location, Organization if online-only.
Which sameAs links to include?expand_more
Official brand accounts only — Twitter/X, LinkedIn, GitHub, YouTube, Wikipedia if applicable. Not personal profiles.

Want all 34 prompts tailored to your Claude Code site?

Pantra scans your site in 10 seconds, detects the stack, and generates the exact prompts that apply — only the ones you actually need.

Scan my site

Related Claude Code prompts