A physical location checkin on Foursquare/Swarm
Record Key
tid
Timestamp-based ID
Properties
address
string
Optional
Formatted venue address, e.g. "123 High Street, London, UK"
maxLength: 500 bytescategory
string
Optional
Primary Foursquare venue category, e.g. "Coffee Shop"
maxLength: 100 bytescreatedAt
string
datetime
Required
ISO 8601 timestamp of the checkin
location
ref
community.lexicon.location.fsq
Required
The Foursquare place where the checkin occurred
photos
array
of
ref
#photo
Optional
Photos taken at the checkin, uploaded as PDS blobs
maxLength: 8 itemsView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"createdAt",
"location"
],
"properties": {
"photos": {
"type": "array",
"items": {
"ref": "#photo",
"type": "ref"
},
"maxLength": 8,
"description": "Photos taken at the checkin, uploaded as PDS blobs"
},
"address": {
"type": "string",
"maxLength": 500,
"description": "Formatted venue address, e.g. \"123 High Street, London, UK\""
},
"category": {
"type": "string",
"maxLength": 100,
"description": "Primary Foursquare venue category, e.g. \"Coffee Shop\""
},
"location": {
"ref": "community.lexicon.location.fsq",
"type": "ref",
"description": "The Foursquare place where the checkin occurred"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "ISO 8601 timestamp of the checkin"
}
}
},
"description": "A physical location checkin on Foursquare/Swarm"
}