summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources/dbedgerules/test2.json
blob: 7d94e41c61690eff9aeca54ee576a5b2e2f256a4 (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
{
	"rules": [
		{
			"from": "foo",
			"to": "dog",
			"label": "pets",
			"direction": "OUT",
			"multiplicity": "One2Many",
			"contains-other-v": "NONE",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"description": "Hard to describe"
		},
		{
			"from": "dog",
			"to": "puppy",
			"label": "caresFor",
			"direction": "OUT",
			"multiplicity": "One2Many",
			"contains-other-v": "NONE",
			"delete-other-v": "${direction}",
			"prevent-delete": "NONE",
			"description": "Hard to describe",
			"default": "true"
		}
	]
}