{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A show a project is playing, announced by one of its managers in their own repo. The show itself is the community.lexicon.calendar.event that `event` points to, written to the same repo with the same record key so calendar apps can read it. This record ties it to the project and copies what listings need from it, so the directory can index shows without indexing every calendar event on the network. When the event changes after this was written, its CID no longer matches `event`.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "endsAt": {
            "description": "The event's end, like startsAt.",
            "format": "datetime",
            "type": "string"
          },
          "event": {
            "description": "The community.lexicon.calendar.event this copies, at the version it copied.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "location": {
            "description": "The venue's city, with its coordinates when known.",
            "ref": "computer.localnetwork.defs#location",
            "type": "ref"
          },
          "name": {
            "description": "The event's name.",
            "maxGraphemes": 120,
            "maxLength": 1200,
            "minLength": 1,
            "type": "string"
          },
          "project": {
            "description": "The computer.localnetwork.project record the show is for.",
            "format": "at-uri",
            "type": "string"
          },
          "startsAt": {
            "description": "The event's start, with the venue's UTC offset when the venue's coordinates are known.",
            "format": "datetime",
            "type": "string"
          },
          "status": {
            "description": "The event's status, like community.lexicon.calendar.event#cancelled.",
            "maxLength": 128,
            "type": "string"
          },
          "tickets": {
            "description": "The event's ticket link.",
            "format": "uri",
            "maxLength": 2000,
            "type": "string"
          },
          "venue": {
            "maxGraphemes": 120,
            "maxLength": 1200,
            "type": "string"
          }
        },
        "required": [
          "project",
          "event",
          "name",
          "startsAt",
          "location",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.localnetwork.show",
  "lexicon": 1
}
