{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smartcrawler-io/json-schema/smartcrawler-io-collection-submit-request-schema.json",
  "title": "CollectionSubmitRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smartcrawler-io-openapi.json#/components/schemas/CollectionSubmitRequest",
  "properties": {
    "platform": {
      "type": "string",
      "title": "Platform"
    },
    "capability": {
      "type": "string",
      "title": "Capability",
      "default": "commerce.product_and_reviews"
    },
    "target": {
      "additionalProperties": true,
      "type": "object",
      "title": "Target"
    },
    "parameters": {
      "additionalProperties": true,
      "type": "object",
      "title": "Parameters"
    },
    "requirements": {
      "additionalProperties": true,
      "type": "object",
      "title": "Requirements"
    },
    "trigger_type": {
      "type": "string",
      "title": "Trigger Type",
      "default": "api"
    },
    "priority": {
      "type": "integer",
      "maximum": 1000.0,
      "minimum": 0.0,
      "title": "Priority",
      "default": 200
    },
    "schedule_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Schedule At"
    },
    "deadline_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deadline At"
    },
    "idempotency_key": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Idempotency Key"
    },
    "max_attempts": {
      "type": "integer",
      "maximum": 20.0,
      "minimum": 1.0,
      "title": "Max Attempts",
      "default": 3
    }
  },
  "type": "object",
  "required": [
    "platform",
    "target",
    "idempotency_key"
  ]
}