# zone.stratos.enrollment.status

> Published by [lexicon.northsky.app](https://lexicon.garden/identity/did:plc:6uxgo3ypovauub7nblwylqyv)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.enrollment.status)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.enrollment.status/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6uxgo3ypovauub7nblwylqyv/zone.stratos.enrollment.status/examples)

## Definitions

### `zone.stratos.enrollment.status`

**Type**: `query`

Check enrollment status for a DID in this Stratos service.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | The DID to check enrollment for. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | The DID that was checked. |
| `enrolled` | `boolean` | Yes | Whether the DID is enrolled in this Stratos service. |
| `boundaries` | `array` | No | Authoritative boundaries assigned. Only included when request is authenticated. |
| `enrolledAt` | `string` (datetime) | No | When the DID was enrolled, if enrolled. |

## Raw Schema

```json
{
  "id": "zone.stratos.enrollment.status",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "did",
            "enrolled"
          ],
          "properties": {
            "did": {
              "type": "string",
              "format": "did",
              "description": "The DID that was checked."
            },
            "enrolled": {
              "type": "boolean",
              "description": "Whether the DID is enrolled in this Stratos service."
            },
            "boundaries": {
              "type": "array",
              "items": {
                "ref": "zone.stratos.boundary.defs#Domain",
                "type": "ref"
              },
              "description": "Authoritative boundaries assigned. Only included when request is authenticated."
            },
            "enrolledAt": {
              "type": "string",
              "format": "datetime",
              "description": "When the DID was enrolled, if enrolled."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "The DID to check enrollment for."
          }
        }
      },
      "description": "Check enrollment status for a DID in this Stratos service."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
