{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/commoditypriceapi/main/json-schema/commoditypriceapi-get-v3-rates-rateid-response-schema.json",
  "title": "GetV3RatesRateidResponse",
  "x-generated": "2026-10-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/commoditypriceapi-openapi-generated.yml#/components/schemas/GetV3RatesRateidResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "startDate": {
      "type": "string",
      "format": "date"
    },
    "endDate": {
      "type": "string",
      "format": "date"
    },
    "rates": {
      "type": "object",
      "properties": {
        "WTIOIL-FUT": {
          "type": "object",
          "properties": {
            "startRate": {
              "type": "number"
            },
            "endRate": {
              "type": "number"
            },
            "change": {
              "type": "number"
            },
            "changePercent": {
              "type": "number"
            }
          }
        },
        "XAU": {
          "type": "object",
          "properties": {
            "startRate": {
              "type": "number"
            },
            "endRate": {
              "type": "number"
            },
            "change": {
              "type": "number"
            },
            "changePercent": {
              "type": "number"
            }
          }
        },
        "XPT": {
          "type": "object",
          "properties": {
            "startRate": {
              "type": "number"
            },
            "endRate": {
              "type": "number"
            },
            "change": {
              "type": "number"
            },
            "changePercent": {
              "type": "number"
            }
          }
        }
      }
    },
    "unresolved": {
      "type": "object",
      "properties": {
        "PL": {
          "type": "object",
          "properties": {
            "message": {
              "type": "string"
            },
            "resolvedTo": {
              "type": "string"
            }
          }
        },
        "ZW": {
          "type": "object",
          "properties": {
            "message": {
              "type": "string"
            },
            "suggestions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}