changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "query": {
+ "description": "The query as searched: trimmed, at most 100 characters.",
+ "type": "string"
+ },
+ "results": {
+ "description": "Best first.",
+ "items": {
+ "properties": {
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category": {
+ "description": "The catalog's category: shelter, sleep, pack, and so on.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "display_name": {
+ "description": "Brand, name and variant joined.",
+ "type": "string"
+ },
+ "gear_type": {
+ "description": "What kind of thing it is: Tent, Quilt, Trail runners.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "The catalog row id, the one add_items and create_list take as catalog_id.",
+ "type": "integer"
+ },
+ "kcal": {
+ "description": "Calories per unit, on food.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "The product name, without brand or variant.",
+ "type": "string"
+ },
+ "variant": {
+ "description": "Size, length or rating; null on a product sold one way.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verified": {
+ "description": "Whether the cited weight has been verified.",
+ "type": "boolean"
+ },
+ "weight_g": {
+ "description": "The cited weight in grams, to a tenth.",
+ "type": "number"
+ },
+ "weight_source": {
+ "description": "Where the weight comes from.",
+ "enum": [
+ "manufacturer",
+ "measured",
+ "community",
+ "imported"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "variant",
+ "weight_g",
+ "verified",
+ "weight_source",
+ "kcal",
+ "brand",
+ "name",
+ "display_name",
+ "gear_type",
+ "category"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "query",
+ "results"
+ ],
+ "type": "object"
+}