# com.pimstash.gear.item

> Published by [lexicons.pimstash.com](https://lexicon.garden/identity/did:plc:kl7rkydjioe5qsucfce3uubx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.gear.item)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.gear.item/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.gear.item/examples)

## Definitions

### `com.pimstash.gear.item`

**Type**: `record`

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`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `closet` | `string` (record-key) | Yes | The record key of the com.pimstash.gear.closet, in this same repository, this Item belongs to. |
| `consumable` | `boolean` | No | Used up on a trip: fuel, food. |
| `createdAt` | `string` (datetime) | Yes |  |
| `lastServicedDate` | `string` (datetime) | No | The calendar date of the last service, as a datetime at UTC midnight read in UTC. |
| `links` | `array` | No |  |
| `maintenance` | `string` | No |  |
| `name` | `string` | Yes |  |
| `notes` | `string` | No |  |
| `primaryCategory` | `string` | No | The person's own category, an open string; absent or empty files the Item as uncategorized. |
| `purchaseDate` | `string` (datetime) | No | The calendar date of purchase, as a datetime at UTC midnight read in UTC. |
| `subCategory` | `string` | No |  |
| `updatedAt` | `string` (datetime) | No |  |
| `weightGrams` | `integer` | Yes | Weight in whole grams. |
| `worn` | `boolean` | No | Carried on the body rather than in the pack, so left out of pack weight. |

## Raw Schema

```json
{
  "$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
}
```
