changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "author": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "dates": {
+ "properties": {
+ "end": {
+ "description": "YYYY-MM-DD.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "start": {
+ "description": "YYYY-MM-DD.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ },
+ "days": {
+ "description": "The trip's days in order, when the owner has planned them.",
+ "items": {
+ "properties": {
+ "ascent_m": {
+ "description": "Typed by the owner, or read off the route's profile.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "day": {
+ "description": "Day 1; with trip dates, the weekday too: Saturday, Day 1.",
+ "type": "string"
+ },
+ "distance_m": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "label": {
+ "description": "The owner's name for the day. User text.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "day",
+ "distance_m",
+ "ascent_m"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "The list's own notes. User text.",
+ "type": "string"
+ },
+ "folders": {
+ "description": "In the list's order, each with its rows in order. A folder with no rows is left out; rows in no folder come last, under Unfiled.",
+ "items": {
+ "properties": {
+ "items": {
+ "items": {
+ "properties": {
+ "brand": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "carried_by": {
+ "description": "Who carries it. A nested row without one is carried by its parent's carrier. User text.",
+ "type": "string"
+ },
+ "catalog_id": {
+ "description": "The catalog row the item was picked from.",
+ "type": "number"
+ },
+ "classification": {
+ "description": "The row's own, or its folder's when it has none.",
+ "enum": [
+ "base",
+ "worn",
+ "consumable"
+ ],
+ "type": "string"
+ },
+ "display_name": {
+ "description": "Brand, name and variant joined, the way the list shows the row.",
+ "type": "string"
+ },
+ "gear_type": {
+ "description": "What kind of thing it is. User text.",
+ "type": "string"
+ },
+ "items": {
+ "description": "Rows nested under this one. The parent's weight_g is its own, not the group's.",
+ "items": {
+ "properties": {
+ "brand": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "carried_by": {
+ "description": "Who carries it. A nested row without one is carried by its parent's carrier. User text.",
+ "type": "string"
+ },
+ "catalog_id": {
+ "description": "The catalog row the item was picked from.",
+ "type": "number"
+ },
+ "classification": {
+ "description": "The row's own, or its folder's when it has none.",
+ "enum": [
+ "base",
+ "worn",
+ "consumable"
+ ],
+ "type": "string"
+ },
+ "display_name": {
+ "description": "Brand, name and variant joined, the way the list shows the row.",
+ "type": "string"
+ },
+ "gear_type": {
+ "description": "What kind of thing it is. User text.",
+ "type": "string"
+ },
+ "kcal": {
+ "description": "Calories per unit.",
+ "type": "number"
+ },
+ "name": {
+ "description": "The product name, without brand or variant. User text.",
+ "type": "string"
+ },
+ "note": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "qty": {
+ "description": "How many; weight_g is for one.",
+ "type": "number"
+ },
+ "variant": {
+ "description": "Size, length or configuration. User text.",
+ "type": "string"
+ },
+ "weight_g": {
+ "description": "One unit, in grams to a tenth. 0 when the row has no weight.",
+ "type": "number"
+ },
+ "worn_qty": {
+ "description": "Of qty, how many are worn rather than carried.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "display_name",
+ "qty",
+ "weight_g",
+ "classification"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kcal": {
+ "description": "Calories per unit.",
+ "type": "number"
+ },
+ "name": {
+ "description": "The product name, without brand or variant. User text.",
+ "type": "string"
+ },
+ "note": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "qty": {
+ "description": "How many; weight_g is for one.",
+ "type": "number"
+ },
+ "variant": {
+ "description": "Size, length or configuration. User text.",
+ "type": "string"
+ },
+ "weight_g": {
+ "description": "One unit, in grams to a tenth. 0 when the row has no weight.",
+ "type": "number"
+ },
+ "worn_qty": {
+ "description": "Of qty, how many are worn rather than carried.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "display_name",
+ "qty",
+ "weight_g",
+ "classification"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "User text.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "items"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "people": {
+ "description": "The people who carry the list's rows, when it names any.",
+ "items": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "share_code": {
+ "description": "The list's share code, the read capability.",
+ "type": "string"
+ },
+ "share_link": {
+ "description": "The list's share link.",
+ "type": "string"
+ },
+ "title": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "totals": {
+ "description": "Whole grams, summed over every row of the list.",
+ "properties": {
+ "base_g": {
+ "description": "In the pack, consumables aside.",
+ "type": "integer"
+ },
+ "carried_g": {
+ "description": "base_g plus consumable_g: what is on your back.",
+ "type": "integer"
+ },
+ "consumable_g": {
+ "description": "Food, fuel, water.",
+ "type": "integer"
+ },
+ "item_count": {
+ "description": "Rows, nested ones included.",
+ "type": "integer"
+ },
+ "kcal": {
+ "description": "Only when a food row carries calories.",
+ "type": "number"
+ },
+ "total_g": {
+ "description": "carried_g plus worn_g.",
+ "type": "integer"
+ },
+ "worn_g": {
+ "description": "On your body.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "base_g",
+ "worn_g",
+ "consumable_g",
+ "carried_g",
+ "total_g",
+ "item_count"
+ ],
+ "type": "object"
+ },
+ "trail": {
+ "properties": {
+ "ascent_m": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "descent_m": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "distance_m": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "label": {
+ "description": "User text.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "url",
+ "label",
+ "distance_m",
+ "ascent_m",
+ "descent_m"
+ ],
+ "type": "object"
+ },
+ "truncated": {
+ "description": "Present only when the list was too large to return whole, naming what was cut: notes (true: every row's note), rows (how many came off the end, nested rows counted), fields (which of description, days, trail and people went, only when the rest alone was too large). The totals still count every row. get_list_markdown returns the same rows in about a third of the space, without notes.",
+ "properties": {
+ "fields": {
+ "items": {
+ "enum": [
+ "description",
+ "days",
+ "trail",
+ "people"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "notes": {
+ "type": "boolean"
+ },
+ "rows": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "unit": {
+ "description": "The unit the list displays in. Weights are in grams regardless.",
+ "enum": [
+ "g",
+ "kg",
+ "oz",
+ "lb"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "share_code",
+ "share_link",
+ "unit",
+ "totals",
+ "folders"
+ ],
+ "type": "object"
+}