{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The desk of live signalling rooms.",
      "key": "literal:self",
      "record": {
        "properties": {
          "log": {
            "description": "Signaling notes for the WebRTC tab. A note is removed after one hour.",
            "type": "array"
          },
          "rings": {
            "description": "Live call rings. Each ring names the room and the account that should ring. A ring is removed after a few minutes.",
            "type": "array"
          },
          "rooms": {
            "description": "Keyed by room id. Each room has peers and mail.",
            "type": "object"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "rooms"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "LibreSky WebRTC signalling. One record, rkey self. Rooms hold peer names and short offer, answer, and ICE notes. Rings ask a signed-in LibreSky to ring. A log of signaling notes is kept for one hour. Audio and video are not stored. A quiet room is removed.",
  "id": "app.libresky.server.signal",
  "lexicon": 1
}
