com.pimstash.stuff.kind

A Kind in a Stuff Trove: the fields its Things share unless a Thing sets its own.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Kind in a Stuff Trove: the fields its Things share unless a Thing sets its own.",
      "key": "any",
      "record": {
        "properties": {
          "category": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "lifespanMonths": {
            "description": "Months of service before the Thing is due for replacement.",
            "minimum": 1,
            "type": "integer"
          },
          "make": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "measure": {
            "description": "How the amount is read. Absent on a Thing inherits the Kind's; absent on a Kind reads as quantity.",
            "knownValues": [
              "quantity",
              "count",
              "level"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "model": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "notes": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "photo": {
            "accept": [
              "image/jpeg",
              "image/webp",
              "image/avif"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "ratedUsage": {
            "description": "Usage the Thing is rated for, in usageUnit, as a decimal string (\"2.375\") so it round-trips exactly.",
            "maxLength": 64,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "usageUnit": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.stuff.kind",
  "lexicon": 1
}