Nested Mapping in Logstash

Logstash Template Mappings do not have properties like ElasticSearch mappings do. How do I define nested template Mappings for Logstash?

I have a Mapping for elasticsearch like:

"blablabla":{
"type":"object",
"properties":{
"image":{
"type":"object",
"properties":{
"heigth":{"type":"integer"},
"width":{"type":"integer"},
"colorSpace":{"type":"integer"},
"deviceType":{"type":"integer"},
"type":{"type":"integer"},
"dataType":{"type":"integer"},
"length":{"type":"integer"},
"mimeType":{"type":"integer"},
"sourcetype":{"type":"integer"},
"quality":{"type":"integer"}
}
},
"poseAngle":{
"type":"object",
"properties":{
"yaw":{"type":"integer"},
"pitch":{"type":"integer"},
"roll":{"type":"integer"}
}
},
"poseAngleUncertainty":{
"type":"object",
"properties":{
"yaw":{"type":"integer"},
"pitch":{"type":"integer"},
"roll":{"type":"integer"}
}
}
}
}

How does this translate to a Maping for Logstash? If not possible is there another "officially blessed" way to get these kind of template created for newly created indexes?

Answer to self(and others interested):
It seems I have to define the template in elastic with a wildcard and not in Logstash.
https://jackhanington.com/blog/2014/12/11/create-a-custom-elasticsearch-template/