1 # This file should contain only valid YAML.
6 copyright: ${book.author} 1965
7 protaganist: ${characters.0.name}
10 # Use a nested key to reference an external value.
11 nested-reference: ${book.sequel}
14 occupation: Kwisatz Haderach
20 occupation: Swordmaster
21 summary: ${book.title} by ${book.author}
22 # This is a complete fake property.
23 publisher: ${not.real.property}
24 # series.books is not defined in this YAML file, but is passed in to the parser by the application.
25 sequels: ${book.sequel}, and others.
26 # Reference one real value and one fake value.
27 available-products: ${book.media.1}, ${book.media.0}
28 # Nested property, should resolve to ${book.title} and then 'Dune'.
29 product-name: ${${type}.title}
30 # Represent a few more data types and formats.
33 inline-array: [ one, two, three ]
34 expand-array: ${inline-array}