Skip to content

feat: add schema.org Person/Organization metadata to account pages#282

Open
jedsundwall wants to merge 1 commit intomainfrom
feat/account-schema-org
Open

feat: add schema.org Person/Organization metadata to account pages#282
jedsundwall wants to merge 1 commit intomainfrom
feat/account-schema-org

Conversation

@jedsundwall
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new AccountSchemaMetadata server component that emits a <script type="application/ld+json"> tag on account profile pages
  • Emits Organization schema for org accounts and Person schema for individual accounts
  • Includes name, url, description (from bio), image (from profile image), and sameAs (ROR for orgs, ORCID for individuals) — all fields are conditional and omitted when not set

Test plan

  • Visit an organization profile page and inspect the HTML source for a <script type="application/ld+json"> tag with @type: "Organization"
  • Visit an individual profile page and verify @type: "Person"
  • Verify sameAs appears for accounts with a ROR ID or ORCID set
  • Verify sameAs is absent for accounts without those identifiers

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
source-cooperative Ready Ready Preview, Comment Apr 7, 2026 9:23pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants