social.passports.tickets.stub

passports.social

{
  "id": "social.passports.tickets.stub",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "createdAt"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 10000,
            "description": "Free-form text associated with the stub — OCR-extracted from a ticket scan, manually entered, or both."
          },
          "image": {
            "type": "blob",
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp",
              "image/gif",
              "image/heic"
            ],
            "maxSize": 10485760,
            "description": "Photo of the physical ticket stub, uploaded as a blob to the user's PDS."
          },
          "title": {
            "type": "string",
            "maxLength": 300,
            "description": "Name of the event, show, or film."
          },
          "category": {
            "type": "string",
            "description": "Event category.",
            "knownValues": [
              "Concert",
              "Musical/Broadway",
              "Theater/Play",
              "Opera",
              "Dance/Ballet",
              "Comedy",
              "Movie/Film",
              "Sports",
              "Festival",
              "Museum/Exhibition",
              "Conference/Convention",
              "Circus/Variety",
              "Theme Park",
              "Other"
            ]
          },
          "stubDate": {
            "type": "string",
            "maxLength": 10,
            "description": "Date of the event in YYYY-MM-DD format. Nullable — user may not know the exact date."
          },
          "unlocode": {
            "type": "string",
            "maxLength": 6,
            "description": "UN/LOCODE for the venue city, e.g. 'US NYC'. Drives city and country display."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the stub record was created."
          },
          "venueCity": {
            "type": "string",
            "maxLength": 100,
            "description": "City where the event took place."
          },
          "venueName": {
            "type": "string",
            "maxLength": 300,
            "description": "Name of the venue, e.g. 'Madison Square Garden'."
          },
          "venueCountry": {
            "type": "string",
            "maxLength": 2,
            "description": "ISO 3166-1 alpha-2 country code, e.g. 'US'."
          }
        }
      },
      "description": "A ticket stub — a record of attending a live event, performance, screening, or exhibition. Only public stubs are written to the PDS."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against social.passports.tickets.stub

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ssdgllkzfwekkpmu7expw6cv
CID
bafyreifhgxj6vpjchltsurymncixvyb7xbdhbzye24ptjve5zjogzymvvu
Indexed At
2026-06-13 06:23 UTC
AT-URI
at://did:plc:ssdgllkzfwekkpmu7expw6cv/com.atproto.lexicon.schema/social.passports.tickets.stub

Lexicon Garden

@