{"$type":"com.atproto.lexicon.schema","defs":{"deviceEntry":{"properties":{"deviceId":{"maxLength":64,"type":"string"},"mxid":{"description":"Parent 1's Private Phone account, which the device calls with and which created the home's rooms. Absent until parent 1 registered it from the device.","maxLength":255,"type":"string"}},"required":["deviceId"],"type":"object"},"groupRoom":{"description":"The home's group room: the device and every family member.","properties":{"roomId":{"maxLength":255,"type":"string"}},"required":["roomId"],"type":"object"},"memberEntry":{"properties":{"did":{"format":"did","type":"string"},"displayName":{"maxLength":64,"type":"string"},"mxid":{"description":"Matrix user ID, @localpart:server name.","maxLength":255,"type":"string"},"photoUrl":{"format":"uri","type":"string"},"reason":{"description":"Why the member is not callable yet when there is no pair room to carry it (the room could not be created, or the member's server is not supported). Given where room would be.","ref":"#pendingReason","type":"ref"},"relationship":{"description":"How the parents call this member, e.g. 막내딸; shown with the name on the device's call list.","maxLength":32,"type":"string"},"role":{"knownValues":["rootAdmin","mainAdmin","member"],"type":"string"},"room":{"description":"The member's pair room with the device. Given to the device for every member and to a member for itself only.","ref":"#pairRoom","type":"ref"}},"required":["did","displayName","role"],"type":"object"},"pairRoom":{"properties":{"reason":{"ref":"#pendingReason","type":"ref"},"roomId":{"maxLength":255,"type":"string"},"state":{"ref":"#roomState","type":"ref"}},"required":["roomId","state"],"type":"object"},"parentEntry":{"properties":{"honorific":{"type":"string"},"name":{"type":"string"},"photoUrl":{"format":"uri","type":"string"},"slot":{"maximum":2,"minimum":1,"type":"integer"}},"required":["slot"],"type":"object"},"pendingReason":{"description":"Why a pair room is pending: notConsented = the member's account has no ILLI enrollment marker; userNotFound = no such active account on its node; untrustedServer = the member's node is not trusted by the creator's node; unsupportedHomeserver = the member's server is not in the Service Agent Node's supported list; remoteRefused = the member's node refused the invite; inviting = an invite to another node is still waiting; retrying = the last attempt failed and will be retried.","knownValues":["notConsented","userNotFound","untrustedServer","unsupportedHomeserver","remoteRefused","inviting","retrying"],"type":"string"},"roomState":{"description":"State of a pair room for its member: joined when the member's last put answered join, pending otherwise.","knownValues":["joined","pending"],"type":"string"}},"id":"ai.newnal.illi.phone.defs","lexicon":1}