{ "bsonType": "object", "required": ["_id", "firstSeenAt", "lastSeenAt", "serverVersion"], "properties": { "_id": { "bsonType": "string", "description": "Node id" }, "firstSeenAt": { "bsonType": "date" }, "lastSeenAt": { "bsonType": "date" }, "serverVersion": { "bsonType": "string" }, "region": { "bsonType": "string" }, "batchIntervalMs": { "bsonType": ["int", "long"], "description": "Configured batch interval of the node, in milliseconds", "minimum": 1000 }, "mediaStats": { "bsonType": "bool", "description": "Whether the node reports media statistics; absent on documents written before it existed (read as true)" }, "mediaNode": { "bsonType": "string", "description": "Media node label of the server; absent when it has none", "pattern": "^[A-Za-z0-9_.-]{1,128}$" }, "stoppedAt": { "bsonType": "date", "description": "Set by a graceful stop, after the final batch" } }, "additionalProperties": false }