Integrate aai-schema-ingest library into aai-core
[aai/aai-common.git] / aai-core / src / test / resources / dbedgerules / defaultEdgesTest.json
1 {
2         "rules": [
3                 {
4                         "from": "apple",
5                         "to": "orange",
6                         "label": "sitsBy",
7                         "direction": "OUT",
8                         "multiplicity": "MANY2MANY",
9                         "contains-other-v": "NONE",
10                         "delete-other-v": "${direction}",
11                         "prevent-delete": "NONE",
12                         "default": "false",
13                         "description":"for testing pairs with no default"
14                 },
15                 {
16                         "from": "apple",
17                         "to": "orange",
18                         "label": "makesSaladWith",
19                         "direction": "OUT",
20                         "multiplicity": "MANY2MANY",
21                         "contains-other-v": "NONE",
22                         "delete-other-v": "${direction}",
23                         "prevent-delete": "NONE",
24                         "default": "false",
25                         "description":"for testing pairs with no default"
26                 },
27                 {
28                         "from": "seed",
29                         "to": "plant",
30                         "label": "grows",
31                         "direction": "OUT",
32                         "multiplicity": "MANY2MANY",
33                         "contains-other-v": "NONE",
34                         "delete-other-v": "NONE",
35                         "prevent-delete": "NONE",
36                         "default": "true",
37                         "description":""
38                 },
39                 {
40                         "from": "seed",
41                         "to": "plant",
42                         "label": "becomes",
43                         "direction": "OUT",
44                         "multiplicity": "MANY2MANY",
45                         "contains-other-v": "OUT",
46                         "delete-other-v": "NONE",
47                         "prevent-delete": "NONE",
48                         "default": "true",
49                         "description":""
50                 }
51         ]
52 }