{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkdigest-dev/json-schema/linkdigest-dev-batch-list-entry-schema.json",
  "title": "BatchListEntry",
  "description": "One line of a batch listing.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkdigest-dev-openapi.json#/components/schemas/BatchListEntry",
  "type": "object",
  "properties": {
    "batch_id": {
      "type": "string",
      "description": "The batch id."
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "What the batch was called, or null."
    },
    "created_at": {
      "type": "string",
      "description": "When it was started, ISO 8601."
    },
    "status": {
      "type": "string",
      "description": "running or done."
    },
    "total": {
      "type": "integer",
      "description": "Links in the batch."
    },
    "done": {
      "type": "integer",
      "description": "Finished."
    },
    "failed": {
      "type": "integer",
      "description": "Failed."
    },
    "credits_total": {
      "type": "integer",
      "description": "Credits spent so far."
    },
    "synthesis": {
      "type": [
        "string",
        "null"
      ],
      "description": "ready, pending or failed; null on a batch that asked for no comparison."
    }
  }
}