{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-nlleast-squares-request-schema.json",
  "title": "NLLeastSquaresRequest",
  "description": "Nonlinear least squares — fit a model to data",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fincept-in-quantlib-numerical-api-openapi.yml#/components/schemas/NLLeastSquaresRequest",
  "properties": {
    "model": {
      "type": "string",
      "title": "Model"
    },
    "x_data": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "X Data"
    },
    "y_data": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Y Data"
    },
    "x0": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "X0"
    }
  },
  "type": "object",
  "required": [
    "model",
    "x_data",
    "y_data",
    "x0"
  ]
}