Website
A website identity with name and canonical URL.
Fields
2 required · 1 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 name of the website. schema.org/name |
url |
url | required | The canonical website URL. schema.org/url |
sameAs |
string[] | optional | Canonical URLs that identify the same website. schema.org/sameAs |
The canonical shape
What a Website atom's data looks like. These exact bytes are what calculateAtomId hashes — shared shape is shared identity.
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Wikipedia",
"url": "https://www.wikipedia.org",
"sameAs": [
"https://example.com/canonical"
]
}
import { buildAtomData } from "@0xintuition/classifications";
import { calculateAtomId } from "@0xintuition/ids";
const atomData = buildAtomData("web-site", {
name: "Wikipedia",
url: "https://www.wikipedia.org",
sameAs: ["…"],
});
// deterministic — same bytes, same ID, offchain and on
const atomId = calculateAtomId(atomData);
What a Website 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 Website in from its sources (default pipeline: web-site) — titles, canonical sameAs URLs, and the fields above, merged onto the same deterministic atom.