{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-nncurve-request-schema.json",
  "title": "NNCurveRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fincept-in-quantlib-ml-api-openapi.yml#/components/schemas/NNCurveRequest",
  "properties": {
    "tenors": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Tenors"
    },
    "rates": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Rates"
    },
    "query_tenors": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Query Tenors"
    },
    "hidden_layers": {
      "items": {
        "type": "integer",
        "maximum": 1024.0,
        "minimum": 1.0
      },
      "type": "array",
      "maxItems": 8,
      "title": "Hidden Layers",
      "default": [
        32,
        16
      ]
    },
    "epochs": {
      "type": "integer",
      "maximum": 500.0,
      "minimum": 1.0,
      "title": "Epochs",
      "default": 100
    }
  },
  "type": "object",
  "required": [
    "tenors",
    "rates",
    "query_tenors"
  ]
}