# directory.evnt.component.splashMedia

> Published by [evnt.directory](https://lexicon.garden/identity/did:plc:hxbg7yhlsaamqu27tp5ptmi7)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:hxbg7yhlsaamqu27tp5ptmi7/directory.evnt.component.splashMedia)
- [Documentation](https://lexicon.garden/lexicon/did:plc:hxbg7yhlsaamqu27tp5ptmi7/directory.evnt.component.splashMedia/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:hxbg7yhlsaamqu27tp5ptmi7/directory.evnt.component.splashMedia/examples)

## Definitions

### `directory.evnt.component.splashMedia`

**Type**: `object`

A media item (such as an image or video) that can be used as a splash media for the event

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `media` | `ref` → `directory.evnt.media` | Yes |  |
| `roles` | `array` | No |  |

## Raw Schema

```json
{
  "id": "directory.evnt.component.splashMedia",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "media"
      ],
      "properties": {
        "media": {
          "ref": "directory.evnt.media",
          "type": "ref"
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "background"
            ],
            "type": "string"
          }
        }
      },
      "description": "A media item (such as an image or video) that can be used as a splash media for the event"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
