{
  "order": 0,
  "index_patterns": [
    "temporal-visibility-*"
  ],
  "settings": {
    "index": {
      "number_of_shards": "5",
      "number_of_replicas": "0",
      "search.idle.after": "365d"
    }
  },
  "mappings": {
    "dynamic": "false",
    "properties": {
      "NamespaceId": {
        "type": "keyword"
      },
      "WorkflowId": {
        "type": "keyword"
      },
      "RunId": {
        "type": "keyword"
      },
      "WorkflowType": {
        "type": "keyword"
      },
      "StartTime": {
        "type": "long"
      },
      "ExecutionTime": {
        "type": "long"
      },
      "CloseTime": {
        "type": "long"
      },
      "ExecutionStatus": {
        "type": "long"
      },
      "TaskQueue": {
        "type": "keyword"
      },

      "Attr": {
        "properties": {
          "TemporalChangeVersion": {
            "type": "keyword"
          },
          "CustomNamespace": {
            "type": "keyword"
          },
          "Operator": {
            "type": "keyword"
          },
          "BinaryChecksums": {
            "type": "keyword"
          }
        }
      }
    }
  },
  "aliases": {}
}
