{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metalcharts-org/json-schema/metalcharts-org-get-v1-shanghai-response-schema.json",
  "title": "GetV1ShanghaiResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/metalcharts-org-openapi-generated.yml#/components/schemas/GetV1ShanghaiResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "object"
    },
    "data.XAU": {
      "type": "object",
      "description": "Gold data."
    },
    "data.XAU.symbol": {
      "type": "string"
    },
    "data.XAU.exchange": {
      "type": "string"
    },
    "data.XAU.marketType": {
      "type": "string"
    },
    "data.XAU.price": {
      "type": "number"
    },
    "data.XAU.priceCNY": {
      "type": "number"
    },
    "data.XAU.timestamp": {
      "type": "string"
    },
    "data.XAU.exchangeRate": {
      "type": "number"
    },
    "data.XAU.source": {
      "type": "string"
    },
    "data.XAU.vatInclusive": {
      "type": "boolean"
    },
    "data.XAU.vatRate": {
      "type": "number"
    },
    "data.XAU.priceExVat": {
      "type": "number"
    },
    "data.XAU.priceCNYExVat": {
      "type": "number"
    },
    "data.XAU.premiumPercent": {
      "type": "number"
    },
    "data.XAU.premiumPercentExVat": {
      "type": "number"
    },
    "data.XAG": {
      "type": "object",
      "description": "Silver data (same fields as XAU)."
    }
  }
}