bd8ed48e8266b878843393ae07221acae2eb236c
[policy/parent.git] / docs / api / swagger / nodetemplates-api.json
1 {
2   "swagger": "2.0",
3   "basePath": "/",
4   "tags": [
5     {
6       "name": "nodeTemplate"
7     }
8   ],
9   "schemes": [
10     "http",
11     "https"
12   ],
13   "paths": {
14     "/policy/api/v1/nodetemplates":{
15       "get":{
16         "tags":[
17           "nodeTemplates"
18         ],
19         "summary":"Retrieve all the available tosca node templates",
20         "description":"Returns all the node templates from the service template",
21         "operationId":"getAllNodeTemplatesUsingGET",
22         "produces":[
23           "application/json",
24           "application/yaml"
25         ],
26         "parameters":[
27           {
28             "name":"X-ONAP-RequestID",
29             "in":"header",
30             "description":"RequestID for http transaction",
31             "required":false,
32             "type":"string",
33             "format":"uuid"
34           }
35         ],
36         "responses":{
37           "200":{
38             "description":"OK",
39             "schema":{
40               "type":"array",
41               "items":{
42                 "$ref":"#/definitions/ToscaNodeTemplateRes",
43                 "originalRef":"ToscaNodeTemplateRes"
44               }
45             }
46           },
47           "401":{
48             "description":"Authentication Error",
49             "headers":{
50               "X-LatestVersion":{
51                 "type":"string"
52               },
53               "X-PatchVersion":{
54                 "type":"string"
55               },
56               "X-MinorVersion":{
57                 "type":"string"
58               },
59               "X-ONAP-RequestID":{
60                 "type":"string",
61                 "format":"uuid"
62               }
63             }
64           },
65           "403":{
66             "description":"Authorization Error",
67             "headers":{
68               "X-LatestVersion":{
69                 "type":"string"
70               },
71               "X-PatchVersion":{
72                 "type":"string"
73               },
74               "X-MinorVersion":{
75                 "type":"string"
76               },
77               "X-ONAP-RequestID":{
78                 "type":"string",
79                 "format":"uuid"
80               }
81             }
82           },
83           "404":{
84             "description":"Resource Not Found",
85             "headers":{
86               "X-LatestVersion":{
87                 "type":"string"
88               },
89               "X-PatchVersion":{
90                 "type":"string"
91               },
92               "X-MinorVersion":{
93                 "type":"string"
94               },
95               "X-ONAP-RequestID":{
96                 "type":"string",
97                 "format":"uuid"
98               }
99             }
100           },
101           "500":{
102             "description":"Internal Server Error",
103             "headers":{
104               "X-LatestVersion":{
105                 "type":"string"
106               },
107               "X-PatchVersion":{
108                 "type":"string"
109               },
110               "X-MinorVersion":{
111                 "type":"string"
112               },
113               "X-ONAP-RequestID":{
114                 "type":"string",
115                 "format":"uuid"
116               }
117             }
118           }
119         },
120         "security":[
121           {
122             "basicAuth":[
123
124             ]
125           }
126         ],
127         "x-interface info":{
128           "api-version":"1.0.0",
129           "last-mod-release":"Jakarta"
130         }
131       },
132       "post":{
133         "tags":[
134           "nodeTemplate"
135         ],
136         "summary":"Create one or more new node templates",
137         "description":"Client should provide TOSCA body of the new node templates",
138         "operationId":"createToscaNodeTemplatesUsingPOST",
139         "consumes":[
140           "application/json"
141         ],
142         "produces":[
143           "application/json",
144           "application/yaml"
145         ],
146         "parameters":[
147           {
148             "in":"body",
149             "name":"body",
150             "description":"Entity body of tosca node templates",
151             "required":true,
152             "schema":{
153               "$ref":"#/definitions/ToscaServiceTemplateReq",
154               "originalRef":"ToscaServiceTemplateReq"
155             }
156           },
157           {
158             "name":"X-ONAP-RequestID",
159             "in":"header",
160             "description":"RequestID for http transaction",
161             "required":false,
162             "type":"string",
163             "format":"uuid"
164           }
165         ],
166         "responses":{
167           "200":{
168             "description":"OK",
169             "schema":{
170               "$ref":"#/definitions/ToscaServiceTemplateRes",
171               "originalRef":"ToscaServiceTemplateRes"
172             }
173           },
174           "201":{
175             "description":"Created"
176           },
177           "400":{
178             "description":"Invalid Body",
179             "headers":{
180               "X-LatestVersion":{
181                 "type":"string"
182               },
183               "X-PatchVersion":{
184                 "type":"string"
185               },
186               "X-MinorVersion":{
187                 "type":"string"
188               },
189               "X-ONAP-RequestID":{
190                 "type":"string",
191                 "format":"uuid"
192               }
193             }
194           },
195           "401":{
196             "description":"Authentication Error",
197             "headers":{
198               "X-LatestVersion":{
199                 "type":"string"
200               },
201               "X-PatchVersion":{
202                 "type":"string"
203               },
204               "X-MinorVersion":{
205                 "type":"string"
206               },
207               "X-ONAP-RequestID":{
208                 "type":"string",
209                 "format":"uuid"
210               }
211             }
212           },
213           "403":{
214             "description":"Authorization Error",
215             "headers":{
216               "X-LatestVersion":{
217                 "type":"string"
218               },
219               "X-PatchVersion":{
220                 "type":"string"
221               },
222               "X-MinorVersion":{
223                 "type":"string"
224               },
225               "X-ONAP-RequestID":{
226                 "type":"string",
227                 "format":"uuid"
228               }
229             }
230           },
231           "404":{
232             "description":"Resource Not Found",
233             "headers":{
234               "X-LatestVersion":{
235                 "type":"string"
236               },
237               "X-PatchVersion":{
238                 "type":"string"
239               },
240               "X-MinorVersion":{
241                 "type":"string"
242               },
243               "X-ONAP-RequestID":{
244                 "type":"string",
245                 "format":"uuid"
246               }
247             }
248           },
249           "406":{
250             "description":"Not Acceptable Payload",
251             "headers":{
252               "X-LatestVersion":{
253                 "type":"string"
254               },
255               "X-PatchVersion":{
256                 "type":"string"
257               },
258               "X-MinorVersion":{
259                 "type":"string"
260               },
261               "X-ONAP-RequestID":{
262                 "type":"string",
263                 "format":"uuid"
264               }
265             }
266           },
267           "500":{
268             "description":"Internal Server Error",
269             "headers":{
270               "X-LatestVersion":{
271                 "type":"string"
272               },
273               "X-PatchVersion":{
274                 "type":"string"
275               },
276               "X-MinorVersion":{
277                 "type":"string"
278               },
279               "X-ONAP-RequestID":{
280                 "type":"string",
281                 "format":"uuid"
282               }
283             }
284           }
285         },
286         "security":[
287           {
288             "basicAuth":[
289
290             ]
291           }
292         ],
293         "x-interface info":{
294           "api-version":"1.0.0",
295           "last-mod-release":"Jakarta"
296         }
297       },
298       "put":{
299         "tags":[
300           "nodeTemplate"
301         ],
302         "summary":"Updates one or more new node templates",
303         "description":"Client should provide TOSCA body of the updated node templates",
304         "operationId":"updateToscaNodeTemplatesUsingPUT",
305         "consumes":[
306           "application/json"
307         ],
308         "produces":[
309           "application/json",
310           "application/yaml"
311         ],
312         "parameters":[
313           {
314             "in":"body",
315             "name":"body",
316             "description":"Entity body of tosca node templates",
317             "required":true,
318             "schema":{
319               "$ref":"#/definitions/ToscaServiceTemplateReq",
320               "originalRef":"ToscaServiceTemplateReq"
321             }
322           },
323           {
324             "name":"X-ONAP-RequestID",
325             "in":"header",
326             "description":"RequestID for http transaction",
327             "required":false,
328             "type":"string",
329             "format":"uuid"
330           }
331         ],
332         "responses":{
333           "200":{
334             "description":"OK",
335             "schema":{
336               "$ref":"#/definitions/ToscaServiceTemplateRes",
337               "originalRef":"ToscaServiceTemplateRes"
338             }
339           },
340           "201":{
341             "description":"Created"
342           },
343           "400":{
344             "description":"Invalid Body",
345             "headers":{
346               "X-LatestVersion":{
347                 "type":"string"
348               },
349               "X-PatchVersion":{
350                 "type":"string"
351               },
352               "X-MinorVersion":{
353                 "type":"string"
354               },
355               "X-ONAP-RequestID":{
356                 "type":"string",
357                 "format":"uuid"
358               }
359             }
360           },
361           "401":{
362             "description":"Authentication Error",
363             "headers":{
364               "X-LatestVersion":{
365                 "type":"string"
366               },
367               "X-PatchVersion":{
368                 "type":"string"
369               },
370               "X-MinorVersion":{
371                 "type":"string"
372               },
373               "X-ONAP-RequestID":{
374                 "type":"string",
375                 "format":"uuid"
376               }
377             }
378           },
379           "403":{
380             "description":"Authorization Error",
381             "headers":{
382               "X-LatestVersion":{
383                 "type":"string"
384               },
385               "X-PatchVersion":{
386                 "type":"string"
387               },
388               "X-MinorVersion":{
389                 "type":"string"
390               },
391               "X-ONAP-RequestID":{
392                 "type":"string",
393                 "format":"uuid"
394               }
395             }
396           },
397           "404":{
398             "description":"Resource Not Found",
399             "headers":{
400               "X-LatestVersion":{
401                 "type":"string"
402               },
403               "X-PatchVersion":{
404                 "type":"string"
405               },
406               "X-MinorVersion":{
407                 "type":"string"
408               },
409               "X-ONAP-RequestID":{
410                 "type":"string",
411                 "format":"uuid"
412               }
413             }
414           },
415           "406":{
416             "description":"Not Acceptable Payload",
417             "headers":{
418               "X-LatestVersion":{
419                 "type":"string"
420               },
421               "X-PatchVersion":{
422                 "type":"string"
423               },
424               "X-MinorVersion":{
425                 "type":"string"
426               },
427               "X-ONAP-RequestID":{
428                 "type":"string",
429                 "format":"uuid"
430               }
431             }
432           },
433           "500":{
434             "description":"Internal Server Error",
435             "headers":{
436               "X-LatestVersion":{
437                 "type":"string"
438               },
439               "X-PatchVersion":{
440                 "type":"string"
441               },
442               "X-MinorVersion":{
443                 "type":"string"
444               },
445               "X-ONAP-RequestID":{
446                 "type":"string",
447                 "format":"uuid"
448               }
449             }
450           }
451         },
452         "security":[
453           {
454             "basicAuth":[
455
456             ]
457           }
458         ],
459         "x-interface info":{
460           "api-version":"1.0.0",
461           "last-mod-release":"Jakarta"
462         }
463       }
464     },
465     "/policy/api/v1/nodetemplates/{name}/versions/{version}":{
466       "get":{
467         "tags":[
468           "nodeTemplates"
469         ],
470         "summary":"Retrieve one version of a tosca node template",
471         "description":"Returns a particular version of a node template",
472         "operationId":"getSpecificVersionOfNodeTemplateUsingGET",
473         "produces":[
474           "application/json",
475           "application/yaml"
476         ],
477         "parameters":[
478           {
479             "name":"name",
480             "in":"path",
481             "description":"Name of the node template",
482             "required":true,
483             "type":"string"
484           },
485           {
486             "name":"version",
487             "in":"path",
488             "description":"Version of the node template",
489             "required":true,
490             "type":"string"
491           },
492           {
493             "name":"X-ONAP-RequestID",
494             "in":"header",
495             "description":"RequestID for http transaction",
496             "required":false,
497             "type":"string",
498             "format":"uuid"
499           }
500         ],
501         "responses":{
502           "200":{
503             "description":"OK",
504             "schema":{
505               "type":"array",
506               "items":{
507                 "$ref":"#/definitions/ToscaNodeTemplateRes",
508                 "originalRef":"ToscaNodeTemplateRes"
509               }
510             }
511           },
512           "401":{
513             "description":"Authentication Error",
514             "headers":{
515               "X-LatestVersion":{
516                 "type":"string"
517               },
518               "X-PatchVersion":{
519                 "type":"string"
520               },
521               "X-MinorVersion":{
522                 "type":"string"
523               },
524               "X-ONAP-RequestID":{
525                 "type":"string",
526                 "format":"uuid"
527               }
528             }
529           },
530           "403":{
531             "description":"Authorization Error",
532             "headers":{
533               "X-LatestVersion":{
534                 "type":"string"
535               },
536               "X-PatchVersion":{
537                 "type":"string"
538               },
539               "X-MinorVersion":{
540                 "type":"string"
541               },
542               "X-ONAP-RequestID":{
543                 "type":"string",
544                 "format":"uuid"
545               }
546             }
547           },
548           "404":{
549             "description":"Resource Not Found",
550             "headers":{
551               "X-LatestVersion":{
552                 "type":"string"
553               },
554               "X-PatchVersion":{
555                 "type":"string"
556               },
557               "X-MinorVersion":{
558                 "type":"string"
559               },
560               "X-ONAP-RequestID":{
561                 "type":"string",
562                 "format":"uuid"
563               }
564             }
565           },
566           "500":{
567             "description":"Internal Server Error",
568             "headers":{
569               "X-LatestVersion":{
570                 "type":"string"
571               },
572               "X-PatchVersion":{
573                 "type":"string"
574               },
575               "X-MinorVersion":{
576                 "type":"string"
577               },
578               "X-ONAP-RequestID":{
579                 "type":"string",
580                 "format":"uuid"
581               }
582             }
583           }
584         },
585         "security":[
586           {
587             "basicAuth":[
588
589             ]
590           }
591         ],
592         "x-interface info":{
593           "api-version":"1.0.0",
594           "last-mod-release":"Jakarta"
595         }
596       },
597       "delete":{
598         "tags":[
599           "nodeTemplate"
600         ],
601         "summary":"Deletes a specific node templates",
602         "description":"Client should provide the name and version of the node template to be deleted",
603         "operationId":"deleteToscaNodeTemplatesUsingDELETE",
604         "produces":[
605           "application/json",
606           "application/yaml"
607         ],
608         "parameters":[
609           {
610             "name":"name",
611             "in":"path",
612             "description":"Name of the node template",
613             "required":true,
614             "type":"string"
615           },
616           {
617             "name":"version",
618             "in":"path",
619             "description":"Version of the node template",
620             "required":true,
621             "type":"string"
622           },
623           {
624             "name":"X-ONAP-RequestID",
625             "in":"header",
626             "description":"RequestID for http transaction",
627             "required":false,
628             "type":"string",
629             "format":"uuid"
630           }
631         ],
632         "responses":{
633           "200":{
634             "description":"OK",
635             "schema":{
636               "$ref":"#/definitions/ToscaServiceTemplateRes",
637               "originalRef":"ToscaServiceTemplateRes"
638             }
639           },
640           "204":{
641             "description":"No Content"
642           },
643           "400":{
644             "description":"Invalid Body",
645             "headers":{
646               "X-LatestVersion":{
647                 "type":"string"
648               },
649               "X-PatchVersion":{
650                 "type":"string"
651               },
652               "X-MinorVersion":{
653                 "type":"string"
654               },
655               "X-ONAP-RequestID":{
656                 "type":"string",
657                 "format":"uuid"
658               }
659             }
660           },
661           "401":{
662             "description":"Authentication Error",
663             "headers":{
664               "X-LatestVersion":{
665                 "type":"string"
666               },
667               "X-PatchVersion":{
668                 "type":"string"
669               },
670               "X-MinorVersion":{
671                 "type":"string"
672               },
673               "X-ONAP-RequestID":{
674                 "type":"string",
675                 "format":"uuid"
676               }
677             }
678           },
679           "403":{
680             "description":"Authorization Error",
681             "headers":{
682               "X-LatestVersion":{
683                 "type":"string"
684               },
685               "X-PatchVersion":{
686                 "type":"string"
687               },
688               "X-MinorVersion":{
689                 "type":"string"
690               },
691               "X-ONAP-RequestID":{
692                 "type":"string",
693                 "format":"uuid"
694               }
695             }
696           },
697           "404":{
698             "description":"Resource Not Found",
699             "headers":{
700               "X-LatestVersion":{
701                 "type":"string"
702               },
703               "X-PatchVersion":{
704                 "type":"string"
705               },
706               "X-MinorVersion":{
707                 "type":"string"
708               },
709               "X-ONAP-RequestID":{
710                 "type":"string",
711                 "format":"uuid"
712               }
713             }
714           },
715           "406":{
716             "description":"Not Acceptable Payload",
717             "headers":{
718               "X-LatestVersion":{
719                 "type":"string"
720               },
721               "X-PatchVersion":{
722                 "type":"string"
723               },
724               "X-MinorVersion":{
725                 "type":"string"
726               },
727               "X-ONAP-RequestID":{
728                 "type":"string",
729                 "format":"uuid"
730               }
731             }
732           },
733           "500":{
734             "description":"Internal Server Error",
735             "headers":{
736               "X-LatestVersion":{
737                 "type":"string"
738               },
739               "X-PatchVersion":{
740                 "type":"string"
741               },
742               "X-MinorVersion":{
743                 "type":"string"
744               },
745               "X-ONAP-RequestID":{
746                 "type":"string",
747                 "format":"uuid"
748               }
749             }
750           }
751         },
752         "security":[
753           {
754             "basicAuth":[
755
756             ]
757           }
758         ],
759         "x-interface info":{
760           "api-version":"1.0.0",
761           "last-mod-release":"Jakarta"
762         }
763       }
764     }
765   },
766   "definitions": {
767
768     "ToscaCapabilityAssignmentReq":{
769       "type":"object",
770       "properties":{
771         "attributes":{
772           "type":"object"
773         },
774         "derivedFrom":{
775           "type":"string"
776         },
777         "description":{
778           "type":"string"
779         },
780         "metadata":{
781           "type":"object"
782         },
783         "name":{
784           "type":"string"
785         },
786         "occurrences":{
787           "type":"array",
788           "items":{
789             "type":"object"
790           }
791         },
792         "properties":{
793           "type":"object"
794         },
795         "type":{
796           "type":"string"
797         },
798         "typeVersion":{
799           "type":"string"
800         },
801         "version":{
802           "type":"string"
803         }
804       },
805       "title":"ToscaCapabilityAssignmentReq"
806     },
807     "ToscaCapabilityAssignmentRes":{
808       "type":"object",
809       "properties":{
810         "attributes":{
811           "type":"object"
812         },
813         "definedName":{
814           "type":"string"
815         },
816         "definedVersion":{
817           "type":"string"
818         },
819         "derivedFrom":{
820           "type":"string"
821         },
822         "description":{
823           "type":"string"
824         },
825         "identifier":{
826           "$ref":"#/definitions/ToscaConceptIdentifier",
827           "originalRef":"ToscaConceptIdentifier"
828         },
829         "key":{
830           "$ref":"#/definitions/ToscaEntityKey",
831           "originalRef":"ToscaEntityKey"
832         },
833         "metadata":{
834           "type":"object"
835         },
836         "name":{
837           "type":"string"
838         },
839         "occurrences":{
840           "type":"array",
841           "items":{
842             "type":"object"
843           }
844         },
845         "properties":{
846           "type":"object"
847         },
848         "type":{
849           "type":"string"
850         },
851         "typeIdentifier":{
852           "$ref":"#/definitions/ToscaConceptIdentifier",
853           "originalRef":"ToscaConceptIdentifier"
854         },
855         "typeVersion":{
856           "type":"string"
857         },
858         "version":{
859           "type":"string"
860         }
861       },
862       "title":"ToscaCapabilityAssignmentRes"
863     },
864     "ToscaCapabilityTypeReq":{
865       "type":"object",
866       "properties":{
867         "derivedFrom":{
868           "type":"string"
869         },
870         "description":{
871           "type":"string"
872         },
873         "metadata":{
874           "type":"object"
875         },
876         "name":{
877           "type":"string"
878         },
879         "properties":{
880           "type":"object",
881           "additionalProperties":{
882             "$ref":"#/definitions/ToscaProperty",
883             "originalRef":"ToscaProperty"
884           }
885         },
886         "version":{
887           "type":"string"
888         }
889       },
890       "title":"ToscaCapabilityTypeReq"
891     },
892     "ToscaCapabilityTypeRes":{
893       "type":"object",
894       "properties":{
895         "definedName":{
896           "type":"string"
897         },
898         "definedVersion":{
899           "type":"string"
900         },
901         "derivedFrom":{
902           "type":"string"
903         },
904         "description":{
905           "type":"string"
906         },
907         "key":{
908           "$ref":"#/definitions/ToscaEntityKey",
909           "originalRef":"ToscaEntityKey"
910         },
911         "metadata":{
912           "type":"object"
913         },
914         "name":{
915           "type":"string"
916         },
917         "properties":{
918           "type":"object",
919           "additionalProperties":{
920             "$ref":"#/definitions/ToscaProperty",
921             "originalRef":"ToscaProperty"
922           }
923         },
924         "type":{
925           "type":"string"
926         },
927         "typeVersion":{
928           "type":"string"
929         },
930         "version":{
931           "type":"string"
932         }
933       },
934       "title":"ToscaCapabilityTypeRes"
935     },
936     "ToscaConceptIdentifier":{
937       "type":"object",
938       "properties":{
939         "name":{
940           "type":"string"
941         },
942         "version":{
943           "type":"string"
944         }
945       },
946       "title":"ToscaConceptIdentifier"
947     },
948     "ToscaConstraint":{
949       "type":"object",
950       "properties":{
951         "equal":{
952           "type":"string"
953         },
954         "greaterOrEqual":{
955           "type":"string"
956         },
957         "greaterThan":{
958           "type":"string"
959         },
960         "lessOrEqual":{
961           "type":"string"
962         },
963         "lessThan":{
964           "type":"string"
965         },
966         "rangeValues":{
967           "type":"array",
968           "items":{
969             "type":"string"
970           }
971         },
972         "validValues":{
973           "type":"array",
974           "items":{
975             "type":"string"
976           }
977         }
978       },
979       "title":"ToscaConstraint"
980     },
981     "ToscaDataTypeReq":{
982       "type":"object",
983       "properties":{
984         "constraints":{
985           "type":"array",
986           "items":{
987             "$ref":"#/definitions/ToscaConstraint",
988             "originalRef":"ToscaConstraint"
989           }
990         },
991         "derivedFrom":{
992           "type":"string"
993         },
994         "description":{
995           "type":"string"
996         },
997         "metadata":{
998           "type":"object"
999         },
1000         "name":{
1001           "type":"string"
1002         },
1003         "properties":{
1004           "type":"object",
1005           "additionalProperties":{
1006             "$ref":"#/definitions/ToscaProperty",
1007             "originalRef":"ToscaProperty"
1008           }
1009         },
1010         "version":{
1011           "type":"string"
1012         }
1013       },
1014       "title":"ToscaDataTypeReq"
1015     },
1016     "ToscaDataTypeRes":{
1017       "type":"object",
1018       "properties":{
1019         "constraints":{
1020           "type":"array",
1021           "items":{
1022             "$ref":"#/definitions/ToscaConstraint",
1023             "originalRef":"ToscaConstraint"
1024           }
1025         },
1026         "definedName":{
1027           "type":"string"
1028         },
1029         "definedVersion":{
1030           "type":"string"
1031         },
1032         "derivedFrom":{
1033           "type":"string"
1034         },
1035         "description":{
1036           "type":"string"
1037         },
1038         "key":{
1039           "$ref":"#/definitions/ToscaEntityKey",
1040           "originalRef":"ToscaEntityKey"
1041         },
1042         "metadata":{
1043           "type":"object"
1044         },
1045         "name":{
1046           "type":"string"
1047         },
1048         "properties":{
1049           "type":"object",
1050           "additionalProperties":{
1051             "$ref":"#/definitions/ToscaProperty",
1052             "originalRef":"ToscaProperty"
1053           }
1054         },
1055         "type":{
1056           "type":"string"
1057         },
1058         "typeVersion":{
1059           "type":"string"
1060         },
1061         "version":{
1062           "type":"string"
1063         }
1064       },
1065       "title":"ToscaDataTypeRes"
1066     },
1067     "ToscaEntityKey":{
1068       "type":"object",
1069       "properties":{
1070         "name":{
1071           "type":"string"
1072         },
1073         "version":{
1074           "type":"string"
1075         }
1076       },
1077       "title":"ToscaEntityKey"
1078     },
1079     "ToscaNodeTemplateReq":{
1080       "type":"object",
1081       "properties":{
1082         "capabilities":{
1083           "type":"object",
1084           "additionalProperties":{
1085             "$ref":"#/definitions/ToscaCapabilityAssignmentReq",
1086             "originalRef":"ToscaCapabilityAssignmentReq"
1087           }
1088         },
1089         "derivedFrom":{
1090           "type":"string"
1091         },
1092         "description":{
1093           "type":"string"
1094         },
1095         "metadata":{
1096           "type":"object"
1097         },
1098         "name":{
1099           "type":"string"
1100         },
1101         "properties":{
1102           "type":"object"
1103         },
1104         "requirements":{
1105           "type":"array",
1106           "items":{
1107             "type":"object",
1108             "additionalProperties":{
1109               "$ref":"#/definitions/ToscaRequirementReq",
1110               "originalRef":"ToscaRequirementReq"
1111             }
1112           }
1113         },
1114         "type":{
1115           "type":"string"
1116         },
1117         "typeVersion":{
1118           "type":"string"
1119         },
1120         "version":{
1121           "type":"string"
1122         }
1123       },
1124       "title":"ToscaNodeTemplateReq"
1125     },
1126     "ToscaNodeTemplateRes":{
1127       "type":"object",
1128       "properties":{
1129         "capabilities":{
1130           "type":"object",
1131           "additionalProperties":{
1132             "$ref":"#/definitions/ToscaCapabilityAssignmentRes",
1133             "originalRef":"ToscaCapabilityAssignmentRes"
1134           }
1135         },
1136         "definedName":{
1137           "type":"string"
1138         },
1139         "definedVersion":{
1140           "type":"string"
1141         },
1142         "derivedFrom":{
1143           "type":"string"
1144         },
1145         "description":{
1146           "type":"string"
1147         },
1148         "identifier":{
1149           "$ref":"#/definitions/ToscaConceptIdentifier",
1150           "originalRef":"ToscaConceptIdentifier"
1151         },
1152         "key":{
1153           "$ref":"#/definitions/ToscaEntityKey",
1154           "originalRef":"ToscaEntityKey"
1155         },
1156         "metadata":{
1157           "type":"object"
1158         },
1159         "name":{
1160           "type":"string"
1161         },
1162         "properties":{
1163           "type":"object"
1164         },
1165         "requirements":{
1166           "type":"array",
1167           "items":{
1168             "type":"object",
1169             "additionalProperties":{
1170               "$ref":"#/definitions/ToscaRequirementRes",
1171               "originalRef":"ToscaRequirementRes"
1172             }
1173           }
1174         },
1175         "type":{
1176           "type":"string"
1177         },
1178         "typeIdentifier":{
1179           "$ref":"#/definitions/ToscaConceptIdentifier",
1180           "originalRef":"ToscaConceptIdentifier"
1181         },
1182         "typeVersion":{
1183           "type":"string"
1184         },
1185         "version":{
1186           "type":"string"
1187         }
1188       },
1189       "title":"ToscaNodeTemplateRes"
1190     },
1191     "ToscaNodeTypeReq":{
1192       "type":"object",
1193       "properties":{
1194         "derivedFrom":{
1195           "type":"string"
1196         },
1197         "description":{
1198           "type":"string"
1199         },
1200         "metadata":{
1201           "type":"object"
1202         },
1203         "name":{
1204           "type":"string"
1205         },
1206         "properties":{
1207           "type":"object",
1208           "additionalProperties":{
1209             "$ref":"#/definitions/ToscaProperty",
1210             "originalRef":"ToscaProperty"
1211           }
1212         },
1213         "requirements":{
1214           "type":"array",
1215           "items":{
1216             "type":"object",
1217             "additionalProperties":{
1218               "$ref":"#/definitions/ToscaRequirementReq",
1219               "originalRef":"ToscaRequirementReq"
1220             }
1221           }
1222         },
1223         "version":{
1224           "type":"string"
1225         }
1226       },
1227       "title":"ToscaNodeTypeReq"
1228     },
1229     "ToscaNodeTypeRes":{
1230       "type":"object",
1231       "properties":{
1232         "definedName":{
1233           "type":"string"
1234         },
1235         "definedVersion":{
1236           "type":"string"
1237         },
1238         "derivedFrom":{
1239           "type":"string"
1240         },
1241         "description":{
1242           "type":"string"
1243         },
1244         "key":{
1245           "$ref":"#/definitions/ToscaEntityKey",
1246           "originalRef":"ToscaEntityKey"
1247         },
1248         "metadata":{
1249           "type":"object"
1250         },
1251         "name":{
1252           "type":"string"
1253         },
1254         "properties":{
1255           "type":"object",
1256           "additionalProperties":{
1257             "$ref":"#/definitions/ToscaProperty",
1258             "originalRef":"ToscaProperty"
1259           }
1260         },
1261         "requirements":{
1262           "type":"array",
1263           "items":{
1264             "type":"object",
1265             "additionalProperties":{
1266               "$ref":"#/definitions/ToscaRequirementRes",
1267               "originalRef":"ToscaRequirementRes"
1268             }
1269           }
1270         },
1271         "type":{
1272           "type":"string"
1273         },
1274         "typeVersion":{
1275           "type":"string"
1276         },
1277         "version":{
1278           "type":"string"
1279         }
1280       },
1281       "title":"ToscaNodeTypeRes"
1282     },
1283     "ToscaParameter":{
1284       "type":"object",
1285       "properties":{
1286         "name":{
1287           "type":"string"
1288         },
1289         "type":{
1290           "type":"string"
1291         },
1292         "typeVersion":{
1293           "type":"string"
1294         },
1295         "value":{
1296           "type":"object"
1297         }
1298       },
1299       "title":"ToscaParameter"
1300     },
1301     "ToscaProperty":{
1302       "type":"object",
1303       "properties":{
1304         "constraints":{
1305           "type":"array",
1306           "items":{
1307             "$ref":"#/definitions/ToscaConstraint",
1308             "originalRef":"ToscaConstraint"
1309           }
1310         },
1311         "defaultValue":{
1312           "type":"object"
1313         },
1314         "description":{
1315           "type":"string"
1316         },
1317         "entrySchema":{
1318           "$ref":"#/definitions/ToscaSchemaDefinition",
1319           "originalRef":"ToscaSchemaDefinition"
1320         },
1321         "keySchema":{
1322           "$ref":"#/definitions/ToscaSchemaDefinition",
1323           "originalRef":"ToscaSchemaDefinition"
1324         },
1325         "metadata":{
1326           "type":"object",
1327           "additionalProperties":{
1328             "type":"string"
1329           }
1330         },
1331         "name":{
1332           "type":"string"
1333         },
1334         "required":{
1335           "type":"boolean"
1336         },
1337         "status":{
1338           "type":"string",
1339           "enum":[
1340             "DEPRECATED",
1341             "EXPERIMENTAL",
1342             "SUPPORTED",
1343             "UNSUPPORTED"
1344           ]
1345         },
1346         "type":{
1347           "type":"string"
1348         },
1349         "typeVersion":{
1350           "type":"string"
1351         }
1352       },
1353       "title":"ToscaProperty"
1354     },
1355     "ToscaRelationshipTypeReq":{
1356       "type":"object",
1357       "properties":{
1358         "derivedFrom":{
1359           "type":"string"
1360         },
1361         "description":{
1362           "type":"string"
1363         },
1364         "metadata":{
1365           "type":"object"
1366         },
1367         "name":{
1368           "type":"string"
1369         },
1370         "properties":{
1371           "type":"object",
1372           "additionalProperties":{
1373             "$ref":"#/definitions/ToscaProperty",
1374             "originalRef":"ToscaProperty"
1375           }
1376         },
1377         "version":{
1378           "type":"string"
1379         }
1380       },
1381       "title":"ToscaRelationshipTypeReq"
1382     },
1383     "ToscaRelationshipTypeRes":{
1384       "type":"object",
1385       "properties":{
1386         "definedName":{
1387           "type":"string"
1388         },
1389         "definedVersion":{
1390           "type":"string"
1391         },
1392         "derivedFrom":{
1393           "type":"string"
1394         },
1395         "description":{
1396           "type":"string"
1397         },
1398         "key":{
1399           "$ref":"#/definitions/ToscaEntityKey",
1400           "originalRef":"ToscaEntityKey"
1401         },
1402         "metadata":{
1403           "type":"object"
1404         },
1405         "name":{
1406           "type":"string"
1407         },
1408         "properties":{
1409           "type":"object",
1410           "additionalProperties":{
1411             "$ref":"#/definitions/ToscaProperty",
1412             "originalRef":"ToscaProperty"
1413           }
1414         },
1415         "type":{
1416           "type":"string"
1417         },
1418         "typeVersion":{
1419           "type":"string"
1420         },
1421         "version":{
1422           "type":"string"
1423         }
1424       },
1425       "title":"ToscaRelationshipTypeRes"
1426     },
1427     "ToscaRequirementReq":{
1428       "type":"object",
1429       "properties":{
1430         "capability":{
1431           "type":"string"
1432         },
1433         "derivedFrom":{
1434           "type":"string"
1435         },
1436         "description":{
1437           "type":"string"
1438         },
1439         "metadata":{
1440           "type":"object"
1441         },
1442         "name":{
1443           "type":"string"
1444         },
1445         "node":{
1446           "type":"string"
1447         },
1448         "occurrences":{
1449           "type":"array",
1450           "items":{
1451             "type":"object"
1452           }
1453         },
1454         "properties":{
1455           "type":"object"
1456         },
1457         "relationship":{
1458           "type":"string"
1459         },
1460         "type":{
1461           "type":"string"
1462         },
1463         "typeVersion":{
1464           "type":"string"
1465         },
1466         "version":{
1467           "type":"string"
1468         }
1469       },
1470       "title":"ToscaRequirementReq"
1471     },
1472     "ToscaRequirementRes":{
1473       "type":"object",
1474       "properties":{
1475         "capability":{
1476           "type":"string"
1477         },
1478         "definedName":{
1479           "type":"string"
1480         },
1481         "definedVersion":{
1482           "type":"string"
1483         },
1484         "derivedFrom":{
1485           "type":"string"
1486         },
1487         "description":{
1488           "type":"string"
1489         },
1490         "identifier":{
1491           "$ref":"#/definitions/ToscaConceptIdentifier",
1492           "originalRef":"ToscaConceptIdentifier"
1493         },
1494         "key":{
1495           "$ref":"#/definitions/ToscaEntityKey",
1496           "originalRef":"ToscaEntityKey"
1497         },
1498         "metadata":{
1499           "type":"object"
1500         },
1501         "name":{
1502           "type":"string"
1503         },
1504         "node":{
1505           "type":"string"
1506         },
1507         "occurrences":{
1508           "type":"array",
1509           "items":{
1510             "type":"object"
1511           }
1512         },
1513         "properties":{
1514           "type":"object"
1515         },
1516         "relationship":{
1517           "type":"string"
1518         },
1519         "type":{
1520           "type":"string"
1521         },
1522         "typeIdentifier":{
1523           "$ref":"#/definitions/ToscaConceptIdentifier",
1524           "originalRef":"ToscaConceptIdentifier"
1525         },
1526         "typeVersion":{
1527           "type":"string"
1528         },
1529         "version":{
1530           "type":"string"
1531         }
1532       },
1533       "title":"ToscaRequirementRes"
1534     },
1535     "ToscaSchemaDefinition":{
1536       "type":"object",
1537       "properties":{
1538         "constraints":{
1539           "type":"array",
1540           "items":{
1541             "$ref":"#/definitions/ToscaConstraint",
1542             "originalRef":"ToscaConstraint"
1543           }
1544         },
1545         "description":{
1546           "type":"string"
1547         },
1548         "name":{
1549           "type":"string"
1550         },
1551         "type":{
1552           "type":"string"
1553         },
1554         "typeVersion":{
1555           "type":"string"
1556         }
1557       },
1558       "title":"ToscaSchemaDefinition"
1559     },
1560     "ToscaServiceTemplateReq":{
1561       "type":"object",
1562       "properties":{
1563         "capabilityTypes":{
1564           "type":"object",
1565           "additionalProperties":{
1566             "$ref":"#/definitions/ToscaCapabilityTypeReq",
1567             "originalRef":"ToscaCapabilityTypeReq"
1568           }
1569         },
1570         "dataTypes":{
1571           "type":"object",
1572           "additionalProperties":{
1573             "$ref":"#/definitions/ToscaDataTypeReq",
1574             "originalRef":"ToscaDataTypeReq"
1575           }
1576         },
1577         "derivedFrom":{
1578           "type":"string"
1579         },
1580         "description":{
1581           "type":"string"
1582         },
1583         "metadata":{
1584           "type":"object"
1585         },
1586         "name":{
1587           "type":"string"
1588         },
1589         "nodeTypes":{
1590           "type":"object",
1591           "additionalProperties":{
1592             "$ref":"#/definitions/ToscaNodeTypeReq",
1593             "originalRef":"ToscaNodeTypeReq"
1594           }
1595         },
1596         "relationshipTypes":{
1597           "type":"object",
1598           "additionalProperties":{
1599             "$ref":"#/definitions/ToscaRelationshipTypeReq",
1600             "originalRef":"ToscaRelationshipTypeReq"
1601           }
1602         },
1603         "toscaDefinitionsVersion":{
1604           "type":"string"
1605         },
1606         "toscaTopologyTemplate":{
1607           "$ref":"#/definitions/ToscaTopologyTemplateReq",
1608           "originalRef":"ToscaTopologyTemplateReq"
1609         },
1610         "version":{
1611           "type":"string"
1612         }
1613       },
1614       "title":"ToscaServiceTemplateReq"
1615     },
1616     "ToscaServiceTemplateRes":{
1617       "type":"object",
1618       "properties":{
1619         "capabilityTypes":{
1620           "type":"object",
1621           "additionalProperties":{
1622             "$ref":"#/definitions/ToscaCapabilityTypeRes",
1623             "originalRef":"ToscaCapabilityTypeRes"
1624           }
1625         },
1626         "dataTypes":{
1627           "type":"object",
1628           "additionalProperties":{
1629             "$ref":"#/definitions/ToscaDataTypeRes",
1630             "originalRef":"ToscaDataTypeRes"
1631           }
1632         },
1633         "dataTypesAsMap":{
1634           "type":"object",
1635           "additionalProperties":{
1636             "$ref":"#/definitions/ToscaDataTypeRes",
1637             "originalRef":"ToscaDataTypeRes"
1638           }
1639         },
1640         "definedName":{
1641           "type":"string"
1642         },
1643         "definedVersion":{
1644           "type":"string"
1645         },
1646         "derivedFrom":{
1647           "type":"string"
1648         },
1649         "description":{
1650           "type":"string"
1651         },
1652         "key":{
1653           "$ref":"#/definitions/ToscaEntityKey",
1654           "originalRef":"ToscaEntityKey"
1655         },
1656         "metadata":{
1657           "type":"object"
1658         },
1659         "name":{
1660           "type":"string"
1661         },
1662         "nodeTypes":{
1663           "type":"object",
1664           "additionalProperties":{
1665             "$ref":"#/definitions/ToscaNodeTypeRes",
1666             "originalRef":"ToscaNodeTypeRes"
1667           }
1668         },
1669         "relationshipTypes":{
1670           "type":"object",
1671           "additionalProperties":{
1672             "$ref":"#/definitions/ToscaRelationshipTypeRes",
1673             "originalRef":"ToscaRelationshipTypeRes"
1674           }
1675         },
1676         "toscaDefinitionsVersion":{
1677           "type":"string"
1678         },
1679         "toscaTopologyTemplate":{
1680           "$ref":"#/definitions/ToscaTopologyTemplateRes",
1681           "originalRef":"ToscaTopologyTemplateRes"
1682         },
1683         "type":{
1684           "type":"string"
1685         },
1686         "typeVersion":{
1687           "type":"string"
1688         },
1689         "version":{
1690           "type":"string"
1691         }
1692       },
1693       "title":"ToscaServiceTemplateRes"
1694     },
1695     "ToscaTopologyTemplateReq":{
1696       "type":"object",
1697       "properties":{
1698         "description":{
1699           "type":"string"
1700         },
1701         "inputs":{
1702           "type":"object",
1703           "additionalProperties":{
1704             "$ref":"#/definitions/ToscaParameter",
1705             "originalRef":"ToscaParameter"
1706           }
1707         },
1708         "nodeTemplates":{
1709           "type":"object",
1710           "additionalProperties":{
1711             "$ref":"#/definitions/ToscaNodeTemplateReq",
1712             "originalRef":"ToscaNodeTemplateReq"
1713           }
1714         }
1715       },
1716       "title":"ToscaTopologyTemplateReq"
1717     },
1718     "ToscaTopologyTemplateRes":{
1719       "type":"object",
1720       "properties":{
1721         "description":{
1722           "type":"string"
1723         },
1724         "inputs":{
1725           "type":"object",
1726           "additionalProperties":{
1727             "$ref":"#/definitions/ToscaParameter",
1728             "originalRef":"ToscaParameter"
1729           }
1730         },
1731         "nodeTemplates":{
1732           "type":"object",
1733           "additionalProperties":{
1734             "$ref":"#/definitions/ToscaNodeTemplateRes",
1735             "originalRef":"ToscaNodeTemplateRes"
1736           }
1737         }
1738       },
1739       "title":"ToscaTopologyTemplateRes"
1740     }
1741   }
1742 }