{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curecancerwithai-com/json-schema/curecancerwithai-com-compound-search-request-schema.json",
  "title": "CompoundSearchRequest",
  "description": "Provide exactly one of `examples` or `preferences`.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curecancerwithai-com-openapi.yml#/components/schemas/CompoundSearchRequest",
  "type": "object",
  "properties": {
    "preferences": {
      "type": "object",
      "additionalProperties": {
        "type": "number",
        "minimum": -4,
        "maximum": 4
      },
      "description": "Map of characteristic name to desired value on the −4…+4 scale. Omit a characteristic to ignore it. Use GET /api/v1/pharma/characteristics for the available names."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Max results (1–100, default 20)."
    },
    "include_characteristics": {
      "type": "boolean",
      "description": "Include each result's characteristic scores in the response."
    }
  }
}