{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eloqua/json-schema/eloqua-sync-list-schema.json",
  "title": "SyncList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eloqua-syncs-api-openapi.yml#/components/schemas/SyncList",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Sync"
      }
    },
    "totalResults": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "hasMore": {
      "type": "boolean"
    }
  },
  "$defs": {
    "Sync": {
      "type": "object",
      "required": [
        "syncedInstanceUri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "description": "URI of the sync",
          "readOnly": true
        },
        "syncedInstanceUri": {
          "type": "string",
          "description": "URI of the import or export definition to sync (e.g., /contacts/exports/1)"
        },
        "syncStartedAt": {
          "type": "string",
          "format": "date-time",
          "description": "When the sync started",
          "readOnly": true
        },
        "syncEndedAt": {
          "type": "string",
          "format": "date-time",
          "description": "When the sync completed",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "active",
            "success",
            "warning",
            "error"
          ],
          "description": "Current status of the sync",
          "readOnly": true
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Creation timestamp",
          "readOnly": true
        },
        "createdBy": {
          "type": "string",
          "description": "User who created the sync",
          "readOnly": true
        }
      }
    }
  }
}