Proposal: WebPageSemanticRepresentation type for AI agent consumption
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- json
- Domain
- data
Research direction
Read the linked full proposal in plasmate-labs/plasmate/docs/SCHEMA-ORG-PROPOSAL.md, then review Schema.org's existing type hierarchy and related properties. Done means determining whether the proposed WebPageSemanticRepresentation type and its listed properties fit Schema.org's scope and can be modeled consistently.
Written by the indexing model from the issue text.
Description
Summary
As AI agents increasingly consume web content, there is a growing need for a standardized way to describe machine-readable semantic representations of web pages.
We propose a new Schema.org type, WebPageSemanticRepresentation, that allows websites to advertise the availability of semantic page representations optimized for AI consumption.
Motivation
AI agents currently interact with web pages by fetching raw HTML and parsing the DOM (often via headless Chrome). This is expensive, slow, and wasteful - 90%+ of tokens sent to LLMs are presentational noise.
Several projects now produce structured semantic representations:
- Plasmate SOM (Semantic Object Model)
- Jina Reader API
- Firecrawl
- Accessibility trees
A Schema.org type would let websites signal that a semantic representation is available, its format, and where to fetch it.
Proposed Properties
| Property | Type | Description |
|---|---|---|
representationFormat |
Text | Format (e.g., 'SOM/1.0', 'markdown') |
representationUrl |
URL | Where to fetch the representation |
sourceUrl |
URL | The original page URL |
tokenCount |
Integer | Approximate token count |
compressionRatio |
Number | HTML tokens / representation tokens |
generatedBy |
SoftwareApplication | Tool that generated it |
contentScope |
Text | What's included (full-page, main-content, etc.) |
lastCrawled |
DateTime | When the source was last fetched |
Example
{
"@context": "https://schema.org",
"@type": "WebPageSemanticRepresentation",
"sourceUrl": "https://example.com/article",
"representationUrl": "https://cache.example.com/som?url=https://example.com/article",
"representationFormat": "SOM/1.0",
"tokenCount": 1200,
"compressionRatio": 14.2
}
Context
This proposal comes from the W3C Web Content Browser for AI Agents Community Group, where we are incubating the Semantic Object Model (SOM) and Agent Web Protocol (AWP) specifications.
Full proposal: https://github.com/plasmate-labs/plasmate/blob/master/docs/SCHEMA-ORG-PROPOSAL.md
We would welcome feedback on whether this fits within Schema.org's scope and how to best model it within existing type hierarchies.
- Dominant language
- HTML
- Stars
- 6.3k
- Forks
- 962
- Avg merge
- 18h 7m
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from schemaorg/schemaorg
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
All issues in schemaorg/schemaorg
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Schema-level dtype cannot be serialized: to_yaml raises RepresenterError, to_json raises TypeError Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
unionai-oss/pandera#2511 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
unitaryfoundation/qldpc-challenge#1651 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
statsmodels/statsmodels#10271 ·