com.hikeratlas.temp.defs

Definitions shared by Hiker Atlas's records (https://www.hikeratlas.com). In beta: may change.

Repository @hikeratlas.com did:plc:7onixtzlmdjijmp7ympxedte namespace authority
Details · defs
Kinddefs
Authoritytemp.hikeratlas.com
Commit rev3n2hd6lhlkk24
Indexed

Showing version bafyreicdd4ne327focu7nvd76buhb7pnwddeozw5gx4j5gttbuds5ndbza. Show the latest

#actorView

object

An account, as hikeratlas/atproto-indexer knows it.

Properties

did

requiredstring · did

handle

string · handle

Absent when the handle doesn't resolve back to the DID.

pds

string · uri

The account's PDS: fetch blobs (photos, GPX) from it with com.atproto.sync.getBlob. Absent for an account the indexer has only just seen: resolve the DID.

#aspectRatio

object

Width and height, in pixels or in proportion, as app.bsky.embed.defs#aspectRatio.

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1

#photo

object

Properties

alt

string

For people who can't see the photo.

  • maxGraphemes: 1000

aspectRatio

requiredref

The image's width and height, as it is displayed (after any EXIF orientation), so it can be laid out before it's fetched.

Reference

at

ref

Where it was taken, e.g. from its EXIF or its time on a track.

Reference

image

requiredblob
  • maxSize: 2000000
  • accept: image/jpeg, image/png, image/webp

takenAt

string · datetime

#point

object

Properties

lat

requiredinteger

Microdegrees (degrees × 1,000,000).

lon

requiredinteger

Microdegrees.

#reviewView

object

Properties

author

requiredref
Reference

cid

requiredstring · cid

indexedAt

requiredstring · datetime

record

requiredunknown

The com.hikeratlas.temp.review record.

uri

requiredstring · at-uri

#routeKey

string

A route's key (recipe v1: https://github.com/hikeratlas/route-keys): a decodable cell part and a hash of the route's line, e.g. 1E57E06gbDEBBBICDGF.tn3dBnAuR_Q. Used as a fave's record key, and to tie tracks and reviews to a route.

  • maxLength: 128

#routeStats

object

Counts of records about a route.

Properties

faves

requiredinteger

Faves from accounts that have a com.hikeratlas.temp.actor.profile record.

  • minimum: 0

lastActivity

string · datetime

The newest fave, review or track's createdAt.

Tags from reviews of hikes in the last 30 days (by hikedAt, else createdAt), the most recently reported first.

  • maxLength: 20
itemsstring
  • maxLength: 64

reviews

requiredinteger
  • minimum: 0

routeKey

requiredref
Reference

tracks

requiredinteger
  • minimum: 0

#trackView

object

Properties

author

requiredref
Reference

cid

requiredstring · cid

indexedAt

requiredstring · datetime

record

requiredunknown

The com.hikeratlas.temp.track record.

uri

requiredstring · at-uri

Similar lexicons

semantic match

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

  • A review of a hike someone did, on Hiker Atlas (https://www.hikeratlas.com). In beta: may change.

  • An athlete's rating and review of a route. Field-compatible with app.attrails.review (subject, rating, text, completedAt, images, langs, labels, createdAt), plus an optional link to the athlete's own activity on the route and the gear they used. AppViews treat the most recent review per (author, subject) as canonical: to change a review, write a new one; older ones stay in the repo as history.

  • Width:height ratio so clients can lay out before the image loads.

  • An account's Hiker Atlas (https://www.hikeratlas.com) settings. Written when the account first signs in to Hiker Atlas, so it also marks the account as a Hiker Atlas user. In beta: may change.