changedOutput schema / (root)
Previous value: -{
- "properties": {
- "gear": {
- "description": "This page of the matches.",
- "items": {
- "properties": {
- "brand": {
- "description": "User text.",
- "type": [
- "string",
- "null"
- ]
- },
- "catalog_id": {
- "description": "The catalog row the piece is linked to, when it is.",
- "type": [
- "number",
- "null"
- ]
- },
- "classification": {
- "description": "base, worn, or consumable; left out when the owner leaves it to each list.",
- "enum": [
- "base",
- "worn",
- "consumable",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "description": "ISO 4217 code of price, when one was recorded.",
- "type": [
- "string",
- "null"
- ]
- },
- "display_name": {
- "description": "Brand, name, and variant joined, the way the gear page shows a piece. User text.",
- "type": "string"
- },
- "gear_type": {
- "description": "Tent, Quilt, Stove. User text.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Names the piece to edit_my_gear.",
- "type": "integer"
- },
- "in_kits": {
- "description": "Only on a piece that is in a kit: the ids of the kits it is in.",
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "kcal": {
- "description": "Calories in one, on food.",
- "type": [
- "number",
- "null"
- ]
- },
- "kind": {
- "description": "The section the gear page files it under, read from its icon or gear type: Shelter, Sleep, Kitchen, Clothing, and the like; Food, which the gear page keeps on a Food tab of its own, read by calories; Other when nothing matches; and Kits for a kit. Not set by hand.",
- "type": "string"
- },
- "kit": {
- "description": "Only on a KIT, a set the owner keeps together: what it weighs by itself (a stuff sack) and the items it holds, each also a piece of My Gear by its own id. Its weight_g already counts them: on a list, give the kit's row its own_weight_g with the items nested under it, never weight_g beside them.",
- "properties": {
- "items": {
- "items": {
- "properties": {
- "count": {
- "description": "How many of it the kit holds.",
- "type": "integer"
- },
- "display_name": {
- "description": "User text.",
- "type": "string"
- },
- "id": {
- "description": "The item's own id in My Gear.",
- "type": "integer"
- },
- "put_away": {
- "description": "Removed from My Gear: still listed in the kit, no longer counted in its weight.",
- "type": "boolean"
- },
- "unweighed": {
- "description": "Only on an item that has never been weighed, so the kit's weight is short by it.",
- "type": "boolean"
- },
- "weight_g": {
- "description": "Grams for one.",
- "type": "number"
- }
- },
- "required": [
- "id",
- "display_name",
- "count",
- "weight_g",
- "put_away"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "own_weight_g": {
- "description": "What the kit weighs by itself, in grams; usually 0.",
- "type": "number"
- }
- },
- "required": [
- "own_weight_g",
- "items"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "last_used": {
- "description": "When a list last carried it, or, for a piece no list has carried, when it was added to My Gear. ISO 8601.",
- "type": "string"
- },
- "name": {
- "description": "User text.",
- "type": "string"
- },
- "owned": {
- "description": "How many of this piece the owner has: three of the same bottle is one piece with owned 3. Not how many a trip carries, which is a list row's qty, nor how many a kit holds, which is its item's count. The gear page's totals count one of each.",
- "minimum": 1,
- "type": "integer"
- },
- "price": {
- "description": "What one cost, in the currency's main unit.",
- "type": [
- "number",
- "null"
- ]
- },
- "product_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "unweighed": {
- "description": "Only on a piece (not a kit) that has never been weighed: its 0 g is a gap, not a weightless thing.",
- "type": "boolean"
- },
- "variant": {
- "description": "User text.",
- "type": [
- "string",
- "null"
- ]
- },
- "weight_g": {
- "description": "Grams for one, to a tenth; 0 when it has never been weighed, and a piece says so with unweighed. On a kit, the whole kit: its items plus its own weight, each item flagged the same way.",
- "type": "number"
- }
- },
- "required": [
- "id",
- "display_name",
- "name",
- "kind",
- "weight_g",
- "owned",
- "last_used"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next_offset": {
- "description": "Only when more matches remain: pass it as offset for the next page. A page stops at limit, or sooner when the next piece would take it past about 64 KB.",
- "type": "integer"
- },
- "offset": {
- "type": "integer"
- },
- "total": {
- "description": "Matches in all, before offset and limit.",
- "type": "integer"
- }
- },
- "required": [
- "gear",
- "total",
- "offset"
- ],
- "type": "object"
-}New value: +null