{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crawdar-com/json-schema/crawdar-com-search-request-schema.json",
  "title": "SearchRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crawdar-com-openapi.yml#/components/schemas/SearchRequest",
  "type": "object",
  "required": [
    "target",
    "geography"
  ],
  "additionalProperties": false,
  "properties": {
    "target": {
      "type": "string",
      "minLength": 3,
      "maxLength": 220
    },
    "geography": {
      "type": "string",
      "minLength": 2,
      "maxLength": 140
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 50,
      "description": "Maximum number of results retained and returned."
    },
    "qualifier": {
      "type": "string",
      "maxLength": 900,
      "description": "Optional public-evidence requirements. Missing evidence remains unverified."
    },
    "fields": {
      "type": "array",
      "items": {
        "enum": [
          "Website",
          "Business email",
          "Phone",
          "Location",
          "Owner type",
          "Description",
          "Source links"
        ]
      }
    }
  }
}