yaml: more examples
[protos/libecoli.git] / examples / parse-yaml / test.yaml
1 type: or
2 attrs:
3   key1: val1
4   key2: val2
5   key3:
6 children:
7 - type: seq
8   id: hello
9   help: Say hello to someone
10   children:
11   - type: str
12     string: hello
13   - type: or
14     id: name
15     help: Name of the person to greet
16     children:
17     - type: str
18       string: john
19     - type: str
20       string: mike
21 - type: seq
22   id: goodbye
23   help: Say good bye to someone
24   children:
25   - type: str
26     string: good
27   - type: str
28     string: bye
29   - type: or
30     id: name
31     help: Name of the person to greet
32     children:
33     - type: str
34       string: mary
35     - type: str
36       string: jessica