PUT fail

hi everyone, so I'm begginer in ELK and I saw in a video this input "PUT".

PUT /produtos
{
  "settings": {
    "index": {
      "number_of_shards": 3,
      "number_of_replicas": 0
    }
  },
  "mappings": {
    "v1": {
      "_all": {
        "type": "text",
        "analyzer": "portuguese"
      },
      "properties": {
        "nome": {
          "fields": {
            "original": {
              "type": "keyword"
            }
          },
          "type": "text",
          "analyzer": "portuguese"
        },
        "categoria": {
          "fields": {
            "original": {
              "type": "keyword"
            }
          },
          "type": "text",
          "analyzer": "portuguese"
        },
        "subcategoria": {
          "fields": {
            "original": {
              "type": "keyword"
            }
          },
          "type": "text",
          "analyzer": "portuguese"
        },
        "tags": {
          "fields": {
            "original": {
              "type": "keyword"
            }
          },
          "type": "string",
          "index": "analyzed",
          "analyzer": "portuguese"
        },
        "fornecedor": {
          "fields": {
            "original": {
              "type": "keyword",
              "index": "not_analyzed"
            }
          },
          "type": "text"
        },
        "preco": {
          "type": "float"
        }
      }
    }
  }
}

when I execute this in devTools in kibana, I have this message :

{
  "error": {
    "root_cause": [
      {
        "type": "mapper_parsing_exception",
        "reason": "Root mapping definition has unsupported parameters:  [v1 : {_all={analyzer=portuguese, type=text}, properties={preco={type=float}, subcategoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, categoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, nome={analyzer=portuguese, fields={original={type=keyword}}, type=text}, fornecedor={fields={original={index=not_analyzed, type=keyword}}, type=text}, tags={analyzer=portuguese, index=analyzed, fields={original={type=keyword}}, type=string}}}]"
      }
    ],
    "type": "mapper_parsing_exception",
    "reason": "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:  [v1 : {_all={analyzer=portuguese, type=text}, properties={preco={type=float}, subcategoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, categoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, nome={analyzer=portuguese, fields={original={type=keyword}}, type=text}, fornecedor={fields={original={index=not_analyzed, type=keyword}}, type=text}, tags={analyzer=portuguese, index=analyzed, fields={original={type=keyword}}, type=string}}}]",
    "caused_by": {
      "type": "mapper_parsing_exception",
      "reason": "Root mapping definition has unsupported parameters:  [v1 : {_all={analyzer=portuguese, type=text}, properties={preco={type=float}, subcategoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, categoria={analyzer=portuguese, fields={original={type=keyword}}, type=text}, nome={analyzer=portuguese, fields={original={type=keyword}}, type=text}, fornecedor={fields={original={index=not_analyzed, type=keyword}}, type=text}, tags={analyzer=portuguese, index=analyzed, fields={original={type=keyword}}, type=string}}}]"
    }
  },
  "status": 400
}

I don't know what to do, can anybody give me a tips. Thanks.

Remove v1. That should be ok. That will generate then probably some other errors. Like:

      "index": "analyzed",

And

 "type": "string",

That you can replace with

 "type": "text",

When I just remove V1, show this :

{
  "error": {
    "root_cause": [
      {
        "type": "mapper_parsing_exception",
        "reason": "Failed to parse mapping [_doc]: Could not convert [original.index] to boolean"
      }
    ],
    "type": "mapper_parsing_exception",
    "reason": "Failed to parse mapping [_doc]: Could not convert [original.index] to boolean",
    "caused_by": {
      "type": "illegal_argument_exception",
      "reason": "Could not convert [original.index] to boolean",
      "caused_by": {
        "type": "illegal_argument_exception",
        "reason": "Failed to parse value [not_analyzed] as only [true] or [false] are allowed."
      }
    }
  },
  "status": 400
}

Yeah. As I said, you've more to do.