aboutsummaryrefslogtreecommitdiff
path: root/tests/idltest.ovsschema
blob: 239a34335d4dd15f7e5897af113c83f2aa4a5839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{"name": "idltest",
 "tables": {
   "simple": {
     "columns": {
       "i": {"type": "integer"},
       "r": {"type": "real"},
       "b": {"type": "boolean"},
       "s": {"type": "string"},
       "u": {"type": "uuid"},
       "ia": {"type": {"key": "integer", "min": 0, "max": "unlimited"}},
       "ra": {"type": {"key": "real", "min": 0, "max": "unlimited"}},
       "ba": {"type": {"key": "boolean", "min": 0, "max": "unlimited"}},
       "sa": {"type": {"key": "string", "min": 0, "max": "unlimited"}},
       "ua": {"type": {"key": "uuid", "min": 0, "max": "unlimited"}}}},
   "link1": {
     "columns": {
       "i": {"type": "integer"},
       "k": {"type": {"key": "uuid"}},
       "ka": {"type": {"key": "uuid",
                       "min": 0, "max": "unlimited"}},
       "l2": {"type": {"key": "uuid", "min": 0, "max": 1}}}},
   "link2": {
     "columns": {
       "i": {"type": "integer"},
       "l1": {"type": {"key": "uuid", "min": 0, "max": 1}}}}}}