added new aai-schema-ingest library
[aai/aai-common.git] / aai-schema-ingest / src / test / resources / edgeRules / test.json
1 {
2         "rules": [
3                 {
4                         "from": "foo",
5                         "to": "bar",
6                         "label": "eats",
7                         "direction": "OUT",
8                         "multiplicity": "One2Many",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "${direction}",
11                         "prevent-delete": "NONE",
12                         "description": "Hard to describe"
13                 },
14                 {
15                         "from": "foo",
16                         "to": "bar",
17                         "label": "eatz",
18                         "direction": "IN",
19                         "multiplicity": "One2Many",
20                         "contains-other-v": "NONE",
21                         "delete-other-v": "${direction}",
22                         "prevent-delete": "NONE",
23                         "description": "Hard to describe"
24                 },
25                 {
26                         "from": "foo",
27                         "to": "baz",
28                         "label": "isVeryHappyAbout",
29                         "direction": "OUT",
30                         "multiplicity": "One2Many",
31                         "contains-other-v": "${direction}",
32                         "delete-other-v": "${direction}",
33                         "prevent-delete": "NONE",
34                         "description": "Hard to describe"
35                 },
36                 {
37                         "from": "quux",
38                         "to": "foo",
39                         "label": "dancesWith",
40                         "direction": "IN",
41                         "multiplicity": "One2Many",
42                         "contains-other-v": "!${direction}",
43                         "delete-other-v": "${direction}",
44                         "prevent-delete": "NONE",
45                         "description": "Hard to describe"
46                 }
47         ]
48 }