# id.skiddle.event

> An event on Jeff's timeline (/timeline/). Records are public, so until it's over an event holds only its kind, its days, its city and a general note, unless it's announced; the title, times, place and link are added after (docs/v4/timeline.md).

- Kind: record
- Record key: tid
- Authority: skiddle.id
- Lexicon: 1
- Published by [skiddle.blue](https://lexicon.garden/identity/did:plc:xaj6j6abvpgwps5v6k4t6clv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:xaj6j6abvpgwps5v6k4t6clv/id.skiddle.event)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:xaj6j6abvpgwps5v6k4t6clv/id.skiddle.event/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:xaj6j6abvpgwps5v6k4t6clv/id.skiddle.event/analytics)

## Record (`id.skiddle.event`)

Type: record · key tid

### Properties

- `announced` (boolean): Its details are public before it's over, e.g. a talk.
- `city` (string): Where, roughly: the city, e.g. 'Paris'.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `createdAt` (string · datetime, required)
- `endTime` (string): A time (HH:MM) on the last day, in the event's time zone.
  - Constraints: maxLength: 5
- `endsOn` (string): A date (YYYY-MM-DD): the last day. Leave it empty for a one-day event.
  - Constraints: maxLength: 10
- `kind` (string, required): What kind of event, shown as its label while it has no title.
  - Constraints: maxLength: 32, knownValues: trip | flight | talk | class | meeting | deadline | milestone | personal | other
- `link` (string): A path on skiddle.id, e.g. a post written about it (/posts/…/), or a full URL.
  - Constraints: maxLength: 2000
- `note` (string): What it's about. Public as soon as it's saved, so keep it general while the event is upcoming. Markdown, rendered like a post's text: paragraphs, links, bold and italics.
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `place` (string): The venue, e.g. 'Don Mueang airport'.
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `startTime` (string): A time (HH:MM) on the first day, in the event's time zone. Leave it empty for all day.
  - Constraints: maxLength: 5
- `startsOn` (string, required): A date (YYYY-MM-DD): the first day.
  - Constraints: maxLength: 10
- `timeZone` (string): IANA time zone for its times, e.g. 'Europe/Paris'. Bangkok's if empty.
  - Constraints: maxLength: 64
- `title` (string)
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `updatedAt` (string · datetime)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An event on Jeff's timeline (/timeline/). Records are public, so until it's over an event holds only its kind, its days, its city and a general note, unless it's announced; the title, times, place and link are added after (docs/v4/timeline.md).",
      "key": "tid",
      "record": {
        "properties": {
          "announced": {
            "description": "Its details are public before it's over, e.g. a talk.",
            "type": "boolean"
          },
          "city": {
            "description": "Where, roughly: the city, e.g. 'Paris'.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "endTime": {
            "description": "A time (HH:MM) on the last day, in the event's time zone.",
            "maxLength": 5,
            "type": "string"
          },
          "endsOn": {
            "description": "A date (YYYY-MM-DD): the last day. Leave it empty for a one-day event.",
            "maxLength": 10,
            "type": "string"
          },
          "kind": {
            "description": "What kind of event, shown as its label while it has no title.",
            "knownValues": [
              "trip",
              "flight",
              "talk",
              "class",
              "meeting",
              "deadline",
              "milestone",
              "personal",
              "other"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "link": {
            "description": "A path on skiddle.id, e.g. a post written about it (/posts/…/), or a full URL.",
            "maxLength": 2000,
            "type": "string"
          },
          "note": {
            "description": "What it's about. Public as soon as it's saved, so keep it general while the event is upcoming. Markdown, rendered like a post's text: paragraphs, links, bold and italics.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "place": {
            "description": "The venue, e.g. 'Don Mueang airport'.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "startTime": {
            "description": "A time (HH:MM) on the first day, in the event's time zone. Leave it empty for all day.",
            "maxLength": 5,
            "type": "string"
          },
          "startsOn": {
            "description": "A date (YYYY-MM-DD): the first day.",
            "maxLength": 10,
            "type": "string"
          },
          "timeZone": {
            "description": "IANA time zone for its times, e.g. 'Europe/Paris'. Bangkok's if empty.",
            "maxLength": 64,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "startsOn",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "id.skiddle.event",
  "lexicon": 1
}
```
