{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-marketplace-product-search-request-schema.json",
  "title": "MarketplaceProductSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-internal-catalog-search-api-openapi.yml#/components/schemas/MarketplaceProductSearchRequest",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "title": "Query"
    },
    "limit": {
      "type": "integer",
      "maximum": 500.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 200
    },
    "candidate_limit": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Candidate Limit"
    },
    "debug_search": {
      "type": "boolean",
      "title": "Debug Search",
      "default": false
    },
    "query_embedding": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query Embedding"
    },
    "vendor_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Vendor Id"
    },
    "type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Type"
    },
    "unit_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit Type"
    },
    "min_price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Price"
    },
    "max_price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Price"
    }
  },
  "type": "object",
  "required": [
    "query"
  ]
}