# fyi.opensocial.eventImage

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.eventImage)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.eventImage/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.eventImage/examples)

## Definitions

### `fyi.opensocial.eventImage`

**Type**: `record`

A picture for one of the group's events. community.lexicon.calendar.event is a calendar standard and carries no image, so the picture lives beside the event rather than inside it: a record of the group's own, in the group's own repo, keyed by the event's rkey. Who may write one is a credentialScopes entry on a space, like every other record the group authors.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No | Alt text, for accessibility. |
| `createdAt` | `string` (datetime) | Yes |  |
| `event` | `string` (at-uri) | Yes | The community.lexicon.calendar.event this pictures. |
| `image` | `blob` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A picture for one of the group's events. community.lexicon.calendar.event is a calendar standard and carries no image, so the picture lives beside the event rather than inside it: a record of the group's own, in the group's own repo, keyed by the event's rkey. Who may write one is a credentialScopes entry on a space, like every other record the group authors.",
      "key": "any",
      "record": {
        "properties": {
          "alt": {
            "description": "Alt text, for accessibility.",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "event": {
            "description": "The community.lexicon.calendar.event this pictures.",
            "format": "at-uri",
            "type": "string"
          },
          "image": {
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "type": "blob"
          }
        },
        "required": [
          "event",
          "image",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.eventImage",
  "lexicon": 1
}
```
