# com.atproto.admin.defs

- Kind: defs
- Authority: admin.atproto.com
- Lexicon: 1
- Published by [atproto-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:6msi3pj7krzih5qxqtryxlzw), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.admin.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.admin.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.admin.defs/analytics)

## #accountView (`com.atproto.admin.defs#accountView`)

Type: object

### Properties

- `deactivatedAt` (string · datetime)
- `did` (string · did, required)
- `email` (string)
- `emailConfirmedAt` (string · datetime)
- `handle` (string · handle, required)
- `indexedAt` (string · datetime, required)
- `inviteNote` (string)
- `invitedBy` (ref)
  - Reference: `com.atproto.server.defs#inviteCode`
- `invites` (array)
  - `items` (ref)
    - Reference: `com.atproto.server.defs#inviteCode`
- `invitesDisabled` (boolean)
- `relatedRecords` (array)
  - `items` (unknown)
- `threatSignatures` (array)
  - `items` (ref)
    - Reference: `#threatSignature`

## #repoBlobRef (`com.atproto.admin.defs#repoBlobRef`)

Type: object

### Properties

- `cid` (string · cid, required)
- `did` (string · did, required)
- `recordUri` (string · at-uri)

## #repoRef (`com.atproto.admin.defs#repoRef`)

Type: object

### Properties

- `did` (string · did, required)

## #statusAttr (`com.atproto.admin.defs#statusAttr`)

Type: object

### Properties

- `applied` (boolean, required)
- `ref` (string)

## #threatSignature (`com.atproto.admin.defs#threatSignature`)

Type: object

### Properties

- `property` (string, required)
- `value` (string, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "accountView": {
      "properties": {
        "deactivatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "emailConfirmedAt": {
          "format": "datetime",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "inviteNote": {
          "type": "string"
        },
        "invitedBy": {
          "ref": "com.atproto.server.defs#inviteCode",
          "type": "ref"
        },
        "invites": {
          "items": {
            "ref": "com.atproto.server.defs#inviteCode",
            "type": "ref"
          },
          "type": "array"
        },
        "invitesDisabled": {
          "type": "boolean"
        },
        "relatedRecords": {
          "items": {
            "type": "unknown"
          },
          "type": "array"
        },
        "threatSignatures": {
          "items": {
            "ref": "#threatSignature",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "did",
        "handle",
        "indexedAt"
      ],
      "type": "object"
    },
    "repoBlobRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "recordUri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "did",
        "cid"
      ],
      "type": "object"
    },
    "repoRef": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "statusAttr": {
      "properties": {
        "applied": {
          "type": "boolean"
        },
        "ref": {
          "type": "string"
        }
      },
      "required": [
        "applied"
      ],
      "type": "object"
    },
    "threatSignature": {
      "properties": {
        "property": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "property",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "com.atproto.admin.defs",
  "lexicon": 1
}
```
