changedOutput schema / properties / product / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "image_url": {
- "description": "Product photo",
- "type": [
- "string",
- "null"
- ]
- },
- "lowest_price": {
- "description": "BRL",
- "type": [
- "number",
- "null"
- ]
- },
- "lowest_price_store": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "offers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "coupon_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "expired": {
- "type": "boolean"
- },
- "price": {
- "description": "BRL",
- "type": [
- "number",
- "null"
- ]
- },
- "store": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "store",
- "price",
- "coupon_code",
- "expired",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "price_stats": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "avg": {
- "description": "BRL",
- "type": [
- "number",
- "null"
- ]
- },
- "max": {
- "description": "BRL",
- "type": [
- "number",
- "null"
- ]
- },
- "min": {
- "description": "BRL",
- "type": [
- "number",
- "null"
- ]
- },
- "records": {
- "type": "integer"
- }
- },
- "required": [
- "min",
- "avg",
- "max",
- "records"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "url",
- "image_url",
- "lowest_price",
- "lowest_price_store",
- "offers",
- "price_stats"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "faq": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "type": "string"
+ },
+ "question": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "question",
+ "answer"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "image_url": {
+ "description": "Product photo",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "lowest_price": {
+ "description": "BRL",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lowest_price_store": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "coupon_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Deal id, for get_deal",
+ "type": "string"
+ },
+ "price": {
+ "description": "BRL",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "store": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "store",
+ "price",
+ "coupon_code",
+ "expired",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "price_stats": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "avg": {
+ "description": "BRL",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "max": {
+ "description": "BRL",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "min": {
+ "description": "BRL",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "records": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "min",
+ "avg",
+ "max",
+ "records"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pros": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "review_summary": {
+ "description": "Summary of reviews and expert opinion",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "specs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "description": "Price facts: discount, price verdict and history",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url",
+ "image_url",
+ "lowest_price",
+ "lowest_price_store",
+ "offers",
+ "price_stats",
+ "summary",
+ "review_summary",
+ "pros",
+ "cons",
+ "specs",
+ "faq"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]