{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-quantlib-api-instruments-bond-yield-request-schema.json",
  "title": "BondYieldRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fincept-in-quantlib-instruments-api-openapi.yml#/components/schemas/quantlib_api__instruments__BondYieldRequest",
  "properties": {
    "issue_date": {
      "type": "string",
      "title": "Issue Date"
    },
    "maturity_date": {
      "type": "string",
      "title": "Maturity Date"
    },
    "coupon_rate": {
      "type": "number",
      "title": "Coupon Rate"
    },
    "face_value": {
      "type": "number",
      "title": "Face Value",
      "default": 100.0
    },
    "frequency": {
      "type": "integer",
      "title": "Frequency",
      "default": 2
    },
    "day_count": {
      "type": "string",
      "title": "Day Count",
      "default": "ACT/365"
    },
    "settlement_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Settlement Date"
    },
    "clean_price": {
      "type": "number",
      "title": "Clean Price"
    }
  },
  "type": "object",
  "required": [
    "issue_date",
    "maturity_date",
    "coupon_rate",
    "clean_price"
  ]
}