changedOutput schema / (root)
Previous value: -{
- "properties": {
- "added": {
- "description": "Pieces that were new to My Gear.",
- "type": "integer"
- },
- "removed": {
- "description": "One per id in remove, then one per id in restore, in the order sent.",
- "items": {
- "properties": {
- "id": {
- "type": "integer"
- },
- "status": {
- "enum": [
- "removed",
- "restored",
- "not_found"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "status"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "results": {
- "description": "One per piece in add, in the order sent.",
- "items": {
- "properties": {
- "index": {
- "description": "Position in add.",
- "type": "integer"
- },
- "item": {
- "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"
- },
- "reason": {
- "description": "Why an entry was not done as sent, in a sentence.",
- "type": "string"
- },
- "status": {
- "description": "already_have: the same brand, name, and variant is there already, untouched, and item is that piece. invalid: no name, or a value of the wrong type or out of range; reason says which. A kit the vault won't make is added as a single piece, with a reason. full: My Gear is at its ceiling.",
- "enum": [
- "added",
- "already_have",
- "invalid",
- "full"
- ],
- "type": "string"
- }
- },
- "required": [
- "index",
- "status"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "updated": {
- "description": "One per entry in update, in the order sent.",
- "items": {
- "properties": {
- "id": {
- "type": "integer"
- },
- "item": {
- "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"
- },
- "reason": {
- "description": "Why an entry was not done as sent, in a sentence.",
- "type": "string"
- },
- "status": {
- "description": "invalid: nothing to change, or a change that would not leave a valid piece; nothing was changed on it, and reason says which.",
- "enum": [
- "updated",
- "not_found",
- "invalid"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "status"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "added",
- "results",
- "updated",
- "removed"
- ],
- "type": "object"
-}New value: +null