{
  "lexicon": 1,
  "id": "tickets.atmosphere.ticketedEvent",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "description": "Organizer-published ticketing anchor for an event: marks the event as ticketed and optionally discloses its ticket types in display order. ticketTypes may be omitted when the configuration is not disclosed here (for example invite-only events). Live availability, capacity enforcement, holds, promo-code counters, and buyer eligibility stay in private ATM service state.",
      "record": {
        "type": "object",
        "required": [
          "event",
          "createdAt"
        ],
        "properties": {
          "event": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "CID-pinned strongRef to the canonical public community.lexicon.calendar.event record."
          },
          "ticketTypes": {
            "type": "array",
            "maxLength": 250,
            "items": {
              "type": "ref",
              "ref": "com.atproto.repo.strongRef"
            },
            "description": "Display-ordered CID-pinned strongRefs to the ticket types this record publicly advertises."
          },
          "title": {
            "type": "string",
            "maxGraphemes": 100,
            "maxLength": 1000
          },
          "description": {
            "type": "string",
            "maxGraphemes": 1000,
            "maxLength": 10000
          },
          "archived": {
            "type": "boolean",
            "description": "True when this ticketed-event anchor is archived. Omitted or false means it is active."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}
