{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-fixed-income-latest-quotes-resp-schema.json",
  "title": "fixed_income_latest_quotes_resp",
  "description": "Latest fixed-income best bid and ask quotes 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_quotes_resp",
  "properties": {
    "quotes": {
      "additionalProperties": {
        "$ref": "#/$defs/fixed_income_quote"
      },
      "type": "object"
    }
  },
  "required": [
    "quotes"
  ],
  "type": "object",
  "$defs": {
    "fixed_income_quote": {
      "description": "The best bid and ask information for a given fixed income security. A value of 0 means there is no active bid or ask for that field.\n",
      "properties": {
        "ams": {
          "description": "Best ask minimum trade size in par value.",
          "format": "int64",
          "type": "integer"
        },
        "ap": {
          "description": "Best ask price. 0 means there is no active ask.",
          "format": "double",
          "type": "number"
        },
        "as": {
          "description": "Best ask size in par value. 0 means there is no active ask.",
          "format": "int64",
          "type": "integer"
        },
        "aytm": {
          "description": "Best ask yield to maturity.",
          "format": "double",
          "type": "number"
        },
        "aytw": {
          "description": "Best ask yield to worst.",
          "format": "double",
          "type": "number"
        },
        "bms": {
          "description": "Best bid minimum trade size in par value.",
          "format": "int64",
          "type": "integer"
        },
        "bp": {
          "description": "Best bid price. 0 means there is no active bid.",
          "format": "double",
          "type": "number"
        },
        "bs": {
          "description": "Best bid size in par value. 0 means there is no active bid.",
          "format": "int64",
          "type": "integer"
        },
        "bytm": {
          "description": "Best bid yield to maturity.",
          "format": "double",
          "type": "number"
        },
        "bytw": {
          "description": "Best bid yield to worst.",
          "format": "double",
          "type": "number"
        },
        "t": {
          "$ref": "#/$defs/timestamp"
        }
      },
      "required": [
        "t",
        "bp",
        "bs",
        "bms",
        "bytm",
        "bytw",
        "ap",
        "as",
        "ams",
        "aytm",
        "aytw"
      ],
      "type": "object"
    },
    "timestamp": {
      "description": "Timestamp in RFC-3339 format with nanosecond precision.",
      "format": "date-time",
      "type": "string"
    }
  }
}