{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eaton/json-schema/eaton-batch-command-receipt-schema.json",
  "title": "BatchCommandReceipt",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eaton-device-commands-api-openapi.yml#/components/schemas/BatchCommandReceipt",
  "type": "object",
  "properties": {
    "batchId": {
      "type": "string",
      "format": "uuid"
    },
    "receipts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommandReceipt"
      }
    }
  },
  "$defs": {
    "CommandReceipt": {
      "type": "object",
      "properties": {
        "commandId": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "accepted",
            "queued",
            "executing",
            "completed",
            "failed"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}