-
Notifications
You must be signed in to change notification settings - Fork 0
[codex] Add structured profile data #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 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
@grapharray—meaning no other node points to it via an@idreference 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@idreference if the nodes are defined separately at the top level of the@grapharray [1][9]. 3. Avoiding Orphans: If you define an OfferCatalog as a separate object in the@grapharray, 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:
Repository: Radical-Coder/radical-codes-site
Length of output: 2643
Link the
OfferCatalognode to a primary entity instead of leaving it orphaned.The
OfferCatalogdefined at line 65 is never referenced byPerson,Brand, orWebSite, so search engines will not associate the service lanes with your brand. AddhasOfferCatalogto theBrandnode 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
🤖 Prompt for AI Agents