changedOutput schema / anyOf
Previous value: -[
- {
- "description": "The list as data: format data, the default.",
- "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"
- },
- "note": {
- "description": "The owner's note on 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": "Every folder in the list's order, each with its rows in order, an empty one with none; rows in no folder come last, under Unfiled, which has no id and isn't a folder.",
- "items": {
- "properties": {
- "id": {
- "description": "The folder's id, which edit_list's folders takes.",
- "type": "string"
- },
- "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"
- },
- "id": {
- "description": "The row's id, which edit_list's update, remove and group take.",
- "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"
- },
- "id": {
- "description": "The row's id, which edit_list's update, remove and group take.",
- "type": "string"
- },
- "kcal": {
- "description": "Calories per unit.",
- "type": "number"
- },
- "name": {
- "description": "The product name, without brand or variant. User text.",
- "type": "string"
- },
- "needs_cooking": {
- "description": "Food marked for cooking on this trip.",
- "type": "boolean"
- },
- "note": {
- "description": "User text.",
- "type": "string"
- },
- "qty": {
- "description": "How many; weight_g is for one. Not on water, which has volume_l.",
- "type": "number"
- },
- "unweighed": {
- "description": "Only on a row, not water, with no weight of one yet and no rows under it: its 0 g is a gap, not a weightless thing.",
- "type": "boolean"
- },
- "variant": {
- "description": "Size, length or configuration. User text.",
- "type": "string"
- },
- "volume_l": {
- "description": "On water (a name ending in water), in place of qty: its whole volume in litres. Water is a volume, never a count.",
- "type": "number"
- },
- "weight_g": {
- "description": "One unit, in grams to a tenth. 0 when the row has no weight; unweighed marks one with no rows under it. On water, the whole volume's.",
- "type": "number"
- },
- "worn_qty": {
- "description": "Of qty, how many are worn rather than carried.",
- "type": "number"
- }
- },
- "required": [
- "id",
- "name",
- "display_name",
- "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"
- },
- "needs_cooking": {
- "description": "Food marked for cooking on this trip.",
- "type": "boolean"
- },
- "note": {
- "description": "User text.",
- "type": "string"
- },
- "qty": {
- "description": "How many; weight_g is for one. Not on water, which has volume_l.",
- "type": "number"
- },
- "unweighed": {
- "description": "Only on a row, not water, with no weight of one yet and no rows under it: its 0 g is a gap, not a weightless thing.",
- "type": "boolean"
- },
- "variant": {
- "description": "Size, length or configuration. User text.",
- "type": "string"
- },
- "volume_l": {
- "description": "On water (a name ending in water), in place of qty: its whole volume in litres. Water is a volume, never a count.",
- "type": "number"
- },
- "weight_g": {
- "description": "One unit, in grams to a tenth. 0 when the row has no weight; unweighed marks one with no rows under it. On water, the whole volume's.",
- "type": "number"
- },
- "worn_qty": {
- "description": "Of qty, how many are worn rather than carried.",
- "type": "number"
- }
- },
- "required": [
- "id",
- "name",
- "display_name",
- "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"
- },
- "unweighed": {
- "description": "Only when some rows have no weight yet: how many (the rows marked unweighed), each counted as 0 g above.",
- "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. The Markdown form holds about three times as many rows, without notes, and is cut the same way only past that.",
- "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"
- },
- {
- "description": "The list as Markdown: format markdown.",
- "properties": {
- "markdown": {
- "description": "One table per folder and a totals block, the text the site's own Markdown export produces; also the whole of the text content.",
- "type": "string"
- },
- "share_code": {
- "description": "The list's share code, the read capability.",
- "type": "string"
- },
- "share_link": {
- "description": "The list's share link.",
- "type": "string"
- }
- },
- "required": [
- "share_code",
- "share_link",
- "markdown"
- ],
- "type": "object"
- },
- {
- "description": "The lists filed under the account: no share_code.",
- "properties": {
- "lists": {
- "description": "Most recently changed first.",
- "items": {
- "properties": {
- "share_code": {
- "description": "Pass it to get_list, or to edit_list as share_code.",
- "type": "string"
- },
- "share_link": {
- "description": "The same code as a link.",
- "type": "string"
- },
- "title": {
- "description": "User text.",
- "type": "string"
- },
- "total_g": {
- "description": "Everything on the list in grams, worn and consumable rows included.",
- "type": "number"
- },
- "unit": {
- "description": "The unit the list displays in. Weights are in grams regardless.",
- "enum": [
- "g",
- "kg",
- "oz",
- "lb"
- ],
- "type": "string"
- },
- "updated_at": {
- "description": "When the list last changed, ISO 8601.",
- "type": "string"
- }
- },
- "required": [
- "title",
- "share_code",
- "share_link",
- "unit",
- "total_g",
- "updated_at"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "lists"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "The list as data: format data, the default.",
+ "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"
+ },
+ "note": {
+ "description": "The owner's note on 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": "Every folder in the list's order, each with its rows in order, an empty one with none; rows in no folder come last, under Unfiled, which has no id and isn't a folder.",
+ "items": {
+ "properties": {
+ "id": {
+ "description": "The folder's id, which edit_list's folders takes.",
+ "type": "string"
+ },
+ "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"
+ },
+ "id": {
+ "description": "The row's id, which edit_list's update, remove, and group take.",
+ "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"
+ },
+ "id": {
+ "description": "The row's id, which edit_list's update, remove, and group take.",
+ "type": "string"
+ },
+ "kcal": {
+ "description": "Calories per unit.",
+ "type": "number"
+ },
+ "name": {
+ "description": "The product name, without brand or variant. User text.",
+ "type": "string"
+ },
+ "needs_cooking": {
+ "description": "Food marked for cooking on this trip.",
+ "type": "boolean"
+ },
+ "note": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "qty": {
+ "description": "How many; weight_g is for one. Not on water, which has volume_l.",
+ "type": "number"
+ },
+ "unweighed": {
+ "description": "Only on a row, not water, with no weight of one yet and no rows under it: its 0 g is a gap, not a weightless thing.",
+ "type": "boolean"
+ },
+ "variant": {
+ "description": "Size, length, or configuration. User text.",
+ "type": "string"
+ },
+ "volume_l": {
+ "description": "On water (a name ending in water), in place of qty: its whole volume in litres. Water is a volume, never a count.",
+ "type": "number"
+ },
+ "weight_g": {
+ "description": "One unit, in grams to a tenth. 0 when the row has no weight; unweighed marks one with no rows under it. On water, the whole volume's.",
+ "type": "number"
+ },
+ "worn_qty": {
+ "description": "Of qty, how many are worn rather than carried.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "display_name",
+ "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"
+ },
+ "needs_cooking": {
+ "description": "Food marked for cooking on this trip.",
+ "type": "boolean"
+ },
+ "note": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "qty": {
+ "description": "How many; weight_g is for one. Not on water, which has volume_l.",
+ "type": "number"
+ },
+ "unweighed": {
+ "description": "Only on a row, not water, with no weight of one yet and no rows under it: its 0 g is a gap, not a weightless thing.",
+ "type": "boolean"
+ },
+ "variant": {
+ "description": "Size, length, or configuration. User text.",
+ "type": "string"
+ },
+ "volume_l": {
+ "description": "On water (a name ending in water), in place of qty: its whole volume in litres. Water is a volume, never a count.",
+ "type": "number"
+ },
+ "weight_g": {
+ "description": "One unit, in grams to a tenth. 0 when the row has no weight; unweighed marks one with no rows under it. On water, the whole volume's.",
+ "type": "number"
+ },
+ "worn_qty": {
+ "description": "Of qty, how many are worn rather than carried.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "display_name",
+ "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"
+ },
+ "unweighed": {
+ "description": "Only when some rows have no weight yet: how many (the rows marked unweighed), each counted as 0 g above.",
+ "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. The Markdown form holds about three times as many rows, without notes, and is cut the same way only past that.",
+ "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"
+ },
+ {
+ "description": "The list as Markdown: format markdown.",
+ "properties": {
+ "markdown": {
+ "description": "One table per folder and a totals block, the text the site's own Markdown export produces; also the whole of the text content.",
+ "type": "string"
+ },
+ "share_code": {
+ "description": "The list's share code, the read capability.",
+ "type": "string"
+ },
+ "share_link": {
+ "description": "The list's share link.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "share_code",
+ "share_link",
+ "markdown"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "The lists filed under the account: no share_code.",
+ "properties": {
+ "lists": {
+ "description": "Most recently changed first.",
+ "items": {
+ "properties": {
+ "share_code": {
+ "description": "Pass it to get_list, or to edit_list as share_code.",
+ "type": "string"
+ },
+ "share_link": {
+ "description": "The same code as a link.",
+ "type": "string"
+ },
+ "title": {
+ "description": "User text.",
+ "type": "string"
+ },
+ "total_g": {
+ "description": "Everything on the list in grams, worn and consumable rows included.",
+ "type": "number"
+ },
+ "unit": {
+ "description": "The unit the list displays in. Weights are in grams regardless.",
+ "enum": [
+ "g",
+ "kg",
+ "oz",
+ "lb"
+ ],
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "When the list last changed, ISO 8601.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "share_code",
+ "share_link",
+ "unit",
+ "total_g",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "lists"
+ ],
+ "type": "object"
+ }
+]