ai.newnal.illi.service.homeLink

Mirror of one account's role in one home; rkey <homeId>-<did>. The Service Agent Node database is authoritative; this record exists so the registry can be rebuilt from the sphere.

Details · record, key any
Kindrecord
Record keyany
Authorityservice.illi.newnal.ai
Indexed
cid bafyreig6rxq6gf7rish3howdrc5ir2v2g5a5wpc26b6llnzxax5t3eaboi

Checks

Valid
  • unlimited-string defs.main.record.properties.roleNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Mirror of one account's role in one home; rkey <homeId>-<did>. The Service Agent Node database is authoritative; this record exists so the registry can be rebuilt from the sphere.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          },
          "home": {
            "format": "tid",
            "type": "string"
          },
          "parentSlot": {
            "description": "Present when role is parent.",
            "maximum": 2,
            "minimum": 1,
            "type": "integer"
          },
          "role": {
            "knownValues": [
              "rootAdmin",
              "mainAdmin",
              "member",
              "parent"
            ],
            "type": "string"
          },
          "status": {
            "knownValues": [
              "active",
              "removed",
              "left"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "home",
          "did",
          "role",
          "status",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.service.homeLink",
  "lexicon": 1
}