changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "limit": {
+ "type": "integer"
+ },
+ "next_offset": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "business": {
+ "type": "string"
+ },
+ "business_slug": {
+ "type": "string"
+ },
+ "business_url": {
+ "type": "string"
+ },
+ "category": {
+ "type": "string"
+ },
+ "category_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "membership_required_to_unlock": {
+ "type": "boolean"
+ },
+ "offer_badge": {
+ "type": "string"
+ },
+ "offer_display": {
+ "additionalProperties": false,
+ "properties": {
+ "attributes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "value",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "business_slug": {
+ "type": "string"
+ },
+ "features": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "item_name": {
+ "type": "string"
+ },
+ "minimum_spend": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "applies_to": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "qualifier": {
+ "enum": [
+ "at_least",
+ "over"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "qualifier",
+ "applies_to",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "offer_text": {
+ "type": "string"
+ },
+ "price_now": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "label"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "price_was": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "label"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "product_brand": {
+ "type": "string"
+ },
+ "product_model": {
+ "type": "string"
+ },
+ "product_type": {
+ "type": "string"
+ },
+ "savings_amount": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "applies_to": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "qualifier": {
+ "enum": [
+ "exact",
+ "up_to",
+ "from"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "qualifier",
+ "applies_to",
+ "label",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "savings_percent": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "applies_to": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "qualifier": {
+ "enum": [
+ "exact",
+ "up_to",
+ "from"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "value",
+ "qualifier",
+ "applies_to",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "schema_version": {
+ "enum": [
+ 0,
+ 1
+ ],
+ "type": "integer"
+ },
+ "store_name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "business_slug",
+ "store_name",
+ "item_name",
+ "product_brand",
+ "product_model",
+ "product_type",
+ "attributes",
+ "offer_text",
+ "features",
+ "savings_percent",
+ "savings_amount",
+ "minimum_spend",
+ "price_was",
+ "price_now"
+ ],
+ "type": "object"
+ },
+ "price_now": {
+ "type": "string"
+ },
+ "price_was": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "business",
+ "business_slug",
+ "title",
+ "region",
+ "category",
+ "category_name",
+ "price_was",
+ "price_now",
+ "offer_badge",
+ "offer_display",
+ "expires_at",
+ "updated_at",
+ "url",
+ "business_url",
+ "membership_required_to_unlock"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "offset": {
+ "type": "integer"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total",
+ "offset",
+ "limit",
+ "next_offset",
+ "offers"
+ ],
+ "type": "object"
+}