{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insuremo-com/json-schema/insuremo-com-search-condition-schema.json",
  "title": "SearchCondition",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/insuremo-com-bcp-openapi.yml#/components/schemas/SearchCondition",
  "type": "object",
  "properties": {
    "AggConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "Conditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "ConditionsMapLinkedWithOrList": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "object"
        }
      }
    },
    "ExcludeFields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "ExistFields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "FromRangeConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "FuzzyConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "GroupField": {
      "type": "string"
    },
    "InConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object"
        }
      }
    },
    "IncludeFields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Module": {
      "type": "string"
    },
    "NotExistFields": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "NotInConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object"
        }
      }
    },
    "OrConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "OrConditionsList": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "object"
        }
      }
    },
    "OrFuzzyConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "OrFuzzyConditionsList": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "object"
        }
      }
    },
    "OrInConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object"
        }
      }
    },
    "PageNo": {
      "type": "integer",
      "format": "int32"
    },
    "PageSize": {
      "type": "integer",
      "format": "int32"
    },
    "ParentSearchCondition": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchCondition"
      }
    },
    "SearchType": {
      "type": "integer",
      "format": "int32"
    },
    "ServerName": {
      "type": "string"
    },
    "SortField": {
      "type": "string"
    },
    "SortFieldAndTypeList": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      }
    },
    "SortType": {
      "type": "string"
    },
    "ToRangeConditions": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    },
    "TransType": {
      "type": "string"
    },
    "UrpContent": {
      "type": "string"
    },
    "UseDeputyAnalyzers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "WithCodeDesc": {
      "type": "boolean"
    },
    "WithExactHitCount": {
      "type": "boolean"
    }
  },
  "$defs": {
    "SearchCondition": {
      "type": "object",
      "properties": {
        "AggConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "Conditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "ConditionsMapLinkedWithOrList": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        },
        "ExcludeFields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ExistFields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "FromRangeConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "FuzzyConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "GroupField": {
          "type": "string"
        },
        "InConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "IncludeFields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "Module": {
          "type": "string"
        },
        "NotExistFields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "NotInConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "OrConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "OrConditionsList": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        },
        "OrFuzzyConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "OrFuzzyConditionsList": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        },
        "OrInConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "PageNo": {
          "type": "integer",
          "format": "int32"
        },
        "PageSize": {
          "type": "integer",
          "format": "int32"
        },
        "ParentSearchCondition": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SearchCondition"
          }
        },
        "SearchType": {
          "type": "integer",
          "format": "int32"
        },
        "ServerName": {
          "type": "string"
        },
        "SortField": {
          "type": "string"
        },
        "SortFieldAndTypeList": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "SortType": {
          "type": "string"
        },
        "ToRangeConditions": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          }
        },
        "TransType": {
          "type": "string"
        },
        "UrpContent": {
          "type": "string"
        },
        "UseDeputyAnalyzers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "WithCodeDesc": {
          "type": "boolean"
        },
        "WithExactHitCount": {
          "type": "boolean"
        }
      }
    }
  }
}