Skip to main content Crate mapky_app_specs Copy item path Source pub use constants::MAPKY_PATH ;pub use constants::MAX_ATTACHMENTS ;pub use constants::MAX_ATTACHMENT_URL_LENGTH ;pub use constants::MAX_COLLECTION_ITEMS ;pub use constants::MAX_COLLECTION_NAME_LENGTH ;pub use constants::MAX_CONTENT_LENGTH ;pub use constants::MAX_DESCRIPTION_LENGTH ;pub use constants::MAX_INCIDENT_ATTACHMENTS ;pub use constants::MAX_INCIDENT_DESCRIPTION_LENGTH ;pub use constants::MAX_ROUTE_CONTROL_POINTS ;pub use constants::MAX_ROUTE_DESCRIPTION_LENGTH ;pub use constants::MAX_ROUTE_INSTRUCTION_LENGTH ;pub use constants::MAX_ROUTE_NAME_LENGTH ;pub use constants::MAX_ROUTE_WAYPOINTS ;pub use constants::MAX_SEQUENCE_CAPTURE_COUNT ;pub use constants::MAX_SEQUENCE_DESCRIPTION_LENGTH ;pub use constants::MAX_SEQUENCE_DEVICE_LENGTH ;pub use constants::MAX_SEQUENCE_NAME_LENGTH ;pub use constants::MAX_WAYPOINT_NAME_LENGTH ;pub use constants::MIN_WAYPOINTS ;pub use constants::PROTOCOL ;pub use constants::PUBLIC_PATH ;constants traits BoundingBox Geographic bounding box in WGS84 (min/max latitude, min/max longitude). MapkyAppCollection Named list of places.
URI: /pub/mapky.app/collections/:collection_id MapkyAppGeoCapture Geo-located media capture (street-level imagery, panoramas, 3D models, etc.)
URI: /pub/mapky.app/geo_captures/:capture_id MapkyAppIncident Waze-style crowdsourced incident report, coordinate-anchored.
URI: /pub/mapky.app/incidents/:incident_id MapkyAppReview Formal rating of an OSM place. Always anchored to a place; never a reply.
Generic comments and threaded replies live in PubkyAppPost blobs stored
at /pub/mapky.app/posts/{id} and are handled by the plugin’s post handler. MapkyAppRoute User-created route (hiking, cycling, etc.)
URI: /pub/mapky.app/routes/:route_id MapkyAppSequence A capture session — a coherent group of MapkyAppGeoCaptures uploaded together
(e.g. “walk down Lambeth Rd, June 2026”). GeoCaptures reference a sequence via
their sequence_uri + sequence_index pair. PubkyAppPost Represents raw post in homeserver with content and kind
URI: /pub/pubky.app/posts/:post_id
Where post_id is CrockfordBase32 encoding of timestamp PubkyAppPostEmbed Represents embedded content within a post PubkyId Represents user data with name, bio, image, links, and status. RouteGeometry Snapped geometry for a route, computed by a routing engine or imported from GPX.
Stored alongside the route so that viewers don’t need to re-snap on every render. RouteStep A step in a route with a navigation instruction Waypoint A geographic waypoint along a route GeoCaptureKind Rendering hint for geo-captured media IncidentSeverity IncidentType MapkyAppObject A unified enum wrapping all MapkyApp objects. PubkyAppPostKind Represents the type of pubky-app posted data
Used primarily to best display the content in UI RouteActivityType mapky_base_uri_builder Builds a Mapky base URI: “pubky://<user_id>/pub/mapky.app/” mapky_collection_uri_builder Builds a Collection URI mapky_geo_capture_uri_builder Builds a GeoCapture URI mapky_incident_uri_builder Builds an Incident URI mapky_post_uri_builder Builds a Post URI for a PubkyAppPost stored under the MapKy namespace:
“pubky://<author_id>/pub/mapky.app/posts/<post_id>” mapky_review_uri_builder Builds a Review URI: “pubky://<author_id>/pub/mapky.app/reviews/<review_id>” mapky_route_uri_builder Builds a Route URI mapky_sequence_uri_builder Builds a Sequence URI validate_coordinates Validates geographic coordinates validate_heading Validates a compass heading (0-360 degrees) validate_osm_url Validates an OSM URL: https://www.openstreetmap.org/{node|way|relation}/{positive_id} validate_osm_way_url Validates that an OSM URL refers to a Way element validate_pubky_uri Validates a pubky:// URI validate_sequence_uri Validates that a pubky:// URI points at a /pub/mapky.app/sequences/{id} resource. validate_timestamp_microseconds Validates a microsecond-precision UNIX timestamp. Rejects non-positive values and
anything more than 1 day in the future (clock-skew tolerance).