addedInput schema / properties / karat
Added value: +{
+ "description": "Gold karat for scrap gold or jewelry (e.g. 10, 14, 18, 22, 24 where 24k=0.999). Use instead of purity.",
+ "maximum": 24,
+ "minimum": 1,
+ "type": "number"
+}
addedInput schema / properties / metal / default
Added value: +"gold"
addedInput schema / properties / metal / description
Added value: +"Metal (defaults to gold when karat is given). Palladium is not tracked."
addedInput schema / properties / offer_usd
Added value: +{
+ "description": "Optional buyer offer in USD to compare against full melt value (returns pct_of_melt).",
+ "exclusiveMinimum": 0,
+ "type": "number"
+}
removedInput schema / properties / purity / default
Removed value: -1
changedInput schema / properties / purity / description
Previous value: -"Metal fineness as a fraction, for example 0.999, 0.9167 (22k), 0.925 (sterling), 0.90 (US 90% coins)."New value: +"Metal fineness as a fraction (0-1), e.g. 0.999, 0.9167 (22k), 0.925 (sterling), 0.90 (90% coin silver). Defaults to 1 when karat is omitted."
removedInput schema / properties / unit / default
Removed value: -"ozt"
changedInput schema / properties / unit / description
Previous value: -"ozt = troy ounce, g = gram, kg = kilogram, dwt = pennyweight."New value: +"Weight unit: ozt = troy ounce (default for bullion), g = gram (default when karat is given), kg = kilogram, dwt = pennyweight."
changedInput schema / properties / weight / description
Previous value: -"Gross weight of the item."New value: +"Gross weight of the item or scrap lot."
changedInput schema / required
Previous value: -[
- "metal",
- "weight"
-]New value: +[
+ "weight"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "below_spot": {
+ "type": "boolean"
+ },
+ "below_spot_warning": {
+ "type": "string"
+ },
+ "canonical_tool": {
+ "type": "string"
+ },
+ "credit": {
+ "type": "string"
+ },
+ "customization": {
+ "type": "string"
+ },
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "deprecation_note": {
+ "type": "string"
+ },
+ "formula": {
+ "type": "string"
+ },
+ "gold_spot_usd_per_ozt": {
+ "type": "number"
+ },
+ "karat": {
+ "type": "number"
+ },
+ "melt_per_gram_usd": {
+ "type": "number"
+ },
+ "melt_value_usd": {
+ "type": "number"
+ },
+ "metal": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "offer": {
+ "additionalProperties": false,
+ "properties": {
+ "offer_usd": {
+ "type": "number"
+ },
+ "pct_of_melt": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "offer_usd",
+ "pct_of_melt"
+ ],
+ "type": "object"
+ },
+ "pct_below_spot": {
+ "type": "number"
+ },
+ "pure_gold_grams": {
+ "type": "number"
+ },
+ "pure_metal_grams": {
+ "type": "number"
+ },
+ "pure_metal_ozt": {
+ "type": "number"
+ },
+ "purity": {
+ "type": "number"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "spot_asof": {
+ "type": [
+ "string",
+ "object",
+ "null"
+ ]
+ },
+ "spot_source": {
+ "type": "string"
+ },
+ "spot_usd_per_ozt": {
+ "type": "number"
+ },
+ "stale": {
+ "type": "string"
+ },
+ "terms": {
+ "type": "string"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "weight": {
+ "type": "number"
+ },
+ "weight_grams": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "metal",
+ "weight",
+ "unit",
+ "purity",
+ "weight_grams",
+ "pure_metal_ozt",
+ "pure_metal_grams",
+ "spot_usd_per_ozt",
+ "melt_value_usd",
+ "melt_per_gram_usd",
+ "formula",
+ "note",
+ "attribution",
+ "source_url",
+ "data_as_of",
+ "credit",
+ "terms",
+ "customization"
+ ],
+ "type": "object"
+}