zone.stratos.admin.listEnrollments

lexicon.northsky.app

{
  "id": "zone.stratos.admin.listEnrollments",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "enrollments"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total number of enrollments in the service. Absent when a boundary filter is applied."
            },
            "cursor": {
              "type": "string",
              "description": "Cursor for the next page. Absent on the last page."
            },
            "enrollments": {
              "type": "array",
              "items": {
                "ref": "#enrollment",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of enrollments to return."
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor from a previous response."
          },
          "boundary": {
            "type": "string",
            "description": "Only return members holding this boundary."
          }
        }
      },
      "description": "List enrollments in this Stratos service. Requires admin authorization."
    },
    "enrollment": {
      "type": "object",
      "required": [
        "did",
        "enrolledAt",
        "active",
        "boundaries"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "The enrolled DID."
        },
        "active": {
          "type": "boolean",
          "description": "Whether the enrollment is currently active."
        },
        "isService": {
          "type": "boolean",
          "description": "Whether this is a service enrollment rather than a user."
        },
        "boundaries": {
          "type": "array",
          "items": {
            "ref": "zone.stratos.boundary.defs#Domain",
            "type": "ref"
          }
        },
        "enrolledAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the DID was enrolled."
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against zone.stratos.admin.listEnrollments

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

Metadata

DID
did:plc:6uxgo3ypovauub7nblwylqyv
CID
bafyreiglsadnxouoya3fvz2z5n44d55n7mqkb3ffz4hou3bje74q7d2tmq
Indexed At
2026-08-26 09:04 UTC
AT-URI
at://did:plc:6uxgo3ypovauub7nblwylqyv/com.atproto.lexicon.schema/zone.stratos.admin.listEnrollments

Referenced Schemas (1)

Lexicon Garden

@