{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-interpretability-request-schema.json",
  "title": "InterpretabilityRequest",
  "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/InterpretabilityRequest",
  "properties": {
    "model_predict": {
      "type": "string",
      "title": "Model Predict",
      "default": "logistic"
    },
    "X": {
      "items": {
        "items": {
          "type": "number"
        },
        "type": "array"
      },
      "type": "array",
      "title": "X"
    },
    "y": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Y"
    },
    "method": {
      "type": "string",
      "title": "Method",
      "default": "permutation"
    },
    "n_repeats": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 1.0,
      "title": "N Repeats",
      "default": 5
    },
    "feature_index": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Feature Index",
      "default": 0
    },
    "grid_resolution": {
      "type": "integer",
      "maximum": 200.0,
      "minimum": 2.0,
      "title": "Grid Resolution",
      "default": 20
    }
  },
  "type": "object",
  "required": [
    "X",
    "y"
  ]
}