# blue.moji.packs.defs

> Published by [moji.blue](https://lexicon.garden/identity/did:plc:kmzpsik7s5y5fwu7nnkngfx4)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.packs.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.packs.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kmzpsik7s5y5fwu7nnkngfx4/blue.moji.packs.defs/examples)

## Definitions

### `blue.moji.packs.defs#packView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `name` | `string` | Yes |  |
| `avatar` | `string` (uri) | No |  |
| `labels` | `array` | No |  |
| `viewer` | `ref` → `#packViewerState` | No |  |
| `creator` | `ref` → `app.bsky.actor.defs#profileView` | Yes |  |
| `indexedAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |
| `packItemCount` | `integer` | No |  |
| `descriptionFacets` | `array` | No |  |

### `blue.moji.packs.defs#packItemView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |
| `subject` | `ref` → `blue.moji.collection.item#itemView` | Yes |  |

### `blue.moji.packs.defs#packViewBasic`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `name` | `string` | Yes |  |
| `avatar` | `string` (uri) | No |  |
| `labels` | `array` | No |  |
| `viewer` | `ref` → `#packViewerState` | No |  |
| `indexedAt` | `string` (datetime) | No |  |
| `itemCount` | `integer` | No |  |
| `description` | `string` | No |  |
| `descriptionFacets` | `array` | No |  |

### `blue.moji.packs.defs#packViewerState`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `savedToCollection` | `boolean` | No |  |

## Raw Schema

```json
{
  "id": "blue.moji.packs.defs",
  "defs": {
    "packView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "creator",
        "name",
        "indexedAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "name": {
          "type": "string",
          "maxLength": 64,
          "minLength": 1
        },
        "avatar": {
          "type": "string",
          "format": "uri"
        },
        "labels": {
          "type": "array",
          "items": {
            "ref": "com.atproto.label.defs#label",
            "type": "ref"
          }
        },
        "viewer": {
          "ref": "#packViewerState",
          "type": "ref"
        },
        "creator": {
          "ref": "app.bsky.actor.defs#profileView",
          "type": "ref"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "description": {
          "type": "string",
          "maxLength": 3000,
          "maxGraphemes": 300
        },
        "packItemCount": {
          "type": "integer",
          "minimum": 0
        },
        "descriptionFacets": {
          "type": "array",
          "items": {
            "ref": "app.bsky.richtext.facet",
            "type": "ref"
          }
        }
      }
    },
    "packItemView": {
      "type": "object",
      "required": [
        "uri",
        "subject"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "subject": {
          "ref": "blue.moji.collection.item#itemView",
          "type": "ref"
        }
      }
    },
    "packViewBasic": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "name"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "name": {
          "type": "string",
          "maxLength": 64,
          "minLength": 1
        },
        "avatar": {
          "type": "string",
          "format": "uri"
        },
        "labels": {
          "type": "array",
          "items": {
            "ref": "com.atproto.label.defs#label",
            "type": "ref"
          }
        },
        "viewer": {
          "ref": "#packViewerState",
          "type": "ref"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        },
        "itemCount": {
          "type": "integer",
          "minimum": 0
        },
        "description": {
          "type": "string",
          "maxLength": 3000,
          "maxGraphemes": 300
        },
        "descriptionFacets": {
          "type": "array",
          "items": {
            "ref": "blue.moji.richtext.facet",
            "type": "ref"
          }
        }
      }
    },
    "packViewerState": {
      "type": "object",
      "properties": {
        "savedToCollection": {
          "type": "boolean"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
