{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insuremo-com/json-schema/insuremo-com-model-faq-query-req-schema.json",
  "title": "model.FaqQueryReq",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/insuremo-com-genai-openapi.yml#/components/schemas/model.FaqQueryReq",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "query question"
    },
    "category": {
      "type": "array",
      "description": "search for FAQs in which category, array for multi-level category",
      "items": {
        "type": "string"
      }
    },
    "tags": {
      "type": "array",
      "description": "search for FAQs with specified tags, all FAQs will be searched if it is empty",
      "items": {
        "type": "string"
      }
    },
    "top_k": {
      "type": "integer",
      "description": "get the first k searched records, default is 10"
    },
    "acceptable_score": {
      "type": "number",
      "description": "acceptable matching score threshold, records less than this score will be ignored. default is 60.0"
    },
    "only_owner": {
      "type": "boolean",
      "description": "only query current tenant faq, the public faq will be ignored. default is false"
    }
  },
  "required": [
    "query"
  ]
}