{
  "type": "object",
  "title": "RosettaSyncStatus",
  "description": "SyncStatus is used to provide additional context about an implementation's sync status. It is often used to indicate that an implementation is healthy when it cannot be queried until some sync phase occurs. If an implementation is immediately queryable, this model is often not populated.",
  "required": ["current_index"],
  "properties": {
    "current_index": {
      "type": "integer",
      "description": "CurrentIndex is the index of the last synced block in the current stage."
    },
    "target_index": {
      "type": "integer",
      "description": "TargetIndex is the index of the block that the implementation is attempting to sync to in the current stage."
    },
    "stage": {
      "type": "string",
      "description": "Stage is the phase of the sync process."
    },
    "synced": {
      "type": "boolean",
      "description": "Synced indicates if an implementation has synced up to the most recent block."
    }
  }
}
