{
  "view-uuid": "fa6506c3-7681-40c8-86dc-e36561f83385",
  "format-version": 1,
  "location": "s3://bucket/warehouse/default.db/event_agg",
  "current-version-id": 2,
  "properties": {
    "comment": "Daily event counts"
  },
  "versions": [
    {
      "version-id": 1,
      "timestamp-ms": 1573518431292,
      "schema-id": 1,
      "default-catalog": "prod",
      "default-namespace": [
        "default"
      ],
      "summary": {
        "engine-name": "Spark",
        "engineVersion": "3.3.2"
      },
      "representations": [
        {
          "type": "sql",
          "sql": "SELECT\n    COUNT(1), CAST(event_ts AS DATE)\nFROM events\nGROUP BY 2",
          "dialect": "spark"
        }
      ]
    }
  ],
  "schemas": [
    {
      "schema-id": 1,
      "type": "struct",
      "fields": [
        {
          "id": 1,
          "name": "event_count",
          "required": false,
          "type": "int",
          "doc": "Count of events"
        },
        {
          "id": 2,
          "name": "event_date",
          "required": false,
          "type": "date"
        }
      ]
    }
  ],
  "version-log": [
    {
      "timestamp-ms": 1573518431292,
      "version-id": 1
    }
  ]
}