Cleanly separate IDL annotations from OVSDB schema information.
[sliver-openvswitch.git] / tests / idltest.ovsschema
1 {"name": "idltest",
2  "tables": {
3    "simple": {
4      "columns": {
5        "i": {"type": "integer"},
6        "r": {"type": "real"},
7        "b": {"type": "boolean"},
8        "s": {"type": "string"},
9        "u": {"type": "uuid"},
10        "ia": {"type": {"key": "integer", "min": 0, "max": "unlimited"}},
11        "ra": {"type": {"key": "real", "min": 0, "max": "unlimited"}},
12        "ba": {"type": {"key": "boolean", "min": 0, "max": "unlimited"}},
13        "sa": {"type": {"key": "string", "min": 0, "max": "unlimited"}},
14        "ua": {"type": {"key": "uuid", "min": 0, "max": "unlimited"}}}},
15    "link1": {
16      "columns": {
17        "i": {"type": "integer"},
18        "k": {"type": {"key": "uuid"}},
19        "ka": {"type": {"key": "uuid",
20                        "min": 0, "max": "unlimited"}},
21        "l2": {"type": {"key": "uuid", "min": 0, "max": 1}}}},
22    "link2": {
23      "columns": {
24        "i": {"type": "integer"},
25        "l1": {"type": {"key": "uuid", "min": 0, "max": 1}}}}}}