Skip to content

[codex] Add structured profile data - #8

Closed
Radical-Coder wants to merge 2 commits into
mainfrom
codex/structured-profile-data
Closed

[codex] Add structured profile data#8
Radical-Coder wants to merge 2 commits into
mainfrom
codex/structured-profile-data

Conversation

@Radical-Coder

@Radical-Coder Radical-Coder commented Jun 16, 2026

Copy link
Copy Markdown
Owner

What changed

Adds schema.org JSON-LD to describe radical.codes as Ryan's professional hub without implying Radical Codes is a separate agency:

  • Ryan Gonyon as the primary Person
  • Radical Codes as a Brand
  • radical.codes as the WebSite
  • service lanes as an OfferCatalog
  • GitHub profile as sameAs

Why

The site is becoming the canonical hub for GitHub, Upwork, and public profile links. Structured data helps crawlers understand the entity while staying aligned with the site copy: this is Ryan's personal proof surface, not a separate agency wrapper.

Validation

  • npm run build
  • Parsed the embedded JSON-LD with Node and confirmed graph node types: Person, Brand, WebSite, OfferCatalog

Summary by CodeRabbit

  • New Features
    • Added structured data markup to enhance how search engines and web services recognize and display information about the site and its services.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

A <script type="application/ld+json"> block is added to the <head> of index.html, embedding Schema.org structured data that describes the person ("Ryan Gonyon"), the brand ("Radical Codes"), the website, and an OfferCatalog containing multiple service Offer entries. No other markup or styling changes.

Changes

Schema.org JSON-LD Structured Data

Layer / File(s) Summary
JSON-LD script block in document head
index.html
Adds a <script type="application/ld+json"> block defining Schema.org Person, Brand, WebSite, and OfferCatalog entities with multiple service offers.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 Hop, hop, hooray for structured data today!
The search bots will know just what we say —
A person, a brand, a catalog of deeds,
JSON-LD planted like tiny seeds.
The web now reads us loud and clear! 🌟

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Add structured profile data' directly and clearly summarizes the main change: adding Schema.org JSON-LD structured data to define profile information for the site.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/structured-profile-data

Comment @coderabbitai help to get the list of available commands and usage tips.

@Radical-Coder
Radical-Coder marked this pull request as ready for review June 16, 2026 16:38

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@index.html`:
- Around line 47-51: The OfferCatalog node at line 65 is disconnected from your
primary entities and will not be recognized by search engines. Add a
hasOfferCatalog property to the Brand node (the one with `@id`
"https://radical.codes/#radical-codes") that references the OfferCatalog to
establish the relationship and ensure search engines associate the service
offerings with your brand.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c2dbfbca-babe-4a88-a0e9-f2c4437b742f

📥 Commits

Reviewing files that changed from the base of the PR and between 17c71fc and 906bf96.

📒 Files selected for processing (1)
  • index.html

Comment thread index.html
Comment on lines +47 to +51
"@type": "Brand",
"@id": "https://radical.codes/#radical-codes",
"name": "Radical Codes",
"url": "https://radical.codes/"
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

For Schema.org JSON-LD, is an unreferenced node in @graph (like OfferCatalog) considered related to Person/Brand/WebSite without an explicit linking property? What is the recommended property (e.g., hasOfferCatalog) to connect a Brand or Person to OfferCatalog?

💡 Result:

In Schema.org JSON-LD, an unreferenced node within a @graph array—meaning no other node points to it via an @id reference or as an inline property value—is considered an orphaned or disconnected node [1][2][3]. While it may be syntactically valid JSON-LD, search engines often fail to associate such nodes with the primary entities (like Person, Organization/Brand, or WebSite) on the page, effectively causing them to be ignored in the context of the Knowledge Graph [2][3]. To connect an OfferCatalog to a Person or Organization (Brand), the recommended property is hasOfferCatalog [4][5][6]. Key points for implementation: 1. Relationship: The property hasOfferCatalog is explicitly designed to link a Person, Organization, or Service to an OfferCatalog [4][7][6]. It is the standard, authoritative way to establish this connection [8]. 2. Graph Connectivity: When using @graph, you should ensure all entities are explicitly linked [1][9]. An OfferCatalog should be nested within the Person or Organization object using the hasOfferCatalog property [4][6], or linked via an @id reference if the nodes are defined separately at the top level of the @graph array [1][9]. 3. Avoiding Orphans: If you define an OfferCatalog as a separate object in the @graph array, ensure another node in that graph references it [2][3]. Without an explicit linking property (like hasOfferCatalog), the nodes remain disconnected, and the relationship will not be inferred by search engines [2][3]. For example, using the recommended approach: { "@context": "https://schema.org", "@graph": [ { "@type": "Organization", "@id": "https://example.com/#organization", "name": "Example Brand", "hasOfferCatalog": { "@id": "https://example.com/#catalog" } }, { "@type": "OfferCatalog", "@id": "https://example.com/#catalog", "name": "Our Services", "itemListElement": [...] } ] } This structure explicitly links the Organization to the OfferCatalog, ensuring the graph is fully connected and valid [1][9].

Citations:


🏁 Script executed:

cat -n index.html | sed -n '40,105p'

Repository: Radical-Coder/radical-codes-site

Length of output: 2643


Link the OfferCatalog node to a primary entity instead of leaving it orphaned.

The OfferCatalog defined at line 65 is never referenced by Person, Brand, or WebSite, so search engines will not associate the service lanes with your brand. Add hasOfferCatalog to the Brand node to explicitly connect them.

Suggested fix
          {
            "`@type`": "Brand",
            "`@id`": "https://radical.codes/#radical-codes",
            "name": "Radical Codes",
-           "url": "https://radical.codes/"
+           "url": "https://radical.codes/",
+           "hasOfferCatalog": {
+             "`@id`": "https://radical.codes/#service-lanes"
+           }
          },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@type": "Brand",
"@id": "https://radical.codes/#radical-codes",
"name": "Radical Codes",
"url": "https://radical.codes/"
},
"`@type`": "Brand",
"`@id`": "https://radical.codes/#radical-codes",
"name": "Radical Codes",
"url": "https://radical.codes/",
"hasOfferCatalog": {
"`@id`": "https://radical.codes/#service-lanes"
}
},
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@index.html` around lines 47 - 51, The OfferCatalog node at line 65 is
disconnected from your primary entities and will not be recognized by search
engines. Add a hasOfferCatalog property to the Brand node (the one with `@id`
"https://radical.codes/#radical-codes") that references the OfferCatalog to
establish the relationship and ensure search engines associate the service
offerings with your brand.

@Radical-Coder

Copy link
Copy Markdown
Owner Author

Closing as superseded by #14. The structured data work has been adapted into current JSON-LD on both the home page and /ai-app-rescue/ route. Keeping this closed avoids applying schema for the old page model.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant