# ai.newnal.trustsquare.defs

> Published by [bezalel-newnal.bsky.social](https://lexicon.garden/identity/did:plc:75qhtany5zmo7d3i2ni5d7nf)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:75qhtany5zmo7d3i2ni5d7nf/ai.newnal.trustsquare.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:75qhtany5zmo7d3i2ni5d7nf/ai.newnal.trustsquare.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:75qhtany5zmo7d3i2ni5d7nf/ai.newnal.trustsquare.defs/examples)

## Definitions

### `ai.newnal.trustsquare.defs#replyRef`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `root` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `parent` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

### `ai.newnal.trustsquare.defs#actorView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `avatar` | `string` (uri) | No |  |
| `gender` | `string` | No |  |
| `handle` | `string` (handle) | Yes |  |
| `ageBand` | `string` | No |  |
| `realName` | `boolean` | No |  |
| `occupation` | `string` | No |  |
| `affiliation` | `string` | No |  |
| `displayName` | `string` | Yes |  |
| `verificationStatus` | `string` | Yes |  |

### `ai.newnal.trustsquare.defs#proofView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No | Record CID from the PDS proof; absent when the record no longer exists. |
| `did` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `error` | `string` | No |  |
| `checks` | `ref` → `#proofChecks` | Yes |  |
| `commit` | `ref` → `#commitView` | No |  |
| `record` | `unknown` | No |  |
| `checkedAt` | `string` (datetime) | Yes |  |
| `indexedCid` | `string` (cid) | No |  |
| `signingKey` | `string` | Yes | did:key of the repository signing key from the DID document. |
| `pdsEndpoint` | `string` (uri) | Yes |  |

### `ai.newnal.trustsquare.defs#syncState`

**Type**: `string`

AppView knowledge about a record: written to PDS but not yet seen on the network, or confirmed from the firehose.

**Known Values**:
- `optimistic`
- `confirmed`

### `ai.newnal.trustsquare.defs#videoMeta`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes |  |
| `title` | `string` | No |  |
| `videoId` | `string` | Yes |  |
| `channelId` | `string` | No |  |
| `channelTitle` | `string` | No |  |
| `thumbnailUrl` | `string` (uri) | No |  |
| `channelHandle` | `string` | No | The channel's YouTube handle including its leading @, when the channel has one. |

### `ai.newnal.trustsquare.defs#actorStats`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comments` | `integer` | Yes |  |
| `firstSeenAt` | `string` (datetime) | No |  |
| `chatMessages` | `integer` | Yes |  |
| `likesReceived` | `integer` | Yes |  |
| `squaresCreated` | `integer` | Yes |  |

### `ai.newnal.trustsquare.defs#commitView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `rev` | `string` (tid) | Yes |  |
| `sig` | `string` | Yes | Base64 signature bytes. |
| `data` | `string` (cid) | Yes | MST root CID. |

### `ai.newnal.trustsquare.defs#disclosure`

**Type**: `object`

What the account holder chose to reveal, signed by the verifier. `ageBand` and `gender` are derived from the verified identity and are therefore attested; `occupation` and `affiliation` are self-declared. With nothing disclosed, `displayName` is the masked form of the verified name.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `gender` | `string` | No | Attested: as supplied by the identity provider. |
| `ageBand` | `string` | No | Attested: derived from the verified birth date. |
| `realName` | `boolean` | Yes | Whether `displayName` is the full verified name. |
| `occupation` | `string` | No | Self-declared. |
| `affiliation` | `string` | No | Self-declared. |
| `displayName` | `string` | Yes | The verified name when `realName` is true, otherwise its masked form. |

### `ai.newnal.trustsquare.defs#liveStatus`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `state` | `string` | Yes |  |
| `endedAt` | `string` (datetime) | No |  |
| `startedAt` | `string` (datetime) | No |  |

### `ai.newnal.trustsquare.defs#squareView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes | Short public id used in /s/{id} links. |
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `mode` | `string` | Yes |  |
| `stats` | `ref` → `#squareStats` | Yes |  |
| `title` | `string` | No |  |
| `pinned` | `array` | Yes |  |
| `creator` | `ref` → `#actorView` | Yes |  |
| `subject` | `ref` → `#videoMeta` | Yes |  |
| `settings` | `ref` → `#squareSettings` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `syncState` | `ref` → `#syncState` | Yes |  |
| `liveStatus` | `ref` → `#liveStatus` | Yes |  |
| `description` | `string` | No |  |

### `ai.newnal.trustsquare.defs#threadView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comment` | `ref` → `#commentView` | Yes |  |
| `replies` | `array` | Yes |  |
| `hasMoreReplies` | `boolean` | Yes |  |

### `ai.newnal.trustsquare.defs#commentView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `text` | `string` | Yes |  |
| `reply` | `ref` → `#replyRef` | No |  |
| `author` | `ref` → `#actorView` | Yes |  |
| `edited` | `boolean` | Yes |  |
| `hidden` | `boolean` | Yes | Hidden by the Square creator or an operator. Only returned to the creator or the author. |
| `pinned` | `boolean` | Yes |  |
| `viewer` | `ref` → `#viewerState` | No |  |
| `deleted` | `boolean` | Yes | Tombstone for a comment the author deleted; text is empty. |
| `editedAt` | `string` (datetime) | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `likeCount` | `integer` | Yes |  |
| `squareUri` | `string` (at-uri) | Yes |  |
| `syncState` | `ref` → `#syncState` | Yes |  |
| `replyCount` | `integer` | Yes |  |
| `trustScore` | `string` | No | Debug only; present when the AppView runs with ranking debug enabled. |
| `dislikeCount` | `integer` | Yes |  |

### `ai.newnal.trustsquare.defs#historyItem`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `square` | `ref` → `#squareView` | Yes |  |
| `comment` | `ref` → `#commentView` | No |  |
| `chatMessage` | `ref` → `#chatMessageView` | No |  |

### `ai.newnal.trustsquare.defs#proofChecks`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `didDocFresh` | `boolean` | Yes |  |
| `inclusionValid` | `boolean` | Yes |  |
| `signatureValid` | `boolean` | Yes |  |
| `cidMatchesIndex` | `boolean` | Yes |  |

### `ai.newnal.trustsquare.defs#squareStats`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comments` | `integer` | Yes |  |
| `chatMessages` | `integer` | Yes |  |
| `participants` | `integer` | Yes |  |

### `ai.newnal.trustsquare.defs#viewerState`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `reaction` | `string` | No |  |
| `reactionUri` | `string` (at-uri) | No |  |

### `ai.newnal.trustsquare.defs#youtubeVideo`

**Type**: `object`

A YouTube video or live stream that a Square is attached to.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes | Canonical https://www.youtube.com/watch?v=... URL. |
| `videoId` | `string` | Yes | YouTube video id. |
| `channelId` | `string` | No |  |

### `ai.newnal.trustsquare.defs#squareSettings`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `allowChat` | `boolean` | No |  |
| `allowComments` | `boolean` | No |  |
| `requireRealName` | `boolean` | No | When true, only accounts disclosing their full verified name may write in this Square. |
| `slowModeSeconds` | `integer` | No |  |

### `ai.newnal.trustsquare.defs#chatMessageView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `text` | `string` | Yes |  |
| `author` | `ref` → `#actorView` | Yes |  |
| `hidden` | `boolean` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `squareUri` | `string` (at-uri) | Yes |  |
| `syncState` | `ref` → `#syncState` | Yes |  |

### `ai.newnal.trustsquare.defs#actorProfileView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `ref` → `#actorView` | Yes |  |
| `stats` | `ref` → `#actorStats` | Yes |  |
| `pdsEndpoint` | `string` (uri) | No |  |
| `verification` | `ref` → `#verificationView` | Yes |  |
| `historyVisible` | `boolean` | Yes |  |

### `ai.newnal.trustsquare.defs#verificationView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | No |  |
| `uri` | `string` (at-uri) | No |  |
| `issuer` | `string` (did) | No |  |
| `status` | `string` | Yes |  |
| `provider` | `string` | No |  |
| `expiresAt` | `string` (datetime) | No |  |
| `disclosure` | `ref` → `#disclosure` | No |  |
| `verifiedAt` | `string` (datetime) | No |  |
| `verificationId` | `string` | No |  |
| `attestationValid` | `boolean` | No |  |

### `ai.newnal.trustsquare.defs#socialAccountView`

**Type**: `object`

A social account an actor has linked. `method` is carried through so a reader can tell a mocked claim from an ownership-checked one.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `handle` | `string` | Yes |  |
| `method` | `string` | Yes |  |
| `platform` | `string` | Yes |  |
| `profileUrl` | `string` (uri) | No |  |
| `verifiedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "ai.newnal.trustsquare.defs",
  "defs": {
    "replyRef": {
      "type": "object",
      "required": [
        "root",
        "parent"
      ],
      "properties": {
        "root": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "parent": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      }
    },
    "actorView": {
      "type": "object",
      "required": [
        "did",
        "handle",
        "displayName",
        "verificationStatus"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "avatar": {
          "type": "string",
          "format": "uri"
        },
        "gender": {
          "type": "string"
        },
        "handle": {
          "type": "string",
          "format": "handle"
        },
        "ageBand": {
          "type": "string"
        },
        "realName": {
          "type": "boolean"
        },
        "occupation": {
          "type": "string"
        },
        "affiliation": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "verificationStatus": {
          "type": "string",
          "knownValues": [
            "active",
            "expired",
            "revoked",
            "invalid",
            "none"
          ]
        }
      }
    },
    "proofView": {
      "type": "object",
      "required": [
        "uri",
        "did",
        "pdsEndpoint",
        "signingKey",
        "checks",
        "checkedAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "Record CID from the PDS proof; absent when the record no longer exists."
        },
        "did": {
          "type": "string",
          "format": "did"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "error": {
          "type": "string"
        },
        "checks": {
          "ref": "#proofChecks",
          "type": "ref"
        },
        "commit": {
          "ref": "#commitView",
          "type": "ref"
        },
        "record": {
          "type": "unknown"
        },
        "checkedAt": {
          "type": "string",
          "format": "datetime"
        },
        "indexedCid": {
          "type": "string",
          "format": "cid"
        },
        "signingKey": {
          "type": "string",
          "description": "did:key of the repository signing key from the DID document."
        },
        "pdsEndpoint": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "syncState": {
      "type": "string",
      "description": "AppView knowledge about a record: written to PDS but not yet seen on the network, or confirmed from the firehose.",
      "knownValues": [
        "optimistic",
        "confirmed"
      ]
    },
    "videoMeta": {
      "type": "object",
      "required": [
        "videoId",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "videoId": {
          "type": "string"
        },
        "channelId": {
          "type": "string"
        },
        "channelTitle": {
          "type": "string"
        },
        "thumbnailUrl": {
          "type": "string",
          "format": "uri"
        },
        "channelHandle": {
          "type": "string",
          "description": "The channel's YouTube handle including its leading @, when the channel has one."
        }
      }
    },
    "actorStats": {
      "type": "object",
      "required": [
        "comments",
        "chatMessages",
        "squaresCreated",
        "likesReceived"
      ],
      "properties": {
        "comments": {
          "type": "integer"
        },
        "firstSeenAt": {
          "type": "string",
          "format": "datetime"
        },
        "chatMessages": {
          "type": "integer"
        },
        "likesReceived": {
          "type": "integer"
        },
        "squaresCreated": {
          "type": "integer"
        }
      }
    },
    "commitView": {
      "type": "object",
      "required": [
        "cid",
        "rev",
        "sig",
        "data"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "rev": {
          "type": "string",
          "format": "tid"
        },
        "sig": {
          "type": "string",
          "description": "Base64 signature bytes."
        },
        "data": {
          "type": "string",
          "format": "cid",
          "description": "MST root CID."
        }
      }
    },
    "disclosure": {
      "type": "object",
      "required": [
        "displayName",
        "realName"
      ],
      "properties": {
        "gender": {
          "type": "string",
          "description": "Attested: as supplied by the identity provider.",
          "knownValues": [
            "male",
            "female",
            "other"
          ]
        },
        "ageBand": {
          "type": "string",
          "description": "Attested: derived from the verified birth date.",
          "knownValues": [
            "teens",
            "20s",
            "30s",
            "40s",
            "50s",
            "60s",
            "70plus"
          ]
        },
        "realName": {
          "type": "boolean",
          "description": "Whether `displayName` is the full verified name."
        },
        "occupation": {
          "type": "string",
          "maxLength": 1000,
          "description": "Self-declared.",
          "maxGraphemes": 100
        },
        "affiliation": {
          "type": "string",
          "maxLength": 1000,
          "description": "Self-declared.",
          "maxGraphemes": 100
        },
        "displayName": {
          "type": "string",
          "maxLength": 640,
          "description": "The verified name when `realName` is true, otherwise its masked form.",
          "maxGraphemes": 64
        }
      },
      "description": "What the account holder chose to reveal, signed by the verifier. `ageBand` and `gender` are derived from the verified identity and are therefore attested; `occupation` and `affiliation` are self-declared. With nothing disclosed, `displayName` is the masked form of the verified name."
    },
    "liveStatus": {
      "type": "object",
      "required": [
        "state"
      ],
      "properties": {
        "state": {
          "type": "string",
          "knownValues": [
            "none",
            "upcoming",
            "live",
            "ended"
          ]
        },
        "endedAt": {
          "type": "string",
          "format": "datetime"
        },
        "startedAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "squareView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "id",
        "creator",
        "subject",
        "mode",
        "settings",
        "pinned",
        "stats",
        "liveStatus",
        "createdAt",
        "indexedAt",
        "syncState"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Short public id used in /s/{id} links."
        },
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "mode": {
          "type": "string",
          "knownValues": [
            "vod",
            "live"
          ]
        },
        "stats": {
          "ref": "#squareStats",
          "type": "ref"
        },
        "title": {
          "type": "string"
        },
        "pinned": {
          "type": "array",
          "items": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "creator": {
          "ref": "#actorView",
          "type": "ref"
        },
        "subject": {
          "ref": "#videoMeta",
          "type": "ref"
        },
        "settings": {
          "ref": "#squareSettings",
          "type": "ref"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "syncState": {
          "ref": "#syncState",
          "type": "ref"
        },
        "liveStatus": {
          "ref": "#liveStatus",
          "type": "ref"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "threadView": {
      "type": "object",
      "required": [
        "comment",
        "replies",
        "hasMoreReplies"
      ],
      "properties": {
        "comment": {
          "ref": "#commentView",
          "type": "ref"
        },
        "replies": {
          "type": "array",
          "items": {
            "ref": "#commentView",
            "type": "ref"
          }
        },
        "hasMoreReplies": {
          "type": "boolean"
        }
      }
    },
    "commentView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "squareUri",
        "text",
        "likeCount",
        "dislikeCount",
        "replyCount",
        "edited",
        "hidden",
        "pinned",
        "deleted",
        "createdAt",
        "indexedAt",
        "syncState"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "text": {
          "type": "string"
        },
        "reply": {
          "ref": "#replyRef",
          "type": "ref"
        },
        "author": {
          "ref": "#actorView",
          "type": "ref"
        },
        "edited": {
          "type": "boolean"
        },
        "hidden": {
          "type": "boolean",
          "description": "Hidden by the Square creator or an operator. Only returned to the creator or the author."
        },
        "pinned": {
          "type": "boolean"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        },
        "deleted": {
          "type": "boolean",
          "description": "Tombstone for a comment the author deleted; text is empty."
        },
        "editedAt": {
          "type": "string",
          "format": "datetime"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "likeCount": {
          "type": "integer"
        },
        "squareUri": {
          "type": "string",
          "format": "at-uri"
        },
        "syncState": {
          "ref": "#syncState",
          "type": "ref"
        },
        "replyCount": {
          "type": "integer"
        },
        "trustScore": {
          "type": "string",
          "description": "Debug only; present when the AppView runs with ranking debug enabled."
        },
        "dislikeCount": {
          "type": "integer"
        }
      }
    },
    "historyItem": {
      "type": "object",
      "required": [
        "kind",
        "square"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "knownValues": [
            "comment",
            "chat"
          ]
        },
        "square": {
          "ref": "#squareView",
          "type": "ref"
        },
        "comment": {
          "ref": "#commentView",
          "type": "ref"
        },
        "chatMessage": {
          "ref": "#chatMessageView",
          "type": "ref"
        }
      }
    },
    "proofChecks": {
      "type": "object",
      "required": [
        "signatureValid",
        "inclusionValid",
        "cidMatchesIndex",
        "didDocFresh"
      ],
      "properties": {
        "didDocFresh": {
          "type": "boolean"
        },
        "inclusionValid": {
          "type": "boolean"
        },
        "signatureValid": {
          "type": "boolean"
        },
        "cidMatchesIndex": {
          "type": "boolean"
        }
      }
    },
    "squareStats": {
      "type": "object",
      "required": [
        "comments",
        "chatMessages",
        "participants"
      ],
      "properties": {
        "comments": {
          "type": "integer"
        },
        "chatMessages": {
          "type": "integer"
        },
        "participants": {
          "type": "integer"
        }
      }
    },
    "viewerState": {
      "type": "object",
      "properties": {
        "reaction": {
          "type": "string",
          "knownValues": [
            "like",
            "dislike"
          ]
        },
        "reactionUri": {
          "type": "string",
          "format": "at-uri"
        }
      }
    },
    "youtubeVideo": {
      "type": "object",
      "required": [
        "videoId",
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Canonical https://www.youtube.com/watch?v=... URL."
        },
        "videoId": {
          "type": "string",
          "maxLength": 16,
          "minLength": 11,
          "description": "YouTube video id."
        },
        "channelId": {
          "type": "string",
          "maxLength": 64
        }
      },
      "description": "A YouTube video or live stream that a Square is attached to."
    },
    "squareSettings": {
      "type": "object",
      "properties": {
        "allowChat": {
          "type": "boolean",
          "default": true
        },
        "allowComments": {
          "type": "boolean",
          "default": true
        },
        "requireRealName": {
          "type": "boolean",
          "default": false,
          "description": "When true, only accounts disclosing their full verified name may write in this Square."
        },
        "slowModeSeconds": {
          "type": "integer",
          "default": 3,
          "maximum": 600,
          "minimum": 0
        }
      }
    },
    "chatMessageView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "squareUri",
        "text",
        "hidden",
        "createdAt",
        "indexedAt",
        "syncState"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "text": {
          "type": "string"
        },
        "author": {
          "ref": "#actorView",
          "type": "ref"
        },
        "hidden": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "squareUri": {
          "type": "string",
          "format": "at-uri"
        },
        "syncState": {
          "ref": "#syncState",
          "type": "ref"
        }
      }
    },
    "actorProfileView": {
      "type": "object",
      "required": [
        "actor",
        "verification",
        "stats",
        "historyVisible"
      ],
      "properties": {
        "actor": {
          "ref": "#actorView",
          "type": "ref"
        },
        "stats": {
          "ref": "#actorStats",
          "type": "ref"
        },
        "pdsEndpoint": {
          "type": "string",
          "format": "uri"
        },
        "verification": {
          "ref": "#verificationView",
          "type": "ref"
        },
        "historyVisible": {
          "type": "boolean"
        }
      }
    },
    "verificationView": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "issuer": {
          "type": "string",
          "format": "did"
        },
        "status": {
          "type": "string",
          "knownValues": [
            "active",
            "expired",
            "revoked",
            "invalid",
            "none"
          ]
        },
        "provider": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "datetime"
        },
        "disclosure": {
          "ref": "#disclosure",
          "type": "ref"
        },
        "verifiedAt": {
          "type": "string",
          "format": "datetime"
        },
        "verificationId": {
          "type": "string"
        },
        "attestationValid": {
          "type": "boolean"
        }
      }
    },
    "socialAccountView": {
      "type": "object",
      "required": [
        "platform",
        "handle",
        "method",
        "verifiedAt"
      ],
      "properties": {
        "handle": {
          "type": "string"
        },
        "method": {
          "type": "string",
          "knownValues": [
            "mock",
            "oauth",
            "post-proof"
          ]
        },
        "platform": {
          "type": "string",
          "knownValues": [
            "youtube",
            "facebook",
            "x",
            "naver"
          ]
        },
        "profileUrl": {
          "type": "string",
          "format": "uri"
        },
        "verifiedAt": {
          "type": "string",
          "format": "datetime"
        }
      },
      "description": "A social account an actor has linked. `method` is carried through so a reader can tell a mocked claim from an ownership-checked one."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
