com.pimstash.gear.item

A Gear Item in a Closet: one piece of gear and what it weighs. Field names follow world.treeline.gear.item where it has the field. An Item's storage location is kept on the device and never written here.

Details · record, key any
Kindrecord
Record keyany
Authoritygear.pimstash.com
Indexed
cid bafyreidhv4wlw46gjerqecabnrngf2nmneyrvrlnva5nstml6ozo7aw57e

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Gear Item in a Closet: one piece of gear and what it weighs. Field names follow world.treeline.gear.item where it has the field. An Item's storage location is kept on the device and never written here.",
      "key": "any",
      "record": {
        "properties": {
          "closet": {
            "description": "The record key of the com.pimstash.gear.closet, in this same repository, this Item belongs to.",
            "format": "record-key",
            "type": "string"
          },
          "consumable": {
            "description": "Used up on a trip: fuel, food.",
            "type": "boolean"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "lastServicedDate": {
            "description": "The calendar date of the last service, as a datetime at UTC midnight read in UTC.",
            "format": "datetime",
            "type": "string"
          },
          "links": {
            "items": {
              "format": "uri",
              "maxLength": 3000,
              "type": "string"
            },
            "maxLength": 100,
            "type": "array"
          },
          "maintenance": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "notes": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "primaryCategory": {
            "description": "The person's own category, an open string; absent or empty files the Item as uncategorized.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "purchaseDate": {
            "description": "The calendar date of purchase, as a datetime at UTC midnight read in UTC.",
            "format": "datetime",
            "type": "string"
          },
          "subCategory": {
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "weightGrams": {
            "description": "Weight in whole grams.",
            "minimum": 0,
            "type": "integer"
          },
          "worn": {
            "description": "Carried on the body rather than in the pack, so left out of pack weight.",
            "type": "boolean"
          }
        },
        "required": [
          "closet",
          "name",
          "weightGrams",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.gear.item",
  "lexicon": 1
}