type is required

It looks like type must be set to 'PathHierarchy' (case-sensitive) in order to create an index with an analyzer that references the tokenizer's settings.  Otherwise, it will throw the following exception:

{
   "error": "IndexCreationException[[{index_name}] failed to create index]; nested: ElasticsearchIllegalArgumentException[token filter [{analyzer_name}] must have a type associated with it]; ",
   "status": 400
}

      "analysis": {
        "analyzer": {
          "custom_analyzer_test": {
            "tokenizer": "path_hierarchy"
          }
        },
        "tokenizer": {
          "path_hierarchy": {
            "delimiter": "/",
            "type":"PathHierarchy"  <==
          }
        }
      }