# app.parksavvy.feed.post.location

> Published by [parksavvy.app](https://lexicon.garden/identity/did:plc:aamfny3jrh7e34uivxuawr6u)

✓ This is the authoritative definition for this NSID.

## Description

A post about a location at a theme park.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:aamfny3jrh7e34uivxuawr6u/app.parksavvy.feed.post.location)
- [Documentation](https://lexicon.garden/lexicon/did:plc:aamfny3jrh7e34uivxuawr6u/app.parksavvy.feed.post.location/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:aamfny3jrh7e34uivxuawr6u/app.parksavvy.feed.post.location/examples)

## Definitions

### `app.parksavvy.feed.post.location`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `location` | `array` | Yes | An array of location slugs, ordered from least specific to most specific, i.e. every subsequent item should be contained by the previous items. No single slug needs to be unique, but the array as a whole should be unique to this location. |
| `rating` | `integer` | No | The user's rating of the location. These must be stored as integers, so the real value is actually half of the stored value, e.g. a stored value of 9 is really a 4.5. |
| `text` | `string` | No | The primary content for the post. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "location": {
            "description": "An array of location slugs, ordered from least specific to most specific, i.e. every subsequent item should be contained by the previous items. No single slug needs to be unique, but the array as a whole should be unique to this location.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 6,
            "type": "array"
          },
          "rating": {
            "description": "The user's rating of the location. These must be stored as integers, so the real value is actually half of the stored value, e.g. a stored value of 9 is really a 4.5.",
            "maximum": 10,
            "minimum": 0,
            "type": "integer"
          },
          "text": {
            "description": "The primary content for the post.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "location"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A post about a location at a theme park.",
  "id": "app.parksavvy.feed.post.location",
  "lexicon": 1
}
```
