changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "attribution": {
- "type": "string"
- },
- "credit": {
- "type": "string"
- },
- "customization": {
- "type": "string"
- },
- "data_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "dealers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "checked": {
- "type": "string"
- },
- "dealer": {
- "type": "string"
- },
- "partner": {
- "type": "boolean"
- },
- "premium_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "price_usd": {
- "type": "number"
- },
- "rank": {
- "type": "integer"
- },
- "stock_status": {
- "const": "in_stock"
- }
- },
- "required": [
- "rank",
- "dealer",
- "price_usd",
- "premium_pct",
- "checked",
- "stock_status",
- "partner"
- ],
- "type": "object"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "disclaimer": {
- "type": "string"
- },
- "eligible_offers_n": {
- "type": "integer"
- },
- "excluded_dealers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "checked": {
- "type": [
- "string",
- "null"
- ]
- },
- "dealer": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "dealer",
- "reason",
- "checked"
- ],
- "type": "object"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "excluded_offers": {
- "additionalProperties": false,
- "properties": {
- "future_timestamp": {
- "type": "integer"
- },
- "invalid_price": {
- "type": "integer"
- },
- "invalid_timestamp": {
- "type": "integer"
- },
- "missing_timestamp": {
- "type": "integer"
- },
- "no_price_for_payment_method": {
- "type": "integer"
- },
- "out_of_stock": {
- "type": "integer"
- },
- "stale": {
- "type": "integer"
- },
- "unavailable": {
- "type": "integer"
- }
- },
- "required": [
- "stale",
- "out_of_stock",
- "unavailable",
- "no_price_for_payment_method",
- "missing_timestamp",
- "invalid_timestamp",
- "future_timestamp",
- "invalid_price"
- ],
- "type": "object"
- },
- "freshness": {
- "additionalProperties": false,
- "properties": {
- "premium_index_age_minutes": {
- "type": [
- "integer",
- "null"
- ]
- },
- "premium_index_asof": {
- "type": [
- "string",
- "null"
- ]
- },
- "premium_index_stale": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "prices_age_minutes": {
- "type": [
- "integer",
- "null"
- ]
- },
- "prices_asof": {
- "type": [
- "string",
- "null"
- ]
- },
- "prices_stale": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "spot_age_minutes": {
- "type": [
- "integer",
- "null"
- ]
- },
- "spot_asof": {
- "type": [
- "string",
- "null"
- ]
- },
- "spot_origin": {
- "type": "string"
- },
- "spot_stale": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "stale": {
- "type": "boolean"
- },
- "thresholds": {
- "additionalProperties": false,
- "properties": {
- "premium_index_minutes": {
- "type": "integer"
- },
- "prices_minutes": {
- "type": "integer"
- },
- "shipping_days": {
- "type": "integer"
- },
- "spot_minutes": {
- "type": "integer"
- }
- },
- "required": [
- "spot_minutes",
- "prices_minutes",
- "shipping_days"
- ],
- "type": "object"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "spot_asof",
- "spot_age_minutes",
- "spot_stale",
- "prices_asof",
- "prices_age_minutes",
- "prices_stale",
- "stale",
- "thresholds"
- ],
- "type": "object"
- },
- "market": {
- "additionalProperties": false,
- "properties": {
- "max_premium_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "max_usd": {
- "type": "number"
- },
- "median_premium_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "median_usd": {
- "type": "number"
- },
- "min_premium_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "min_usd": {
- "type": "number"
- },
- "p25_usd": {
- "type": "number"
- },
- "p75_usd": {
- "type": "number"
- }
- },
- "required": [
- "min_usd",
- "p25_usd",
- "median_usd",
- "p75_usd",
- "max_usd",
- "min_premium_pct",
- "median_premium_pct",
- "max_premium_pct"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "melt_value_usd": {
- "type": [
- "number",
- "null"
- ]
- },
- "method": {
- "type": "string"
- },
- "min_eligible_offers": {
- "type": "integer"
- },
- "payment": {
- "enum": [
- "bank",
- "card"
- ]
- },
- "payment_label": {
- "type": "string"
- },
- "position": {
- "additionalProperties": false,
- "properties": {
- "band": {
- "enum": [
- "below_all_offers",
- "below_median",
- "at_median",
- "above_median",
- "above_all_offers"
- ]
- },
- "of_n": {
- "type": "integer"
- },
- "offers_priced_above_n": {
- "type": "integer"
- },
- "offers_priced_below_n": {
- "type": "integer"
- },
- "offers_priced_same_n": {
- "type": "integer"
- },
- "pct_of_offers_at_or_below": {
- "type": "number"
- },
- "rank_if_listed": {
- "type": "integer"
- },
- "vs_lowest_usd": {
- "type": "number"
- },
- "vs_median_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "vs_median_usd": {
- "type": "number"
- }
- },
- "required": [
- "rank_if_listed",
- "of_n",
- "offers_priced_below_n",
- "offers_priced_same_n",
- "offers_priced_above_n",
- "pct_of_offers_at_or_below",
- "band",
- "vs_median_usd",
- "vs_median_pct",
- "vs_lowest_usd"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "premium_index": {
- "additionalProperties": false,
- "properties": {
- "asof": {
- "type": [
- "string",
- "null"
- ]
- },
- "dealer_median_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "dealers": {
- "type": [
- "integer",
- "null"
- ]
- },
- "low_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "low_pct_7d_median": {
- "type": [
- "number",
- "null"
- ]
- },
- "low_pct_7d_min": {
- "type": [
- "number",
- "null"
- ]
- },
- "snapshots_7d": {
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "low_pct",
- "dealer_median_pct",
- "low_pct_7d_median",
- "low_pct_7d_min",
- "snapshots_7d",
- "dealers",
- "asof"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "product": {
- "additionalProperties": false,
- "properties": {
- "metal": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "troy_oz": {
- "type": "number"
- }
- },
- "required": [
- "slug",
- "name",
- "metal",
- "troy_oz"
- ],
- "type": "object"
- },
- "rank_basis": {
- "additionalProperties": false,
- "properties": {
- "dealer_count": {
- "type": "integer"
- },
- "dealers": {
- "items": {
- "type": "string"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "snapshot_timestamp": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "dealer_count",
- "dealers",
- "snapshot_timestamp"
- ],
- "type": "object"
- },
- "source_url": {
- "type": "string"
- },
- "spot_usd_per_ozt": {
- "type": [
- "number",
- "null"
- ]
- },
- "stale": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "ok",
- "insufficient_data"
- ]
- },
- "terms": {
- "type": "string"
- },
- "tool": {
- "type": "string"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "your_premium_pct": {
- "type": [
- "number",
- "null"
- ]
- },
- "your_price_usd": {
- "type": "number"
- }
- },
- "required": [
- "status",
- "product",
- "payment",
- "payment_label",
- "your_price_usd",
- "your_premium_pct",
- "spot_usd_per_ozt",
- "melt_value_usd",
- "eligible_offers_n",
- "min_eligible_offers",
- "excluded_offers",
- "market",
- "position",
- "dealers",
- "excluded_dealers",
- "rank_basis",
- "premium_index",
- "method",
- "tool",
- "data_as_of",
- "freshness",
- "stale",
- "warnings",
- "attribution",
- "source_url",
- "credit",
- "terms",
- "customization",
- "disclaimer"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "data": {
- "additionalProperties": false,
- "properties": {
- "docs": {
- "type": "string"
- },
- "example_arguments": {
- "type": "object"
- }
- },
- "type": "object"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "ok": {
- "const": false
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "ok",
- "tool",
- "error",
- "data_as_of"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "attribution_credit": {
+ "additionalProperties": false,
+ "properties": {
+ "required": {
+ "type": "boolean"
+ },
+ "terms_url": {
+ "type": "string"
+ },
+ "text": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "url",
+ "required",
+ "terms_url"
+ ],
+ "type": "object"
+ },
+ "credit": {
+ "type": "string"
+ },
+ "customization": {
+ "type": "string"
+ },
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dealers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "checked": {
+ "type": "string"
+ },
+ "dealer": {
+ "type": "string"
+ },
+ "partner": {
+ "type": "boolean"
+ },
+ "premium_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "price_usd": {
+ "type": "number"
+ },
+ "rank": {
+ "type": "integer"
+ },
+ "stock_status": {
+ "const": "in_stock"
+ }
+ },
+ "required": [
+ "rank",
+ "dealer",
+ "price_usd",
+ "premium_pct",
+ "checked",
+ "stock_status",
+ "partner"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "eligible_offers_n": {
+ "type": "integer"
+ },
+ "excluded_dealers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "checked": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dealer": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "dealer",
+ "reason",
+ "checked"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "excluded_offers": {
+ "additionalProperties": false,
+ "properties": {
+ "future_timestamp": {
+ "type": "integer"
+ },
+ "invalid_price": {
+ "type": "integer"
+ },
+ "invalid_timestamp": {
+ "type": "integer"
+ },
+ "missing_timestamp": {
+ "type": "integer"
+ },
+ "no_price_for_payment_method": {
+ "type": "integer"
+ },
+ "out_of_stock": {
+ "type": "integer"
+ },
+ "stale": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "stale",
+ "out_of_stock",
+ "unavailable",
+ "no_price_for_payment_method",
+ "missing_timestamp",
+ "invalid_timestamp",
+ "future_timestamp",
+ "invalid_price"
+ ],
+ "type": "object"
+ },
+ "freshness": {
+ "additionalProperties": false,
+ "properties": {
+ "premium_index_age_minutes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "premium_index_asof": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "premium_index_stale": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "prices_age_minutes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "prices_asof": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "prices_stale": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "spot_age_minutes": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "spot_asof": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spot_origin": {
+ "type": "string"
+ },
+ "spot_stale": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "stale": {
+ "type": "boolean"
+ },
+ "thresholds": {
+ "additionalProperties": false,
+ "properties": {
+ "premium_index_minutes": {
+ "type": "integer"
+ },
+ "prices_minutes": {
+ "type": "integer"
+ },
+ "shipping_days": {
+ "type": "integer"
+ },
+ "spot_minutes": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "spot_minutes",
+ "prices_minutes",
+ "shipping_days"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "spot_asof",
+ "spot_age_minutes",
+ "spot_stale",
+ "prices_asof",
+ "prices_age_minutes",
+ "prices_stale",
+ "stale",
+ "thresholds"
+ ],
+ "type": "object"
+ },
+ "market": {
+ "additionalProperties": false,
+ "properties": {
+ "max_premium_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "max_usd": {
+ "type": "number"
+ },
+ "median_premium_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "median_usd": {
+ "type": "number"
+ },
+ "min_premium_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "min_usd": {
+ "type": "number"
+ },
+ "p25_usd": {
+ "type": "number"
+ },
+ "p75_usd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "min_usd",
+ "p25_usd",
+ "median_usd",
+ "p75_usd",
+ "max_usd",
+ "min_premium_pct",
+ "median_premium_pct",
+ "max_premium_pct"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "melt_value_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "method": {
+ "type": "string"
+ },
+ "min_eligible_offers": {
+ "type": "integer"
+ },
+ "payment": {
+ "enum": [
+ "bank",
+ "card"
+ ]
+ },
+ "payment_label": {
+ "type": "string"
+ },
+ "position": {
+ "additionalProperties": false,
+ "properties": {
+ "band": {
+ "enum": [
+ "below_all_offers",
+ "below_median",
+ "at_median",
+ "above_median",
+ "above_all_offers"
+ ]
+ },
+ "of_n": {
+ "type": "integer"
+ },
+ "offers_priced_above_n": {
+ "type": "integer"
+ },
+ "offers_priced_below_n": {
+ "type": "integer"
+ },
+ "offers_priced_same_n": {
+ "type": "integer"
+ },
+ "pct_of_offers_at_or_below": {
+ "type": "number"
+ },
+ "rank_if_listed": {
+ "type": "integer"
+ },
+ "vs_lowest_usd": {
+ "type": "number"
+ },
+ "vs_median_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "vs_median_usd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "rank_if_listed",
+ "of_n",
+ "offers_priced_below_n",
+ "offers_priced_same_n",
+ "offers_priced_above_n",
+ "pct_of_offers_at_or_below",
+ "band",
+ "vs_median_usd",
+ "vs_median_pct",
+ "vs_lowest_usd"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "premium_index": {
+ "additionalProperties": false,
+ "properties": {
+ "asof": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dealer_median_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dealers": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "low_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "low_pct_7d_median": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "low_pct_7d_min": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "snapshots_7d": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "low_pct",
+ "dealer_median_pct",
+ "low_pct_7d_median",
+ "low_pct_7d_min",
+ "snapshots_7d",
+ "dealers",
+ "asof"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "product": {
+ "additionalProperties": false,
+ "properties": {
+ "metal": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "troy_oz": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "slug",
+ "name",
+ "metal",
+ "troy_oz"
+ ],
+ "type": "object"
+ },
+ "rank_basis": {
+ "additionalProperties": false,
+ "properties": {
+ "dealer_count": {
+ "type": "integer"
+ },
+ "dealers": {
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "snapshot_timestamp": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "dealer_count",
+ "dealers",
+ "snapshot_timestamp"
+ ],
+ "type": "object"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "spot_usd_per_ozt": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "stale": {
+ "type": "boolean"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "insufficient_data"
+ ]
+ },
+ "terms": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "your_premium_pct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "your_price_usd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "status",
+ "product",
+ "payment",
+ "payment_label",
+ "your_price_usd",
+ "your_premium_pct",
+ "spot_usd_per_ozt",
+ "melt_value_usd",
+ "eligible_offers_n",
+ "min_eligible_offers",
+ "excluded_offers",
+ "market",
+ "position",
+ "dealers",
+ "excluded_dealers",
+ "rank_basis",
+ "premium_index",
+ "method",
+ "tool",
+ "data_as_of",
+ "freshness",
+ "stale",
+ "warnings",
+ "attribution",
+ "source_url",
+ "credit",
+ "terms",
+ "customization",
+ "disclaimer"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "docs": {
+ "type": "string"
+ },
+ "example_arguments": {
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "const": false
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "tool",
+ "error",
+ "data_as_of"
+ ],
+ "type": "object"
+ }
+]