1 --- 2 input: 3 - &CENTER { x: 1, y: 2 } 4 - &LEFT { x: 0, y: 2 } 5 - &BIG { r: 10 } 6 - &SMALL { r: 1 } 7 8 # All the following maps are equal: 9 result: 10 - # Explicit keys 11 x: 1 12 y: 2 13 r: 10 14 label: center/big 15 16 - # Merge one map 17 << : *CENTER 18 r: 10 19 label: center/big 20 21 - !!map # Merge multiple maps 22 !!merge ignore: [ *CENTER, *BIG ] 23 label: center/big 24 25 - # Override 26 << : [ *BIG, *LEFT, *SMALL ] 27 x: 1 28 label: center/big 29 30