{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-sync-persons-request-schema.json",
  "title": "SyncPersonsRequest",
  "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/SyncPersonsRequest",
  "required": [
    "persons"
  ],
  "type": "object",
  "properties": {
    "priority": {
      "type": "string",
      "description": "Priority of the request.",
      "enum": [
        "normal",
        "high"
      ],
      "default": "normal"
    },
    "partitionName": {
      "type": "string",
      "description": "Name of person partition.",
      "default": "Default"
    },
    "dedupeFields": {
      "$ref": "#/$defs/DedupeFields"
    },
    "persons": {
      "type": "array",
      "description": "List of attribute name-value pairs for the person.",
      "items": {
        "$ref": "#/$defs/Person"
      }
    }
  },
  "$defs": {
    "DedupeFields": {
      "type": "object",
      "description": "Attributes to deduplicate on. One or two attribute names are allowed. Two attributes are used in an AND operation. Supported attributes: id, email, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, custom attributes (string and integer type only).",
      "properties": {
        "field1": {
          "type": "string"
        },
        "field2": {
          "type": "string"
        }
      }
    },
    "Person": {
      "type": "object",
      "description": "Person/lead record. May contain any standard or custom lead field as key-value pairs.",
      "additionalProperties": true
    }
  }
}