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.
any
Any valid record key
Properties
closet
string
record-key
Required
The record key of the com.pimstash.gear.closet, in this same repository, this Item belongs to.
consumable
boolean
Optional
Used up on a trip: fuel, food.
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
lastServicedDate
string
datetime
Optional
The calendar date of the last service, as a datetime at UTC midnight read in UTC.
links
array
of
string
uri
Optional
No description available.
maxLength: 100 itemsmaintenance
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesname
string
Required
No description available.
maxLength: 1000 bytesminLength: 1 bytesmaxGraphemes: 100 graphemesnotes
string
Optional
No description available.
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesprimaryCategory
string
Optional
The person's own category, an open string; absent or empty files the Item as uncategorized.
maxLength: 1000 bytesmaxGraphemes: 100 graphemespurchaseDate
string
datetime
Optional
The calendar date of purchase, as a datetime at UTC midnight read in UTC.
subCategory
string
Optional
No description available.
maxLength: 1000 bytesmaxGraphemes: 100 graphemesupdatedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
weightGrams
integer
Required
Weight in whole grams.
minimum: 0worn
boolean
Optional
Carried on the body rather than in the pack, so left out of pack weight.
View raw schema
{
"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"
}