{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A pack-opening party event.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "maxLength": 500,
            "type": "string"
          },
          "hostAvatar": {
            "format": "uri",
            "type": "string"
          },
          "hostDid": {
            "format": "did",
            "type": "string"
          },
          "hostHandle": {
            "type": "string"
          },
          "hostName": {
            "type": "string"
          },
          "maxParticipants": {
            "type": "integer"
          },
          "participantCount": {
            "type": "integer"
          },
          "scheduledAt": {
            "format": "datetime",
            "type": "string"
          },
          "setId": {
            "type": "string"
          },
          "setImage": {
            "format": "uri",
            "type": "string"
          },
          "setName": {
            "type": "string"
          },
          "status": {
            "knownValues": [
              "scheduled",
              "live",
              "completed"
            ],
            "type": "string"
          },
          "title": {
            "maxLength": 100,
            "type": "string"
          }
        },
        "required": [
          "title",
          "setId",
          "scheduledAt",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A synchronized pack-opening event where collectors open packs of the same set at the same time and share reactions in real time. Mirrored to AT Protocol so parties are discoverable across instances.",
  "id": "org.swappulse.packParty",
  "lexicon": 1,
  "revision": 1
}
