{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/publicwww-com/json-schema/publicwww-com-create-cluster-request-schema.json",
  "title": "CreateClusterRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/publicwww-com-openapi.json#/components/schemas/CreateClusterRequest",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "A search in the website's syntax; its results become the cluster."
    },
    "domains": {
      "oneOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "string",
          "description": "One name per line, or names separated by commas."
        }
      ],
      "description": "Names or urls to put into the cluster. Use either this or query."
    },
    "name": {
      "type": "string",
      "description": "Up to 100 characters; a longer name is cut to 100. By default: the query, or \"Upload\" for a list."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "description": "With query: take only the first N websites, in the search's own order (popularity, or similarity for like:). Pass it with like:, or the cluster takes the plan's maximum. A cluster holds each domain once: with depth: several pages of one website make one domain, and N counts domains."
    }
  }
}