{
  "title": "Google Patents - Search, Inventors, Assignees & 专利",
  "type": "object",
  "schemaVersion": 1,
  "description": "Minimal working input: {\"searchQueries\": [\"solar battery\"], \"country\": \"\"}. Default maximum 20 paid patent rows; only delivered rows billed.",
  "properties": {
    "searchQueries": {
      "title": "searchQueries",
      "type": "array",
      "description": "One or more keyword search strings, e.g. [\"solar battery\"]. One page budget per query. Results are deduplicated by id across queries before billing.",
      "default": [
        "solar battery"
      ],
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "sectionCaption": "Source targets / 数据来源"
    },
    "country": {
      "title": "country",
      "type": "string",
      "description": "Patent publication office, e.g. \"US\" or \"CN\". Empty means all offices. Not inventor nationality. Free source filter plus output-prefix validation.",
      "default": "",
      "editor": "textfield"
    },
    "maxResults": {
      "title": "maxResults",
      "type": "integer",
      "description": "Maximum paid rows across the entire run, after filters and exclusions. Example: 20. May return fewer when source pages end or maxPages is reached.",
      "default": 20,
      "minimum": 1,
      "maximum": 1000,
      "sectionCaption": "Limits / 数量限制"
    },
    "maxPages": {
      "title": "maxPages",
      "type": "integer",
      "description": "Maximum source pages per target, 1–20; default 3. Up to 10 patent publications per source page per query. No publication-date filter is built in. Filters are free; maxResults can be lower than this scan budget.",
      "default": 3,
      "minimum": 1,
      "maximum": 20
    },
    "includeKeywords": {
      "title": "includeKeywords",
      "type": "array",
      "description": "Case-insensitive OR substring filter on title and snippet. Example: [\"battery\"]. Empty [] disables it. Applied before billing inside the page budget; not a semantic classifier or additional source search.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "sectionCaption": "Filters and repeat runs / 筛选与去重"
    },
    "excludeIds": {
      "title": "excludeIds",
      "type": "array",
      "description": "Copy prior output id values here to skip before billing. id is the publication number, e.g. US12352469B2. Empty [] disables it. This also suppresses changes to existing IDs.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "maxItems": 5000
    },
    "excludeContentHashes": {
      "title": "excludeContentHashes",
      "type": "array",
      "description": "SHA-256 content_hash values from previous output to skip unchanged snapshots before billing. Example: copy returned hashes. Empty [] disables it. Changed counters or content can produce a new paid snapshot.",
      "default": [],
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "maxItems": 5000
    }
  },
  "additionalProperties": false
}
