summaryrefslogtreecommitdiffstats
path: root/aai-schema-ingest/src/test/resources/edgeRules/defaultEdgesTest.json
blob: 2f4baed664ed6e435a6aaaa804cb7f50d0ea15d0 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
	"rules": [
		{
			"from": "apple",
			"to": "orange",
			"label": "sitsBy",
			"direction": "OUT",
			"multiplicity": "MANY2MANY",
			"contains-other-v": "NONE",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"default": "false",
			"description":"for testing pairs with no default"
		},
		{
			"from": "apple",
			"to": "orange",
			"label": "makesSaladWith",
			"direction": "OUT",
			"multiplicity": "MANY2MANY",
			"contains-other-v": "NONE",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"default": "false",
			"description":"for testing pairs with no default"
		},
		{
			"from": "seed",
			"to": "plant",
			"label": "grows",
			"direction": "OUT",
			"multiplicity": "MANY2MANY",
			"contains-other-v": "NONE",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":""
		},
		{
			"from": "seed",
			"to": "plant",
			"label": "becomes",
			"direction": "OUT",
			"multiplicity": "MANY2MANY",
			"contains-other-v": "OUT",
			"delete-other-v": "NONE",
			"prevent-delete": "NONE",
			"default": "true",
			"description":""
		}
	]
}