{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Registry entry for a Private Phone room of this home, written by the ILLI Service Agent Node with the root admin's session after it created the room through the Messaging Node's Admin API: the home's group room or a direct room between a member and parent 1.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "direct",
              "group"
            ],
            "type": "string"
          },
          "participants": {
            "description": "Matrix IDs of the participants at creation time.",
            "items": {
              "maxLength": 255,
              "type": "string"
            },
            "type": "array"
          },
          "roomId": {
            "description": "Matrix room ID.",
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "kind",
          "roomId",
          "participants",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.family.phoneRoom",
  "lexicon": 1
}
