Location
A place identity with optional address and canonical references.
Fields
1 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 place name. schema.org/name |
address |
string | optional | The address when needed for disambiguation. schema.org/address |
sameAs |
string[] | optional | Canonical URLs for the same place. schema.org/sameAs |
The canonical shape
What a Location atom's data looks like. These exact bytes are what calculateAtomId hashes — shared shape is shared identity.
{
"@context": "https://schema.org/",
"@type": "Place",
"name": "Golden Gate Bridge",
"address": "San Francisco, CA 94129",
"sameAs": [
"https://www.wikidata.org/wiki/Q474"
]
}
import { buildAtomData } from "@0xintuition/classifications";
import { calculateAtomId } from "@0xintuition/ids";
const atomData = buildAtomData("location", {
name: "Golden Gate Bridge",
address: "San Francisco, CA 94129",
});
// deterministic — same bytes, same ID, offchain and on
const atomId = calculateAtomId(atomData);
What a Location 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 Location in from its sources (default pipeline: location) — titles, canonical sameAs URLs, and the fields above, merged onto the same deterministic atom.