com.pimstash.stuff.location

A Location in a Stuff Trove: a place Things are kept, in a tree of Locations, or the inside of a container Thing.

Details · record, key any
Kindrecord
Record keyany
Authoritystuff.pimstash.com
Commit rev3mzxzib4i632v
Indexed
cid bafyreibg2wfk4zkwj2sf64vybv2awi5cirnftrbqxeweshmqdwv2kxge54

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Location in a Stuff Trove: a place Things are kept, in a tree of Locations, or the inside of a container Thing.",
      "key": "any",
      "record": {
        "properties": {
          "containerThing": {
            "description": "The record key of the com.pimstash.stuff.thing, in this same Space, this Location is the inside of (\"Holds Things\"); the Location then sits wherever that Thing is.",
            "format": "record-key",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "geo": {
            "ref": "community.lexicon.location.geo",
            "type": "ref"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "notes": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "parent": {
            "description": "The record key of the com.pimstash.stuff.location, in this same Space, this Location sits in. Ignored when containerThing is set.",
            "format": "record-key",
            "type": "string"
          },
          "photo": {
            "accept": [
              "image/jpeg",
              "image/webp",
              "image/avif"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.stuff.location",
  "lexicon": 1
}