{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theirstack-com/json-schema/theirstack-com-technographics-filters-schema.json",
  "title": "TechnographicsFilters",
  "description": "Filter technologies and buying intent topics detected for a company.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theirstack-com-openapi.json#/components/schemas/TechnographicsFilters",
  "properties": {
    "company_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Id",
      "description": "Only return companies that match this TheirStack Company ID exactly. This ID is temporary and internal and will change in the future and become stable. Until then, it is only meant to be used internally by our UI (app.theirstack.com). For deduplication logic, use company_domain or company_linkedin_url instead."
    },
    "company_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Name",
      "description": "Only return companies that match this name exactly, case-sensitively."
    },
    "company_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Domain",
      "description": "Only return companies that match this domain exactly. It accepts full urls (https://www.google.com/) and emails (andrew@stripe.com)."
    },
    "company_linkedin_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Linkedin Url",
      "description": "Return companies whose LinkedIn URL matches this URL exactly."
    },
    "company_name_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Company Name Or",
      "description": "Only return companies that match these names exactly, case-sensitively. Deprecated, use the `company_name` filter instead.",
      "default": [],
      "deprecated": true
    },
    "order_by": {
      "items": {
        "$ref": "#/$defs/ColumnSortCompanyTechDetails"
      },
      "type": "array",
      "title": "Order By",
      "description": "List of column objects. You can pass several columns to order by, in order of priority. Only `field` is required, `desc` is True by default.",
      "default": [
        {
          "desc": true,
          "field": "confidence"
        },
        {
          "desc": true,
          "field": "jobs"
        }
      ]
    },
    "include_total_results": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Include Total Results",
      "description": "When enabled, calculates and returns `total_results` and `total_companies` fields in the response. WARNING: This significantly slows down responses as it requires reading the entire dataset. Recommended usage: enable only for the initial request to get totals, then disable for subsequent pagination requests.",
      "default": false
    },
    "offset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Offset",
      "description": "Number of results to skip. Required for [offset-based pagination](https://theirstack.com/en/docs/api-reference/pagination)."
    },
    "page": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Page",
      "description": "Page number. Required when using [page-based pagination](https://theirstack.com/en/docs/api-reference/pagination)."
    },
    "limit": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Limit",
      "description": "Number of results per page"
    },
    "keyword_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Keyword Slug Or",
      "description": "Only return these keywords (technologies or buying intent topics). Case sensitive. Pass slugs. Check out all keywords at [GET /v0/catalog/keywords](https://theirstack.com/en/docs/api-reference/catalog/get_catalog_keywords_v0)",
      "default": []
    },
    "keyword_category_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Keyword Category Slug Or",
      "description": "Only return keywords from any of these categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1)",
      "default": []
    },
    "keyword_parent_category_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Keyword Parent Category Slug Or",
      "description": "Only return keywords from any of these parent categories. Case sensitive. Pass slugs. Check out all keyword categories at [GET /v1/catalog/keywords/categories](https://theirstack.com/en/docs/api-reference/catalog/list_keyword_categories_v1)",
      "default": []
    },
    "technology_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Technology Slug Or",
      "description": "Deprecated: use `keyword_slug_or` instead. Only return these technologies. Case sensitive. Pass slugs.",
      "default": [],
      "deprecated": true
    },
    "technology_category_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Technology Category Slug Or",
      "description": "Deprecated: use `keyword_category_slug_or` instead. Only return keywords from any of these categories. Case sensitive. Pass slugs.",
      "default": [],
      "deprecated": true
    },
    "technology_parent_category_slug_or": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Technology Parent Category Slug Or",
      "description": "Deprecated: use `keyword_parent_category_slug_or` instead. Only return keywords from any of these parent categories. Case sensitive. Pass slugs.",
      "default": [],
      "deprecated": true
    },
    "max_rank": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Rank",
      "description": "The rank measures how common a keyword (technology or buying intent topic) is within its category for a company. The keyword most mentioned among similar ones by a company has a rank of 1, the second 2, etc. Useful to keep only the primary technology or topic of each category."
    },
    "min_jobs": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Jobs",
      "description": "Minimum number of jobs in which each company mentions the keyword (technology or buying intent topic)"
    },
    "max_jobs": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Jobs",
      "description": "Maximum number of jobs in which each company mentions the keyword (technology or buying intent topic)"
    },
    "min_relative_occurrence": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Relative Occurrence",
      "description": "Minimum value of relative_occurrence_within_category for each keyword (technology or buying intent topic). Higher values increase the probability that the company actually uses the technology or cares about the topic, because a higher share of the mentions within that category are of this keyword."
    },
    "first_date_found_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Date Found Gte",
      "description": "Only return keywords (technologies or buying intent topics) where the first time they were found was after or on this date. Format: \"YYYY-MM-DD\""
    },
    "first_date_found_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Date Found Lte",
      "description": "Only return keywords (technologies or buying intent topics) where the first time they were found was before or on this date. Format: \"YYYY-MM-DD\""
    },
    "last_date_found_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Date Found Gte",
      "description": "Only return keywords (technologies or buying intent topics) where the last time they were found was after or on this date. Format: \"YYYY-MM-DD\""
    },
    "last_date_found_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Date Found Lte",
      "description": "Only return keywords (technologies or buying intent topics) where the last time they were found was before or on this date. Format: \"YYYY-MM-DD\""
    },
    "confidence_or": {
      "items": {
        "type": "string",
        "enum": [
          "low",
          "medium",
          "high"
        ]
      },
      "type": "array",
      "title": "Confidence Or",
      "description": "Only return keywords (technologies or buying intent topics) detected with any of these confidence levels. Available values: \"high\", \"medium\", \"low\"",
      "default": []
    }
  },
  "type": "object",
  "$defs": {
    "ColumnSortCompanyTechDetails": {
      "properties": {
        "desc": {
          "type": "boolean",
          "title": "Desc",
          "description": "Whether to order by descending or ascending values",
          "default": true
        },
        "field": {
          "enum": [
            null,
            "jobs",
            "jobs_last_7_days",
            "jobs_last_30_days",
            "jobs_last_180_days",
            "last_date_found",
            "first_date_found",
            "relative_occurrence_within_category",
            "theirstack_score",
            "confidence"
          ],
          "title": "Field",
          "description": "Order the results by some of these fields"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "title": "ColumnSortCompanyTechDetails"
    }
  }
}