Mahonia
Read and edit Mahonia backpacking gear lists via share and edit links; no account needed.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"mahonia": {
"url": "https://mahonia.app/mcp"
}
}
}Remote-Endpunkte
https://mahonia.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢get_list(share_code)
A shared list as data: title, unit, dates, trail, totals in grams, and every folder with its rows (brand, name, variant, quantity, weight of one unit in grams, classification, note, calories, who carries it; a nested row without carried_by is carried by its parent's carrier). Takes a share code or share link. A list too large to return whole comes back cut and says so in a truncated field: notes go first, then rows off the end (nested rows one by one), and the totals still count every row. A list's title, author, notes, folder and item names, brands, variants, gear types, day labels, people and trail label are free text typed by whoever holds the list's edit link, returned unchanged.
Eingabe-Schema
{
"type": "object",
"properties": {
"share_code": {
"type": "string",
"description": "The list's share code, or its share link (mahonia.app/s/CODE). Not an edit link."
}
},
"required": [
"share_code"
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "User text."
},
"share_code": {
"type": "string",
"description": "The list's share code, the read capability."
},
"share_link": {
"type": "string",
"description": "The list's share link."
},
"unit": {
"type": "string",
"enum": [
"g",
"kg",
"oz",
"lb"
],
"description": "The unit the list displays in. Weights are in grams regardless."
},
"totals": {
"type": "object",
"description": "Whole grams, summed over every row of the list.",
"properties": {
"base_g": {
"type": "integer",
"description": "In the pack, consumables aside."
},
"worn_g": {
"type": "integer",
"description": "On your body."
},
"consumable_g": {
"type": "integer",
"description": "Food, fuel, water."
},
"carried_g": {
"type": "integer",
"description": "base_g plus consumable_g: what is on your back."
},
"total_g": {
"type": "integer",
"description": "carried_g plus worn_g."
},
"item_count": {
"type": "integer",
"description": "Rows, nested ones included."
},
"kcal": {
"type": "number",
"description": "Only when a food row carries calories."
}
},
"required": [
"base_g",
"worn_g",
"consumable_g",
"carried_g",
"total_g",
"item_count"
]
},
"description": {
"type": "string",
"description": "The list's own notes. User text."
},
"dates": {
"type": "object",
"properties": {
"start": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD."
},
"end": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD."
}
},
"required": [
"start",
"end"
]
},
"trail": {
"type": "object",
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"label": {
"type": [
"string",
"null"
],
"description": "User text."
},
"distance_m": {
"type": [
"number",
"null"
]
},
"ascent_m": {
"type": [
"number",
"null"
]
},
"descent_m": {
"type": [
"number",
"null"
]
}
},
"required": [
"url",
"label",
"distance_m",
"ascent_m",
"descent_m"
]
},
"days": {
"type": "array",
"description": "The trip's days in order, when the owner has planned them.",
"items": {
"type": "object",
"properties": {
"day": {
"type": "string",
"description": "Day 1; with trip dates, the weekday too: Saturday, Day 1."
},
"label": {
"type": "string",
"description": "The owner's name for the day. User text."
},
"distance_m": {
"type": [
"number",
"null"
]
},
"ascent_m": {
"type": [
"number",
"null"
],
"description": "Typed by the owner, or read off the route's profile."
}
},
"required": [
"day",
"distance_m",
"ascent_m"
]
}
},
"people": {
"type": "array",
"items": {
"type": "string",
"description": "User text."
},
"description": "The people who carry the list's rows, when it names any."
},
"author": {
"type": "string",
"description": "User text."
},
"truncated": {
"type": "object",
"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 holds about three times as many rows, without notes, and is cut the same way only past that.",
"properties": {
"notes": {
"type": "boolean"
},
"rows": {
"type": "integer"
},
"fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"description",
"days",
"trail",
"people"
]
}
}
}
},
"folders": {
"type": "array",
"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": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "User text."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The product name, without brand or variant. User text."
},
"display_name": {
"type": "string",
"description": "Brand, name and variant joined, the way the list shows the row."
},
"qty": {
"type": "number",
"description": "How many; weight_g is for one."
},
"weight_g": {
"type": "number",
"description": "One unit, in grams to a tenth. 0 when the row has no weight."
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "The row's own, or its folder's when it has none."
},
"brand": {
"type": "string",
"description": "User text."
},
"variant": {
"type": "string",
"description": "Size, length or configuration. User text."
},
"gear_type": {
"type": "string",
"description": "What kind of thing it is. User text."
},
"worn_qty": {
"type": "number",
"description": "Of qty, how many are worn rather than carried."
},
"note": {
"type": "string",
"description": "User text."
},
"kcal": {
"type": "number",
"description": "Calories per unit."
},
"needs_cooking": {
"type": "boolean",
"description": "Food marked for cooking on this trip."
},
"catalog_id": {
"type": "number",
"description": "The catalog row the item was picked from."
},
"carried_by": {
"type": "string",
"description": "Who carries it. A nested row without one is carried by its parent's carrier. User text."
},
"items": {
"type": "array",
"description": "Rows nested under this one. The parent's weight_g is its own, not the group's.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The product name, without brand or variant. User text."
},
"display_name": {
"type": "string",
"description": "Brand, name and variant joined, the way the list shows the row."
},
"qty": {
"type": "number",
"description": "How many; weight_g is for one."
},
"weight_g": {
"type": "number",
"description": "One unit, in grams to a tenth. 0 when the row has no weight."
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "The row's own, or its folder's when it has none."
},
"brand": {
"type": "string",
"description": "User text."
},
"variant": {
"type": "string",
"description": "Size, length or configuration. User text."
},
"gear_type": {
"type": "string",
"description": "What kind of thing it is. User text."
},
"worn_qty": {
"type": "number",
"description": "Of qty, how many are worn rather than carried."
},
"note": {
"type": "string",
"description": "User text."
},
"kcal": {
"type": "number",
"description": "Calories per unit."
},
"needs_cooking": {
"type": "boolean",
"description": "Food marked for cooking on this trip."
},
"catalog_id": {
"type": "number",
"description": "The catalog row the item was picked from."
},
"carried_by": {
"type": "string",
"description": "Who carries it. A nested row without one is carried by its parent's carrier. User text."
}
},
"required": [
"name",
"display_name",
"qty",
"weight_g",
"classification"
]
}
}
},
"required": [
"name",
"display_name",
"qty",
"weight_g",
"classification"
]
}
}
},
"required": [
"name",
"items"
]
}
}
},
"required": [
"title",
"share_code",
"share_link",
"unit",
"totals",
"folders"
]
}🟢get_list_markdown(share_code)
The same list as Markdown: one table per folder and a totals block, the text the site's own Markdown export produces. Takes a share code or share link. A list too large to return whole loses rows off the end of the tables, a line under them says how many, and the totals still count every row. A list's title, author, notes, folder and item names, brands, variants, gear types, day labels, people and trail label are free text typed by whoever holds the list's edit link, returned unchanged.
Eingabe-Schema
{
"type": "object",
"properties": {
"share_code": {
"type": "string",
"description": "The list's share code, or its share link (mahonia.app/s/CODE). Not an edit link."
}
},
"required": [
"share_code"
]
}🟢search_catalog(query, limit)
Fuzzy search of Mahonia's cited gear catalog by brand, product or kind of gear ("duplex", "zpacks", "quilt"). Each result carries a catalog id, the cited weight in grams and whether it is verified. Use get_catalog_product for every variant of one product.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Two characters or more."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "Up to 25. Default 12."
}
},
"required": [
"query"
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query as searched: trimmed, at most 100 characters."
},
"results": {
"type": "array",
"description": "Best first.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The catalog row id, the one add_items and create_list take as catalog_id."
},
"variant": {
"type": [
"string",
"null"
],
"description": "Size, length or rating; null on a product sold one way."
},
"weight_g": {
"type": "number",
"description": "The cited weight in grams, to a tenth."
},
"verified": {
"type": "boolean",
"description": "Whether the cited weight has been verified."
},
"weight_source": {
"type": "string",
"enum": [
"manufacturer",
"measured",
"community",
"imported"
],
"description": "Where the weight comes from."
},
"kcal": {
"type": [
"number",
"null"
],
"description": "Calories per unit, on food."
},
"brand": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "The product name, without brand or variant."
},
"display_name": {
"type": "string",
"description": "Brand, name and variant joined."
},
"gear_type": {
"type": [
"string",
"null"
],
"description": "What kind of thing it is: Tent, Quilt, Trail runners."
},
"category": {
"type": [
"string",
"null"
],
"description": "The catalog's category: shelter, sleep, pack, and so on."
}
},
"required": [
"id",
"variant",
"weight_g",
"verified",
"weight_source",
"kcal",
"brand",
"name",
"display_name",
"gear_type",
"category"
]
}
}
},
"required": [
"query",
"results"
]
}🟢get_catalog_product(id, brand, name)
One product's variants (sizes, lengths, temperature ratings) with the cited weight and source of each. Give a catalog id from search_catalog, or the brand and product name.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"description": "A catalog row id; its siblings are the other variants."
},
"brand": {
"type": "string"
},
"name": {
"type": "string",
"description": "The product name without brand or variant."
}
}
}Ausgabe-Schema
{
"type": "object",
"properties": {
"brand": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "The product name, without brand or variant."
},
"gear_type": {
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"variants": {
"type": "array",
"description": "Every active variant, in variant order.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The catalog row id, the one add_items and create_list take as catalog_id."
},
"variant": {
"type": [
"string",
"null"
],
"description": "Size, length or rating; null on a product sold one way."
},
"weight_g": {
"type": "number",
"description": "The cited weight in grams, to a tenth."
},
"verified": {
"type": "boolean",
"description": "Whether the cited weight has been verified."
},
"weight_source": {
"type": "string",
"enum": [
"manufacturer",
"measured",
"community",
"imported"
],
"description": "Where the weight comes from."
},
"kcal": {
"type": [
"number",
"null"
],
"description": "Calories per unit, on food."
},
"source_url": {
"type": [
"string",
"null"
],
"description": "The page the weight was read from."
}
},
"required": [
"id",
"variant",
"weight_g",
"verified",
"weight_source",
"kcal",
"source_url"
]
}
}
},
"required": [
"brand",
"name",
"gear_type",
"category",
"variants"
]
}🟡create_list(title, unit, start_date, end_date, trail_url, ...)
Creates a list and returns its edit link and share link. Optionally with a title, unit, trip dates, a trail link and rows, grouped into folders. Keep the edit link: it is the only way back into the list.
Eingabe-Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 200
},
"unit": {
"type": "string",
"enum": [
"g",
"kg",
"oz",
"lb"
],
"description": "The unit the list displays in. Weights are in grams regardless."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"trail_url": {
"type": "string",
"maxLength": 2000,
"description": "An http(s) link to the route or trail page."
},
"trail_label": {
"type": "string",
"maxLength": 120,
"description": "What to call the trail, when the link's own name won't do."
},
"trail_distance_km": {
"type": "number",
"minimum": 0
},
"folders": {
"type": "array",
"description": "Folders in order, each with its default classification and, optionally, its rows.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "What rows in this folder count as unless they say otherwise. Default base."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The product or item name. Required."
},
"brand": {
"type": "string",
"maxLength": 120,
"description": "The maker, when known."
},
"variant": {
"type": "string",
"maxLength": 120,
"description": "Size, length or configuration that changes the weight, such as Long or 20F."
},
"gear_type": {
"type": "string",
"maxLength": 120,
"description": "What kind of thing it is: Tent, Quilt, Trail runners."
},
"weight_g": {
"type": "number",
"minimum": 0,
"description": "Weight of ONE unit, in grams. Omit when unknown; the list keeps working without it, and a row with a catalog_id takes the catalog's cited weight."
},
"qty": {
"type": "integer",
"minimum": 1,
"maximum": 9999,
"description": "How many. Default 1."
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "base, worn or consumable. Omit to follow the folder's default."
},
"worn_qty": {
"type": "integer",
"minimum": 0,
"description": "Of qty, how many are worn rather than carried (three pairs of socks, one on your feet). For a row that is entirely worn, set classification to worn instead."
},
"note": {
"type": "string",
"maxLength": 2000,
"description": "A short free-text note on the row."
},
"kcal": {
"type": "integer",
"minimum": 0,
"description": "Calories per unit, for food."
},
"needs_cooking": {
"type": "boolean",
"description": "Food to cook on this trip. Each unit assumes one boil for a rough fuel estimate; no quantity or weight changes."
},
"catalog_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "A catalog row id from search_catalog. The row takes the catalog's brand, name, variant, gear type and cited weight, and follows catalog corrections; a weight_g given as well is kept as your own figure."
},
"folder": {
"type": "string",
"maxLength": 120,
"description": "The folder to put it in, by name. Created when the list has no folder of that name."
}
},
"required": [
"name"
]
}
}
},
"required": [
"name"
]
}
},
"items": {
"type": "array",
"description": "Rows not placed through a folder above; each may name its folder.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The product or item name. Required."
},
"brand": {
"type": "string",
"maxLength": 120,
"description": "The maker, when known."
},
"variant": {
"type": "string",
"maxLength": 120,
"description": "Size, length or configuration that changes the weight, such as Long or 20F."
},
"gear_type": {
"type": "string",
"maxLength": 120,
"description": "What kind of thing it is: Tent, Quilt, Trail runners."
},
"weight_g": {
"type": "number",
"minimum": 0,
"description": "Weight of ONE unit, in grams. Omit when unknown; the list keeps working without it, and a row with a catalog_id takes the catalog's cited weight."
},
"qty": {
"type": "integer",
"minimum": 1,
"maximum": 9999,
"description": "How many. Default 1."
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "base, worn or consumable. Omit to follow the folder's default."
},
"worn_qty": {
"type": "integer",
"minimum": 0,
"description": "Of qty, how many are worn rather than carried (three pairs of socks, one on your feet). For a row that is entirely worn, set classification to worn instead."
},
"note": {
"type": "string",
"maxLength": 2000,
"description": "A short free-text note on the row."
},
"kcal": {
"type": "integer",
"minimum": 0,
"description": "Calories per unit, for food."
},
"needs_cooking": {
"type": "boolean",
"description": "Food to cook on this trip. Each unit assumes one boil for a rough fuel estimate; no quantity or weight changes."
},
"catalog_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "A catalog row id from search_catalog. The row takes the catalog's brand, name, variant, gear type and cited weight, and follows catalog corrections; a weight_g given as well is kept as your own figure."
},
"folder": {
"type": "string",
"maxLength": 120,
"description": "The folder to put it in, by name. Created when the list has no folder of that name."
}
},
"required": [
"name"
]
}
}
}
}Ausgabe-Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "User text."
},
"edit_link": {
"type": "string",
"description": "The write capability. Keep it; it is the only way back into the list."
},
"share_link": {
"type": "string",
"description": "The read capability, safe to pass on."
},
"share_code": {
"type": "string"
},
"folders": {
"type": "integer",
"description": "Folders made."
},
"items": {
"type": "integer",
"description": "Rows made."
},
"totals": {
"type": "object",
"description": "Whole grams, summed over every row of the list.",
"properties": {
"base_g": {
"type": "integer",
"description": "In the pack, consumables aside."
},
"worn_g": {
"type": "integer",
"description": "On your body."
},
"consumable_g": {
"type": "integer",
"description": "Food, fuel, water."
},
"carried_g": {
"type": "integer",
"description": "base_g plus consumable_g: what is on your back."
},
"total_g": {
"type": "integer",
"description": "carried_g plus worn_g."
},
"item_count": {
"type": "integer",
"description": "Rows, nested ones included."
},
"kcal": {
"type": "number",
"description": "Only when a food row carries calories."
}
},
"required": [
"base_g",
"worn_g",
"consumable_g",
"carried_g",
"total_g",
"item_count"
]
}
},
"required": [
"title",
"edit_link",
"share_link",
"share_code",
"folders",
"items",
"totals"
]
}🟡add_items(edit_link, items, folder, again)
Adds rows to an existing list. Takes the list's edit link and the rows; each row may name a folder, and a folder that doesn't exist yet is created.
Eingabe-Schema
{
"type": "object",
"properties": {
"edit_link": {
"type": "string",
"description": "The list's edit link, whole (mahonia.app/e/CODE#token). The part after # is the write capability."
},
"items": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The product or item name. Required."
},
"brand": {
"type": "string",
"maxLength": 120,
"description": "The maker, when known."
},
"variant": {
"type": "string",
"maxLength": 120,
"description": "Size, length or configuration that changes the weight, such as Long or 20F."
},
"gear_type": {
"type": "string",
"maxLength": 120,
"description": "What kind of thing it is: Tent, Quilt, Trail runners."
},
"weight_g": {
"type": "number",
"minimum": 0,
"description": "Weight of ONE unit, in grams. Omit when unknown; the list keeps working without it, and a row with a catalog_id takes the catalog's cited weight."
},
"qty": {
"type": "integer",
"minimum": 1,
"maximum": 9999,
"description": "How many. Default 1."
},
"classification": {
"type": "string",
"enum": [
"base",
"worn",
"consumable"
],
"description": "base, worn or consumable. Omit to follow the folder's default."
},
"worn_qty": {
"type": "integer",
"minimum": 0,
"description": "Of qty, how many are worn rather than carried (three pairs of socks, one on your feet). For a row that is entirely worn, set classification to worn instead."
},
"note": {
"type": "string",
"maxLength": 2000,
"description": "A short free-text note on the row."
},
"kcal": {
"type": "integer",
"minimum": 0,
"description": "Calories per unit, for food."
},
"needs_cooking": {
"type": "boolean",
"description": "Food to cook on this trip. Each unit assumes one boil for a rough fuel estimate; no quantity or weight changes."
},
"catalog_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "A catalog row id from search_catalog. The row takes the catalog's brand, name, variant, gear type and cited weight, and follows catalog corrections; a weight_g given as well is kept as your own figure."
},
"folder": {
"type": "string",
"maxLength": 120,
"description": "The folder to put it in, by name. Created when the list has no folder of that name."
}
},
"required": [
"name"
]
}
},
"folder": {
"type": "string",
"maxLength": 120,
"description": "A folder name for every row that doesn't name its own."
},
"again": {
"type": "boolean",
"description": "A call identical to one made in the last ten minutes is taken as a retry and adds nothing: the earlier result comes back with repeated set. Pass true to add the same rows a second time on purpose."
}
},
"required": [
"edit_link",
"items"
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"added": {
"type": "integer",
"description": "Rows added."
},
"folders_made": {
"type": "array",
"items": {
"type": "string",
"description": "User text."
},
"description": "Folders that didn't exist and were made for these rows."
},
"share_link": {
"type": "string"
},
"totals": {
"type": "object",
"description": "Whole grams, summed over every row of the list.",
"properties": {
"base_g": {
"type": "integer",
"description": "In the pack, consumables aside."
},
"worn_g": {
"type": "integer",
"description": "On your body."
},
"consumable_g": {
"type": "integer",
"description": "Food, fuel, water."
},
"carried_g": {
"type": "integer",
"description": "base_g plus consumable_g: what is on your back."
},
"total_g": {
"type": "integer",
"description": "carried_g plus worn_g."
},
"item_count": {
"type": "integer",
"description": "Rows, nested ones included."
},
"kcal": {
"type": "number",
"description": "Only when a food row carries calories."
}
},
"required": [
"base_g",
"worn_g",
"consumable_g",
"carried_g",
"total_g",
"item_count"
]
},
"repeated": {
"type": "boolean",
"description": "True when this call repeated one made in the last ten minutes: nothing was added again, and the figures are that call's. Pass again: true to add the rows a second time."
}
},
"required": [
"added",
"folders_made",
"share_link",
"totals",
"repeated"
]
}🔴set_trip(edit_link, title, unit, start_date, end_date, ...)
Sets any of a list's title, display unit, trip dates and trail on an existing list. Only the fields given change; an empty string clears a date or the trail. Takes the list's edit link.
Eingabe-Schema
{
"type": "object",
"properties": {
"edit_link": {
"type": "string",
"description": "The list's edit link, whole (mahonia.app/e/CODE#token). The part after # is the write capability."
},
"title": {
"type": "string",
"maxLength": 200
},
"unit": {
"type": "string",
"enum": [
"g",
"kg",
"oz",
"lb"
],
"description": "The unit the list displays in. Weights are in grams regardless."
},
"start_date": {
"type": "string",
"description": "YYYY-MM-DD, or an empty string to clear."
},
"end_date": {
"type": "string",
"description": "YYYY-MM-DD, or an empty string to clear."
},
"trail_url": {
"type": "string",
"maxLength": 2000,
"description": "An http(s) link, or an empty string to clear the trail and everything that came with it (label, distance, climb, route)."
},
"trail_label": {
"type": "string",
"maxLength": 120
},
"trail_distance_km": {
"type": "number",
"minimum": 0,
"description": "Stored in metres and shown in the list's own distance unit."
}
},
"required": [
"edit_link"
]
}Ausgabe-Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "User text."
},
"unit": {
"type": "string",
"enum": [
"g",
"kg",
"oz",
"lb"
],
"description": "The unit the list displays in. Weights are in grams regardless."
},
"dates": {
"type": [
"object",
"null"
],
"properties": {
"start": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD."
},
"end": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD."
}
},
"required": [
"start",
"end"
]
},
"trail": {
"type": [
"object",
"null"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"label": {
"type": [
"string",
"null"
],
"description": "User text."
},
"distance_m": {
"type": [
"number",
"null"
]
},
"ascent_m": {
"type": [
"number",
"null"
]
},
"descent_m": {
"type": [
"number",
"null"
]
}
},
"required": [
"url",
"label",
"distance_m",
"ascent_m",
"descent_m"
]
},
"share_link": {
"type": "string"
}
},
"required": [
"title",
"unit",
"dates",
"trail",
"share_link"
]
}Community
Nachweis