# app.citylore.tour

> 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.

- Kind: record
- Record key: tid
- Authority: citylore.app
- Lexicon: 1
- Published by [citylore.app](https://lexicon.garden/identity/did:plc:yyhpdzesw2vzyuptd54i26dj), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yyhpdzesw2vzyuptd54i26dj/app.citylore.tour)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yyhpdzesw2vzyuptd54i26dj/app.citylore.tour/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yyhpdzesw2vzyuptd54i26dj/app.citylore.tour/analytics)

## Record (`app.citylore.tour`)

Type: record · key tid

### Properties

- `area` (string): Where the tour is, the way walkers would say it, e.g. Kreuzberg, Berlin.
  - Constraints: maxLength: 1280, maxGraphemes: 128
- `cover` (ref)
  - Reference: `app.citylore.defs#image`
- `createdAt` (string · datetime, required)
- `difficulty` (string): For hunts.
  - Constraints: maxLength: 32, knownValues: easy | medium | hard
- `distanceMeters` (integer): Walking distance of the route.
  - Constraints: minimum: 0
- `durationMinutes` (integer): Expected total time: walking plus the stops.
  - Constraints: minimum: 1
- `guideStyle` (string)
  - Constraints: maxLength: 64, knownValues: family | edgy | history | nature | adventure | local
- `labels` (union): Self-labels, e.g. content warnings.
  - One of: `com.atproto.label.defs#selfLabels`
- `language` (string · language, required): The language of the tour's text.
- `layers` (array, required): Ways to play the tour. narrated needs narration on the stops; hunt needs a clue on every stop after the first.
  - Constraints: minLength: 1, maxLength: 3
  - `items` (string)
    - Constraints: maxLength: 32, knownValues: walk | narrated | hunt
- `loop` (boolean): Whether the walk ends back at the first stop.
- `provenance` (ref)
  - Reference: `app.citylore.defs#provenance`
- `route` (ref)
  - Reference: `app.citylore.defs#route`
- `stops` (array, required)
  - Constraints: minLength: 1, maxLength: 30
  - `items` (ref)
    - Reference: `app.citylore.defs#stop`
- `summary` (string)
  - Constraints: maxLength: 6000, maxGraphemes: 600
- `title` (string, required)
  - Constraints: maxLength: 1200, maxGraphemes: 120
- `updatedAt` (string · datetime)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "key": "tid",
      "record": {
        "properties": {
          "area": {
            "description": "Where the tour is, the way walkers would say it, e.g. Kreuzberg, Berlin.",
            "maxGraphemes": 128,
            "maxLength": 1280,
            "type": "string"
          },
          "cover": {
            "ref": "app.citylore.defs#image",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "difficulty": {
            "description": "For hunts.",
            "knownValues": [
              "easy",
              "medium",
              "hard"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "distanceMeters": {
            "description": "Walking distance of the route.",
            "minimum": 0,
            "type": "integer"
          },
          "durationMinutes": {
            "description": "Expected total time: walking plus the stops.",
            "minimum": 1,
            "type": "integer"
          },
          "guideStyle": {
            "knownValues": [
              "family",
              "edgy",
              "history",
              "nature",
              "adventure",
              "local"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "labels": {
            "description": "Self-labels, e.g. content warnings.",
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union"
          },
          "language": {
            "description": "The language of the tour's text.",
            "format": "language",
            "type": "string"
          },
          "layers": {
            "description": "Ways to play the tour. narrated needs narration on the stops; hunt needs a clue on every stop after the first.",
            "items": {
              "knownValues": [
                "walk",
                "narrated",
                "hunt"
              ],
              "maxLength": 32,
              "type": "string"
            },
            "maxLength": 3,
            "minLength": 1,
            "type": "array"
          },
          "loop": {
            "description": "Whether the walk ends back at the first stop.",
            "type": "boolean"
          },
          "provenance": {
            "ref": "app.citylore.defs#provenance",
            "type": "ref"
          },
          "route": {
            "ref": "app.citylore.defs#route",
            "type": "ref"
          },
          "stops": {
            "items": {
              "ref": "app.citylore.defs#stop",
              "type": "ref"
            },
            "maxLength": 30,
            "minLength": 1,
            "type": "array"
          },
          "summary": {
            "maxGraphemes": 600,
            "maxLength": 6000,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 120,
            "maxLength": 1200,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "title",
          "language",
          "layers",
          "stops",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.citylore.tour",
  "lexicon": 1
}
```
