org.passingreads.book.event

passingreads.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The status of a book has changed.",
      "key": "tid",
      "record": {
        "properties": {
          "book": {
            "description": "The book that was dropped (a org.passingreads.book.registration)",
            "ref": "com.atproto.repo.strongRef#main",
            "type": "ref"
          },
          "event": {
            "description": "What event has occurred",
            "knownValues": [
              "org.passingreads.book.checkin",
              "org.passingreads.book.drop",
              "org.passingreads.book.find"
            ],
            "type": "string"
          },
          "location": {
            "description": "Where this event occurred (an h3 cell, an OSM place, or a link to an outpost — org.passingreads.outpost.registration)",
            "refs": [
              "com.atproto.repo.strongRef#main",
              "community.lexicon.location.hthree#main",
              "#osmLocation"
            ],
            "type": "union"
          },
          "occurredAt": {
            "description": "Client-declared timestamp of when the book was dropped",
            "format": "datetime",
            "type": "string"
          },
          "signatures": {
            "description": "Inline attestations binding this event to the book's keypair.",
            "items": {
              "ref": "org.passingreads.signature.book#main",
              "type": "ref"
            },
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "book",
          "location",
          "signatures",
          "occurredAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "osmLocation": {
      "description": "A physical location from OpenStreetMap.",
      "properties": {
        "category": {
          "description": "The type of place (e.g., cafe, library, park).",
          "type": "string"
        },
        "name": {
          "description": "The name of the place from OpenStreetMap.",
          "type": "string"
        },
        "osmId": {
          "description": "The OpenStreetMap element ID in interoperable format: N (node), W (way), or R (relation) prefix followed by numeric ID. Example: N123456789",
          "type": "string"
        },
        "value": {
          "description": "The H3 cell index for proximity queries.",
          "type": "string"
        }
      },
      "required": [
        "osmId",
        "name",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "org.passingreads.book.event",
  "lexicon": 1
}

Validate Record

Validate a record against org.passingreads.book.event

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:oeipalbxet5jghoqe6b6ctu6
CID
bafyreih5hs2nxl6iqhqlsak6aoycj5pjikp6rwt4jsfrblvboylwtdzbv4
Indexed At
2026-04-29 04:17 UTC
AT-URI
at://did:plc:oeipalbxet5jghoqe6b6ctu6/com.atproto.lexicon.schema/org.passingreads.book.event

Version History (6 versions)

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@