The diagram does not match the provided uml/yaml. As written, it does not create the child elements of partridges:
partridges:
count: 1
location: "a pear tree"
turtle-doves: two
Should be (with spaces before count and location):
partridges:
count: 1
location: "a pear tree"
turtle-doves: two