ai.newnal.illi.device.getState

illi-service.newnal.id

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "homeRef": {
      "properties": {
        "homeId": {
          "format": "tid",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "homeId",
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "Everything the device needs to render: status, onboarding code while waiting, home, parents, members, pending requests and the acknowledged event cursor (D-44).",
      "errors": [
        {
          "name": "DeviceNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deviceId": {
              "type": "string"
            },
            "home": {
              "ref": "#homeRef",
              "type": "ref"
            },
            "lastEventId": {
              "type": "integer"
            },
            "members": {
              "items": {
                "ref": "ai.newnal.illi.home.defs#memberView",
                "type": "ref"
              },
              "type": "array"
            },
            "onboardingCode": {
              "ref": "#onboardingCode",
              "type": "ref"
            },
            "parent1": {
              "ref": "#parent1",
              "type": "ref"
            },
            "parents": {
              "items": {
                "ref": "ai.newnal.illi.home.defs#parentView",
                "type": "ref"
              },
              "type": "array"
            },
            "pendingRequests": {
              "items": {
                "ref": "#pendingRequest",
                "type": "ref"
              },
              "type": "array"
            },
            "status": {
              "knownValues": [
                "registered",
                "awaitingLink",
                "active",
                "unlinked",
                "retired"
              ],
              "type": "string"
            }
          },
          "required": [
            "deviceId",
            "status"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "deviceId": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "deviceId"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "onboardingCode": {
      "properties": {
        "code": {
          "type": "string"
        },
        "expiresAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "code",
        "expiresAt"
      ],
      "type": "object"
    },
    "parent1": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "pendingRequest": {
      "properties": {
        "expiresAt": {
          "format": "datetime",
          "type": "string"
        },
        "requestId": {
          "type": "string"
        },
        "slot": {
          "type": "integer"
        },
        "type": {
          "knownValues": [
            "parentCreation"
          ],
          "type": "string"
        }
      },
      "required": [
        "requestId",
        "type",
        "expiresAt"
      ],
      "type": "object"
    }
  },
  "id": "ai.newnal.illi.device.getState",
  "lexicon": 1
}

Validate Record

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

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

Metadata

DID
did:plc:uztm7bi2ce42dez3uu3qafro
CID
bafyreidiabmaavfp2c7zaqq3537ghxzxm3xeyojoravpzdqudxcrg6um2u
Indexed At
2026-10-19 16:48 UTC
AT-URI
at://did:plc:uztm7bi2ce42dez3uu3qafro/com.atproto.lexicon.schema/ai.newnal.illi.device.getState

Version History (2 versions)

Referenced Schemas (2)

Similar Lexicons

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

Lexicon Garden

@