{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-stratified-sampling-request-schema.json",
  "title": "StratifiedSamplingRequest",
  "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/StratifiedSamplingRequest",
  "properties": {
    "func_name": {
      "type": "string",
      "title": "Func Name"
    },
    "a": {
      "type": "number",
      "title": "A"
    },
    "b": {
      "type": "number",
      "title": "B"
    },
    "n_strata": {
      "type": "integer",
      "title": "N Strata",
      "default": 10
    },
    "samples_per_stratum": {
      "type": "integer",
      "title": "Samples Per Stratum",
      "default": 100
    },
    "seed": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed",
      "default": 42
    }
  },
  "type": "object",
  "required": [
    "func_name",
    "a",
    "b"
  ]
}