Checking in at a venue
A CheckInAction for one Foursquare check-in, keyed by the check-in id and timed at when it was made.
{
"@type": "CheckInAction",
"@key": ["@type", "source", "sourceId"],
"source": "foursquare",
"sourceId": "5f3c2a1b9e8d7c6b5a4f3e2d",
"timestamp": "2026-05-09T09:14:00.000Z",
"agent": {
"@type": "Agent",
"@key": ["@type", "source", "sourceId"],
"source": "foursquare",
"sourceId": "12345678",
"name": "Pat Example",
"url": "https://foursquare.com/user/12345678",
"sameAs": ["@me"],
"emblem": {
"@type": "ImageObject",
"@key": ["url"],
"url": "https://fastly.4sqi.net/img/user/300x300/12345678-EXAMPLE.jpg"
}
},
"object": {
"@type": "Venue",
"@key": ["@type", "source", "sourceId"],
"source": "foursquare",
"sourceId": "0123456789abcdef01234567",
"name": "Corner Café",
"category": ["Café", "Bakery"],
"location": {
"@type": "Location",
"latitude": 43.65,
"longitude": -79.38,
"address": "1 Example St, Toronto ON, Canada"
}
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "CheckInAction",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "foursquare",
"sourceId": "5f3c2a1b9e8d7c6b5a4f3e2d",
"timestamp": {
"@value": "2026-05-09T09:14:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Agent",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "foursquare",
"sourceId": "12345678",
"name": "Pat Example",
"url": "https://foursquare.com/user/12345678",
"sameAs": ["@me"],
"emblem": {
"@type": "ImageObject",
"doc:key": {
"@list": ["url"]
},
"url": "https://fastly.4sqi.net/img/user/300x300/12345678-EXAMPLE.jpg"
}
},
"object": {
"@type": "Venue",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "foursquare",
"sourceId": "0123456789abcdef01234567",
"name": "Corner Café",
"category": ["Café", "Bakery"],
"location": {
"@type": "Location",
"latitude": {
"@value": "43.65",
"@type": "http://www.w3.org/2001/XMLSchema#decimal"
},
"longitude": {
"@value": "-79.38",
"@type": "http://www.w3.org/2001/XMLSchema#decimal"
},
"address": "1 Example St, Toronto ON, Canada"
}
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :CheckInAction;
doc:key ("@type" "source" "sourceId");
:source "foursquare";
:sourceId "5f3c2a1b9e8d7c6b5a4f3e2d";
:timestamp "2026-05-09T09:14:00.000Z"^^xsd:dateTime;
:agent [
a :Agent;
doc:key ("@type" "source" "sourceId");
:source "foursquare";
:sourceId "12345678";
:name "Pat Example";
:url "https://foursquare.com/user/12345678";
:sameAs "@me";
:emblem [
a :ImageObject;
doc:key ("url");
:url "https://fastly.4sqi.net/img/user/300x300/12345678-EXAMPLE.jpg"
]
];
:object [
a :Venue;
doc:key ("@type" "source" "sourceId");
:source "foursquare";
:sourceId "0123456789abcdef01234567";
:name "Corner Café";
:category "Café", "Bakery";
:location [
a :Location;
:latitude "43.65"^^xsd:decimal;
:longitude "-79.38"^^xsd:decimal;
:address "1 Example St, Toronto ON, Canada"
]
]
] .