{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-list-operation-request-schema.json",
  "title": "ListOperationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-marketo-data-ingestion-openapi.yml#/components/schemas/ListOperationRequest",
  "required": [
    "listId",
    "input"
  ],
  "type": "object",
  "properties": {
    "listId": {
      "type": "integer",
      "format": "int64",
      "description": "The Marketo static list ID. Must be a positive integer."
    },
    "input": {
      "type": "array",
      "description": "List of lead references to add to or remove from the list.",
      "items": {
        "$ref": "#/$defs/Lead"
      }
    }
  },
  "$defs": {
    "Lead": {
      "required": [
        "leadId"
      ],
      "type": "object",
      "description": "Lead reference for list membership.",
      "properties": {
        "leadId": {
          "type": "integer",
          "format": "int64",
          "description": "The Marketo lead ID."
        }
      }
    }
  }
}