{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nordlet/main/json-schema/nordlet-gold-quote-response-schema.json",
  "title": "GoldQuoteResponse",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nordlet-openapi.json#/components/schemas/GoldQuoteResponse",
  "type": "object",
  "properties": {
    "ID": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "One price point. Prices are per unit in the requested currency.",
        "properties": {
          "symbol": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "ask": {
            "type": "number"
          },
          "mid": {
            "type": "number"
          },
          "bid": {
            "type": "number"
          },
          "high": {
            "type": "number",
            "description": "Day high."
          },
          "low": {
            "type": "number",
            "description": "Day low."
          },
          "open": {
            "type": "number"
          },
          "close": {
            "type": "number",
            "description": "Previous close."
          },
          "timestamp": {
            "type": "integer",
            "format": "int64",
            "description": "Unix timestamp (seconds) of the quote."
          },
          "change": {
            "type": "number",
            "description": "Change versus previous close."
          },
          "changePercentage": {
            "type": "number"
          },
          "unit": {
            "type": "string",
            "description": "Pricing unit, for example OUNCE (troy ounce)."
          },
          "originalTime": {
            "type": "string",
            "description": "Quote time as reported by the source."
          },
          "extra": {
            "description": "Source-specific extra data, usually null."
          },
          "karat_prices": {
            "type": "object",
            "description": "Mid price scaled by purity.",
            "properties": {
              "24k": {
                "type": "number"
              },
              "18k": {
                "type": "number"
              },
              "14k": {
                "type": "number"
              },
              "9k": {
                "type": "number"
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "results"
  ]
}