{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-fixed-income-latest-prices-resp-schema.json",
  "title": "fixed_income_latest_prices_resp",
  "description": "Latest fixed-income prices keyed by ISIN.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alpaca-us-market-data-api-openapi.yml#/components/schemas/fixed_income_latest_prices_resp",
  "properties": {
    "prices": {
      "additionalProperties": {
        "$ref": "#/$defs/fixed_income_price"
      },
      "type": "object"
    }
  },
  "required": [
    "prices"
  ],
  "type": "object",
  "$defs": {
    "fixed_income_price": {
      "description": "The price of the instrument as a percentage of its par value.",
      "properties": {
        "p": {
          "description": "Price",
          "format": "double",
          "type": "number"
        },
        "t": {
          "$ref": "#/$defs/timestamp"
        },
        "ytm": {
          "description": "Yield to maturity.",
          "format": "double",
          "type": "number"
        },
        "ytw": {
          "description": "Yield to worst.",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "t",
        "p"
      ],
      "type": "object"
    },
    "timestamp": {
      "description": "Timestamp in RFC-3339 format with nanosecond precision.",
      "format": "date-time",
      "type": "string"
    }
  }
}