# com.bsky38.influential.defs

> Published by [bsky38.com](https://lexicon.garden/identity/did:web:bsky38.com)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.defs)
- [Documentation](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.defs/examples)

## Definitions

### `com.bsky38.influential.defs#campaignProfile`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatarUrl` | `string` (uri) | No | Absolute URL serving the campaign avatar blob. |
| `description` | `string` | No |  |
| `pinnedPost` | `string` (at-uri) | No |  |

### `com.bsky38.influential.defs#nominee`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatar` | `string` (uri) | No |  |
| `did` | `string` (did) | Yes |  |
| `displayName` | `string` | No |  |
| `handle` | `string` (handle) | No |  |
| `rank` | `integer` | Yes |  |
| `voteCount` | `integer` | Yes |  |

### `com.bsky38.influential.defs#nomineeProfile`

**Type**: `object`

One subject's tallies, cached Bluesky profile, and campaign profile.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatar` | `string` (uri) | No |  |
| `description` | `string` | No | The campaign description when one is set, else the account's Bluesky bio. |
| `did` | `string` (did) | Yes |  |
| `displayName` | `string` | No |  |
| `handle` | `string` (handle) | No |  |
| `inPool` | `boolean` | Yes | Whether the subject currently has a counted vote. |
| `optedOut` | `boolean` | No | Whether the subject has opted out of the event. Subjects who opted out are not pool members, so this only appears on their profile reads. |
| `profile` | `ref` → `com.bsky38.influential.defs#campaignProfile` | No | The nominee's campaign profile, when one is indexed and not hidden. |
| `rank` | `integer` | No |  |
| `voteCount` | `integer` | No |  |

### `com.bsky38.influential.defs#recordStatus`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `status` | `string` | Yes |  |
| `subject` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "campaignProfile": {
      "properties": {
        "avatarUrl": {
          "description": "Absolute URL serving the campaign avatar blob.",
          "format": "uri",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "pinnedPost": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "nominee": {
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "rank": {
          "type": "integer"
        },
        "voteCount": {
          "type": "integer"
        }
      },
      "required": [
        "did",
        "rank",
        "voteCount"
      ],
      "type": "object"
    },
    "nomineeProfile": {
      "description": "One subject's tallies, cached Bluesky profile, and campaign profile.",
      "properties": {
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "description": {
          "description": "The campaign description when one is set, else the account's Bluesky bio.",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "inPool": {
          "description": "Whether the subject currently has a counted vote.",
          "type": "boolean"
        },
        "optedOut": {
          "description": "Whether the subject has opted out of the event. Subjects who opted out are not pool members, so this only appears on their profile reads.",
          "type": "boolean"
        },
        "profile": {
          "description": "The nominee's campaign profile, when one is indexed and not hidden.",
          "ref": "com.bsky38.influential.defs#campaignProfile",
          "type": "ref"
        },
        "rank": {
          "type": "integer"
        },
        "voteCount": {
          "type": "integer"
        }
      },
      "required": [
        "did",
        "inPool"
      ],
      "type": "object"
    },
    "recordStatus": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "status": {
          "knownValues": [
            "counted",
            "over_limit",
            "self",
            "invalid"
          ],
          "type": "string"
        },
        "subject": {
          "format": "did",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "subject",
        "createdAt",
        "status"
      ],
      "type": "object"
    }
  },
  "id": "com.bsky38.influential.defs",
  "lexicon": 1
}
```
