Web Page
A web page identity with a canonical URL.
Fields
2 required · 2 recommended. Every field points at its schema.org property — the definition lives in one place, so nothing drifts. The full inherited superset stays available through @0xintuition/schema-org.
| Field | Type | Description | |
|---|---|---|---|
name |
string | required | The page title or name. schema.org/name |
url |
url | required | The canonical page URL. schema.org/url |
isPartOf |
string | optional | The website name or URL that the page belongs to. schema.org/isPartOf |
sameAs |
string[] | optional | Canonical URLs that identify the same web page. schema.org/sameAs |
The canonical shape
What a Web Page atom's data looks like. These exact bytes are what calculateAtomId hashes — shared shape is shared identity.
{
"@context": "https://schema.org/",
"@type": "WebPage",
"name": "Brad Pitt",
"url": "https://en.wikipedia.org/wiki/Brad_Pitt",
"isPartOf": "https://en.wikipedia.org",
"sameAs": [
"https://example.com/canonical"
]
}
import { buildAtomData } from "@0xintuition/classifications";
import { calculateAtomId } from "@0xintuition/ids";
const atomData = buildAtomData("web-page", {
name: "Brad Pitt",
url: "https://en.wikipedia.org/wiki/Brad_Pitt",
isPartOf: "https://en.wikipedia.org",
});
// deterministic — same bytes, same ID, offchain and on
const atomId = calculateAtomId(atomData);
What a Web Page can say
The recommended triple vocabulary for this classification — each row is a claim shape the graph already understands, with the kind of atom expected on the other end.
Enrichment
Paste a bare reference and the enrichment engine fills a Web Page in from its sources (default pipeline: web-page) — titles, canonical sameAs URLs, and the fields above, merged onto the same deterministic atom.