aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeRules_test_broken.json
blob: 7258a8ccd9cda84c7ccf2cff3d69ef07ca4cd36b (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
{
	"rules": [
		{
			"from": "foo",
			"to": "bar",
			"label": "eats",
			"direction": "OUT",
			"multiplicity": "One2Many",
			"contains-other-v": "NONE",
			"prevent-delete": "NONE",
			"description": "Hard to describe"
		},
		{
			"from": "foo",
			"to": "baz",
			"label": "isVeryHappyAbout",
			"direction": "OUT",
			"multiplicity": "One2Many",
			"contains-other-v": "${direction}",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"description": "Hard to describe"
		},
		{
			"from": "quux",
			"to": "foo",
			"label": "dancesWith",
			"direction": "IN",
			"multiplicity": "One2Many",
			"contains-other-v": "!${direction}",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"description": "Hard to describe"
		}
	]
}