app.citylore.discover.defs
What CityLore's discovery service returns about public tours.
Details · defs
| Kind | defs |
|---|---|
| Authority | discover.citylore.app |
| Commit rev | 3n33ebccnl622 |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"author": {
"properties": {
"avatar": {
"format": "uri",
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"displayName": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [
"did",
"handle"
],
"type": "object"
},
"tourView": {
"description": "A public tour as a list shows it: enough to choose one without loading the whole record.",
"properties": {
"area": {
"maxGraphemes": 128,
"maxLength": 1280,
"type": "string"
},
"author": {
"ref": "#author",
"type": "ref"
},
"cid": {
"format": "cid",
"type": "string"
},
"difficulty": {
"maxLength": 32,
"type": "string"
},
"distanceMeters": {
"minimum": 0,
"type": "integer"
},
"durationMinutes": {
"minimum": 1,
"type": "integer"
},
"guideStyle": {
"maxLength": 64,
"type": "string"
},
"indexedAt": {
"format": "datetime",
"type": "string"
},
"language": {
"format": "language",
"type": "string"
},
"layers": {
"items": {
"knownValues": [
"walk",
"narrated",
"hunt"
],
"maxLength": 32,
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"loop": {
"type": "boolean"
},
"quietStopCount": {
"description": "Stops presented quietly (memorials, places of worship).",
"minimum": 0,
"type": "integer"
},
"ratingAverageTenths": {
"description": "Average stars times ten (43 = 4.3), weighted towards people who walked the tour. Absent without ratings.",
"maximum": 50,
"minimum": 10,
"type": "integer"
},
"ratingCount": {
"minimum": 0,
"type": "integer"
},
"routePreview": {
"description": "An encoded polyline (precision 5) through the stops, for a small map in lists. Absent for hunts, whose stops stay hidden until found.",
"maxLength": 4000,
"type": "string"
},
"start": {
"description": "Where the tour starts. For a hunt this is the only place the list shows.",
"ref": "community.lexicon.location.geo",
"type": "ref"
},
"stopCount": {
"minimum": 1,
"type": "integer"
},
"summary": {
"maxGraphemes": 600,
"maxLength": 6000,
"type": "string"
},
"title": {
"maxGraphemes": 120,
"maxLength": 1200,
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"author",
"title",
"language",
"layers",
"loop",
"durationMinutes",
"distanceMeters",
"stopCount",
"start",
"ratingCount",
"indexedAt"
],
"type": "object"
}
},
"description": "What CityLore's discovery service returns about public tours.",
"id": "app.citylore.discover.defs",
"lexicon": 1
}