{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/echoloc-ai/json-schema/echoloc-ai-tech-search-request-schema.json",
  "title": "TechSearchRequest",
  "description": "Find companies using a set of technologies, ranked by usage.",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/echoloc-ai-api-openapi.json#/components/schemas/TechSearchRequest",
  "properties": {
    "technologies": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "minItems": 1,
      "title": "Technologies",
      "description": "Technology names; case-insensitive"
    },
    "match": {
      "type": "string",
      "enum": [
        "any",
        "all"
      ],
      "title": "Match",
      "default": "any"
    },
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country",
      "description": "Exact country name, e.g. 'United Kingdom' (see /countries)"
    },
    "industry": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Industry",
      "description": "Exact industry name, e.g. 'Financial Services' (see /industries)"
    },
    "employees_min": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Employees Min",
      "description": "Company size band overlaps [employees_min, employees_max]"
    },
    "employees_max": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Employees Max"
    },
    "exclude_agencies": {
      "type": "boolean",
      "title": "Exclude Agencies",
      "description": "Exclude staffing, outsourcing, consulting and agency industries (default true). Ignored when `industry` is set.",
      "default": true
    },
    "page": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Page",
      "default": 1
    },
    "page_size": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 1.0,
      "title": "Page Size",
      "default": 20
    }
  },
  "type": "object",
  "required": [
    "technologies"
  ]
}