# so.sprk.feed.generator

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.feed.generator)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.feed.generator/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.feed.generator/examples)

## Definitions

### `so.sprk.feed.generator`

**Type**: `record`

Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `avatar` | `blob` | No |  |
| `labels` | `union` | No | Self-label values |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |
| `displayName` | `string` | Yes |  |
| `descriptionFacets` | `array` | No |  |
| `acceptsInteractions` | `boolean` | No | Declaration that a feed accepts feedback interactions from a client through so.sprk.feed.sendInteractions |

## Raw Schema

```json
{
  "id": "so.sprk.feed.generator",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "did",
          "displayName",
          "createdAt"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did"
          },
          "avatar": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "maxSize": 1000000
          },
          "labels": {
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union",
            "description": "Self-label values"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "displayName": {
            "type": "string",
            "maxLength": 240,
            "maxGraphemes": 24
          },
          "descriptionFacets": {
            "type": "array",
            "items": {
              "ref": "so.sprk.richtext.facet",
              "type": "ref"
            }
          },
          "acceptsInteractions": {
            "type": "boolean",
            "description": "Declaration that a feed accepts feedback interactions from a client through so.sprk.feed.sendInteractions"
          }
        }
      },
      "description": "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
