# com.dryan.timeline.event

> A dryan.com event: a trip, festival or day out. It is a run of days; the photos, videos and activities whose day falls inside the range (a com.dryan.timeline.entry's localDate) belong to it. The record key is the event's slug.

- Kind: record
- Record key: any
- Authority: timeline.dryan.com
- Lexicon: 1
- Published by [dryan.com](https://lexicon.garden/identity/did:plc:zieub5temeseyvmogjy2qv7w), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:zieub5temeseyvmogjy2qv7w/com.dryan.timeline.event)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:zieub5temeseyvmogjy2qv7w/com.dryan.timeline.event/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:zieub5temeseyvmogjy2qv7w/com.dryan.timeline.event/analytics)

## Record (`com.dryan.timeline.event`)

Type: record · key any

### Properties

- `endDate` (string): YYYY-MM-DD: the last day. Absent for a single-day event.
- `path` (string, required): The event's page on dryan.com.
- `sharePhoto` (ref): The photo's site.standard.document record, when one was chosen and has been published. Otherwise the share graphic is the newest photo in the range.
  - Reference: `com.atproto.repo.strongRef`
- `startDate` (string, required): YYYY-MM-DD: the first day.
- `title` (string, required)
  - Constraints: maxLength: 3000, maxGraphemes: 500
- `updatedAt` (string · datetime)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "endDate": {
            "description": "YYYY-MM-DD: the last day. Absent for a single-day event.",
            "type": "string"
          },
          "path": {
            "description": "The event's page on dryan.com.",
            "type": "string"
          },
          "sharePhoto": {
            "description": "The photo's site.standard.document record, when one was chosen and has been published. Otherwise the share graphic is the newest photo in the range.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "startDate": {
            "description": "YYYY-MM-DD: the first day.",
            "type": "string"
          },
          "title": {
            "maxGraphemes": 500,
            "maxLength": 3000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "title",
          "startDate",
          "path"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A dryan.com event: a trip, festival or day out. It is a run of days; the photos, videos and activities whose day falls inside the range (a com.dryan.timeline.entry's localDate) belong to it. The record key is the event's slug.",
  "id": "com.dryan.timeline.event",
  "lexicon": 1
}
```
