{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moment/main/json-schema/moment-markup-price-yield-schema.json",
  "title": "Price and yield",
  "description": "Price and yield including markups.",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/moment-analytics-api-openapi.yml#/components/schemas/MarkupPriceYield",
  "type": "object",
  "properties": {
    "price": {
      "type": "number",
      "description": "Price including markups, represented as a percentage of par."
    },
    "yield_to_worst": {
      "type": [
        "number",
        "null"
      ],
      "description": "Yield to worst including markups, when available."
    }
  }
}