ai.newnal.illi.home.defs

Details · defs
Kinddefs
Authorityhome.illi.newnal.ai
Indexed

Showing version bafyreiebzh22dmyrjndr75got3gvgnacazve47netjweto5gcrrxixhnd4. Show the latest

cid bafyreiebzh22dmyrjndr75got3gvgnacazve47netjweto5gcrrxixhnd4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "deviceView": {
      "properties": {
        "deviceId": {
          "maxLength": 64,
          "type": "string"
        },
        "firmwareVersion": {
          "description": "Version of the ILLI unit's OS image (the firmware build), reported by the device itself; not verified. Trusted software state comes from the key attestation.",
          "type": "string"
        },
        "lastSeenAt": {
          "format": "datetime",
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "online": {
          "type": "boolean"
        },
        "status": {
          "knownValues": [
            "registered",
            "awaitingLink",
            "active",
            "unlinked",
            "retired"
          ],
          "type": "string"
        }
      },
      "required": [
        "deviceId",
        "status"
      ],
      "type": "object"
    },
    "homeSummary": {
      "properties": {
        "device": {
          "ref": "#deviceView",
          "type": "ref"
        },
        "homeId": {
          "format": "tid",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "parents": {
          "items": {
            "ref": "#parentView",
            "type": "ref"
          },
          "type": "array"
        },
        "role": {
          "knownValues": [
            "rootAdmin",
            "mainAdmin",
            "member",
            "parent"
          ],
          "type": "string"
        }
      },
      "required": [
        "homeId",
        "name",
        "role"
      ],
      "type": "object"
    },
    "inviteView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "expiresAt": {
          "format": "datetime",
          "type": "string"
        },
        "inviteId": {
          "type": "string"
        },
        "maxUses": {
          "type": "integer"
        },
        "note": {
          "maxLength": 120,
          "type": "string"
        },
        "uses": {
          "type": "integer"
        }
      },
      "required": [
        "inviteId",
        "createdAt",
        "expiresAt",
        "maxUses",
        "uses"
      ],
      "type": "object"
    },
    "limit": {
      "properties": {
        "max": {
          "type": "integer"
        },
        "used": {
          "type": "integer"
        }
      },
      "required": [
        "used",
        "max"
      ],
      "type": "object"
    },
    "limits": {
      "properties": {
        "admins": {
          "ref": "#limit",
          "type": "ref"
        },
        "parents": {
          "ref": "#limit",
          "type": "ref"
        }
      },
      "required": [
        "parents",
        "admins"
      ],
      "type": "object"
    },
    "memberView": {
      "properties": {
        "custodyKeyId": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxLength": 64,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "joinedAt": {
          "format": "datetime",
          "type": "string"
        },
        "parentSlot": {
          "maximum": 2,
          "minimum": 1,
          "type": "integer"
        },
        "photoUrl": {
          "format": "uri",
          "type": "string"
        },
        "relationship": {
          "maxLength": 32,
          "type": "string"
        },
        "role": {
          "knownValues": [
            "rootAdmin",
            "mainAdmin",
            "member",
            "parent"
          ],
          "type": "string"
        },
        "status": {
          "knownValues": [
            "active",
            "removed"
          ],
          "type": "string"
        }
      },
      "required": [
        "did",
        "role",
        "status",
        "joinedAt"
      ],
      "type": "object"
    },
    "parentView": {
      "properties": {
        "delegation": {
          "knownValues": [
            "ok",
            "unavailable",
            "none"
          ],
          "type": "string"
        },
        "honorific": {
          "type": "string"
        },
        "linked": {
          "type": "boolean"
        },
        "linkedDid": {
          "format": "did",
          "type": "string"
        },
        "linkedHandle": {
          "format": "handle",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "photoUrl": {
          "format": "uri",
          "type": "string"
        },
        "slot": {
          "maximum": 2,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "slot",
        "linked"
      ],
      "type": "object"
    },
    "syncView": {
      "properties": {
        "lastReconciledAt": {
          "format": "datetime",
          "type": "string"
        },
        "spaceRev": {
          "format": "tid",
          "type": "string"
        },
        "status": {
          "knownValues": [
            "active",
            "paused",
            "deleted"
          ],
          "type": "string"
        }
      },
      "required": [
        "status"
      ],
      "type": "object"
    }
  },
  "id": "ai.newnal.illi.home.defs",
  "lexicon": 1
}