changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "description": "Currency of every amount, always USD.",
+ "type": "string"
+ },
+ "inputs": {
+ "additionalProperties": false,
+ "description": "The inputs used, with defaults filled in.",
+ "properties": {
+ "ebay_promoted_rate_percent": {
+ "type": "number"
+ },
+ "item_cost": {
+ "type": "number"
+ },
+ "price": {
+ "type": "number"
+ },
+ "shipping_charged": {
+ "type": "number"
+ },
+ "shipping_cost": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "price",
+ "shipping_charged",
+ "item_cost",
+ "shipping_cost",
+ "ebay_promoted_rate_percent"
+ ],
+ "type": "object"
+ },
+ "notes": {
+ "description": "Caveats about the estimate.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "results": {
+ "description": "One entry per platform, best first.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "fee": {
+ "description": "Total fees in USD.",
+ "type": "number"
+ },
+ "fee_breakdown": {
+ "description": "How the fee is made up.",
+ "type": "string"
+ },
+ "margin_percent": {
+ "description": "Profit as a percent of price plus shipping charged.",
+ "type": "number"
+ },
+ "name": {
+ "description": "Platform display name.",
+ "type": "string"
+ },
+ "platform": {
+ "description": "Platform id.",
+ "type": "string"
+ },
+ "profit": {
+ "description": "Profit in USD after item cost and shipping cost, present when costs were given.",
+ "type": "number"
+ },
+ "rates_last_verified": {
+ "description": "Date the platform rate was last verified.",
+ "type": "string"
+ },
+ "roi_percent": {
+ "description": "Profit as a percent of item cost, null when no item cost was given.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "you_keep": {
+ "description": "Sale price plus shipping charged, minus fees, in USD.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "platform",
+ "name",
+ "fee",
+ "you_keep",
+ "fee_breakdown",
+ "rates_last_verified"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "currency",
+ "inputs",
+ "results",
+ "notes"
+ ],
+ "type": "object"
+}