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