# rip.pds.account.defs

> Published by [pds.rip](https://lexicon.garden/identity/did:plc:w24v65i3bcsxk6mbbgfdukve)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.account.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.account.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:w24v65i3bcsxk6mbbgfdukve/rip.pds.account.defs/examples)

## Definitions

### `rip.pds.account.defs#accountView`

**Type**: `object`

An ephemeral account minted on this server.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` (handle) | Yes |  |
| `status` | `string` | No | Why the PDS considers this account inactive: takendown, suspended, deactivated. Absent when the account is live. |
| `labelKey` | `string` | No | Public multikey published as #atproto_label, when one is set. |
| `services` | `array` | No | Service entries on the account's DID document. Present only for did:web accounts, whose document this server serves. |
| `createdAt` | `string` (datetime) | Yes |  |
| `deletedAt` | `string` (datetime) | No |  |
| `didMethod` | `string` | Yes | Which identity method the account uses. |
| `expiresAt` | `string` (datetime) | No | When the account is deleted and its identity retired. Absent when the account never expires, which is true only for a permanent account an operator issued. |
| `extensions` | `integer` | Yes | How many times the lifetime has already been extended. |
| `servicesUpdatedAt` | `string` (datetime) | No | When the service entries last changed. Resolvers cache documents well past this server's max-age, so a recent change may not be visible downstream yet. |

## Raw Schema

```json
{
  "id": "rip.pds.account.defs",
  "defs": {
    "accountView": {
      "type": "object",
      "required": [
        "did",
        "handle",
        "didMethod",
        "createdAt",
        "extensions"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string",
          "format": "handle"
        },
        "status": {
          "type": "string",
          "description": "Why the PDS considers this account inactive: takendown, suspended, deactivated. Absent when the account is live."
        },
        "labelKey": {
          "type": "string",
          "description": "Public multikey published as #atproto_label, when one is set."
        },
        "services": {
          "type": "array",
          "items": {
            "ref": "rip.pds.account.putServices#serviceEntry",
            "type": "ref"
          },
          "description": "Service entries on the account's DID document. Present only for did:web accounts, whose document this server serves."
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "deletedAt": {
          "type": "string",
          "format": "datetime"
        },
        "didMethod": {
          "type": "string",
          "description": "Which identity method the account uses.",
          "knownValues": [
            "plc",
            "web"
          ]
        },
        "expiresAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the account is deleted and its identity retired. Absent when the account never expires, which is true only for a permanent account an operator issued."
        },
        "extensions": {
          "type": "integer",
          "description": "How many times the lifetime has already been extended."
        },
        "servicesUpdatedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the service entries last changed. Resolvers cache documents well past this server's max-age, so a recent change may not be visible downstream yet."
        }
      },
      "description": "An ephemeral account minted on this server."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
