ai.newnal.illi.device.link

illi-service.newnal.id

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The caller enters the device's onboarding code and becomes the root admin: creates the home and the family sphere on the caller's PDN with parent 1 and the caller as first members (D-27).",
      "errors": [
        {
          "name": "InvalidOnboardingCode"
        },
        {
          "name": "CodeExpired"
        },
        {
          "name": "DeviceAlreadyLinked"
        },
        {
          "name": "ScopeMissing"
        },
        {
          "name": "PdsUnavailable"
        },
        {
          "name": "RateLimitExceeded"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "code": {
              "maxLength": 16,
              "type": "string"
            },
            "displayName": {
              "description": "The root admin's name as the family and the device see it (e.g. 김은수). Required by the family app; optional on the wire for compatibility.",
              "maxLength": 64,
              "type": "string"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "homeName": {
              "maxLength": 64,
              "type": "string"
            },
            "relationship": {
              "description": "The root admin's relationship to the parents (e.g. 큰아들).",
              "maxLength": 32,
              "type": "string"
            }
          },
          "required": [
            "code",
            "homeName"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "device": {
              "ref": "ai.newnal.illi.home.defs#deviceView",
              "type": "ref"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "role": {
              "knownValues": [
                "rootAdmin"
              ],
              "type": "string"
            },
            "sphere": {
              "type": "string"
            }
          },
          "required": [
            "homeId",
            "sphere",
            "role",
            "device"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.device.link",
  "lexicon": 1
}

Validate Record

Validate a record against ai.newnal.illi.device.link

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uztm7bi2ce42dez3uu3qafro
CID
bafyreibi7ldhei34sm3pmcibhxeoeppr3vulj4pyxdqtinudarinjjdese
Indexed At
2026-10-20 10:07 UTC
AT-URI
at://did:plc:uztm7bi2ce42dez3uu3qafro/com.atproto.lexicon.schema/ai.newnal.illi.device.link

Version History (4 versions)

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The root admin asks the device to create the second parent's Newnal ID (07 F-06); the name and honorific given here fill the new parentSlot. The device learns of it by SSE or getState.pendingRequests and completes it wi…

Lexicon Garden

@