app.parksavvy.feed.post.location

parksavvy.app

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

location array of string Required

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.

maxLength: 6 items
rating integer Optional

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.

minimum: 0maximum: 10
text string Optional

The primary content for the post.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "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"
}

Lexicon Garden

@