{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insuremo-com/json-schema/insuremo-com-model-faq-query-response-schema.json",
  "title": "model.FaqQueryResponse",
  "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.FaqQueryResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "query result",
      "items": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "description": "queried question of FAQ"
          },
          "answer": {
            "type": "string",
            "description": "answer of FAQ"
          },
          "score": {
            "type": "number",
            "description": "matching score"
          },
          "meta": {
            "type": "object",
            "properties": {
              "faq_id": {
                "type": "integer",
                "description": "faq id"
              },
              "tenant": {
                "type": "string",
                "description": "the tenant of FAQ"
              },
              "is_public": {
                "type": "boolean",
                "description": "is it a shared FAQ"
              },
              "tags": {
                "type": "array",
                "description": "the tags of FAQ",
                "items": {
                  "type": "string"
                }
              },
              "cate_id": {
                "type": "integer",
                "description": "the category id of FAQ"
              }
            }
          }
        }
      }
    }
  }
}