changedOutput schema / (root)
Previous value: -{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "anyOf": [
- {
- "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"
- ]
- },
- {
- "required": [
- "ok",
- "tool",
- "error"
- ]
- }
- ],
- "properties": {
- "attribution": {
- "type": "string"
- },
- "attribution_credit": {
- "type": "object"
- },
- "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"
- },
- "error": {
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "formula": {
- "type": "string"
- },
- "freshness": {
- "required": [
- "stale"
- ],
- "type": "object"
- },
- "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"
- },
- "ok": {
- "const": false
- },
- "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"
- },
- "tool": {
- "type": "string"
- },
- "unit": {
- "type": "string"
- },
- "weight": {
- "type": "number"
- },
- "weight_grams": {
- "type": "number"
- }
- },
- "type": "object"
-}New value: +null