{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-flink/refs/heads/main/json-structure/flink-rest-checkpoint-statistics-structure.json",
  "name": "CheckpointStatistics",
  "description": "CheckpointStatistics schema from Apache Flink REST API",
  "type": "object",
  "properties": {
    "alignment_buffered": {
      "type": "int64"
    },
    "checkpoint_type": {
      "type": "string"
    },
    "checkpointed_size": {
      "type": "int64"
    },
    "className": {
      "type": "string"
    },
    "end_to_end_duration": {
      "type": "int64"
    },
    "id": {
      "type": "int64"
    },
    "is_savepoint": {
      "type": "boolean"
    },
    "latest_ack_timestamp": {
      "type": "int64"
    },
    "num_acknowledged_subtasks": {
      "type": "int32"
    },
    "num_subtasks": {
      "type": "int32"
    },
    "persisted_data": {
      "type": "int64"
    },
    "processed_data": {
      "type": "int64"
    },
    "savepointFormat": {
      "type": "string"
    },
    "state_size": {
      "type": "int64"
    },
    "status": {
      "type": "string"
    },
    "tasks": {
      "type": "object"
    },
    "trigger_timestamp": {
      "type": "int64"
    }
  },
  "required": [
    "className"
  ]
}