{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robosystems-ai/json-schema/robosystems-ai-backup-stats-response-schema.json",
  "title": "BackupStatsResponse",
  "description": "Response model for backup statistics.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robosystems-ai-backup-api-openapi.yml#/components/schemas/BackupStatsResponse",
  "properties": {
    "graph_id": {
      "type": "string",
      "title": "Graph Id"
    },
    "total_backups": {
      "type": "integer",
      "title": "Total Backups"
    },
    "successful_backups": {
      "type": "integer",
      "title": "Successful Backups"
    },
    "failed_backups": {
      "type": "integer",
      "title": "Failed Backups"
    },
    "success_rate": {
      "type": "number",
      "title": "Success Rate"
    },
    "total_original_size_bytes": {
      "type": "integer",
      "title": "Total Original Size Bytes"
    },
    "total_compressed_size_bytes": {
      "type": "integer",
      "title": "Total Compressed Size Bytes"
    },
    "storage_saved_bytes": {
      "type": "integer",
      "title": "Storage Saved Bytes"
    },
    "average_compression_ratio": {
      "type": "number",
      "title": "Average Compression Ratio"
    },
    "latest_backup_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Latest Backup Date"
    },
    "backup_formats": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Backup Formats"
    }
  },
  "type": "object",
  "required": [
    "graph_id",
    "total_backups",
    "successful_backups",
    "failed_backups",
    "success_rate",
    "total_original_size_bytes",
    "total_compressed_size_bytes",
    "storage_saved_bytes",
    "average_compression_ratio",
    "latest_backup_date",
    "backup_formats"
  ]
}