added schema validation tools
[aai/aai-common.git] / aai-schema-ingest / src / test / resources / edgeRules / labelValidationTest2.json
1 {
2         "rules": [
3                 {
4                         "from": "human",
5                         "to": "strange-and-interesting-plant",
6                         "label": "owns",
7                         "direction": "OUT",
8                         "multiplicity": "ONE2ONE",
9                         "contains-other-v": "OUT",
10                         "delete-other-v": "NONE",
11                         "prevent-delete": "NONE",
12                         "default": "true",
13                         "description":"will be part of valid set (dup label (human owns) to stuff in file1, but different pair so ok)"
14                 },
15                 {
16                         "from": "badger",
17                         "to": "mushroom",
18                         "label": "onap.whatever.BindsTo",
19                         "direction": "OUT",
20                         "multiplicity": "ONE2ONE",
21                         "contains-other-v": "NONE",
22                         "delete-other-v": "NONE",
23                         "prevent-delete": "NONE",
24                         "default": "true",
25                         "description":"will be part of invalid set - full copy in file2"
26                 },
27                 {
28                         "from": "floor",
29                         "to": "lava",
30                         "label": "is",
31                         "direction": "OUT",
32                         "multiplicity": "ONE2ONE",
33                         "contains-other-v": "NONE",
34                         "delete-other-v": "NONE",
35                         "prevent-delete": "NONE",
36                         "default": "true",
37                         "description":"will be part of invalid set - dup in file2, contains and cousin, from/to flipped"
38                 },
39                 {
40                         "from": "human",
41                         "to": "toaster",
42                         "label": "builds",
43                         "direction": "OUT",
44                         "multiplicity": "ONE2ONE",
45                         "contains-other-v": "NONE",
46                         "delete-other-v": "NONE",
47                         "prevent-delete": "NONE",
48                         "default": "true",
49                         "description":"will be part of valid set across both files"
50                 }
51         ]
52 }