changedInput schema / properties / inputs / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "Content entry method",
- "enum": [
- "fine",
- "gross"
- ],
- "type": "string"
- },
- "cost": {
- "description": "Total acquisition cost for this row. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fine": {
- "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "grams": {
- "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "name": {
- "description": "Item or lot name",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "premium": {
- "description": "Total entered collectible premium for this row. Added only to the optional scenario value, never to melt value.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "purity": {
- "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "qty": {
- "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "name",
- "metal",
- "qty",
- "basis",
- "fine",
- "grams",
- "purity",
- "cost",
- "premium"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "items"
- ],
- "type": "object"
- },
- "mode": {
- "const": "collection",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "offers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "Bid format",
- "enum": [
- "percent",
- "below",
- "gram",
- "item"
- ],
- "type": "string"
- },
- "bid": {
- "description": "Bid in selected format. Use 98 for 98%; per-item bids require the item count below.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "days": {
- "description": "Days until proceeds are received. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "expires": {
- "description": "Offer expiry / terms (optional)",
- "maxLength": 100,
- "type": "string"
- },
- "fee": {
- "description": "Fee on gross proceeds (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fixed": {
- "description": "Total shipping, insurance, assay and other fixed deductions. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "name": {
- "description": "Dealer / offer",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "description": "Number of items covered by per-item bid. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "name",
- "basis",
- "bid",
- "quantity",
- "fee",
- "fixed",
- "days",
- "expires"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "ounces": {
- "description": "Total fine troy ounces in the lot. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "metal",
- "ounces",
- "offers"
- ],
- "type": "object"
- },
- "mode": {
- "const": "offers",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "annual": {
- "description": "Annual financing rate on acquisition cost (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "days": {
- "description": "Settlement delay (days). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fixed": {
- "description": "Total refining, assay, transport and insurance charges. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "Content entry method",
- "enum": [
- "fine",
- "gross"
- ],
- "type": "string"
- },
- "cost": {
- "description": "Acquisition cost for this row. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fine": {
- "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "grams": {
- "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "name": {
- "description": "Item or lot name",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "payable": {
- "description": "Payable share of RECOVERED metal (%). Do not apply recovery twice if your quoted payout already includes it.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "purity": {
- "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "qty": {
- "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "recovery": {
- "description": "Expected recovery (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "name",
- "metal",
- "qty",
- "basis",
- "fine",
- "grams",
- "purity",
- "recovery",
- "payable",
- "cost"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "minimum": {
- "description": "Minimum TOTAL charge floor, if greater than the charges above. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "items",
- "fixed",
- "minimum",
- "days",
- "annual"
- ],
- "type": "object"
- },
- "mode": {
- "const": "refining",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "budget": {
- "description": "Maximum all-in budget (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fee": {
- "description": "Payment surcharge on merchandise (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "freeAt": {
- "description": "Free-shipping merchandise threshold (0 = never waived). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "minimum": {
- "description": "Minimum merchandise order. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "products": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ask": {
- "description": "Ask per item (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fine": {
- "description": "Fine troy ounces per item. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "max": {
- "description": "Maximum items to consider. Whole count, 0–100. Combined search must stay within 250,000 combinations.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "name": {
- "description": "Product",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "fine",
- "ask",
- "max"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "minItems": 1,
- "type": "array"
- },
- "shipping": {
- "description": "Order shipping charge. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "tax": {
- "description": "Entered tax rate on merchandise (%). No tax rules inferred; shipping taxation and other bases require manual charges.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "metal",
- "budget",
- "products",
- "shipping",
- "freeAt",
- "minimum",
- "fee",
- "tax"
- ],
- "type": "object"
- },
- "mode": {
- "const": "basket",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "fixed": {
- "description": "Total liquidation charges. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ask": {
- "description": "Total intended customer selling price for this row. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "basis": {
- "description": "Content entry method",
- "enum": [
- "fine",
- "gross"
- ],
- "type": "string"
- },
- "bid": {
- "description": "Liquidation bid as % of spot. ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "cost": {
- "description": "Total acquisition cost for this row. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fine": {
- "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "grams": {
- "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "name": {
- "description": "Item or lot name",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "purity": {
- "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "qty": {
- "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "replacement": {
- "description": "Replacement premium per fine ounce (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "name",
- "metal",
- "qty",
- "basis",
- "fine",
- "grams",
- "purity",
- "cost",
- "bid",
- "replacement",
- "ask"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "move": {
- "description": "Downside spot-price reduction (%). Same percentage applied to all metals; not a forecast.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "items",
- "fixed",
- "move"
- ],
- "type": "object"
- },
- "mode": {
- "const": "inventory",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "finished": {
- "description": "Fine troy ounces required in finished job. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "hours": {
- "description": "Labor hours. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "margin": {
- "description": "Required gross margin (%). Must be below 100%. Excludes sales tax and profit guarantees.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "overhead": {
- "description": "Other job costs (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "premium": {
- "description": "Purchased-metal premium per fine ounce (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "quote": {
- "description": "Existing customer quote to test (USD; 0 = use calculated price). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "rate": {
- "description": "Labor cost per hour (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "scrapBid": {
- "description": "Realizable scrap payout as % of spot. ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "scrapRecovery": {
- "description": "Recoverable share of fabrication loss (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "yield": {
- "description": "Fabrication yield (%). Must exceed zero. Required purchased input = finished fine content / yield.",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "metal",
- "finished",
- "yield",
- "scrapRecovery",
- "scrapBid",
- "premium",
- "hours",
- "rate",
- "overhead",
- "margin",
- "quote"
- ],
- "type": "object"
- },
- "mode": {
- "const": "job",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "figures": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "description": "Acquisition cost of the lot (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "cash": {
- "description": "Minimum net cash proceeds needed (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "contentLow": {
- "description": "Low scenario: actual fine content as % of nominal. ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "down": {
- "description": "Low scenario: spot-price reduction (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "margin": {
- "description": "Required net margin on sale proceeds (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "maxDays": {
- "description": "Latest acceptable settlement (days). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "metal": {
- "description": "Metal",
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "offers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "bid": {
- "description": "Bid as % of spot. ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "days": {
- "description": "Settlement delay (days). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "fee": {
- "description": "Fee on gross proceeds (%). ",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "fixed": {
- "description": "Fixed sale deductions (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "name": {
- "description": "Offer",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "bid",
- "fee",
- "fixed",
- "days"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "minItems": 1,
- "type": "array"
- },
- "ounces": {
- "description": "Nominal fine troy ounces in the lot. ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "unknown": {
- "description": "Additional possible fixed deduction in LOW scenario (USD). ",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "up": {
- "description": "High scenario: spot-price increase (%). Scenario, not probability or forecast.",
- "maximum": 1000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "metal",
- "ounces",
- "basis",
- "contentLow",
- "down",
- "up",
- "margin",
- "cash",
- "maxDays",
- "unknown",
- "offers"
- ],
- "type": "object"
- },
- "mode": {
- "const": "feasibility",
- "type": "string"
- },
- "priceSnapshots": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "enum": [
- "USD"
- ],
- "type": "string"
- },
- "price": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "provider": {
- "enum": [
- "Gold API"
- ],
- "type": "string"
- },
- "symbol": {
- "enum": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "string"
- },
- "updatedAt": {
- "format": "date-time",
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "price",
- "updatedAt",
- "currency",
- "provider"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "prices": {
- "additionalProperties": false,
- "properties": {
- "XAG": {
- "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XAU": {
- "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPD": {
- "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- },
- "XPT": {
- "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
- "maximum": 1000000000,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "XAU",
- "XAG",
- "XPT",
- "XPD"
- ],
- "type": "object"
- }
- },
- "required": [
- "mode",
- "prices",
- "figures"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ask": {
+ "description": "Ask or premium in the selected format. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "basis": {
+ "description": "Merchandise ask format",
+ "enum": [
+ "percent",
+ "above",
+ "total"
+ ],
+ "type": "string"
+ },
+ "expires": {
+ "description": "Offer observation / expiry / terms",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "fee": {
+ "description": "Payment surcharge on merchandise (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fixed": {
+ "description": "Total shipping, insurance and other fixed charges (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "description": "Seller / offer",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "tax": {
+ "description": "Entered tax on merchandise (%). This method taxes merchandise only. No jurisdiction or exemption is inferred.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "basis",
+ "ask",
+ "fee",
+ "tax",
+ "fixed",
+ "expires"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "ounces": {
+ "description": "Fine troy ounces covered by EACH complete offer. Use equivalent products and quantities. A collectible premium is part of the entered ask.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "ounces",
+ "offers"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "purchase",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "ask": {
+ "description": "Existing pre-tax customer sale to test (USD; 0 = use solved price). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fee": {
+ "description": "Selling fee as % of pre-tax customer sale. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "margin": {
+ "description": "Target profit as % of pre-tax customer sale. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "ounces": {
+ "description": "Fine troy ounces to replace. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "premium": {
+ "description": "Replacement premium per fine troy ounce (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "purchaseCosts": {
+ "description": "Other acquisition, shipping and processing costs (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "saleCosts": {
+ "description": "Fixed selling and fulfillment costs (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "ounces",
+ "premium",
+ "purchaseCosts",
+ "saleCosts",
+ "fee",
+ "margin",
+ "ask"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "replacement",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "down": {
+ "description": "Low spot scenario: decrease from reference (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fee": {
+ "description": "Selling fee as % of pre-tax customer sale. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "locked": {
+ "description": "Share of required ounces already price-locked (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "lockedPrice": {
+ "description": "Locked all-in material price per fine troy ounce (USD). Includes premium for the locked portion; zero is valid only when nothing is locked.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "margin": {
+ "description": "Target profit as % of pre-tax customer sale. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "other": {
+ "description": "Other job and fixed transaction costs (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "ounces": {
+ "description": "Total fine troy ounces required. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "premium": {
+ "description": "Premium per fine troy ounce on the UNLOCKED portion (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sale": {
+ "description": "Fixed pre-tax customer sale (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "up": {
+ "description": "High spot scenario: increase from reference (%). Scenario only, not a forecast.",
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "ounces",
+ "locked",
+ "lockedPrice",
+ "premium",
+ "other",
+ "sale",
+ "fee",
+ "margin",
+ "down",
+ "up"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "exposure",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "Content entry method",
+ "enum": [
+ "fine",
+ "gross"
+ ],
+ "type": "string"
+ },
+ "cost": {
+ "description": "Total acquisition cost for this row. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fine": {
+ "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "grams": {
+ "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Item or lot name",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "premium": {
+ "description": "Total entered collectible premium for this row. Added only to the optional scenario value, never to melt value.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "purity": {
+ "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qty": {
+ "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "metal",
+ "qty",
+ "basis",
+ "fine",
+ "grams",
+ "purity",
+ "cost",
+ "premium"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "collection",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "Bid format",
+ "enum": [
+ "percent",
+ "below",
+ "gram",
+ "item"
+ ],
+ "type": "string"
+ },
+ "bid": {
+ "description": "Bid in selected format. Use 98 for 98%; per-item bids require the item count below.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "days": {
+ "description": "Days until proceeds are received. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "expires": {
+ "description": "Offer expiry / terms (optional)",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "fee": {
+ "description": "Fee on gross proceeds (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fixed": {
+ "description": "Total shipping, insurance, assay and other fixed deductions. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "description": "Dealer / offer",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "quantity": {
+ "description": "Number of items covered by per-item bid. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "basis",
+ "bid",
+ "quantity",
+ "fee",
+ "fixed",
+ "days",
+ "expires"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "ounces": {
+ "description": "Total fine troy ounces in the lot. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "ounces",
+ "offers"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "offers",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "annual": {
+ "description": "Annual financing rate on acquisition cost (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "days": {
+ "description": "Settlement delay (days). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fixed": {
+ "description": "Total refining, assay, transport and insurance charges. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "Content entry method",
+ "enum": [
+ "fine",
+ "gross"
+ ],
+ "type": "string"
+ },
+ "cost": {
+ "description": "Acquisition cost for this row. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fine": {
+ "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "grams": {
+ "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Item or lot name",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "payable": {
+ "description": "Payable share of RECOVERED metal (%). Do not apply recovery twice if your quoted payout already includes it.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "purity": {
+ "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qty": {
+ "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "recovery": {
+ "description": "Expected recovery (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "metal",
+ "qty",
+ "basis",
+ "fine",
+ "grams",
+ "purity",
+ "recovery",
+ "payable",
+ "cost"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "minimum": {
+ "description": "Minimum TOTAL charge floor, if greater than the charges above. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "fixed",
+ "minimum",
+ "days",
+ "annual"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "refining",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "budget": {
+ "description": "Maximum all-in budget (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fee": {
+ "description": "Payment surcharge on merchandise (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "freeAt": {
+ "description": "Free-shipping merchandise threshold (0 = never waived). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "minimum": {
+ "description": "Minimum merchandise order. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "products": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ask": {
+ "description": "Ask per item (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fine": {
+ "description": "Fine troy ounces per item. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "max": {
+ "description": "Maximum items to consider. Whole count, 0–100. Combined search must stay within 250,000 combinations.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "description": "Product",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "fine",
+ "ask",
+ "max"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "minItems": 1,
+ "type": "array"
+ },
+ "shipping": {
+ "description": "Order shipping charge. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "tax": {
+ "description": "Entered tax rate on merchandise (%). No tax rules inferred; shipping taxation and other bases require manual charges.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "budget",
+ "products",
+ "shipping",
+ "freeAt",
+ "minimum",
+ "fee",
+ "tax"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "basket",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "fixed": {
+ "description": "Total liquidation charges. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ask": {
+ "description": "Total intended customer selling price for this row. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "basis": {
+ "description": "Content entry method",
+ "enum": [
+ "fine",
+ "gross"
+ ],
+ "type": "string"
+ },
+ "bid": {
+ "description": "Liquidation bid as % of spot. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "cost": {
+ "description": "Total acquisition cost for this row. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fine": {
+ "description": "Fine troy ounces per item. Used only for known fine content. A 1 oz Gold Eagle contains 1 fine troy oz; do not apply purity again.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "grams": {
+ "description": "Gross grams per item. Used only for measured gross weight. Exclude stones and nonmetal parts.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "description": "Item or lot name",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "purity": {
+ "description": "Purity of gross weight (%). Used only with gross grams; an entered hallmark is not an assay.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "qty": {
+ "description": "Quantity. Whole items or divisible measured lots; must be greater than zero.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "replacement": {
+ "description": "Replacement premium per fine ounce (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "metal",
+ "qty",
+ "basis",
+ "fine",
+ "grams",
+ "purity",
+ "cost",
+ "bid",
+ "replacement",
+ "ask"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "move": {
+ "description": "Downside spot-price reduction (%). Same percentage applied to all metals; not a forecast.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "fixed",
+ "move"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "inventory",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "finished": {
+ "description": "Fine troy ounces required in finished job. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "hours": {
+ "description": "Labor hours. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "margin": {
+ "description": "Required gross margin (%). Must be below 100%. Excludes sales tax and profit guarantees.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "overhead": {
+ "description": "Other job costs (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "premium": {
+ "description": "Purchased-metal premium per fine ounce (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "quote": {
+ "description": "Existing customer quote to test (USD; 0 = use calculated price). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "rate": {
+ "description": "Labor cost per hour (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scrapBid": {
+ "description": "Realizable scrap payout as % of spot. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "scrapRecovery": {
+ "description": "Recoverable share of fabrication loss (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "yield": {
+ "description": "Fabrication yield (%). Must exceed zero. Required purchased input = finished fine content / yield.",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "finished",
+ "yield",
+ "scrapRecovery",
+ "scrapBid",
+ "premium",
+ "hours",
+ "rate",
+ "overhead",
+ "margin",
+ "quote"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "job",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "figures": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "description": "Acquisition cost of the lot (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "cash": {
+ "description": "Minimum net cash proceeds needed (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "contentLow": {
+ "description": "Low scenario: actual fine content as % of nominal. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "down": {
+ "description": "Low scenario: spot-price reduction (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "margin": {
+ "description": "Required net margin on sale proceeds (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxDays": {
+ "description": "Latest acceptable settlement (days). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "metal": {
+ "description": "Metal",
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bid": {
+ "description": "Bid as % of spot. ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "days": {
+ "description": "Settlement delay (days). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fee": {
+ "description": "Fee on gross proceeds (%). ",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "fixed": {
+ "description": "Fixed sale deductions (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "name": {
+ "description": "Offer",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "bid",
+ "fee",
+ "fixed",
+ "days"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "minItems": 1,
+ "type": "array"
+ },
+ "ounces": {
+ "description": "Nominal fine troy ounces in the lot. ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "unknown": {
+ "description": "Additional possible fixed deduction in LOW scenario (USD). ",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "up": {
+ "description": "High scenario: spot-price increase (%). Scenario, not probability or forecast.",
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "ounces",
+ "basis",
+ "contentLow",
+ "down",
+ "up",
+ "margin",
+ "cash",
+ "maxDays",
+ "unknown",
+ "offers"
+ ],
+ "type": "object"
+ },
+ "mode": {
+ "const": "feasibility",
+ "type": "string"
+ },
+ "priceSnapshots": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "enum": [
+ "USD"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "provider": {
+ "enum": [
+ "Gold API"
+ ],
+ "type": "string"
+ },
+ "symbol": {
+ "enum": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "string"
+ },
+ "updatedAt": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "price",
+ "updatedAt",
+ "currency",
+ "provider"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "prices": {
+ "additionalProperties": false,
+ "properties": {
+ "XAG": {
+ "description": "Silver USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XAU": {
+ "description": "Gold USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPD": {
+ "description": "Palladium USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "XPT": {
+ "description": "Platinum USD per fine troy ounce. Enter your dated reference or apply a refreshed quote. Illustrative example prices are not current prices.",
+ "maximum": 1000000000,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "XAU",
+ "XAG",
+ "XPT",
+ "XPD"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "prices",
+ "figures"
+ ],
+ "type": "object"
+ }
+]