added schema validation tools
[aai/aai-common.git] / aai-schema-ingest / src / test / resources / edgeRules / test3-butbad.json
1 {
2         "rules": [
3                 {
4                         "from": "l-interface",
5                         "to": "logical-link",
6                         "label": "tosca.relationships.network.LinksTo",
7                         "direction": "OUT",
8                         "multiplicity": "MANY2MANY",
9                         "contains-other-v": "NONE",
10                         "prevent-delete": "NONE",
11                         "default": "true",
12                         "description":""
13                 },
14                 {
15                         "from": "logical-link",
16                         "to": "l-interface",
17                         "label": "org.onap.relationships.inventory.Source",
18                         "direction": "OUT",
19                         "multiplicity": "ONE2MANY",
20                         "contains-other-v": "NONE",
21                         "delete-other-v": "!${direction}",
22                         "prevent-delete": "NONE",
23                         "default": "false",
24                         "description":""
25                 },
26                 {
27                         "from": "logical-link",
28                         "to": "l-interface",
29                         "label": "org.onap.relationships.inventory.Source",
30                         "direction": "OUT",
31                         "multiplicity": "ONE2MANY",
32                         "contains-other-v": "NONE",
33                         "delete-other-v": "!${direction}",
34                         "prevent-delete": "NONE",
35                         "default": "false",
36                         "description":""
37                 },
38                 {
39                         "from": "l-interface",
40                         "to": "lag-interface",
41                         "label": "org.onap.relationships.inventory.BelongsTo",
42                         "direction": "OUT",
43                         "multiplicity": "MANY2ONE",
44                         "contains-other-v": "!${direction}",
45                         "delete-other-v": "!${direction}",
46                         "prevent-delete": "NONE",
47                         "default": "true",
48                         "description":""
49                 },
50                 {
51                         "from": "gooble",
52                         "to": "logical-link",
53                         "label": "org.onap.relationships.inventory.Uses",
54                         "direction": "OUT",
55                         "multiplicity": "MANY2MANY",
56                         "contains-other-v": "NONE",
57                         "delete-other-v": "${direction}",
58                         "prevent-delete": "NONE",
59                         "default": "true",
60                         "description":""
61                 }
62         ]
63 }