Move the aai-schema, annotations and
[aai/schema-service.git] / aai-schema-gen / src / test / resources / dbedgerules / DbEdgerules_two.json
1 {
2   "rules": [
3     {
4       "from": "availability-zone",
5       "to": "complex",
6       "label": "org.onap.relationships.inventory.LocatedIn",
7       "direction": "OUT",
8       "multiplicity": "MANY2ONE",
9       "contains-other-v": "NONE",
10       "delete-other-v": "NONE",
11       "prevent-delete": "!${direction}",
12       "default": "true"
13     },
14     {
15       "from": "availability-zone",
16       "to": "service-capability",
17       "label": "org.onap.relationships.inventory.AppliesTo",
18       "direction": "OUT",
19       "multiplicity": "MANY2MANY",
20       "contains-other-v": "NONE",
21       "delete-other-v": "NONE",
22       "prevent-delete": "!${direction}",
23       "default": "true"
24     },
25     {
26       "from": "availability-zone",
27       "to": "cloud-region",
28       "label": "org.onap.relationships.inventory.BelongsTo",
29       "direction": "OUT",
30       "multiplicity": "MANY2ONE",
31       "contains-other-v": "!${direction}",
32       "delete-other-v": "!${direction}",
33       "prevent-delete": "NONE",
34       "default": "true"
35     },
36     {
37       "from": "cloud-region",
38       "to": "complex",
39       "label": "org.onap.relationships.inventory.LocatedIn",
40       "direction": "OUT",
41       "multiplicity": "MANY2ONE",
42       "contains-other-v": "NONE",
43       "delete-other-v": "NONE",
44       "prevent-delete": "!${direction}",
45       "default": "true"
46     },
47     {
48       "from": "cloud-region",
49       "to": "l3-network",
50       "label": "org.onap.relationships.inventory.Uses",
51       "direction": "OUT",
52       "multiplicity": "MANY2MANY",
53       "contains-other-v": "NONE",
54       "delete-other-v": "NONE",
55       "prevent-delete": "NONE",
56       "default": "true"
57     },
58     {
59       "from": "dvs-switch",
60       "to": "cloud-region",
61       "label": "org.onap.relationships.inventory.BelongsTo",
62       "direction": "OUT",
63       "multiplicity": "MANY2ONE",
64       "contains-other-v": "!${direction}",
65       "delete-other-v": "NONE",
66       "prevent-delete": "!${direction}",
67       "default": "true"
68     },
69     {
70       "from": "flavor",
71       "to": "cloud-region",
72       "label": "org.onap.relationships.inventory.BelongsTo",
73       "direction": "OUT",
74       "multiplicity": "MANY2ONE",
75       "contains-other-v": "!${direction}",
76       "delete-other-v": "NONE",
77       "prevent-delete": "!${direction}",
78       "default": "true"
79     },
80     {
81       "from": "group-assignment",
82       "to": "cloud-region",
83       "label": "org.onap.relationships.inventory.BelongsTo",
84       "direction": "OUT",
85       "multiplicity": "MANY2ONE",
86       "contains-other-v": "!${direction}",
87       "delete-other-v": "NONE",
88       "prevent-delete": "!${direction}",
89       "default": "true"
90     },
91     {
92       "from": "image",
93       "to": "cloud-region",
94       "label": "org.onap.relationships.inventory.BelongsTo",
95       "direction": "OUT",
96       "multiplicity": "MANY2ONE",
97       "contains-other-v": "!${direction}",
98       "delete-other-v": "NONE",
99       "prevent-delete": "!${direction}",
100       "default": "true"
101     },
102     {
103       "from": "oam-network",
104       "to": "cloud-region",
105       "label": "org.onap.relationships.inventory.BelongsTo",
106       "direction": "OUT",
107       "multiplicity": "MANY2ONE",
108       "contains-other-v": "!${direction}",
109       "delete-other-v": "NONE",
110       "prevent-delete": "!${direction}",
111       "default": "true"
112     },
113     {
114       "from": "snapshot",
115       "to": "cloud-region",
116       "label": "org.onap.relationships.inventory.BelongsTo",
117       "direction": "OUT",
118       "multiplicity": "MANY2ONE",
119       "contains-other-v": "!${direction}",
120       "delete-other-v": "NONE",
121       "prevent-delete": "!${direction}",
122       "default": "true"
123     },
124     {
125       "from": "tenant",
126       "to": "cloud-region",
127       "label": "org.onap.relationships.inventory.BelongsTo",
128       "direction": "OUT",
129       "multiplicity": "MANY2ONE",
130       "contains-other-v": "!${direction}",
131       "delete-other-v": "NONE",
132       "prevent-delete": "!${direction}",
133       "default": "true"
134     },
135     {
136       "from": "volume-group",
137       "to": "cloud-region",
138       "label": "org.onap.relationships.inventory.BelongsTo",
139       "direction": "OUT",
140       "multiplicity": "MANY2ONE",
141       "contains-other-v": "!${direction}",
142       "delete-other-v": "NONE",
143       "prevent-delete": "!${direction}",
144       "default": "true"
145     },
146     {
147       "from": "complex",
148       "to": "l3-network",
149       "label": "org.onap.relationships.inventory.Uses",
150       "direction": "OUT",
151       "multiplicity": "MANY2MANY",
152       "contains-other-v": "NONE",
153       "delete-other-v": "NONE",
154       "prevent-delete": "NONE",
155       "default": "true"
156     },
157     {
158       "from": "ctag-pool",
159       "to": "complex",
160       "label": "org.onap.relationships.inventory.BelongsTo",
161       "direction": "OUT",
162       "multiplicity": "MANY2ONE",
163       "contains-other-v": "!${direction}",
164       "delete-other-v": "!${direction}",
165       "prevent-delete": "NONE",
166       "default": "true"
167     },
168     {
169       "from": "connector",
170       "to": "virtual-data-center",
171       "label": "org.onap.relationships.inventory.LocatedIn",
172       "direction": "OUT",
173       "multiplicity": "MANY2MANY",
174       "contains-other-v": "NONE",
175       "delete-other-v": "NONE",
176       "prevent-delete": "NONE",
177       "default": "true"
178     },
179     {
180       "from": "metadatum",
181       "to": "connector",
182       "label": "org.onap.relationships.inventory.BelongsTo",
183       "direction": "OUT",
184       "multiplicity": "MANY2ONE",
185       "contains-other-v": "!${direction}",
186       "delete-other-v": "!${direction}",
187       "prevent-delete": "NONE",
188       "default": "true"
189     },
190     {
191       "from": "element-choice-set",
192       "to": "constrained-element-set",
193       "label": "org.onap.relationships.inventory.BelongsTo",
194       "direction": "OUT",
195       "multiplicity": "MANY2ONE",
196       "contains-other-v": "!${direction}",
197       "delete-other-v": "!${direction}",
198       "prevent-delete": "NONE",
199       "default": "true"
200     },
201     {
202       "from": "ctag-pool",
203       "to": "availability-zone",
204       "label": "org.onap.relationships.inventory.AppliesTo",
205       "direction": "OUT",
206       "multiplicity": "MANY2MANY",
207       "contains-other-v": "NONE",
208       "delete-other-v": "NONE",
209       "prevent-delete": "!${direction}",
210       "default": "true"
211     },
212     {
213       "from": "service-subscription",
214       "to": "customer",
215       "label": "org.onap.relationships.inventory.BelongsTo",
216       "direction": "OUT",
217       "multiplicity": "MANY2ONE",
218       "contains-other-v": "!${direction}",
219       "delete-other-v": "!${direction}",
220       "prevent-delete": "NONE",
221       "default": "true"
222     },
223     {
224       "from": "dvs-switch",
225       "to": "availability-zone",
226       "label": "org.onap.relationships.inventory.AppliesTo",
227       "direction": "OUT",
228       "multiplicity": "MANY2MANY",
229       "contains-other-v": "NONE",
230       "delete-other-v": "NONE",
231       "prevent-delete": "!${direction}",
232       "default": "true"
233     },
234     {
235       "from": "model-element",
236       "to": "element-choice-set",
237       "label": "org.onap.relationships.inventory.BelongsTo",
238       "direction": "OUT",
239       "multiplicity": "MANY2ONE",
240       "contains-other-v": "!${direction}",
241       "delete-other-v": "!${direction}",
242       "prevent-delete": "NONE",
243       "default": "true"
244     },
245     {
246       "from": "generic-vnf",
247       "to": "availability-zone",
248       "label": "org.onap.relationships.inventory.Uses",
249       "direction": "OUT",
250       "multiplicity": "MANY2MANY",
251       "contains-other-v": "NONE",
252       "delete-other-v": "NONE",
253       "prevent-delete": "!${direction}",
254       "default": "true"
255     },
256     {
257       "from": "generic-vnf",
258       "to": "ipsec-configuration",
259       "label": "org.onap.relationships.inventory.Uses",
260       "direction": "OUT",
261       "multiplicity": "MANY2ONE",
262       "contains-other-v": "NONE",
263       "delete-other-v": "NONE",
264       "prevent-delete": "NONE",
265       "default": "true"
266     },
267     {
268       "from": "generic-vnf",
269       "to": "l3-network",
270       "label": "org.onap.relationships.inventory.Uses",
271       "direction": "OUT",
272       "multiplicity": "MANY2MANY",
273       "contains-other-v": "NONE",
274       "delete-other-v": "NONE",
275       "prevent-delete": "NONE",
276       "default": "true"
277     },
278     {
279       "from": "generic-vnf",
280       "to": "pserver",
281       "label": "tosca.relationships.HostedOn",
282       "direction": "OUT",
283       "multiplicity": "MANY2MANY",
284       "contains-other-v": "NONE",
285       "delete-other-v": "NONE",
286       "prevent-delete": "!${direction}",
287       "default": "true"
288     },
289     {
290       "from": "vnfc",
291       "to": "generic-vnf",
292       "label": "org.onap.relationships.inventory.BelongsTo",
293       "direction": "OUT",
294       "multiplicity": "MANY2ONE",
295       "contains-other-v": "NONE",
296       "delete-other-v": "!${direction}",
297       "prevent-delete": "NONE",
298       "default": "true"
299     },
300     {
301       "from": "generic-vnf",
302       "to": "vnf-image",
303       "label": "org.onap.relationships.inventory.Uses",
304       "direction": "OUT",
305       "multiplicity": "MANY2ONE",
306       "contains-other-v": "NONE",
307       "delete-other-v": "NONE",
308       "prevent-delete": "!${direction}",
309       "default": "true"
310     },
311     {
312       "from": "generic-vnf",
313       "to": "volume-group",
314       "label": "org.onap.relationships.inventory.DependsOn",
315       "direction": "OUT",
316       "multiplicity": "ONE2MANY",
317       "contains-other-v": "NONE",
318       "delete-other-v": "NONE",
319       "prevent-delete": "NONE",
320       "default": "true"
321     },
322     {
323       "from": "generic-vnf",
324       "to": "vserver",
325       "label": "tosca.relationships.HostedOn",
326       "direction": "OUT",
327       "multiplicity": "ONE2MANY",
328       "contains-other-v": "NONE",
329       "delete-other-v": "NONE",
330       "prevent-delete": "NONE",
331       "default": "true"
332     },
333     {
334       "from": "lag-interface",
335       "to": "generic-vnf",
336       "label": "org.onap.relationships.inventory.BelongsTo",
337       "direction": "OUT",
338       "multiplicity": "MANY2ONE",
339       "contains-other-v": "!${direction}",
340       "delete-other-v": "!${direction}",
341       "prevent-delete": "NONE",
342       "default": "true"
343     },
344     {
345       "from": "l-interface",
346       "to": "generic-vnf",
347       "label": "org.onap.relationships.inventory.BelongsTo",
348       "direction": "OUT",
349       "multiplicity": "MANY2ONE",
350       "contains-other-v": "!${direction}",
351       "delete-other-v": "!${direction}",
352       "prevent-delete": "NONE",
353       "default": "true"
354     },
355     {
356       "from": "network-profile",
357       "to": "generic-vnf",
358       "label": "org.onap.relationships.inventory.AppliesTo",
359       "direction": "OUT",
360       "multiplicity": "MANY2MANY",
361       "contains-other-v": "NONE",
362       "delete-other-v": "NONE",
363       "prevent-delete": "NONE",
364       "default": "true"
365     },
366     {
367       "from": "service-instance",
368       "to": "generic-vnf",
369       "label": "org.onap.relationships.inventory.ComposedOf",
370       "direction": "OUT",
371       "multiplicity": "ONE2MANY",
372       "contains-other-v": "NONE",
373       "delete-other-v": "NONE",
374       "prevent-delete": "NONE",
375       "default": "true"
376     },
377     {
378       "from": "site-pair-set",
379       "to": "generic-vnf",
380       "label": "org.onap.relationships.inventory.AppliesTo",
381       "direction": "OUT",
382       "multiplicity": "MANY2MANY",
383       "contains-other-v": "NONE",
384       "delete-other-v": "NONE",
385       "prevent-delete": "NONE",
386       "default": "true"
387     },
388     {
389       "from": "vf-module",
390       "to": "generic-vnf",
391       "label": "org.onap.relationships.inventory.BelongsTo",
392       "direction": "OUT",
393       "multiplicity": "MANY2ONE",
394       "contains-other-v": "!${direction}",
395       "delete-other-v": "!${direction}",
396       "prevent-delete": "NONE",
397       "default": "true"
398     },
399     {
400       "from": "pserver",
401       "to": "group-assignment",
402       "label": "org.onap.relationships.inventory.MemberOf",
403       "direction": "OUT",
404       "multiplicity": "MANY2ONE",
405       "contains-other-v": "NONE",
406       "delete-other-v": "NONE",
407       "prevent-delete": "${direction}",
408       "default": "true"
409     },
410     {
411       "from": "tenant",
412       "to": "group-assignment",
413       "label": "org.onap.relationships.inventory.MemberOf",
414       "direction": "OUT",
415       "multiplicity": "MANY2MANY",
416       "contains-other-v": "NONE",
417       "delete-other-v": "NONE",
418       "prevent-delete": "NONE",
419       "default": "true"
420     },
421     {
422       "from": "metadatum",
423       "to": "image",
424       "label": "org.onap.relationships.inventory.BelongsTo",
425       "direction": "OUT",
426       "multiplicity": "MANY2ONE",
427       "contains-other-v": "!${direction}",
428       "delete-other-v": "!${direction}",
429       "prevent-delete": "NONE",
430       "default": "true"
431     },
432     {
433       "from": "vig-server",
434       "to": "ipsec-configuration",
435       "label": "org.onap.relationships.inventory.BelongsTo",
436       "direction": "OUT",
437       "multiplicity": "MANY2ONE",
438       "contains-other-v": "!${direction}",
439       "delete-other-v": "!${direction}",
440       "prevent-delete": "NONE",
441       "default": "true"
442     },
443     {
444       "from": "l3-interface-ipv4-address-list",
445       "to": "l3-network",
446       "label": "org.onap.relationships.inventory.network.MemberOf",
447       "direction": "OUT",
448       "multiplicity": "MANY2MANY",
449       "contains-other-v": "NONE",
450       "delete-other-v": "NONE",
451       "prevent-delete": "NONE",
452       "default": "true"
453     },
454     {
455       "from": "l3-interface-ipv4-address-list",
456       "to": "subnet",
457       "label": "org.onap.relationships.inventory.network.MemberOf",
458       "direction": "OUT",
459       "multiplicity": "MANY2MANY",
460       "contains-other-v": "NONE",
461       "delete-other-v": "NONE",
462       "prevent-delete": "!${direction}",
463       "default": "true"
464     },
465     {
466       "from": "l3-interface-ipv6-address-list",
467       "to": "l3-network",
468       "label": "org.onap.relationships.inventory.network.MemberOf",
469       "direction": "OUT",
470       "multiplicity": "MANY2MANY",
471       "contains-other-v": "NONE",
472       "delete-other-v": "NONE",
473       "prevent-delete": "NONE",
474       "default": "true"
475     },
476     {
477       "from": "l3-interface-ipv6-address-list",
478       "to": "subnet",
479       "label": "org.onap.relationships.inventory.network.MemberOf",
480       "direction": "OUT",
481       "multiplicity": "MANY2MANY",
482       "contains-other-v": "NONE",
483       "delete-other-v": "NONE",
484       "prevent-delete": "!${direction}",
485       "default": "true"
486     },
487     {
488       "from": "ctag-assignment",
489       "to": "l3-network",
490       "label": "org.onap.relationships.inventory.BelongsTo",
491       "direction": "OUT",
492       "multiplicity": "MANY2ONE",
493       "contains-other-v": "!${direction}",
494       "delete-other-v": "!${direction}",
495       "prevent-delete": "NONE",
496       "default": "true"
497     },
498     {
499       "from": "l3-network",
500       "to": "network-policy",
501       "label": "org.onap.relationships.inventory.Uses",
502       "direction": "OUT",
503       "multiplicity": "MANY2MANY",
504       "contains-other-v": "NONE",
505       "delete-other-v": "NONE",
506       "prevent-delete": "NONE",
507       "default": "true"
508     },
509     {
510       "from": "l3-network",
511       "to": "route-table-reference",
512       "label": "org.onap.relationships.inventory.Uses",
513       "direction": "OUT",
514       "multiplicity": "MANY2MANY",
515       "contains-other-v": "NONE",
516       "delete-other-v": "NONE",
517       "prevent-delete": "NONE",
518       "default": "true"
519     },
520     {
521       "from": "l3-network",
522       "to": "vpn-binding",
523       "label": "org.onap.relationships.inventory.Uses",
524       "direction": "OUT",
525       "multiplicity": "MANY2MANY",
526       "contains-other-v": "NONE",
527       "delete-other-v": "NONE",
528       "prevent-delete": "!${direction}",
529       "default": "true"
530     },
531     {
532       "from": "segmentation-assignment",
533       "to": "l3-network",
534       "label": "org.onap.relationships.inventory.BelongsTo",
535       "direction": "OUT",
536       "multiplicity": "MANY2ONE",
537       "contains-other-v": "!${direction}",
538       "delete-other-v": "!${direction}",
539       "prevent-delete": "NONE",
540       "default": "true"
541     },
542     {
543       "from": "service-instance",
544       "to": "l3-network",
545       "label": "org.onap.relationships.inventory.ComposedOf",
546       "direction": "OUT",
547       "multiplicity": "ONE2MANY",
548       "contains-other-v": "NONE",
549       "delete-other-v": "NONE",
550       "prevent-delete": "NONE",
551       "default": "true"
552     },
553     {
554       "from": "subnet",
555       "to": "l3-network",
556       "label": "org.onap.relationships.inventory.BelongsTo",
557       "direction": "OUT",
558       "multiplicity": "MANY2ONE",
559       "contains-other-v": "!${direction}",
560       "delete-other-v": "!${direction}",
561       "prevent-delete": "NONE",
562       "default": "true"
563     },
564     {
565       "from": "lag-interface",
566       "to": "lag-link",
567       "label": "tosca.relationships.network.LinksTo",
568       "direction": "OUT",
569       "multiplicity": "MANY2MANY",
570       "contains-other-v": "NONE",
571       "delete-other-v": "${direction}",
572       "prevent-delete": "NONE",
573       "default": "true"
574     },
575     {
576       "from": "lag-interface",
577       "to": "p-interface",
578       "label": "org.onap.relationships.inventory.Uses",
579       "direction": "OUT",
580       "multiplicity": "MANY2MANY",
581       "contains-other-v": "NONE",
582       "delete-other-v": "NONE",
583       "prevent-delete": "NONE",
584       "default": "true"
585     },
586     {
587       "from": "l-interface",
588       "to": "lag-interface",
589       "label": "org.onap.relationships.inventory.BelongsTo",
590       "direction": "OUT",
591       "multiplicity": "MANY2ONE",
592       "contains-other-v": "!${direction}",
593       "delete-other-v": "!${direction}",
594       "prevent-delete": "NONE",
595       "default": "true"
596     },
597     {
598       "from": "l3-interface-ipv4-address-list",
599       "to": "l-interface",
600       "label": "org.onap.relationships.inventory.BelongsTo",
601       "direction": "OUT",
602       "multiplicity": "MANY2ONE",
603       "contains-other-v": "!${direction}",
604       "delete-other-v": "!${direction}",
605       "prevent-delete": "NONE",
606       "default": "true"
607     },
608     {
609       "from": "l3-interface-ipv6-address-list",
610       "to": "l-interface",
611       "label": "org.onap.relationships.inventory.BelongsTo",
612       "direction": "OUT",
613       "multiplicity": "MANY2ONE",
614       "contains-other-v": "!${direction}",
615       "delete-other-v": "!${direction}",
616       "prevent-delete": "NONE",
617       "default": "true"
618     },
619     {
620       "from": "l-interface",
621       "to": "logical-link",
622       "label": "tosca.relationships.network.LinksTo",
623       "direction": "OUT",
624       "multiplicity": "MANY2MANY",
625       "contains-other-v": "NONE",
626       "delete-other-v": "${direction}",
627       "prevent-delete": "NONE",
628       "default": "true"
629     },
630     {
631       "from": "sriov-vf",
632       "to": "l-interface",
633       "label": "org.onap.relationships.inventory.BelongsTo",
634       "direction": "OUT",
635       "multiplicity": "ONE2ONE",
636       "contains-other-v": "!${direction}",
637       "delete-other-v": "!${direction}",
638       "prevent-delete": "NONE",
639       "default": "true"
640     },
641     {
642       "from": "vlan",
643       "to": "l-interface",
644       "label": "tosca.relationships.network.LinksTo",
645       "direction": "OUT",
646       "multiplicity": "MANY2ONE",
647       "contains-other-v": "!${direction}",
648       "delete-other-v": "!${direction}",
649       "prevent-delete": "NONE",
650       "default": "true"
651     },
652     {
653       "from": "logical-link",
654       "to": "generic-vnf",
655       "label": "org.onap.relationships.inventory.BridgedTo",
656       "direction": "OUT",
657       "multiplicity": "MANY2MANY",
658       "contains-other-v": "NONE",
659       "delete-other-v": "NONE",
660       "prevent-delete": "NONE",
661       "default": "true"
662     },
663     {
664       "from": "logical-link",
665       "to": "lag-link",
666       "label": "org.onap.relationships.inventory.Uses",
667       "direction": "OUT",
668       "multiplicity": "MANY2MANY",
669       "contains-other-v": "NONE",
670       "delete-other-v": "NONE",
671       "prevent-delete": "NONE",
672       "default": "true"
673     },
674     {
675       "from": "logical-link",
676       "to": "logical-link",
677       "label": "org.onap.relationships.inventory.Uses",
678       "direction": "OUT",
679       "multiplicity": "ONE2MANY",
680       "contains-other-v": "NONE",
681       "delete-other-v": "NONE",
682       "prevent-delete": "NONE",
683       "default": "true"
684     },
685     {
686       "from": "logical-link",
687       "to": "pnf",
688       "label": "org.onap.relationships.inventory.BridgedTo",
689       "direction": "OUT",
690       "multiplicity": "MANY2MANY",
691       "contains-other-v": "NONE",
692       "delete-other-v": "NONE",
693       "prevent-delete": "NONE",
694       "default": "true"
695     },
696     {
697       "from": "logical-link",
698       "to": "pserver",
699       "label": "org.onap.relationships.inventory.BridgedTo",
700       "direction": "OUT",
701       "multiplicity": "MANY2MANY",
702       "contains-other-v": "NONE",
703       "delete-other-v": "NONE",
704       "prevent-delete": "!${direction}",
705       "default": "true"
706     },
707     {
708       "from": "constrained-element-set",
709       "to": "model-constraint",
710       "label": "org.onap.relationships.inventory.BelongsTo",
711       "direction": "OUT",
712       "multiplicity": "MANY2ONE",
713       "contains-other-v": "!${direction}",
714       "delete-other-v": "!${direction}",
715       "prevent-delete": "NONE",
716       "default": "true"
717     },
718     {
719       "from": "constrained-element-set",
720       "to": "model-element",
721       "label": "org.onap.relationships.inventory.BelongsTo",
722       "direction": "OUT",
723       "multiplicity": "MANY2ONE",
724       "contains-other-v": "!${direction}",
725       "delete-other-v": "!${direction}",
726       "prevent-delete": "NONE",
727       "default": "true"
728     },
729     {
730       "from": "model-constraint",
731       "to": "model-element",
732       "label": "org.onap.relationships.inventory.BelongsTo",
733       "direction": "OUT",
734       "multiplicity": "MANY2ONE",
735       "contains-other-v": "!${direction}",
736       "delete-other-v": "!${direction}",
737       "prevent-delete": "NONE",
738       "default": "true"
739     },
740     {
741       "from": "model-element",
742       "to": "model-element",
743       "label": "org.onap.relationships.inventory.BelongsTo",
744       "direction": "OUT",
745       "multiplicity": "MANY2ONE",
746       "contains-other-v": "!${direction}",
747       "delete-other-v": "!${direction}",
748       "prevent-delete": "NONE",
749       "default": "true"
750     },
751     {
752       "from": "named-query",
753       "to": "model",
754       "label": "org.onap.relationships.inventory.AppliesTo",
755       "direction": "OUT",
756       "multiplicity": "ONE2MANY",
757       "contains-other-v": "NONE",
758       "delete-other-v": "NONE",
759       "prevent-delete": "!${direction}",
760       "default": "true"
761     },
762     {
763       "from": "named-query-element",
764       "to": "named-query",
765       "label": "org.onap.relationships.inventory.BelongsTo",
766       "direction": "OUT",
767       "multiplicity": "ONE2ONE",
768       "contains-other-v": "!${direction}",
769       "delete-other-v": "!${direction}",
770       "prevent-delete": "NONE",
771       "default": "true"
772     },
773     {
774       "from": "named-query-element",
775       "to": "model",
776       "label": "org.onap.relationships.inventory.IsA",
777       "direction": "OUT",
778       "multiplicity": "MANY2ONE",
779       "contains-other-v": "NONE",
780       "delete-other-v": "NONE",
781       "prevent-delete": "!${direction}",
782       "default": "true"
783     },
784     {
785       "from": "named-query-element",
786       "to": "named-query-element",
787       "label": "org.onap.relationships.inventory.BelongsTo",
788       "direction": "OUT",
789       "multiplicity": "MANY2ONE",
790       "contains-other-v": "!${direction}",
791       "delete-other-v": "!${direction}",
792       "prevent-delete": "NONE",
793       "default": "true"
794     },
795     {
796       "from": "property-constraint",
797       "to": "named-query-element",
798       "label": "org.onap.relationships.inventory.BelongsTo",
799       "direction": "OUT",
800       "multiplicity": "MANY2ONE",
801       "contains-other-v": "!${direction}",
802       "delete-other-v": "!${direction}",
803       "prevent-delete": "NONE",
804       "default": "true"
805     },
806     {
807       "from": "related-lookup",
808       "to": "named-query-element",
809       "label": "org.onap.relationships.inventory.BelongsTo",
810       "direction": "OUT",
811       "multiplicity": "MANY2ONE",
812       "contains-other-v": "!${direction}",
813       "delete-other-v": "!${direction}",
814       "prevent-delete": "NONE",
815       "default": "true"
816     },
817     {
818       "from": "l-interface",
819       "to": "newvce",
820       "label": "org.onap.relationships.inventory.BelongsTo",
821       "direction": "OUT",
822       "multiplicity": "MANY2ONE",
823       "contains-other-v": "!${direction}",
824       "delete-other-v": "!${direction}",
825       "prevent-delete": "NONE",
826       "default": "true"
827     },
828     {
829       "from": "oam-network",
830       "to": "complex",
831       "label": "org.onap.relationships.inventory.AppliesTo",
832       "direction": "OUT",
833       "multiplicity": "MANY2MANY",
834       "contains-other-v": "NONE",
835       "delete-other-v": "NONE",
836       "prevent-delete": "!${direction}",
837       "default": "true"
838     },
839     {
840       "from": "oam-network",
841       "to": "service-capability",
842       "label": "org.onap.relationships.inventory.AppliesTo",
843       "direction": "OUT",
844       "multiplicity": "MANY2MANY",
845       "contains-other-v": "NONE",
846       "delete-other-v": "NONE",
847       "prevent-delete": "!${direction}",
848       "default": "true"
849     },
850     {
851       "from": "l-interface",
852       "to": "p-interface",
853       "label": "tosca.relationships.network.BindsTo",
854       "direction": "OUT",
855       "multiplicity": "MANY2ONE",
856       "contains-other-v": "!${direction}",
857       "delete-other-v": "!${direction}",
858       "prevent-delete": "NONE",
859       "default": "true"
860     },
861     {
862       "from": "p-interface",
863       "to": "logical-link",
864       "label": "tosca.relationships.network.LinksTo",
865       "direction": "OUT",
866       "multiplicity": "MANY2ONE",
867       "contains-other-v": "NONE",
868       "delete-other-v": "NONE",
869       "prevent-delete": "NONE",
870       "default": "true"
871     },
872     {
873       "from": "p-interface",
874       "to": "physical-link",
875       "label": "tosca.relationships.network.LinksTo",
876       "direction": "OUT",
877       "multiplicity": "MANY2ONE",
878       "contains-other-v": "NONE",
879       "delete-other-v": "${direction}",
880       "prevent-delete": "NONE",
881       "default": "true"
882     },
883     {
884       "from": "lag-interface",
885       "to": "pnf",
886       "label": "tosca.relationships.network.BindsTo",
887       "direction": "OUT",
888       "multiplicity": "MANY2ONE",
889       "contains-other-v": "!${direction}",
890       "delete-other-v": "!${direction}",
891       "prevent-delete": "NONE",
892       "default": "true"
893     },
894     {
895       "from": "p-interface",
896       "to": "pnf",
897       "label": "tosca.relationships.network.BindsTo",
898       "direction": "OUT",
899       "multiplicity": "MANY2ONE",
900       "contains-other-v": "!${direction}",
901       "delete-other-v": "!${direction}",
902       "prevent-delete": "NONE",
903       "default": "true"
904     },
905     {
906       "from": "pnf",
907       "to": "complex",
908       "label": "org.onap.relationships.inventory.LocatedIn",
909       "direction": "OUT",
910       "multiplicity": "MANY2ONE",
911       "contains-other-v": "NONE",
912       "delete-other-v": "NONE",
913       "prevent-delete": "!${direction}",
914       "default": "true"
915     },
916     {
917       "from": "cvlan-tag",
918       "to": "port-group",
919       "label": "org.onap.relationships.inventory.BelongsTo",
920       "direction": "OUT",
921       "multiplicity": "MANY2ONE",
922       "contains-other-v": "!${direction}",
923       "delete-other-v": "!${direction}",
924       "prevent-delete": "NONE",
925       "default": "true"
926     },
927     {
928       "from": "lag-interface",
929       "to": "pserver",
930       "label": "tosca.relationships.network.BindsTo",
931       "direction": "OUT",
932       "multiplicity": "MANY2ONE",
933       "contains-other-v": "!${direction}",
934       "delete-other-v": "!${direction}",
935       "prevent-delete": "NONE",
936       "default": "true"
937     },
938     {
939       "from": "p-interface",
940       "to": "pserver",
941       "label": "tosca.relationships.network.BindsTo",
942       "direction": "OUT",
943       "multiplicity": "MANY2ONE",
944       "contains-other-v": "!${direction}",
945       "delete-other-v": "!${direction}",
946       "prevent-delete": "NONE",
947       "default": "true"
948     },
949     {
950       "from": "pserver",
951       "to": "availability-zone",
952       "label": "org.onap.relationships.inventory.MemberOf",
953       "direction": "OUT",
954       "multiplicity": "MANY2ONE",
955       "contains-other-v": "NONE",
956       "delete-other-v": "NONE",
957       "prevent-delete": "!${direction}",
958       "default": "true"
959     },
960     {
961       "from": "pserver",
962       "to": "cloud-region",
963       "label": "org.onap.relationships.inventory.LocatedIn",
964       "direction": "OUT",
965       "multiplicity": "MANY2ONE",
966       "contains-other-v": "NONE",
967       "delete-other-v": "NONE",
968       "prevent-delete": "NONE",
969       "default": "true"
970     },
971     {
972       "from": "pserver",
973       "to": "complex",
974       "label": "org.onap.relationships.inventory.LocatedIn",
975       "direction": "OUT",
976       "multiplicity": "MANY2ONE",
977       "contains-other-v": "NONE",
978       "delete-other-v": "NONE",
979       "prevent-delete": "!${direction}",
980       "default": "true"
981     },
982     {
983       "from": "site-pair",
984       "to": "routing-instance",
985       "label": "org.onap.relationships.inventory.BelongsTo",
986       "direction": "OUT",
987       "multiplicity": "MANY2ONE",
988       "contains-other-v": "!${direction}",
989       "delete-other-v": "!${direction}",
990       "prevent-delete": "NONE",
991       "default": "true"
992     },
993     {
994       "from": "metadatum",
995       "to": "service-instance",
996       "label": "org.onap.relationships.inventory.BelongsTo",
997       "direction": "OUT",
998       "multiplicity": "MANY2ONE",
999       "contains-other-v": "!${direction}",
1000       "delete-other-v": "!${direction}",
1001       "prevent-delete": "NONE",
1002       "default": "true"
1003     },
1004     {
1005       "from": "service-instance",
1006       "to": "connector",
1007       "label": "org.onap.relationships.inventory.Uses",
1008       "direction": "OUT",
1009       "multiplicity": "MANY2MANY",
1010       "contains-other-v": "NONE",
1011       "delete-other-v": "NONE",
1012       "prevent-delete": "NONE",
1013       "default": "true"
1014     },
1015     {
1016       "from": "service-instance",
1017       "to": "cvlan-tag",
1018       "label": "org.onap.relationships.inventory.ComposedOf",
1019       "direction": "OUT",
1020       "multiplicity": "MANY2MANY",
1021       "contains-other-v": "NONE",
1022       "delete-other-v": "NONE",
1023       "prevent-delete": "NONE",
1024       "default": "true"
1025     },
1026     {
1027       "from": "service-instance",
1028       "to": "logical-link",
1029       "label": "org.onap.relationships.inventory.Uses",
1030       "direction": "OUT",
1031       "multiplicity": "MANY2MANY",
1032       "contains-other-v": "NONE",
1033       "delete-other-v": "${direction}",
1034       "prevent-delete": "NONE",
1035       "default": "true"
1036     },
1037     {
1038       "from": "service-instance",
1039       "to": "service-instance",
1040       "label": "org.onap.relationships.inventory.ComposedOf",
1041       "direction": "OUT",
1042       "multiplicity": "ONE2MANY",
1043       "contains-other-v": "NONE",
1044       "delete-other-v": "NONE",
1045       "prevent-delete": "NONE",
1046       "default": "true"
1047     },
1048     {
1049       "from": "service-instance",
1050       "to": "vlan",
1051       "label": "org.onap.relationships.inventory.ComposedOf",
1052       "direction": "OUT",
1053       "multiplicity": "ONE2MANY",
1054       "contains-other-v": "NONE",
1055       "delete-other-v": "NONE",
1056       "prevent-delete": "NONE",
1057       "default": "true"
1058     },
1059     {
1060       "from": "service-instance",
1061       "to": "service-subscription",
1062       "label": "org.onap.relationships.inventory.BelongsTo",
1063       "direction": "OUT",
1064       "multiplicity": "MANY2ONE",
1065       "contains-other-v": "!${direction}",
1066       "delete-other-v": "!${direction}",
1067       "prevent-delete": "NONE",
1068       "default": "true"
1069     },
1070     {
1071       "from": "class-of-service",
1072       "to": "site-pair",
1073       "label": "org.onap.relationships.inventory.BelongsTo",
1074       "direction": "OUT",
1075       "multiplicity": "MANY2ONE",
1076       "contains-other-v": "!${direction}",
1077       "delete-other-v": "!${direction}",
1078       "prevent-delete": "NONE",
1079       "default": "true"
1080     },
1081     {
1082       "from": "routing-instance",
1083       "to": "site-pair-set",
1084       "label": "org.onap.relationships.inventory.BelongsTo",
1085       "direction": "OUT",
1086       "multiplicity": "MANY2ONE",
1087       "contains-other-v": "!${direction}",
1088       "delete-other-v": "!${direction}",
1089       "prevent-delete": "NONE",
1090       "default": "true"
1091     },
1092     {
1093       "from": "service-subscription",
1094       "to": "tenant",
1095       "label": "org.onap.relationships.inventory.Uses",
1096       "direction": "OUT",
1097       "multiplicity": "MANY2MANY",
1098       "contains-other-v": "NONE",
1099       "delete-other-v": "NONE",
1100       "prevent-delete": "NONE",
1101       "default": "true"
1102     },
1103     {
1104       "from": "tenant",
1105       "to": "l3-network",
1106       "label": "org.onap.relationships.inventory.Uses",
1107       "direction": "OUT",
1108       "multiplicity": "MANY2MANY",
1109       "contains-other-v": "NONE",
1110       "delete-other-v": "NONE",
1111       "prevent-delete": "NONE",
1112       "default": "true"
1113     },
1114     {
1115       "from": "vserver",
1116       "to": "tenant",
1117       "label": "org.onap.relationships.inventory.BelongsTo",
1118       "direction": "OUT",
1119       "multiplicity": "MANY2ONE",
1120       "contains-other-v": "!${direction}",
1121       "delete-other-v": "NONE",
1122       "prevent-delete": "!${direction}",
1123       "default": "true"
1124     },
1125     {
1126       "from": "port-group",
1127       "to": "vce",
1128       "label": "org.onap.relationships.inventory.BelongsTo",
1129       "direction": "OUT",
1130       "multiplicity": "MANY2ONE",
1131       "contains-other-v": "!${direction}",
1132       "delete-other-v": "!${direction}",
1133       "prevent-delete": "NONE",
1134       "default": "true"
1135     },
1136     {
1137       "from": "service-instance",
1138       "to": "vce",
1139       "label": "org.onap.relationships.inventory.ComposedOf",
1140       "direction": "OUT",
1141       "multiplicity": "ONE2MANY",
1142       "contains-other-v": "NONE",
1143       "delete-other-v": "NONE",
1144       "prevent-delete": "NONE",
1145       "default": "true"
1146     },
1147     {
1148       "from": "vce",
1149       "to": "availability-zone",
1150       "label": "org.onap.relationships.inventory.Uses",
1151       "direction": "OUT",
1152       "multiplicity": "MANY2MANY",
1153       "contains-other-v": "NONE",
1154       "delete-other-v": "NONE",
1155       "prevent-delete": "!${direction}",
1156       "default": "true"
1157     },
1158     {
1159       "from": "vce",
1160       "to": "complex",
1161       "label": "org.onap.relationships.inventory.LocatedIn",
1162       "direction": "OUT",
1163       "multiplicity": "MANY2MANY",
1164       "contains-other-v": "NONE",
1165       "delete-other-v": "NONE",
1166       "prevent-delete": "!${direction}",
1167       "default": "true"
1168     },
1169     {
1170       "from": "vce",
1171       "to": "vserver",
1172       "label": "tosca.relationships.HostedOn",
1173       "direction": "OUT",
1174       "multiplicity": "ONE2MANY",
1175       "contains-other-v": "NONE",
1176       "delete-other-v": "NONE",
1177       "prevent-delete": "NONE",
1178       "default": "true"
1179     },
1180     {
1181       "from": "vf-module",
1182       "to": "l3-network",
1183       "label": "org.onap.relationships.inventory.DependsOn",
1184       "direction": "OUT",
1185       "multiplicity": "MANY2MANY",
1186       "contains-other-v": "NONE",
1187       "delete-other-v": "NONE",
1188       "prevent-delete": "NONE",
1189       "default": "true"
1190     },
1191     {
1192       "from": "vf-module",
1193       "to": "vnfc",
1194       "label": "org.onap.relationships.inventory.Uses",
1195       "direction": "OUT",
1196       "multiplicity": "ONE2MANY",
1197       "contains-other-v": "NONE",
1198       "delete-other-v": "NONE",
1199       "prevent-delete": "${direction}",
1200       "default": "true"
1201     },
1202     {
1203       "from": "vf-module",
1204       "to": "volume-group",
1205       "label": "org.onap.relationships.inventory.Uses",
1206       "direction": "OUT",
1207       "multiplicity": "ONE2ONE",
1208       "contains-other-v": "NONE",
1209       "delete-other-v": "NONE",
1210       "prevent-delete": "NONE",
1211       "default": "true"
1212     },
1213     {
1214       "from": "generic-vnf",
1215       "to": "virtual-data-center",
1216       "label": "org.onap.relationships.inventory.LocatedIn",
1217       "direction": "OUT",
1218       "multiplicity": "MANY2MANY",
1219       "contains-other-v": "NONE",
1220       "delete-other-v": "NONE",
1221       "prevent-delete": "NONE",
1222       "default": "true"
1223     },
1224     {
1225       "from": "logical-link",
1226       "to": "virtual-data-center",
1227       "label": "org.onap.relationships.inventory.LocatedIn",
1228       "direction": "OUT",
1229       "multiplicity": "MANY2MANY",
1230       "contains-other-v": "NONE",
1231       "delete-other-v": "NONE",
1232       "prevent-delete": "NONE",
1233       "default": "true"
1234     },
1235     {
1236       "from": "l3-interface-ipv4-address-list",
1237       "to": "vlan",
1238       "label": "org.onap.relationships.inventory.BelongsTo",
1239       "direction": "OUT",
1240       "multiplicity": "MANY2ONE",
1241       "contains-other-v": "!${direction}",
1242       "delete-other-v": "!${direction}",
1243       "prevent-delete": "NONE",
1244       "default": "true"
1245     },
1246     {
1247       "from": "l3-interface-ipv6-address-list",
1248       "to": "vlan",
1249       "label": "org.onap.relationships.inventory.BelongsTo",
1250       "direction": "OUT",
1251       "multiplicity": "MANY2ONE",
1252       "contains-other-v": "!${direction}",
1253       "delete-other-v": "!${direction}",
1254       "prevent-delete": "NONE",
1255       "default": "true"
1256     },
1257     {
1258       "from": "vlan",
1259       "to": "logical-link",
1260       "label": "org.onap.relationships.inventory.Uses",
1261       "direction": "OUT",
1262       "multiplicity": "MANY2MANY",
1263       "contains-other-v": "NONE",
1264       "delete-other-v": "${direction}",
1265       "prevent-delete": "NONE",
1266       "default": "true"
1267     },
1268     {
1269       "from": "vlan",
1270       "to": "multicast-configuration",
1271       "label": "org.onap.relationships.inventory.Uses",
1272       "direction": "OUT",
1273       "multiplicity": "MANY2MANY",
1274       "contains-other-v": "NONE",
1275       "delete-other-v": "NONE",
1276       "prevent-delete": "NONE",
1277       "default": "true"
1278     },
1279     {
1280       "from": "tenant",
1281       "to": "volume-group",
1282       "label": "org.onap.relationships.inventory.DependsOn",
1283       "direction": "OUT",
1284       "multiplicity": "ONE2MANY",
1285       "contains-other-v": "NONE",
1286       "delete-other-v": "NONE",
1287       "prevent-delete": "NONE",
1288       "default": "true"
1289     },
1290     {
1291       "from": "volume-group",
1292       "to": "complex",
1293       "label": "org.onap.relationships.inventory.LocatedIn",
1294       "direction": "OUT",
1295       "multiplicity": "MANY2ONE",
1296       "contains-other-v": "NONE",
1297       "delete-other-v": "NONE",
1298       "prevent-delete": "!${direction}",
1299       "default": "true"
1300     },
1301     {
1302       "from": "lag-interface",
1303       "to": "vpls-pe",
1304       "label": "tosca.relationships.network.BindsTo",
1305       "direction": "OUT",
1306       "multiplicity": "MANY2ONE",
1307       "contains-other-v": "!${direction}",
1308       "delete-other-v": "!${direction}",
1309       "prevent-delete": "NONE",
1310       "default": "true"
1311     },
1312     {
1313       "from": "p-interface",
1314       "to": "vpls-pe",
1315       "label": "tosca.relationships.network.BindsTo",
1316       "direction": "OUT",
1317       "multiplicity": "MANY2ONE",
1318       "contains-other-v": "!${direction}",
1319       "delete-other-v": "!${direction}",
1320       "prevent-delete": "NONE",
1321       "default": "true"
1322     },
1323     {
1324       "from": "vpls-pe",
1325       "to": "complex",
1326       "label": "org.onap.relationships.inventory.LocatedIn",
1327       "direction": "OUT",
1328       "multiplicity": "MANY2ONE",
1329       "contains-other-v": "NONE",
1330       "delete-other-v": "NONE",
1331       "prevent-delete": "!${direction}",
1332       "default": "true"
1333     },
1334     {
1335       "from": "vpls-pe",
1336       "to": "ctag-pool",
1337       "label": "org.onap.relationships.inventory.Uses",
1338       "direction": "OUT",
1339       "multiplicity": "MANY2MANY",
1340       "contains-other-v": "NONE",
1341       "delete-other-v": "NONE",
1342       "prevent-delete": "NONE",
1343       "default": "true"
1344     },
1345     {
1346       "from": "l-interface",
1347       "to": "vserver",
1348       "label": "tosca.relationships.network.BindsTo",
1349       "direction": "OUT",
1350       "multiplicity": "MANY2ONE",
1351       "contains-other-v": "!${direction}",
1352       "delete-other-v": "!${direction}",
1353       "prevent-delete": "NONE",
1354       "default": "true"
1355     },
1356     {
1357       "from": "vf-module",
1358       "to": "vserver",
1359       "label": "org.onap.relationships.inventory.Uses",
1360       "direction": "OUT",
1361       "multiplicity": "ONE2MANY",
1362       "contains-other-v": "NONE",
1363       "delete-other-v": "NONE",
1364       "prevent-delete": "NONE",
1365       "default": "true"
1366     },
1367     {
1368       "from": "vnfc",
1369       "to": "vserver",
1370       "label": "tosca.relationships.HostedOn",
1371       "direction": "OUT",
1372       "multiplicity": "ONE2MANY",
1373       "contains-other-v": "NONE",
1374       "delete-other-v": "NONE",
1375       "prevent-delete": "NONE",
1376       "default": "true"
1377     },
1378     {
1379       "from": "vserver",
1380       "to": "flavor",
1381       "label": "org.onap.relationships.inventory.Uses",
1382       "direction": "OUT",
1383       "multiplicity": "MANY2ONE",
1384       "contains-other-v": "NONE",
1385       "delete-other-v": "NONE",
1386       "prevent-delete": "!${direction}",
1387       "default": "true"
1388     },
1389     {
1390       "from": "vserver",
1391       "to": "image",
1392       "label": "org.onap.relationships.inventory.Uses",
1393       "direction": "OUT",
1394       "multiplicity": "MANY2ONE",
1395       "contains-other-v": "NONE",
1396       "delete-other-v": "NONE",
1397       "prevent-delete": "!${direction}",
1398       "default": "true"
1399     },
1400     {
1401       "from": "model-element",
1402       "to": "model",
1403       "label": "isA",
1404       "direction": "OUT",
1405       "multiplicity": "MANY2ONE",
1406       "contains-other-v": "NONE",
1407       "delete-other-v": "NONE",
1408       "prevent-delete": "NONE",
1409       "default": "true"
1410     },
1411     {
1412       "from": "model",
1413       "to": "model-element",
1414       "label": "startsWith",
1415       "direction": "OUT",
1416       "multiplicity": "ONE2MANY",
1417       "contains-other-v": "${direction}",
1418       "delete-other-v": "${direction}",
1419       "prevent-delete": "NONE",
1420       "default": "true"
1421     },
1422     {
1423       "from": "metadatum",
1424       "to": "model",
1425       "label": "org.onap.relationships.inventory.BelongsTo",
1426       "direction": "OUT",
1427       "multiplicity": "MANY2ONE",
1428       "contains-other-v": "!${direction}",
1429       "delete-other-v": "!${direction}",
1430       "prevent-delete": "NONE",
1431       "default": "true"
1432     },
1433     {
1434       "from": "vserver",
1435       "to": "pserver",
1436       "label": "tosca.relationships.HostedOn",
1437       "direction": "OUT",
1438       "multiplicity": "MANY2ONE",
1439       "contains-other-v": "NONE",
1440       "delete-other-v": "NONE",
1441       "prevent-delete": "!${direction}",
1442       "default": "true"
1443     },
1444     {
1445       "from": "vserver",
1446       "to": "snapshot",
1447       "label": "org.onap.relationships.inventory.Uses",
1448       "direction": "OUT",
1449       "multiplicity": "ONE2ONE",
1450       "contains-other-v": "NONE",
1451       "delete-other-v": "NONE",
1452       "prevent-delete": "NONE",
1453       "default": "true"
1454     },
1455     {
1456       "from": "vserver",
1457       "to": "volume",
1458       "label": "tosca.relationships.AttachesTo",
1459       "direction": "OUT",
1460       "multiplicity": "ONE2MANY",
1461       "contains-other-v": "${direction}",
1462       "delete-other-v": "${direction}",
1463       "prevent-delete": "NONE",
1464       "default": "true"
1465     }
1466   ]
1467 }