changedOutput schema / properties / product / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "base_domain": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "best_discount_percent": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "canonical_url": {
- "format": "uri",
- "type": "string"
- },
- "carddeals_inventory_status": {
- "enum": [
- "included",
- "unavailable"
- ],
- "type": "string"
- },
- "category": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "slug"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "deals": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "conditions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "coupon": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "expiration": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "label",
- "expiration"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "deal_id": {
- "type": "string"
- },
- "disclosure": {
- "type": "string"
- },
- "discount_percent": {
- "type": "number"
- },
- "fetched_at": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id_verification_required": {
- "type": "boolean"
- },
- "in_stock": {
- "const": true,
- "type": "boolean"
- },
- "listings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "balance": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "discount_percent": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "id": {
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "purchase_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "id",
- "balance",
- "price",
- "discount_percent",
- "currency",
- "purchase_url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "provider_name": {
- "type": "string"
- },
- "provider_slug": {
- "type": "string"
- },
- "purchase_url": {
- "format": "uri",
- "type": "string"
- },
- "relationship": {
- "enum": [
- "affiliate",
- "direct"
- ],
- "type": "string"
- },
- "seller_terms": {
- "additionalProperties": false,
- "properties": {
- "note": {
- "type": "string"
- },
- "reported_guarantee_days": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "reported_guarantee_days",
- "note"
- ],
- "type": "object"
- },
- "variant": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "variant_label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "deal_id",
- "provider_name",
- "provider_slug",
- "discount_percent",
- "in_stock",
- "fetched_at",
- "purchase_url",
- "variant",
- "variant_label",
- "coupon",
- "conditions",
- "seller_terms",
- "relationship",
- "disclosure",
- "id_verification_required"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "product_id": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- }
- },
- "required": [
- "product_id",
- "name",
- "slug",
- "canonical_url",
- "base_domain",
- "category",
- "best_discount_percent",
- "carddeals_inventory_status",
- "deals"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base_domain": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "best_discount_percent": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "canonical_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "carddeals_inventory_status": {
+ "enum": [
+ "included",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "category": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "slug"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deals": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "conditions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "coupon": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "expiration": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "label",
+ "expiration"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deal_id": {
+ "type": "string"
+ },
+ "disclosure": {
+ "type": "string"
+ },
+ "discount_percent": {
+ "type": "number"
+ },
+ "fetched_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id_verification_required": {
+ "type": "boolean"
+ },
+ "in_stock": {
+ "const": true,
+ "type": "boolean"
+ },
+ "listings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "balance": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "discount_percent": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "id": {
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "purchase_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "balance",
+ "price",
+ "discount_percent",
+ "currency",
+ "purchase_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "provider_name": {
+ "type": "string"
+ },
+ "provider_slug": {
+ "type": "string"
+ },
+ "purchase_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "relationship": {
+ "enum": [
+ "affiliate",
+ "direct"
+ ],
+ "type": "string"
+ },
+ "seller_terms": {
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": "string"
+ },
+ "reported_guarantee_days": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "reported_guarantee_days",
+ "note"
+ ],
+ "type": "object"
+ },
+ "variant": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "variant_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "deal_id",
+ "provider_name",
+ "provider_slug",
+ "discount_percent",
+ "in_stock",
+ "fetched_at",
+ "purchase_url",
+ "variant",
+ "variant_label",
+ "coupon",
+ "conditions",
+ "seller_terms",
+ "relationship",
+ "disclosure",
+ "id_verification_required"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "product_id": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "product_id",
+ "name",
+ "slug",
+ "canonical_url",
+ "base_domain",
+ "category",
+ "best_discount_percent",
+ "carddeals_inventory_status",
+ "deals"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]