{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compsniper-com/json-schema/compsniper-com-max-search-request-schema.json",
  "title": "MaxSearchRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compsniper-com-openapi.json#/components/schemas/MaxSearchRequest",
  "type": "object",
  "required": [
    "keyword"
  ],
  "properties": {
    "keyword": {
      "type": "string",
      "maxLength": 300
    },
    "maxPages": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 10
    },
    "delivery": {
      "type": "string",
      "enum": [
        "inline",
        "email",
        "download"
      ],
      "default": "inline"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 240,
      "default": 240
    },
    "ebaySite": {
      "type": "string",
      "enum": [
        "ebay.com",
        "ebay.co.uk",
        "ebay.de",
        "ebay.fr",
        "ebay.it",
        "ebay.es",
        "ebay.ca",
        "ebay.com.au"
      ],
      "default": "ebay.com"
    },
    "categoryId": {
      "type": "string"
    },
    "sortOrder": {
      "type": "string",
      "enum": [
        "endedRecently",
        "timeNewlyListed",
        "pricePlusPostageLowest",
        "pricePlusPostageHighest",
        "distanceNearest"
      ]
    },
    "minPrice": {
      "type": "number"
    },
    "maxPrice": {
      "type": "number"
    },
    "itemCondition": {
      "type": "string",
      "enum": [
        "any",
        "new",
        "used"
      ]
    },
    "conditionId": {
      "type": "integer",
      "minimum": 0
    },
    "sellerType": {
      "type": "string",
      "enum": [
        "private",
        "business"
      ]
    },
    "sold": {
      "type": "boolean",
      "default": true
    },
    "exactMatch": {
      "type": "boolean",
      "default": false
    },
    "aspectFilter": {
      "type": "object",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "additionalProperties": false
}