changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "brand": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "gear_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "The product name, without brand or variant.",
+ "type": "string"
+ },
+ "variants": {
+ "description": "Every active variant, in variant order.",
+ "items": {
+ "properties": {
+ "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"
+ ]
+ },
+ "source_url": {
+ "description": "The page the weight was read from.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "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",
+ "source_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "brand",
+ "name",
+ "gear_type",
+ "category",
+ "variants"
+ ],
+ "type": "object"
+}