{
_id: , // peer key
secondsInterval: String, // how often does the heartbeat tool take a snapshot and store it here (in seconds)
lastUpdated: String (ISO-8601 UTC), // when this document was written. If this is farther in the past than the interval, this device is "offline"
sdk: String, // Ditto SDK version
presenceSnapshotDirectlyConnectedPeersCount: Int, // from presence graph snapshot
presenceSnapshotDirectlyConnectedPeers: { // from presence graph snapshot
: {
deviceName: String,
sdk: String,
isConnectedToDittoCloud: Bool,
bluetooth: Int,
p2pWifi: Int,
lan: Int,
},
…,
…
},
metaData: {}
}