{
  "$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
}
