{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monerometrics-net/json-schema/monerometrics-net-price-response-schema.json",
  "title": "PriceResponse",
  "description": "XMR/USD from a centralised reference and from Haveno (RetoSwap).\n\nThe official price is the spot rate exchanges quote; the Haveno street price\nis what XMR actually trades at peer-to-peer, usually at a premium.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monerometrics-net-openapi.json#/components/schemas/PriceResponse",
  "properties": {
    "official_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Official Usd"
    },
    "official_change_24h": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Official Change 24H"
    },
    "official_source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Official Source"
    },
    "haveno_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Usd"
    },
    "haveno_bid": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Bid"
    },
    "haveno_ask": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Ask"
    },
    "premium_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Premium Pct"
    },
    "ask_premium_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ask Premium Pct"
    },
    "haveno_ask_avg": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Ask Avg"
    },
    "ask_avg_premium_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ask Avg Premium Pct"
    },
    "haveno_ask_amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Ask Amount"
    },
    "haveno_ask_offers": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Ask Offers"
    },
    "haveno_bid_avg": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Bid Avg"
    },
    "bid_premium_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bid Premium Pct"
    },
    "bid_avg_premium_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bid Avg Premium Pct"
    },
    "haveno_bid_amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Bid Amount"
    },
    "haveno_bid_offers": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Haveno Bid Offers"
    },
    "round_trip_cost_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Round Trip Cost Pct"
    },
    "premium_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Premium Note"
    }
  },
  "type": "object"
}