app.citylore.defs

Shared definitions for CityLore tours.

Repository @citylore.app did:plc:yyhpdzesw2vzyuptd54i26dj not from the namespace authority
Details · defs
Kinddefs
Authoritycitylore.app
Commit rev3n33ebcbps52l
Indexed

#aspectRatio

object

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1

#clue

object

Properties

hints

array

Shown one at a time, the most helpful last.

  • maxLength: 3
itemsstring
  • maxLength: 5000
  • maxGraphemes: 500
Reference

riddle

requiredstring
  • maxLength: 10000
  • maxGraphemes: 1000

#customPoint

object

A point that is not a known place, e.g. a meeting point or a hiding spot.

Properties

name

requiredstring
  • maxLength: 1280
  • maxGraphemes: 128

#image

object

Properties

alt

requiredstring
  • maxLength: 10000
  • maxGraphemes: 1000
Reference

credit

string

Who made the image and under which licence, e.g. for Wikimedia Commons images.

  • maxLength: 3000
  • maxGraphemes: 300

image

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

#onSiteQuestion

object

A question only someone standing at the stop can answer.

Properties

answer

requiredstring
  • maxLength: 5000
  • maxGraphemes: 500

question

requiredstring
  • maxLength: 5000
  • maxGraphemes: 500

verifiedAt

string · datetime

When the creator checked the answer on site. Apps don't ask unchecked questions.

#place

object

A snapshot of a known place, with the same field names as social.eurosky.place.pin's place (a subset of org.atgeo.place), so a stop can become a pin without conversion.

Properties

category

string

A coarse kind, for map icons and filters.

  • maxLength: 64
  • knownValues: transit | lodging | food_drink | culture | nature | sights | shopping | services | other

kind

string

The source's own category, e.g. Mural, Mosque or the OpenStreetMap tag historic=memorial. Decides quiet stops.

  • maxLength: 128

locations

requiredarray

Where the place is: at least one community.lexicon.location.geo point.

  • minLength: 1
  • maxLength: 3

name

requiredstring

The place's name when the stop was made.

  • maxLength: 1280
  • maxGraphemes: 128

origin

string · uri

The place's identity: an ATGeo URN, urn:atgeo:{dataset}:{collection}:{id}, from the source whose IDs last longest (foursquare.com, then openstreetmap.org, then overturemaps.org).

  • maxLength: 512
Reference

#provenance

object

How the tour was made. Machine-readable; walkers see no badge.

Properties

aiDrafted

requiredboolean

Whether an AI drafted any part of the tour. A person reviewed and published it either way.

draftedAt

string · datetime

model

string

The drafting model, e.g. claude-sonnet-5-5.

  • maxLength: 128

#relation

object

A reference to a place, as in org.atgeo.place.

Properties

name

string
  • maxLength: 1280
  • maxGraphemes: 128

type

string
  • maxLength: 64

uri

requiredstring · uri
  • maxLength: 512

#relations

object

Related places, as in org.atgeo.place.

Properties

sameAs

array

The same place's IDs in other sources.

  • maxLength: 6
itemsref
Reference

within

array

Areas that contain the place, broadest first.

  • maxLength: 8
itemsref
Reference

#route

object

Properties

polyline

requiredstring

The walking route as an encoded polyline (precision 5), from the first stop to the last, and back to the first in a loop.

  • maxLength: 100000

source

requiredstring

router: from a walking router. straight: straight lines between the stops.

  • maxLength: 32
  • knownValues: router | straight

#source

object

Properties

title

string
  • maxLength: 3000
  • maxGraphemes: 300

uri

requiredstring · uri
  • maxLength: 2048

#stop

object

One stop of a tour: a place, its story, and what plays or happens there.

Properties

clue

ref

The riddle that leads the walker to this stop (the hunt layer). Absent on the first stop, which hunts show openly.

Reference

id

requiredstring

Stable within the tour, so ratings and progress can point at a stop after stops are reordered. Short and opaque, e.g. a TID.

  • maxLength: 32

images

array
  • maxLength: 4
itemsref
Reference

minutes

integer

Planned minutes at the stop, when they differ from the default (4, or 6 in hunts).

  • minimum: 1
  • maximum: 60

Narration for the walk from this stop to the next one (the narrated layer). On the last stop only in a loop, for the walk back to the first.

  • maxLength: 30000
  • maxGraphemes: 3000

place

requiredunion

pov

string

One line shown under the stop's title, taken from the story.

  • maxLength: 1400
  • maxGraphemes: 140

quiet

boolean

Present the stop quietly: no stickers, jokes or hunt games. Absent: decided from the place. Places of remembrance (persecution, war graves, cemeteries) are always quiet; other memorials and places of worship are quiet unless this is false.

sources

array

Where the story's facts come from.

  • maxLength: 10
itemsref
Reference

story

requiredstring

What the walker reads or hears at the stop.

  • maxLength: 60000
  • maxGraphemes: 6000

title

string

The stop's name as walkers see it, when it differs from the place's name (e.g. a translation).

  • maxLength: 1280
  • maxGraphemes: 128

Similar lexicons

semantic match

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

  • app.citylore.tour

    record not from the namespace authority

    A walking tour: a story told along a walk, with optional narration between stops and an optional scavenger hunt. Lives in the creator's account: in a space while private or shared, in the public repo once published.

  • app.citylore.discover.defs

    not from the namespace authority

    What CityLore's discovery service returns about public tours.