{
  "$id": "https://opendatafabric.org/schemas/datasets/v1alpha1/TemporalTable",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Temporary Flink-specific extension for creating temporal tables from streams.",
  "type": "object",
  "required": [
    "name",
    "primaryKey"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the dataset to be converted into a temporal table."
    },
    "primaryKey": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Column names used as the primary key for creating a table."
    }
  }
}
