Demandbase · Schema

ImportJob

Account-Based MarketingAdvertisingAI AgentsB2B MarketingData EnrichmentIntent DataPersonalizationSales Intelligence

Properties

Name Type Description
id string Import job unique identifier
entity_type string Type of entity being imported
operation string Import operation mode
status string Current job status
total_rows integer Total number of rows in the import file
processed_rows integer Number of rows processed so far
success_count integer Number of rows successfully imported
error_count integer Number of rows that failed
file_name string Name of the uploaded file
file_size_bytes integer Size of the uploaded file
created_at string Job creation timestamp
started_at string Processing start timestamp
completed_at string Processing completion timestamp
error_message string Error details if the job failed
View JSON Schema on GitHub

JSON Schema

demandbase-importjob-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ImportJob",
  "title": "ImportJob",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Import job unique identifier"
    },
    "entity_type": {
      "type": "string",
      "enum": [
        "accounts",
        "people",
        "opportunities",
        "activities"
      ],
      "description": "Type of entity being imported"
    },
    "operation": {
      "type": "string",
      "enum": [
        "insert",
        "update",
        "upsert"
      ],
      "description": "Import operation mode"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "validating",
        "processing",
        "completed",
        "failed",
        "cancelled"
      ],
      "description": "Current job status"
    },
    "total_rows": {
      "type": "integer",
      "description": "Total number of rows in the import file"
    },
    "processed_rows": {
      "type": "integer",
      "description": "Number of rows processed so far"
    },
    "success_count": {
      "type": "integer",
      "description": "Number of rows successfully imported"
    },
    "error_count": {
      "type": "integer",
      "description": "Number of rows that failed"
    },
    "file_name": {
      "type": "string",
      "description": "Name of the uploaded file"
    },
    "file_size_bytes": {
      "type": "integer",
      "description": "Size of the uploaded file"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Job creation timestamp"
    },
    "started_at": {
      "type": "string",
      "format": "date-time",
      "description": "Processing start timestamp"
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "description": "Processing completion timestamp"
    },
    "error_message": {
      "type": "string",
      "description": "Error details if the job failed"
    }
  }
}