Keboola · Schema

AggregatedStatistics

Data PlatformETLELTData PipelinesData StorageTransformationsOrchestrationData OperationsCloud DataSnowflakeBigQuery

Properties

Name Type Description
files array
levels object
total object
View JSON Schema on GitHub

JSON Schema

keboola-aggregatedstatistics.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "AggregatedStatistics",
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/SinkFile"
      },
      "example": [
        {
          "state": "writing",
          "openedAt": "2022-04-28T14:20:04.000Z",
          "closingAt": "2022-04-28T14:20:04.000Z",
          "importingAt": "2022-04-28T14:20:04.000Z",
          "importedAt": "2022-04-28T14:20:04.000Z",
          "retryAttempt": 3,
          "retryReason": "network problem",
          "retryAfter": "2022-04-28T14:20:04.000Z",
          "statistics": {
            "total": {
              "firstRecordAt": "2022-04-28T14:20:04.000Z",
              "lastRecordAt": "2022-04-28T14:20:04.000Z",
              "recordsCount": 1,
              "compressedSize": 1,
              "uncompressedSize": 1
            },
            "levels": {
              "local": {
                "firstRecordAt": "2022-04-28T14:20:04.000Z",
                "lastRecordAt": "2022-04-28T14:20:04.000Z",
                "recordsCount": 1,
                "compressedSize": 1,
                "uncompressedSize": 1
              },
              "staging": {
                "firstRecordAt": "2022-04-28T14:20:04.000Z",
                "lastRecordAt": "2022-04-28T14:20:04.000Z",
                "recordsCount": 1,
                "compressedSize": 1,
                "uncompressedSize": 1
              },
              "target": {
                "firstRecordAt": "2022-04-28T14:20:04.000Z",
                "lastRecordAt": "2022-04-28T14:20:04.000Z",
                "recordsCount": 1,
                "compressedSize": 1,
                "uncompressedSize": 1
              }
            }
          }
        }
      ]
    },
    "levels": {
      "$ref": "#/definitions/Levels"
    },
    "total": {
      "$ref": "#/definitions/Level"
    }
  },
  "example": {
    "total": {
      "firstRecordAt": "2022-04-28T14:20:04.000Z",
      "lastRecordAt": "2022-04-28T14:20:04.000Z",
      "recordsCount": 1,
      "compressedSize": 1,
      "uncompressedSize": 1
    },
    "levels": {
      "local": {
        "firstRecordAt": "2022-04-28T14:20:04.000Z",
        "lastRecordAt": "2022-04-28T14:20:04.000Z",
        "recordsCount": 1,
        "compressedSize": 1,
        "uncompressedSize": 1
      },
      "staging": {
        "firstRecordAt": "2022-04-28T14:20:04.000Z",
        "lastRecordAt": "2022-04-28T14:20:04.000Z",
        "recordsCount": 1,
        "compressedSize": 1,
        "uncompressedSize": 1
      },
      "target": {
        "firstRecordAt": "2022-04-28T14:20:04.000Z",
        "lastRecordAt": "2022-04-28T14:20:04.000Z",
        "recordsCount": 1,
        "compressedSize": 1,
        "uncompressedSize": 1
      }
    },
    "files": [
      {
        "state": "writing",
        "openedAt": "2022-04-28T14:20:04.000Z",
        "closingAt": "2022-04-28T14:20:04.000Z",
        "importingAt": "2022-04-28T14:20:04.000Z",
        "importedAt": "2022-04-28T14:20:04.000Z",
        "retryAttempt": 3,
        "retryReason": "network problem",
        "retryAfter": "2022-04-28T14:20:04.000Z",
        "statistics": {
          "total": {
            "firstRecordAt": "2022-04-28T14:20:04.000Z",
            "lastRecordAt": "2022-04-28T14:20:04.000Z",
            "recordsCount": 1,
            "compressedSize": 1,
            "uncompressedSize": 1
          },
          "levels": {
            "local": {
              "firstRecordAt": "2022-04-28T14:20:04.000Z",
              "lastRecordAt": "2022-04-28T14:20:04.000Z",
              "recordsCount": 1,
              "compressedSize": 1,
              "uncompressedSize": 1
            },
            "staging": {
              "firstRecordAt": "2022-04-28T14:20:04.000Z",
              "lastRecordAt": "2022-04-28T14:20:04.000Z",
              "recordsCount": 1,
              "compressedSize": 1,
              "uncompressedSize": 1
            },
            "target": {
              "firstRecordAt": "2022-04-28T14:20:04.000Z",
              "lastRecordAt": "2022-04-28T14:20:04.000Z",
              "recordsCount": 1,
              "compressedSize": 1,
              "uncompressedSize": 1
            }
          }
        }
      }
    ]
  },
  "required": [
    "total",
    "levels",
    "files"
  ]
}