Visiting a web page
A ViewAction for one visit in Safari's browsing history, keyed by its timestamp. The page is an Entity keyed by its url alone, so visits from any browser land on the same page. The agent is the iCloud account that owns the history.
{
"@type": "ViewAction",
"@key": ["@type", "source", "timestamp"],
"source": "safari",
"timestamp": "2026-05-09T16:04:51.000Z",
"agent": {
"@type": "Person",
"@key": ["@type", "source", "sourceId"],
"source": "icloud",
"sourceId": "1234567890",
"handle": "you@example.com",
"sameAs": ["@me"]
},
"object": {
"@type": "Entity",
"@key": ["url"],
"url": "https://trails.example.com/lost-lake",
"name": "Lost Lake Trail"
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "ViewAction",
"doc:key": {
"@list": ["@type", "source", "timestamp"]
},
"source": "safari",
"timestamp": {
"@value": "2026-05-09T16:04:51.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Person",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "icloud",
"sourceId": "1234567890",
"handle": "you@example.com",
"sameAs": ["@me"]
},
"object": {
"@type": "Entity",
"doc:key": {
"@list": ["url"]
},
"url": "https://trails.example.com/lost-lake",
"name": "Lost Lake Trail"
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :ViewAction;
doc:key ("@type" "source" "timestamp");
:source "safari";
:timestamp "2026-05-09T16:04:51.000Z"^^xsd:dateTime;
:agent [
a :Person;
doc:key ("@type" "source" "sourceId");
:source "icloud";
:sourceId "1234567890";
:handle "you@example.com";
:sameAs "@me"
];
:object [
a :Entity;
doc:key ("url");
:url "https://trails.example.com/lost-lake";
:name "Lost Lake Trail"
]
] .