Merge "Add template and tosca model entities and repositories"
[clamp.git] / docs / swagger / swagger.json
1 {
2   "swagger" : "2.0",
3   "info" : {
4     "version" : "4.2.0-SNAPSHOT",
5     "title" : "Clamp Rest API"
6   },
7   "host" : "localhost:33953",
8   "basePath" : "/restservices/clds/",
9   "schemes" : [ "http" ],
10   "paths" : {
11     "/v2/loop/{loopName}" : {
12       "get" : {
13         "operationId" : "route20",
14         "produces" : [ "application/json" ],
15         "parameters" : [ {
16           "name" : "loopName",
17           "in" : "path",
18           "required" : true,
19           "type" : "string"
20         } ],
21         "responses" : {
22           "200" : {
23             "description" : "Output type",
24             "schema" : {
25               "$ref" : "#/definitions/Loop"
26             }
27           }
28         },
29         "x-camelContextId" : "camel-2",
30         "x-routeId" : "route20"
31       }
32     },
33     "/v2/loop/delete/{loopName}" : {
34       "put" : {
35         "operationId" : "route30",
36         "parameters" : [ {
37           "name" : "loopName",
38           "in" : "path",
39           "required" : true,
40           "type" : "string"
41         } ],
42         "responses" : {
43           "200" : { }
44         },
45         "x-camelContextId" : "camel-2",
46         "x-routeId" : "route30"
47       }
48     },
49     "/v2/loop/deploy/{loopName}" : {
50       "put" : {
51         "operationId" : "route25",
52         "produces" : [ "application/json" ],
53         "parameters" : [ {
54           "name" : "loopName",
55           "in" : "path",
56           "required" : true,
57           "type" : "string"
58         } ],
59         "responses" : {
60           "200" : {
61             "description" : "Output type",
62             "schema" : {
63               "$ref" : "#/definitions/Loop"
64             }
65           }
66         },
67         "x-camelContextId" : "camel-2",
68         "x-routeId" : "route25"
69       }
70     },
71     "/v2/loop/getAllNames" : {
72       "get" : {
73         "operationId" : "route19",
74         "produces" : [ "application/json" ],
75         "responses" : {
76           "200" : {
77             "description" : "Output type",
78             "schema" : {
79               "type" : "array",
80               "items" : {
81                 "type" : "string"
82               }
83             }
84           }
85         },
86         "x-camelContextId" : "camel-2",
87         "x-routeId" : "route19"
88       }
89     },
90     "/v2/loop/getstatus/{loopName}" : {
91       "get" : {
92         "operationId" : "route31",
93         "produces" : [ "application/json" ],
94         "parameters" : [ {
95           "name" : "loopName",
96           "in" : "path",
97           "required" : true,
98           "type" : "string"
99         } ],
100         "responses" : {
101           "200" : {
102             "description" : "Output type",
103             "schema" : {
104               "$ref" : "#/definitions/Loop"
105             }
106           }
107         },
108         "x-camelContextId" : "camel-2",
109         "x-routeId" : "route31"
110       }
111     },
112     "/v2/loop/restart/{loopName}" : {
113       "put" : {
114         "operationId" : "route28",
115         "produces" : [ "application/json" ],
116         "parameters" : [ {
117           "name" : "loopName",
118           "in" : "path",
119           "required" : true,
120           "type" : "string"
121         } ],
122         "responses" : {
123           "200" : {
124             "description" : "Output type",
125             "schema" : {
126               "$ref" : "#/definitions/Loop"
127             }
128           }
129         },
130         "x-camelContextId" : "camel-2",
131         "x-routeId" : "route28"
132       }
133     },
134     "/v2/loop/stop/{loopName}" : {
135       "put" : {
136         "operationId" : "route27",
137         "produces" : [ "application/json" ],
138         "parameters" : [ {
139           "name" : "loopName",
140           "in" : "path",
141           "required" : true,
142           "type" : "string"
143         } ],
144         "responses" : {
145           "200" : {
146             "description" : "Output type",
147             "schema" : {
148               "$ref" : "#/definitions/Loop"
149             }
150           }
151         },
152         "x-camelContextId" : "camel-2",
153         "x-routeId" : "route27"
154       }
155     },
156     "/v2/loop/submit/{loopName}" : {
157       "put" : {
158         "operationId" : "route29",
159         "produces" : [ "application/json" ],
160         "parameters" : [ {
161           "name" : "loopName",
162           "in" : "path",
163           "required" : true,
164           "type" : "string"
165         } ],
166         "responses" : {
167           "200" : {
168             "description" : "Output type",
169             "schema" : {
170               "$ref" : "#/definitions/Loop"
171             }
172           }
173         },
174         "x-camelContextId" : "camel-2",
175         "x-routeId" : "route29"
176       }
177     },
178     "/v2/loop/svgRepresentation/{loopName}" : {
179       "get" : {
180         "operationId" : "route21",
181         "produces" : [ "application/xml" ],
182         "parameters" : [ {
183           "name" : "loopName",
184           "in" : "path",
185           "required" : true,
186           "type" : "string"
187         } ],
188         "responses" : {
189           "200" : {
190             "description" : "Output type",
191             "schema" : {
192               "type" : "string"
193             }
194           }
195         },
196         "x-camelContextId" : "camel-2",
197         "x-routeId" : "route21"
198       }
199     },
200     "/v2/loop/undeploy/{loopName}" : {
201       "put" : {
202         "operationId" : "route26",
203         "produces" : [ "application/json" ],
204         "parameters" : [ {
205           "name" : "loopName",
206           "in" : "path",
207           "required" : true,
208           "type" : "string"
209         } ],
210         "responses" : {
211           "200" : {
212             "description" : "Output type",
213             "schema" : {
214               "$ref" : "#/definitions/Loop"
215             }
216           }
217         },
218         "x-camelContextId" : "camel-2",
219         "x-routeId" : "route26"
220       }
221     },
222     "/v2/loop/updateGlobalProperties/{loopName}" : {
223       "post" : {
224         "operationId" : "route22",
225         "consumes" : [ "application/json" ],
226         "produces" : [ "application/json" ],
227         "parameters" : [ {
228           "name" : "loopName",
229           "in" : "path",
230           "required" : true,
231           "type" : "string"
232         }, {
233           "in" : "body",
234           "name" : "body",
235           "required" : true,
236           "schema" : {
237             "$ref" : "#/definitions/JsonObject"
238           }
239         } ],
240         "responses" : {
241           "200" : {
242             "description" : "Output type",
243             "schema" : {
244               "$ref" : "#/definitions/Loop"
245             }
246           }
247         },
248         "x-camelContextId" : "camel-2",
249         "x-routeId" : "route22"
250       }
251     },
252     "/v2/loop/updateMicroservicePolicy/{loopName}" : {
253       "post" : {
254         "operationId" : "route24",
255         "consumes" : [ "application/json" ],
256         "produces" : [ "application/json" ],
257         "parameters" : [ {
258           "name" : "loopName",
259           "in" : "path",
260           "required" : true,
261           "type" : "string"
262         }, {
263           "in" : "body",
264           "name" : "body",
265           "required" : true,
266           "schema" : {
267             "$ref" : "#/definitions/MicroServicePolicy"
268           }
269         } ],
270         "responses" : {
271           "200" : {
272             "description" : "Output type",
273             "schema" : {
274               "$ref" : "#/definitions/MicroServicePolicy"
275             }
276           }
277         },
278         "x-camelContextId" : "camel-2",
279         "x-routeId" : "route24"
280       }
281     },
282     "/v2/loop/updateOperationalPolicies/{loopName}" : {
283       "post" : {
284         "operationId" : "route23",
285         "consumes" : [ "application/json" ],
286         "produces" : [ "application/json" ],
287         "parameters" : [ {
288           "name" : "loopName",
289           "in" : "path",
290           "required" : true,
291           "type" : "string"
292         }, {
293           "in" : "body",
294           "name" : "body",
295           "required" : true,
296           "schema" : {
297             "$ref" : "#/definitions/JsonArray"
298           }
299         } ],
300         "responses" : {
301           "200" : {
302             "description" : "Output type",
303             "schema" : {
304               "$ref" : "#/definitions/Loop"
305             }
306           }
307         },
308         "x-camelContextId" : "camel-2",
309         "x-routeId" : "route23"
310       }
311     },
312     "/v1/clds/cldsInfo" : {
313       "get" : {
314         "operationId" : "route32",
315         "produces" : [ "application/json" ],
316         "responses" : {
317           "200" : {
318             "description" : "Output type",
319             "schema" : {
320               "$ref" : "#/definitions/CldsInfo"
321             }
322           }
323         },
324         "x-camelContextId" : "camel-2",
325         "x-routeId" : "route32"
326       }
327     },
328     "/v1/healthcheck" : {
329       "get" : {
330         "operationId" : "route33",
331         "produces" : [ "application/json" ],
332         "responses" : {
333           "200" : {
334             "description" : "Output type",
335             "schema" : {
336               "$ref" : "#/definitions/CldsHealthCheck"
337             }
338           }
339         },
340         "x-camelContextId" : "camel-2",
341         "x-routeId" : "route33"
342       }
343     },
344     "/v1/user/getUser" : {
345       "get" : {
346         "operationId" : "route34",
347         "produces" : [ "text/plain" ],
348         "responses" : {
349           "200" : { }
350         },
351         "x-camelContextId" : "camel-2",
352         "x-routeId" : "route34"
353       }
354     }
355   },
356   "definitions" : {
357     "Loop" : {
358       "type" : "object",
359       "properties" : {
360         "createdDate" : {
361           "type" : "integer",
362           "format" : "int64"
363         },
364         "updatedDate" : {
365           "type" : "integer",
366           "format" : "int64"
367         },
368         "updatedBy" : {
369           "type" : "string"
370         },
371         "createdBy" : {
372           "type" : "string"
373         },
374         "name" : {
375           "type" : "string"
376         },
377         "dcaeDeploymentId" : {
378           "type" : "string"
379         },
380         "dcaeDeploymentStatusUrl" : {
381           "type" : "string"
382         },
383         "dcaeBlueprintId" : {
384           "type" : "string"
385         },
386         "svgRepresentation" : {
387           "type" : "string"
388         },
389         "globalPropertiesJson" : {
390           "$ref" : "#/definitions/JsonObject"
391         },
392         "modelService" : {
393           "$ref" : "#/definitions/Service"
394         },
395         "blueprint" : {
396           "type" : "string"
397         },
398         "lastComputedState" : {
399           "type" : "string",
400           "enum" : [ "DESIGN", "SUBMITTED", "DEPLOYED", "RUNNING", "STOPPED", "IN_ERROR", "WAITING" ]
401         },
402         "components" : {
403           "type" : "object",
404           "additionalProperties" : {
405             "$ref" : "#/definitions/ExternalComponent"
406           }
407         },
408         "operationalPolicies" : {
409           "type" : "array",
410           "uniqueItems" : true,
411           "items" : {
412             "$ref" : "#/definitions/OperationalPolicy"
413           }
414         },
415         "microServicePolicies" : {
416           "type" : "array",
417           "uniqueItems" : true,
418           "items" : {
419             "$ref" : "#/definitions/MicroServicePolicy"
420           }
421         },
422         "loopLogs" : {
423           "type" : "array",
424           "uniqueItems" : true,
425           "items" : {
426             "$ref" : "#/definitions/LoopLog"
427           }
428         },
429         "loopTemplate" : {
430           "$ref" : "#/definitions/LoopTemplate"
431         }
432       },
433       "x-className" : {
434         "type" : "string",
435         "format" : "org.onap.clamp.loop.Loop"
436       }
437     },
438     "MicroServiceModel" : {
439       "type" : "object",
440       "properties" : {
441         "createdDate" : {
442           "type" : "integer",
443           "format" : "int64"
444         },
445         "updatedDate" : {
446           "type" : "integer",
447           "format" : "int64"
448         },
449         "updatedBy" : {
450           "type" : "string"
451         },
452         "createdBy" : {
453           "type" : "string"
454         },
455         "name" : {
456           "type" : "string"
457         },
458         "policyType" : {
459           "type" : "string"
460         },
461         "blueprint" : {
462           "type" : "string"
463         },
464         "policyModel" : {
465           "$ref" : "#/definitions/PolicyModel"
466         },
467         "usedByLoopTemplates" : {
468           "type" : "array",
469           "uniqueItems" : true,
470           "items" : {
471             "$ref" : "#/definitions/TemplateMicroServiceModel"
472           }
473         }
474       }
475     },
476     "JsonPrimitive" : {
477       "type" : "object",
478       "properties" : {
479         "asBoolean" : {
480           "type" : "boolean"
481         },
482         "boolean" : {
483           "type" : "boolean"
484         },
485         "number" : {
486           "type" : "boolean"
487         },
488         "asString" : {
489           "type" : "string"
490         },
491         "asNumber" : {
492           "$ref" : "#/definitions/Number"
493         },
494         "asDouble" : {
495           "type" : "number",
496           "format" : "double"
497         },
498         "asFloat" : {
499           "type" : "number",
500           "format" : "float"
501         },
502         "asLong" : {
503           "type" : "integer",
504           "format" : "int64"
505         },
506         "asInt" : {
507           "type" : "integer",
508           "format" : "int32"
509         },
510         "asByte" : {
511           "type" : "string",
512           "format" : "byte"
513         },
514         "asCharacter" : {
515           "type" : "string"
516         },
517         "asBigDecimal" : {
518           "type" : "number"
519         },
520         "asBigInteger" : {
521           "type" : "integer"
522         },
523         "asShort" : {
524           "type" : "integer",
525           "format" : "int32"
526         },
527         "string" : {
528           "type" : "boolean"
529         },
530         "asJsonObject" : {
531           "$ref" : "#/definitions/JsonObject"
532         },
533         "asJsonArray" : {
534           "$ref" : "#/definitions/JsonArray"
535         },
536         "asJsonPrimitive" : {
537           "$ref" : "#/definitions/JsonPrimitive"
538         },
539         "jsonArray" : {
540           "type" : "boolean"
541         },
542         "jsonObject" : {
543           "type" : "boolean"
544         },
545         "jsonPrimitive" : {
546           "type" : "boolean"
547         },
548         "jsonNull" : {
549           "type" : "boolean"
550         },
551         "asJsonNull" : {
552           "$ref" : "#/definitions/JsonNull"
553         }
554       }
555     },
556     "MicroServicePolicy" : {
557       "type" : "object",
558       "properties" : {
559         "createdDate" : {
560           "type" : "integer",
561           "format" : "int64"
562         },
563         "updatedDate" : {
564           "type" : "integer",
565           "format" : "int64"
566         },
567         "updatedBy" : {
568           "type" : "string"
569         },
570         "createdBy" : {
571           "type" : "string"
572         },
573         "name" : {
574           "type" : "string"
575         },
576         "modelType" : {
577           "type" : "string"
578         },
579         "context" : {
580           "type" : "string"
581         },
582         "deviceTypeScope" : {
583           "type" : "string"
584         },
585         "properties" : {
586           "$ref" : "#/definitions/JsonObject"
587         },
588         "shared" : {
589           "type" : "boolean"
590         },
591         "policyTosca" : {
592           "type" : "string"
593         },
594         "jsonRepresentation" : {
595           "$ref" : "#/definitions/JsonObject"
596         },
597         "usedByLoops" : {
598           "type" : "array",
599           "uniqueItems" : true,
600           "items" : {
601             "$ref" : "#/definitions/Loop"
602           }
603         },
604         "microServiceModel" : {
605           "$ref" : "#/definitions/MicroServiceModel"
606         }
607       },
608       "x-className" : {
609         "type" : "string",
610         "format" : "org.onap.clamp.policy.microservice.MicroServicePolicy"
611       }
612     },
613     "JsonObject" : {
614       "type" : "object",
615       "properties" : {
616         "asBoolean" : {
617           "type" : "boolean"
618         },
619         "asJsonObject" : {
620           "$ref" : "#/definitions/JsonObject"
621         },
622         "asString" : {
623           "type" : "string"
624         },
625         "asJsonArray" : {
626           "$ref" : "#/definitions/JsonArray"
627         },
628         "asJsonPrimitive" : {
629           "$ref" : "#/definitions/JsonPrimitive"
630         },
631         "jsonArray" : {
632           "type" : "boolean"
633         },
634         "jsonObject" : {
635           "type" : "boolean"
636         },
637         "jsonPrimitive" : {
638           "type" : "boolean"
639         },
640         "jsonNull" : {
641           "type" : "boolean"
642         },
643         "asJsonNull" : {
644           "$ref" : "#/definitions/JsonNull"
645         },
646         "asNumber" : {
647           "$ref" : "#/definitions/Number"
648         },
649         "asDouble" : {
650           "type" : "number",
651           "format" : "double"
652         },
653         "asFloat" : {
654           "type" : "number",
655           "format" : "float"
656         },
657         "asLong" : {
658           "type" : "integer",
659           "format" : "int64"
660         },
661         "asInt" : {
662           "type" : "integer",
663           "format" : "int32"
664         },
665         "asByte" : {
666           "type" : "string",
667           "format" : "byte"
668         },
669         "asCharacter" : {
670           "type" : "string"
671         },
672         "asBigDecimal" : {
673           "type" : "number"
674         },
675         "asBigInteger" : {
676           "type" : "integer"
677         },
678         "asShort" : {
679           "type" : "integer",
680           "format" : "int32"
681         }
682       },
683       "x-className" : {
684         "type" : "string",
685         "format" : "com.google.gson.JsonObject"
686       }
687     },
688     "PolicyModel" : {
689       "type" : "object",
690       "properties" : {
691         "createdDate" : {
692           "type" : "integer",
693           "format" : "int64"
694         },
695         "updatedDate" : {
696           "type" : "integer",
697           "format" : "int64"
698         },
699         "updatedBy" : {
700           "type" : "string"
701         },
702         "createdBy" : {
703           "type" : "string"
704         },
705         "policyModelType" : {
706           "type" : "string"
707         },
708         "version" : {
709           "type" : "string"
710         },
711         "policyModelTosca" : {
712           "type" : "string"
713         },
714         "policyAcronym" : {
715           "type" : "string"
716         },
717         "policyVariant" : {
718           "type" : "string"
719         }
720       }
721     },
722     "Service" : {
723       "type" : "object",
724       "properties" : {
725         "serviceUuid" : {
726           "type" : "string"
727         },
728         "serviceDetails" : {
729           "$ref" : "#/definitions/JsonObject"
730         },
731         "resourceDetails" : {
732           "$ref" : "#/definitions/JsonObject"
733         }
734       }
735     },
736     "OperationalPolicy" : {
737       "type" : "object",
738       "properties" : {
739         "name" : {
740           "type" : "string"
741         },
742         "configurationsJson" : {
743           "$ref" : "#/definitions/JsonObject"
744         },
745         "loop" : {
746           "$ref" : "#/definitions/Loop"
747         },
748         "policyModel" : {
749           "$ref" : "#/definitions/PolicyModel"
750         },
751         "jsonRepresentation" : {
752           "$ref" : "#/definitions/JsonObject"
753         }
754       }
755     },
756     "JsonNull" : {
757       "type" : "object",
758       "properties" : {
759         "asBoolean" : {
760           "type" : "boolean"
761         },
762         "asJsonObject" : {
763           "$ref" : "#/definitions/JsonObject"
764         },
765         "asString" : {
766           "type" : "string"
767         },
768         "asJsonArray" : {
769           "$ref" : "#/definitions/JsonArray"
770         },
771         "asJsonPrimitive" : {
772           "$ref" : "#/definitions/JsonPrimitive"
773         },
774         "jsonArray" : {
775           "type" : "boolean"
776         },
777         "jsonObject" : {
778           "type" : "boolean"
779         },
780         "jsonPrimitive" : {
781           "type" : "boolean"
782         },
783         "jsonNull" : {
784           "type" : "boolean"
785         },
786         "asJsonNull" : {
787           "$ref" : "#/definitions/JsonNull"
788         },
789         "asNumber" : {
790           "$ref" : "#/definitions/Number"
791         },
792         "asDouble" : {
793           "type" : "number",
794           "format" : "double"
795         },
796         "asFloat" : {
797           "type" : "number",
798           "format" : "float"
799         },
800         "asLong" : {
801           "type" : "integer",
802           "format" : "int64"
803         },
804         "asInt" : {
805           "type" : "integer",
806           "format" : "int32"
807         },
808         "asByte" : {
809           "type" : "string",
810           "format" : "byte"
811         },
812         "asCharacter" : {
813           "type" : "string"
814         },
815         "asBigDecimal" : {
816           "type" : "number"
817         },
818         "asBigInteger" : {
819           "type" : "integer"
820         },
821         "asShort" : {
822           "type" : "integer",
823           "format" : "int32"
824         }
825       }
826     },
827     "JsonArray" : {
828       "type" : "object",
829       "properties" : {
830         "asBoolean" : {
831           "type" : "boolean"
832         },
833         "asString" : {
834           "type" : "string"
835         },
836         "asNumber" : {
837           "$ref" : "#/definitions/Number"
838         },
839         "asDouble" : {
840           "type" : "number",
841           "format" : "double"
842         },
843         "asFloat" : {
844           "type" : "number",
845           "format" : "float"
846         },
847         "asLong" : {
848           "type" : "integer",
849           "format" : "int64"
850         },
851         "asInt" : {
852           "type" : "integer",
853           "format" : "int32"
854         },
855         "asByte" : {
856           "type" : "string",
857           "format" : "byte"
858         },
859         "asCharacter" : {
860           "type" : "string"
861         },
862         "asBigDecimal" : {
863           "type" : "number"
864         },
865         "asBigInteger" : {
866           "type" : "integer"
867         },
868         "asShort" : {
869           "type" : "integer",
870           "format" : "int32"
871         },
872         "asJsonObject" : {
873           "$ref" : "#/definitions/JsonObject"
874         },
875         "asJsonArray" : {
876           "$ref" : "#/definitions/JsonArray"
877         },
878         "asJsonPrimitive" : {
879           "$ref" : "#/definitions/JsonPrimitive"
880         },
881         "jsonArray" : {
882           "type" : "boolean"
883         },
884         "jsonObject" : {
885           "type" : "boolean"
886         },
887         "jsonPrimitive" : {
888           "type" : "boolean"
889         },
890         "jsonNull" : {
891           "type" : "boolean"
892         },
893         "asJsonNull" : {
894           "$ref" : "#/definitions/JsonNull"
895         }
896       },
897       "x-className" : {
898         "type" : "string",
899         "format" : "com.google.gson.JsonArray"
900       }
901     },
902     "LoopLog" : {
903       "type" : "object",
904       "properties" : {
905         "id" : {
906           "type" : "integer",
907           "format" : "int64"
908         },
909         "logType" : {
910           "type" : "string",
911           "enum" : [ "INFO", "WARNING", "ERROR" ]
912         },
913         "logComponent" : {
914           "type" : "string"
915         },
916         "message" : {
917           "type" : "string"
918         },
919         "loop" : {
920           "$ref" : "#/definitions/Loop"
921         },
922         "logInstant" : {
923           "type" : "integer",
924           "format" : "int64"
925         }
926       }
927     },
928     "TemplateMicroServiceModel" : {
929       "type" : "object",
930       "properties" : {
931         "loopTemplate" : {
932           "$ref" : "#/definitions/LoopTemplate"
933         },
934         "microServiceModel" : {
935           "$ref" : "#/definitions/MicroServiceModel"
936         },
937         "flowOrder" : {
938           "type" : "integer",
939           "format" : "int32"
940         }
941       }
942     },
943     "Number" : {
944       "type" : "object"
945     },
946     "ExternalComponent" : {
947       "type" : "object",
948       "properties" : {
949         "state" : {
950           "$ref" : "#/definitions/ExternalComponentState"
951         },
952         "componentName" : {
953           "type" : "string"
954         }
955       }
956     },
957     "LoopTemplate" : {
958       "type" : "object",
959       "properties" : {
960         "createdDate" : {
961           "type" : "integer",
962           "format" : "int64"
963         },
964         "updatedDate" : {
965           "type" : "integer",
966           "format" : "int64"
967         },
968         "updatedBy" : {
969           "type" : "string"
970         },
971         "createdBy" : {
972           "type" : "string"
973         },
974         "name" : {
975           "type" : "string"
976         },
977         "blueprint" : {
978           "type" : "string"
979         },
980         "svgRepresentation" : {
981           "type" : "string"
982         },
983         "microServiceModelUsed" : {
984           "type" : "array",
985           "uniqueItems" : true,
986           "items" : {
987             "$ref" : "#/definitions/TemplateMicroServiceModel"
988           }
989         },
990         "modelService" : {
991           "$ref" : "#/definitions/Service"
992         },
993         "maximumInstancesAllowed" : {
994           "type" : "integer",
995           "format" : "int32"
996         }
997       }
998     },
999     "ExternalComponentState" : {
1000       "type" : "object",
1001       "properties" : {
1002         "stateName" : {
1003           "type" : "string"
1004         },
1005         "description" : {
1006           "type" : "string"
1007         },
1008         "level" : {
1009           "type" : "integer",
1010           "format" : "int32"
1011         }
1012       }
1013     },
1014     "CldsInfo" : {
1015       "type" : "object",
1016       "properties" : {
1017         "userName" : {
1018           "type" : "string"
1019         },
1020         "cldsVersion" : {
1021           "type" : "string"
1022         },
1023         "permissionReadCl" : {
1024           "type" : "boolean"
1025         },
1026         "permissionUpdateCl" : {
1027           "type" : "boolean"
1028         },
1029         "permissionReadTemplate" : {
1030           "type" : "boolean"
1031         },
1032         "permissionUpdateTemplate" : {
1033           "type" : "boolean"
1034         },
1035         "permissionReadTosca" : {
1036           "type" : "boolean"
1037         },
1038         "permissionUpdateTosca" : {
1039           "type" : "boolean"
1040         }
1041       },
1042       "x-className" : {
1043         "type" : "string",
1044         "format" : "org.onap.clamp.clds.model.CldsInfo"
1045       }
1046     },
1047     "CldsHealthCheck" : {
1048       "type" : "object",
1049       "properties" : {
1050         "healthCheckComponent" : {
1051           "type" : "string"
1052         },
1053         "healthCheckStatus" : {
1054           "type" : "string"
1055         },
1056         "description" : {
1057           "type" : "string"
1058         }
1059       },
1060       "x-className" : {
1061         "type" : "string",
1062         "format" : "org.onap.clamp.clds.model.CldsHealthCheck"
1063       }
1064     }
1065   }
1066 }