{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-append-emails-response-schema.json",
  "title": "AppendEmailsResponse",
  "description": "`POST /api/batches/{uuid}/emails` response body.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-batches-api-openapi.yml#/components/schemas/AppendEmailsResponse",
  "type": "object",
  "required": [
    "batch_uuid",
    "status",
    "total_jobs",
    "syntax_errors",
    "duplicates",
    "estimated_cost"
  ],
  "properties": {
    "batch_uuid": {
      "type": "string",
      "description": "Public UUID of the batch."
    },
    "duplicates": {
      "type": "integer",
      "format": "int64",
      "description": "Number of addresses in this chunk that were duplicates within the same chunk.",
      "minimum": 0
    },
    "estimated_cost": {
      "type": "integer",
      "format": "int32",
      "description": "Tokens reserved for this chunk.",
      "minimum": 0
    },
    "status": {
      "type": "string",
      "description": "Status of the batch right after this chunk."
    },
    "syntax_errors": {
      "type": "integer",
      "format": "int64",
      "description": "Number of addresses in this chunk that failed syntax validation.",
      "minimum": 0
    },
    "total_jobs": {
      "type": "integer",
      "format": "int64",
      "description": "Cumulative number of unique valid emails queued as jobs across every chunk so far.",
      "minimum": 0
    }
  }
}