{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-configured-change-intelligence-request-schema.json",
  "title": "ConfiguredChangeIntelligenceRequest",
  "description": "Resolve one buyer request to a maintained collection scope.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grant-search_krimskrams_xyz_openapi.json#/components/schemas/ConfiguredChangeIntelligenceRequest",
  "properties": {
    "cursor": {
      "type": "string",
      "maxLength": 50,
      "pattern": "^(?:start|[0-9]+:[0-9]+)$",
      "title": "Cursor",
      "default": "start"
    },
    "end_cursor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50,
          "pattern": "^[0-9]+:[0-9]+$"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Cursor"
    },
    "as_of": {
      "type": "string",
      "format": "date-time",
      "title": "As Of"
    },
    "window_days": {
      "type": "integer",
      "maximum": 3650.0,
      "minimum": 0.0,
      "title": "Window Days",
      "default": 7
    },
    "event_limit": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 1.0,
      "title": "Event Limit",
      "default": 20
    },
    "scope": {
      "type": "string",
      "maxLength": 100,
      "title": "Scope"
    },
    "end_snapshot_id": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "End Snapshot Id"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "as_of",
    "scope"
  ]
}