2023-07-11 11:25:39 +01:00
|
|
|
{
|
|
|
|
|
"$defs": {
|
2026-08-10 17:37:55 -05:00
|
|
|
"timestamp": {"type": "string"},
|
|
|
|
|
"action": {"type": "string", "enum": ["linking", "unlinked", "failed"]},
|
|
|
|
|
"reason": {"type": "string", "enum": ["auth", "socket", "lost"]}
|
2023-07-11 11:25:39 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"status": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"timestamp": {"$ref": "#/$defs/timestamp"},
|
|
|
|
|
"message": {"type": "string"},
|
|
|
|
|
"required": ["timestamp", "message"]
|
2026-08-10 17:37:55 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"link": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"timestamp": {"$ref": "#/$defs/timestamp"},
|
|
|
|
|
"action": {"$ref": "#/$defs/action"},
|
|
|
|
|
"reason": {"$ref": "#/$defs/reason"},
|
|
|
|
|
"required": ["timestamp", "action"]
|
2023-07-11 11:25:39 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|