{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moment/main/json-schema/moment-yields-schema.json",
  "title": "Yields",
  "description": "Yield to worst and yield to maturity.",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moment-analytics-api-openapi.yml#/components/schemas/Yields",
  "type": "object",
  "properties": {
    "yield_to_worst": {
      "type": [
        "number",
        "null"
      ],
      "description": "Yield to worst, when available."
    },
    "yield_to_maturity": {
      "type": [
        "number",
        "null"
      ],
      "description": "Yield to maturity, when available."
    }
  }
}