{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-bulk-collections-schema.json",
  "title": "BulkCollections",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memo-bank-collections-api-openapi.yml#/components/schemas/BulkCollections",
  "required": [
    "collections_canceled",
    "collections_confirmed",
    "collections_failed",
    "collections_total",
    "id",
    "status"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the bulk.",
      "format": "uuid"
    },
    "collections_total": {
      "type": "integer",
      "description": "Total number of collections in the bulk.",
      "format": "int32"
    },
    "collections_confirmed": {
      "type": "integer",
      "description": "Number of collections that were processed and confirmed.",
      "format": "int32"
    },
    "collections_canceled": {
      "type": "integer",
      "description": "Number of collections canceled before processing.",
      "format": "int32"
    },
    "collections_failed": {
      "type": "integer",
      "description": "Number of collections that were processed and failed.",
      "format": "int32"
    },
    "status": {
      "type": "string",
      "description": "Aggregated status of the bulk.",
      "enum": [
        "pending",
        "completed"
      ]
    }
  }
}