64b43ab8c1e5db2824d4c40c1a205b048cfa42fa
[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:37295",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/dictionary" : {
12       "get" : {
13         "operationId" : "route18",
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-1",
24         "x-routeId" : "route18"
25       },
26       "put" : {
27         "operationId" : "route20",
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-1",
47         "x-routeId" : "route20"
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-1",
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-1",
97         "x-routeId" : null
98       },
99       "delete" : {
100         "operationId" : "route22",
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-1",
112         "x-routeId" : "route22"
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-1",
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-1",
151         "x-routeId" : null
152       }
153     },
154     "/v2/loop/{loopName}" : {
155       "get" : {
156         "operationId" : "route3",
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-1",
173         "x-routeId" : "route3"
174       }
175     },
176     "/v2/loop/delete/{loopName}" : {
177       "put" : {
178         "operationId" : "route14",
179         "parameters" : [ {
180           "name" : "loopName",
181           "in" : "path",
182           "required" : true,
183           "type" : "string"
184         } ],
185         "responses" : {
186           "200" : { }
187         },
188         "x-camelContextId" : "camel-1",
189         "x-routeId" : "route14"
190       }
191     },
192     "/v2/loop/deploy/{loopName}" : {
193       "put" : {
194         "operationId" : "route8",
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-1",
211         "x-routeId" : "route8"
212       }
213     },
214     "/v2/loop/getAllNames" : {
215       "get" : {
216         "operationId" : "route2",
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-1",
230         "x-routeId" : "route2"
231       }
232     },
233     "/v2/loop/getstatus/{loopName}" : {
234       "get" : {
235         "operationId" : "route15",
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-1",
252         "x-routeId" : "route15"
253       }
254     },
255     "/v2/loop/refreshOpPolicyJsonSchema/{loopName}" : {
256       "put" : {
257         "operationId" : "route9",
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-1",
274         "x-routeId" : "route9"
275       }
276     },
277     "/v2/loop/restart/{loopName}" : {
278       "put" : {
279         "operationId" : "route12",
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-1",
296         "x-routeId" : "route12"
297       }
298     },
299     "/v2/loop/stop/{loopName}" : {
300       "put" : {
301         "operationId" : "route11",
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-1",
318         "x-routeId" : "route11"
319       }
320     },
321     "/v2/loop/submit/{loopName}" : {
322       "put" : {
323         "operationId" : "route13",
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-1",
340         "x-routeId" : "route13"
341       }
342     },
343     "/v2/loop/svgRepresentation/{loopName}" : {
344       "get" : {
345         "operationId" : "route4",
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-1",
362         "x-routeId" : "route4"
363       }
364     },
365     "/v2/loop/undeploy/{loopName}" : {
366       "put" : {
367         "operationId" : "route10",
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-1",
384         "x-routeId" : "route10"
385       }
386     },
387     "/v2/loop/updateGlobalProperties/{loopName}" : {
388       "post" : {
389         "operationId" : "route5",
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-1",
414         "x-routeId" : "route5"
415       }
416     },
417     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
418       "post" : {
419         "operationId" : "route7",
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-1",
444         "x-routeId" : "route7"
445       }
446     },
447     "/v2/loop/updateOperationalPolicies/{loopName}" : {
448       "post" : {
449         "operationId" : "route6",
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-1",
474         "x-routeId" : "route6"
475       }
476     },
477     "/v2/policyToscaModels" : {
478       "get" : {
479         "operationId" : "route25",
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-1",
490         "x-routeId" : "route25"
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-1",
511         "x-routeId" : null
512       },
513       "put" : {
514         "operationId" : "route26",
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-1",
539         "x-routeId" : "route26"
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-1",
560         "x-routeId" : null
561       }
562     },
563     "/v2/templates" : {
564       "get" : {
565         "operationId" : "route29",
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-1",
576         "x-routeId" : "route29"
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-1",
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-1",
615         "x-routeId" : null
616       }
617     },
618     "/v1/healthcheck" : {
619       "get" : {
620         "operationId" : "route30",
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-1",
631         "x-routeId" : "route30"
632       }
633     },
634     "/v1/user/getUser" : {
635       "get" : {
636         "operationId" : "route31",
637         "produces" : [ "text/plain" ],
638         "responses" : {
639           "200" : { }
640         },
641         "x-camelContextId" : "camel-1",
642         "x-routeId" : "route31"
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         "asString" : {
813           "type" : "string"
814         },
815         "asNumber" : {
816           "$ref" : "#/definitions/Number"
817         },
818         "asDouble" : {
819           "type" : "number",
820           "format" : "double"
821         },
822         "asFloat" : {
823           "type" : "number",
824           "format" : "float"
825         },
826         "asLong" : {
827           "type" : "integer",
828           "format" : "int64"
829         },
830         "asInt" : {
831           "type" : "integer",
832           "format" : "int32"
833         },
834         "asByte" : {
835           "type" : "string",
836           "format" : "byte"
837         },
838         "asCharacter" : {
839           "type" : "string"
840         },
841         "asBigDecimal" : {
842           "type" : "number"
843         },
844         "asBigInteger" : {
845           "type" : "integer"
846         },
847         "asShort" : {
848           "type" : "integer",
849           "format" : "int32"
850         },
851         "boolean" : {
852           "type" : "boolean"
853         },
854         "string" : {
855           "type" : "boolean"
856         },
857         "asJsonArray" : {
858           "$ref" : "#/definitions/JsonArray"
859         },
860         "asJsonObject" : {
861           "$ref" : "#/definitions/JsonObject"
862         },
863         "jsonArray" : {
864           "type" : "boolean"
865         },
866         "jsonObject" : {
867           "type" : "boolean"
868         },
869         "jsonPrimitive" : {
870           "type" : "boolean"
871         },
872         "jsonNull" : {
873           "type" : "boolean"
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         "pdpSubGroup" : {
913           "type" : "string"
914         },
915         "name" : {
916           "type" : "string"
917         },
918         "context" : {
919           "type" : "string"
920         },
921         "deviceTypeScope" : {
922           "type" : "string"
923         },
924         "shared" : {
925           "type" : "boolean"
926         },
927         "usedByLoops" : {
928           "type" : "array",
929           "uniqueItems" : true,
930           "items" : {
931             "$ref" : "#/definitions/Loop"
932           }
933         },
934         "dcaeDeploymentId" : {
935           "type" : "string"
936         },
937         "dcaeDeploymentStatusUrl" : {
938           "type" : "string"
939         },
940         "dcaeBlueprintId" : {
941           "type" : "string"
942         },
943         "policyModel" : {
944           "$ref" : "#/definitions/PolicyModel"
945         }
946       },
947       "x-className" : {
948         "type" : "string",
949         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
950       }
951     },
952     "JsonObject" : {
953       "type" : "object",
954       "properties" : {
955         "asBoolean" : {
956           "type" : "boolean"
957         },
958         "asString" : {
959           "type" : "string"
960         },
961         "asJsonArray" : {
962           "$ref" : "#/definitions/JsonArray"
963         },
964         "asJsonObject" : {
965           "$ref" : "#/definitions/JsonObject"
966         },
967         "jsonArray" : {
968           "type" : "boolean"
969         },
970         "jsonObject" : {
971           "type" : "boolean"
972         },
973         "jsonPrimitive" : {
974           "type" : "boolean"
975         },
976         "jsonNull" : {
977           "type" : "boolean"
978         },
979         "asJsonPrimitive" : {
980           "$ref" : "#/definitions/JsonPrimitive"
981         },
982         "asJsonNull" : {
983           "$ref" : "#/definitions/JsonNull"
984         },
985         "asNumber" : {
986           "$ref" : "#/definitions/Number"
987         },
988         "asDouble" : {
989           "type" : "number",
990           "format" : "double"
991         },
992         "asFloat" : {
993           "type" : "number",
994           "format" : "float"
995         },
996         "asLong" : {
997           "type" : "integer",
998           "format" : "int64"
999         },
1000         "asInt" : {
1001           "type" : "integer",
1002           "format" : "int32"
1003         },
1004         "asByte" : {
1005           "type" : "string",
1006           "format" : "byte"
1007         },
1008         "asCharacter" : {
1009           "type" : "string"
1010         },
1011         "asBigDecimal" : {
1012           "type" : "number"
1013         },
1014         "asBigInteger" : {
1015           "type" : "integer"
1016         },
1017         "asShort" : {
1018           "type" : "integer",
1019           "format" : "int32"
1020         }
1021       },
1022       "x-className" : {
1023         "type" : "string",
1024         "format" : "com.google.gson.JsonObject"
1025       }
1026     },
1027     "PolicyModel" : {
1028       "type" : "object",
1029       "properties" : {
1030         "createdDate" : {
1031           "type" : "integer",
1032           "format" : "int64"
1033         },
1034         "updatedDate" : {
1035           "type" : "integer",
1036           "format" : "int64"
1037         },
1038         "updatedBy" : {
1039           "type" : "string"
1040         },
1041         "createdBy" : {
1042           "type" : "string"
1043         },
1044         "policyModelType" : {
1045           "type" : "string"
1046         },
1047         "version" : {
1048           "type" : "string"
1049         },
1050         "policyModelTosca" : {
1051           "type" : "string"
1052         },
1053         "policyAcronym" : {
1054           "type" : "string"
1055         },
1056         "usedByElementModels" : {
1057           "type" : "array",
1058           "uniqueItems" : true,
1059           "items" : {
1060             "$ref" : "#/definitions/LoopElementModel"
1061           }
1062         },
1063         "policyPdpGroup" : {
1064           "$ref" : "#/definitions/JsonObject"
1065         }
1066       },
1067       "x-className" : {
1068         "type" : "string",
1069         "format" : "org.onap.clamp.loop.template.PolicyModel"
1070       }
1071     },
1072     "Service" : {
1073       "type" : "object",
1074       "properties" : {
1075         "serviceUuid" : {
1076           "type" : "string"
1077         },
1078         "name" : {
1079           "type" : "string"
1080         },
1081         "version" : {
1082           "type" : "string"
1083         },
1084         "serviceDetails" : {
1085           "$ref" : "#/definitions/JsonObject"
1086         },
1087         "resourceDetails" : {
1088           "$ref" : "#/definitions/JsonObject"
1089         }
1090       }
1091     },
1092     "LoopTemplateLoopElementModel" : {
1093       "type" : "object",
1094       "properties" : {
1095         "loopTemplate" : {
1096           "$ref" : "#/definitions/LoopTemplate"
1097         },
1098         "loopElementModel" : {
1099           "$ref" : "#/definitions/LoopElementModel"
1100         },
1101         "flowOrder" : {
1102           "type" : "integer",
1103           "format" : "int32"
1104         }
1105       }
1106     },
1107     "OperationalPolicy" : {
1108       "type" : "object",
1109       "properties" : {
1110         "createdDate" : {
1111           "type" : "integer",
1112           "format" : "int64"
1113         },
1114         "updatedDate" : {
1115           "type" : "integer",
1116           "format" : "int64"
1117         },
1118         "updatedBy" : {
1119           "type" : "string"
1120         },
1121         "createdBy" : {
1122           "type" : "string"
1123         },
1124         "jsonRepresentation" : {
1125           "$ref" : "#/definitions/JsonObject"
1126         },
1127         "configurationsJson" : {
1128           "$ref" : "#/definitions/JsonObject"
1129         },
1130         "loopElementModel" : {
1131           "$ref" : "#/definitions/LoopElementModel"
1132         },
1133         "pdpGroup" : {
1134           "type" : "string"
1135         },
1136         "pdpSubGroup" : {
1137           "type" : "string"
1138         },
1139         "name" : {
1140           "type" : "string"
1141         },
1142         "loop" : {
1143           "$ref" : "#/definitions/Loop"
1144         },
1145         "policyModel" : {
1146           "$ref" : "#/definitions/PolicyModel"
1147         }
1148       }
1149     },
1150     "JsonNull" : {
1151       "type" : "object",
1152       "properties" : {
1153         "asBoolean" : {
1154           "type" : "boolean"
1155         },
1156         "asString" : {
1157           "type" : "string"
1158         },
1159         "asJsonArray" : {
1160           "$ref" : "#/definitions/JsonArray"
1161         },
1162         "asJsonObject" : {
1163           "$ref" : "#/definitions/JsonObject"
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         "asJsonPrimitive" : {
1178           "$ref" : "#/definitions/JsonPrimitive"
1179         },
1180         "asJsonNull" : {
1181           "$ref" : "#/definitions/JsonNull"
1182         },
1183         "asNumber" : {
1184           "$ref" : "#/definitions/Number"
1185         },
1186         "asDouble" : {
1187           "type" : "number",
1188           "format" : "double"
1189         },
1190         "asFloat" : {
1191           "type" : "number",
1192           "format" : "float"
1193         },
1194         "asLong" : {
1195           "type" : "integer",
1196           "format" : "int64"
1197         },
1198         "asInt" : {
1199           "type" : "integer",
1200           "format" : "int32"
1201         },
1202         "asByte" : {
1203           "type" : "string",
1204           "format" : "byte"
1205         },
1206         "asCharacter" : {
1207           "type" : "string"
1208         },
1209         "asBigDecimal" : {
1210           "type" : "number"
1211         },
1212         "asBigInteger" : {
1213           "type" : "integer"
1214         },
1215         "asShort" : {
1216           "type" : "integer",
1217           "format" : "int32"
1218         }
1219       }
1220     },
1221     "JsonArray" : {
1222       "type" : "object",
1223       "properties" : {
1224         "asBoolean" : {
1225           "type" : "boolean"
1226         },
1227         "asString" : {
1228           "type" : "string"
1229         },
1230         "asNumber" : {
1231           "$ref" : "#/definitions/Number"
1232         },
1233         "asDouble" : {
1234           "type" : "number",
1235           "format" : "double"
1236         },
1237         "asFloat" : {
1238           "type" : "number",
1239           "format" : "float"
1240         },
1241         "asLong" : {
1242           "type" : "integer",
1243           "format" : "int64"
1244         },
1245         "asInt" : {
1246           "type" : "integer",
1247           "format" : "int32"
1248         },
1249         "asByte" : {
1250           "type" : "string",
1251           "format" : "byte"
1252         },
1253         "asCharacter" : {
1254           "type" : "string"
1255         },
1256         "asBigDecimal" : {
1257           "type" : "number"
1258         },
1259         "asBigInteger" : {
1260           "type" : "integer"
1261         },
1262         "asShort" : {
1263           "type" : "integer",
1264           "format" : "int32"
1265         },
1266         "asJsonArray" : {
1267           "$ref" : "#/definitions/JsonArray"
1268         },
1269         "asJsonObject" : {
1270           "$ref" : "#/definitions/JsonObject"
1271         },
1272         "jsonArray" : {
1273           "type" : "boolean"
1274         },
1275         "jsonObject" : {
1276           "type" : "boolean"
1277         },
1278         "jsonPrimitive" : {
1279           "type" : "boolean"
1280         },
1281         "jsonNull" : {
1282           "type" : "boolean"
1283         },
1284         "asJsonPrimitive" : {
1285           "$ref" : "#/definitions/JsonPrimitive"
1286         },
1287         "asJsonNull" : {
1288           "$ref" : "#/definitions/JsonNull"
1289         }
1290       },
1291       "x-className" : {
1292         "type" : "string",
1293         "format" : "com.google.gson.JsonArray"
1294       }
1295     },
1296     "LoopLog" : {
1297       "type" : "object",
1298       "properties" : {
1299         "id" : {
1300           "type" : "integer",
1301           "format" : "int64"
1302         },
1303         "logType" : {
1304           "type" : "string",
1305           "enum" : [ "INFO", "WARNING", "ERROR" ]
1306         },
1307         "logComponent" : {
1308           "type" : "string"
1309         },
1310         "message" : {
1311           "type" : "string"
1312         },
1313         "loop" : {
1314           "$ref" : "#/definitions/Loop"
1315         },
1316         "logInstant" : {
1317           "type" : "integer",
1318           "format" : "int64"
1319         }
1320       }
1321     },
1322     "Number" : {
1323       "type" : "object"
1324     },
1325     "ExternalComponent" : {
1326       "type" : "object",
1327       "properties" : {
1328         "state" : {
1329           "$ref" : "#/definitions/ExternalComponentState"
1330         },
1331         "componentName" : {
1332           "type" : "string"
1333         }
1334       }
1335     },
1336     "LoopTemplate" : {
1337       "type" : "object",
1338       "properties" : {
1339         "createdDate" : {
1340           "type" : "integer",
1341           "format" : "int64"
1342         },
1343         "updatedDate" : {
1344           "type" : "integer",
1345           "format" : "int64"
1346         },
1347         "updatedBy" : {
1348           "type" : "string"
1349         },
1350         "createdBy" : {
1351           "type" : "string"
1352         },
1353         "name" : {
1354           "type" : "string"
1355         },
1356         "dcaeBlueprintId" : {
1357           "type" : "string"
1358         },
1359         "blueprint" : {
1360           "type" : "string"
1361         },
1362         "svgRepresentation" : {
1363           "type" : "string"
1364         },
1365         "loopElementModelsUsed" : {
1366           "type" : "array",
1367           "uniqueItems" : true,
1368           "items" : {
1369             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1370           }
1371         },
1372         "modelService" : {
1373           "$ref" : "#/definitions/Service"
1374         },
1375         "maximumInstancesAllowed" : {
1376           "type" : "integer",
1377           "format" : "int32"
1378         },
1379         "uniqueBlueprint" : {
1380           "type" : "boolean"
1381         },
1382         "allowedLoopType" : {
1383           "type" : "string",
1384           "enum" : [ "OPEN", "CLOSED", "HYBRID" ]
1385         }
1386       },
1387       "x-className" : {
1388         "type" : "string",
1389         "format" : "org.onap.clamp.loop.template.LoopTemplate"
1390       }
1391     },
1392     "ExternalComponentState" : {
1393       "type" : "object",
1394       "properties" : {
1395         "stateName" : {
1396           "type" : "string"
1397         },
1398         "description" : {
1399           "type" : "string"
1400         },
1401         "level" : {
1402           "type" : "integer",
1403           "format" : "int32"
1404         }
1405       }
1406     },
1407     "LoopElementModel" : {
1408       "type" : "object",
1409       "properties" : {
1410         "createdDate" : {
1411           "type" : "integer",
1412           "format" : "int64"
1413         },
1414         "updatedDate" : {
1415           "type" : "integer",
1416           "format" : "int64"
1417         },
1418         "updatedBy" : {
1419           "type" : "string"
1420         },
1421         "createdBy" : {
1422           "type" : "string"
1423         },
1424         "name" : {
1425           "type" : "string"
1426         },
1427         "dcaeBlueprintId" : {
1428           "type" : "string"
1429         },
1430         "blueprint" : {
1431           "type" : "string"
1432         },
1433         "loopElementType" : {
1434           "type" : "string"
1435         },
1436         "shortName" : {
1437           "type" : "string"
1438         },
1439         "policyModels" : {
1440           "type" : "array",
1441           "uniqueItems" : true,
1442           "items" : {
1443             "$ref" : "#/definitions/PolicyModel"
1444           }
1445         },
1446         "usedByLoopTemplates" : {
1447           "type" : "array",
1448           "uniqueItems" : true,
1449           "items" : {
1450             "$ref" : "#/definitions/LoopTemplateLoopElementModel"
1451           }
1452         }
1453       }
1454     },
1455     "CldsHealthCheck" : {
1456       "type" : "object",
1457       "properties" : {
1458         "healthCheckComponent" : {
1459           "type" : "string"
1460         },
1461         "healthCheckStatus" : {
1462           "type" : "string"
1463         },
1464         "description" : {
1465           "type" : "string"
1466         }
1467       },
1468       "x-className" : {
1469         "type" : "string",
1470         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1471       }
1472     }
1473   }
1474 }