{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/goveda-com/json-schema/goveda-com-post-api-v2-patents-search-request-schema.json",
  "title": "PostApiV2PatentsSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/goveda-com-openapi-generated.yml#/components/schemas/PostApiV2PatentsSearchRequest",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query string."
    },
    "filter": {
      "type": "object",
      "description": "Optional filter using statistics clauses on the 18 search fields."
    },
    "limit": {
      "type": "integer",
      "description": "Number of results to return (1–1,000)."
    },
    "collapse_by": {
      "type": "string",
      "description": "Field to collapse results by."
    },
    "representative": {
      "type": "boolean",
      "description": "Whether to return a representative record per group."
    },
    "exact_terms": {
      "type": "array",
      "description": "Optional exact terms to match."
    },
    "fields": {
      "type": "array",
      "description": "Record options fields to include in each result."
    },
    "member_fields": {
      "type": "array",
      "description": "Member fields to include."
    },
    "lang": {
      "type": "string",
      "description": "Language for translation."
    },
    "family_fill": {
      "type": "boolean",
      "description": "Whether to fill family information."
    }
  },
  "required": [
    "query"
  ]
}