35a8c2bd3d81fd2e2bc5342c66cb198e0297e943
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-pkgm / etsi-sol003-pkgm-ext-clients / src / main / resources / ETSI-Catalog-API.json
1 {
2   "swagger": "2.0",
3   "info": {
4     "title": "Modeling etsicatalog API",
5     "description": "\n\nThe `swagger-ui` view can be found [here](/api/catalog/v1/swagger).\nThe `ReDoc` view can be found [here](/api/catalog/v1/redoc).\nThe swagger YAML document can be found [here](/api/catalog/v1/swagger.yaml).\nThe swagger JSON document can be found [here](/api/catalog/v1/swagger.json).",
6     "version": "v1"
7   },
8   "host": "127.0.0.1:8806",
9   "schemes": ["http"],
10   "basePath": "/",
11   "consumes": ["application/json"],
12   "produces": ["application/json"],
13   "securityDefinitions": {
14     "Basic": {
15       "type": "basic"
16     }
17   },
18   "security": [{
19     "Basic": []
20   }],
21   "paths": {
22     "/api/catalog/v1/callback_sample": {
23       "get": {
24         "operationId": "api_catalog_v1_callback_sample_list",
25         "description": "Callback Sample.",
26         "parameters": [],
27         "responses": {
28           "200": {
29             "description": ""
30           }
31         },
32         "tags": ["Sample interface"]
33       },
34       "parameters": []
35     },
36     "/api/catalog/v1/health_check": {
37       "get": {
38         "operationId": "api_catalog_v1_health_check_list",
39         "description": "",
40         "parameters": [],
41         "responses": {
42           "200": {
43             "description": "Active"
44           }
45         },
46         "tags": ["Health Check interface"]
47       },
48       "parameters": []
49     },
50     "/api/catalog/v1/jobs/{job_id}": {
51       "get": {
52         "operationId": "api_catalog_v1_jobs_read",
53         "description": "Get job status",
54         "parameters": [{
55           "name": "job_id",
56           "in": "query",
57           "description": "job id",
58           "type": "string"
59         }, {
60           "name": "responseId",
61           "in": "query",
62           "description": "response id",
63           "type": "string"
64         }],
65         "responses": {
66           "200": {
67             "description": "",
68             "schema": {
69               "$ref": "#/definitions/GetJobResponse"
70             }
71           },
72           "500": {
73             "description": "",
74             "schema": {
75               "$ref": "#/definitions/PostJobResponseResult"
76             }
77           }
78         },
79         "tags": ["Catalog interface"]
80       },
81       "post": {
82         "operationId": "api_catalog_v1_jobs_create",
83         "description": "Update job status",
84         "parameters": [{
85           "name": "data",
86           "in": "body",
87           "required": true,
88           "schema": {
89             "$ref": "#/definitions/PostJobRequest"
90           }
91         }, {
92           "name": "job_id",
93           "in": "query",
94           "description": "job id",
95           "type": "string"
96         }],
97         "responses": {
98           "202": {
99             "description": "",
100             "schema": {
101               "$ref": "#/definitions/PostJobResponseResult"
102             }
103           },
104           "500": {
105             "description": "",
106             "schema": {
107               "$ref": "#/definitions/PostJobResponseResult"
108             }
109           }
110         },
111         "tags": ["Catalog interface"]
112       },
113       "parameters": [{
114         "name": "job_id",
115         "in": "path",
116         "required": true,
117         "type": "string"
118       }]
119     },
120     "/api/catalog/v1/mandb/{modelName}": {
121       "get": {
122         "operationId": "api_catalog_v1_mandb_read",
123         "description": "",
124         "parameters": [],
125         "responses": {
126           "200": {
127             "description": ""
128           }
129         },
130         "tags": ["Sample interface"]
131       },
132       "delete": {
133         "operationId": "api_catalog_v1_mandb_delete",
134         "description": "",
135         "parameters": [],
136         "responses": {
137           "204": {
138             "description": ""
139           }
140         },
141         "tags": ["Sample interface"]
142       },
143       "parameters": [{
144         "name": "modelName",
145         "in": "path",
146         "required": true,
147         "type": "string"
148       }]
149     },
150     "/api/catalog/v1/nspackages": {
151       "get": {
152         "operationId": "api_catalog_v1_nspackages_list",
153         "description": "Query NS packages",
154         "parameters": [],
155         "responses": {
156           "200": {
157             "description": "",
158             "schema": {
159               "type": "array",
160               "items": {
161                 "$ref": "#/definitions/NsPackage"
162               }
163             }
164           },
165           "500": {
166             "description": "",
167             "schema": {
168               "$ref": "#/definitions/InternalErrorRequest"
169             }
170           }
171         },
172         "tags": ["Catalog interface"]
173       },
174       "post": {
175         "operationId": "api_catalog_v1_nspackages_create",
176         "description": "On distribute NS package",
177         "parameters": [{
178           "name": "data",
179           "in": "body",
180           "required": true,
181           "schema": {
182             "$ref": "#/definitions/NsPackageDistributeRequest"
183           }
184         }],
185         "responses": {
186           "202": {
187             "description": "",
188             "schema": {
189               "$ref": "#/definitions/NsPackageDistributeResponse"
190             }
191           },
192           "500": {
193             "description": "",
194             "schema": {
195               "$ref": "#/definitions/InternalErrorRequest"
196             }
197           }
198         },
199         "tags": ["Catalog interface"]
200       },
201       "parameters": []
202     },
203     "/api/catalog/v1/nspackages/{csarId}": {
204       "get": {
205         "operationId": "api_catalog_v1_nspackages_read",
206         "description": "Query one NS package",
207         "parameters": [{
208           "name": "csarId",
209           "in": "query",
210           "description": "csarId",
211           "type": "string"
212         }],
213         "responses": {
214           "200": {
215             "description": "",
216             "schema": {
217               "$ref": "#/definitions/NsPackage"
218             }
219           },
220           "500": {
221             "description": "error message",
222             "schema": {
223               "type": "string"
224             }
225           }
226         },
227         "tags": ["Catalog interface"]
228       },
229       "delete": {
230         "operationId": "api_catalog_v1_nspackages_delete",
231         "description": "Delete one NS package",
232         "parameters": [{
233           "name": "csarId",
234           "in": "query",
235           "description": "csarId",
236           "type": "string"
237         }],
238         "responses": {
239           "200": {
240             "description": "",
241             "schema": {
242               "$ref": "#/definitions/NsPackageDistributeResponse"
243             }
244           },
245           "500": {
246             "description": "error message",
247             "schema": {
248               "type": "string"
249             }
250           }
251         },
252         "tags": ["Catalog interface"]
253       },
254       "parameters": [{
255         "name": "csarId",
256         "in": "path",
257         "required": true,
258         "type": "string"
259       }]
260     },
261     "/api/catalog/v1/service_packages": {
262       "get": {
263         "operationId": "api_catalog_v1_service_packages_list",
264         "description": "Query Service packages",
265         "parameters": [],
266         "responses": {
267           "200": {
268             "description": "",
269             "schema": {
270               "type": "array",
271               "items": {
272                 "$ref": "#/definitions/ServicePackage"
273               }
274             }
275           },
276           "500": {
277             "description": "",
278             "schema": {
279               "$ref": "#/definitions/InternalErrorRequest"
280             }
281           }
282         },
283         "tags": ["Catalog interface"]
284       },
285       "post": {
286         "operationId": "api_catalog_v1_service_packages_create",
287         "description": "On distribute Service package",
288         "parameters": [{
289           "name": "data",
290           "in": "body",
291           "required": true,
292           "schema": {
293             "$ref": "#/definitions/ServicePackageDistributeRequest"
294           }
295         }],
296         "responses": {
297           "202": {
298             "description": ""
299           },
300           "400": {
301             "description": "",
302             "schema": {
303               "$ref": "#/definitions/InternalErrorRequest"
304             }
305           },
306           "500": {
307             "description": "",
308             "schema": {
309               "$ref": "#/definitions/InternalErrorRequest"
310             }
311           }
312         },
313         "tags": ["Catalog interface"]
314       },
315       "parameters": []
316     },
317     "/api/catalog/v1/service_packages/{csarId}": {
318       "get": {
319         "operationId": "api_catalog_v1_service_packages_read",
320         "description": "Query one Service package",
321         "parameters": [{
322           "name": "csarId",
323           "in": "query",
324           "description": "csarId",
325           "type": "string"
326         }],
327         "responses": {
328           "200": {
329             "description": "",
330             "schema": {
331               "$ref": "#/definitions/ServicePackage"
332             }
333           },
334           "404": {
335             "description": "",
336             "schema": {
337               "$ref": "#/definitions/InternalErrorRequest"
338             }
339           },
340           "500": {
341             "description": "",
342             "schema": {
343               "$ref": "#/definitions/InternalErrorRequest"
344             }
345           }
346         },
347         "tags": ["Catalog interface"]
348       },
349       "delete": {
350         "operationId": "api_catalog_v1_service_packages_delete",
351         "description": "Delete one Service package",
352         "parameters": [{
353           "name": "csarId",
354           "in": "query",
355           "description": "csarId",
356           "type": "string"
357         }],
358         "responses": {
359           "204": {
360             "description": ""
361           },
362           "404": {
363             "description": "",
364             "schema": {
365               "$ref": "#/definitions/InternalErrorRequest"
366             }
367           },
368           "500": {
369             "description": "",
370             "schema": {
371               "$ref": "#/definitions/InternalErrorRequest"
372             }
373           }
374         },
375         "tags": ["Catalog interface"]
376       },
377       "parameters": [{
378         "name": "csarId",
379         "in": "path",
380         "required": true,
381         "type": "string"
382       }]
383     },
384     "/api/catalog/v1/vnfpackages": {
385       "get": {
386         "operationId": "api_catalog_v1_vnfpackages_list",
387         "description": "Query Nf packages",
388         "parameters": [],
389         "responses": {
390           "200": {
391             "description": "",
392             "schema": {
393               "type": "array",
394               "items": {
395                 "$ref": "#/definitions/NfPackage"
396               }
397             }
398           },
399           "500": {
400             "description": "",
401             "schema": {
402               "$ref": "#/definitions/InternalErrorRequest"
403             }
404           }
405         },
406         "tags": ["Catalog interface"]
407       },
408       "post": {
409         "operationId": "api_catalog_v1_vnfpackages_create",
410         "description": "On distribute Nf package",
411         "parameters": [{
412           "name": "data",
413           "in": "body",
414           "required": true,
415           "schema": {
416             "$ref": "#/definitions/NfPackageDistributeRequest"
417           }
418         }],
419         "responses": {
420           "202": {
421             "description": "",
422             "schema": {
423               "$ref": "#/definitions/PostJobResponse"
424             }
425           },
426           "500": {
427             "description": "",
428             "schema": {
429               "$ref": "#/definitions/InternalErrorRequest"
430             }
431           }
432         },
433         "tags": ["Catalog interface"]
434       },
435       "parameters": []
436     },
437     "/api/catalog/v1/vnfpackages/{csarId}": {
438       "get": {
439         "operationId": "api_catalog_v1_vnfpackages_read",
440         "description": "Query one Nf package",
441         "parameters": [{
442           "name": "csarId",
443           "in": "query",
444           "description": "csarId",
445           "type": "string"
446         }],
447         "responses": {
448           "200": {
449             "description": "",
450             "schema": {
451               "$ref": "#/definitions/NfPackage"
452             }
453           },
454           "500": {
455             "description": "error message",
456             "schema": {
457               "type": "string"
458             }
459           }
460         },
461         "tags": ["Catalog interface"]
462       },
463       "delete": {
464         "operationId": "api_catalog_v1_vnfpackages_delete",
465         "description": "Delete one Nf package",
466         "parameters": [{
467           "name": "csarId",
468           "in": "query",
469           "description": "csarId",
470           "type": "string"
471         }],
472         "responses": {
473           "202": {
474             "description": "",
475             "schema": {
476               "$ref": "#/definitions/PostJobResponse"
477             }
478           },
479           "500": {
480             "description": "error message",
481             "schema": {
482               "type": "string"
483             }
484           }
485         },
486         "tags": ["Catalog interface"]
487       },
488       "parameters": [{
489         "name": "csarId",
490         "in": "path",
491         "required": true,
492         "type": "string"
493       }]
494     },
495     "/api/nsd/v1/health_check": {
496       "get": {
497         "operationId": "api_nsd_v1_health_check_list",
498         "description": "",
499         "parameters": [],
500         "responses": {
501           "200": {
502             "description": "Active"
503           }
504         },
505         "tags": ["Health Check interface"]
506       },
507       "parameters": []
508     },
509     "/api/nsd/v1/ns_descriptors": {
510       "get": {
511         "operationId": "api_nsd_v1_ns_descriptors_list",
512         "description": "Query multiple NSDs",
513         "parameters": [],
514         "responses": {
515           "200": {
516             "description": "",
517             "schema": {
518               "type": "array",
519               "items": {
520                 "$ref": "#/definitions/NsdInfo"
521               }
522             }
523           },
524           "500": {
525             "description": "Internal error"
526           }
527         },
528         "tags": ["NSD Management interface"]
529       },
530       "post": {
531         "operationId": "api_nsd_v1_ns_descriptors_create",
532         "description": "Create a NSD",
533         "parameters": [{
534           "name": "data",
535           "in": "body",
536           "required": true,
537           "schema": {
538             "$ref": "#/definitions/CreateNsdInfoRequest"
539           }
540         }],
541         "responses": {
542           "201": {
543             "description": "",
544             "schema": {
545               "$ref": "#/definitions/NsdInfo"
546             }
547           },
548           "500": {
549             "description": "Internal error"
550           }
551         },
552         "tags": ["NSD Management interface"]
553       },
554       "parameters": []
555     },
556     "/api/nsd/v1/ns_descriptors/{nsdInfoId}": {
557       "get": {
558         "operationId": "api_nsd_v1_ns_descriptors_read",
559         "description": "Query a NSD",
560         "parameters": [],
561         "responses": {
562           "200": {
563             "description": "",
564             "schema": {
565               "$ref": "#/definitions/NsdInfo"
566             }
567           },
568           "404": {
569             "description": "NSDs do not exist"
570           },
571           "500": {
572             "description": "Internal error"
573           }
574         },
575         "tags": ["NSD Management interface"]
576       },
577       "delete": {
578         "operationId": "api_nsd_v1_ns_descriptors_delete",
579         "description": "Delete a NSD",
580         "parameters": [],
581         "responses": {
582           "204": {
583             "description": "No content"
584           },
585           "500": {
586             "description": "Internal error"
587           }
588         },
589         "tags": ["NSD Management interface"]
590       },
591       "parameters": [{
592         "name": "nsdInfoId",
593         "in": "path",
594         "required": true,
595         "type": "string"
596       }]
597     },
598     "/api/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content": {
599       "get": {
600         "operationId": "api_nsd_v1_ns_descriptors_nsd_content_list",
601         "description": "Download NSD content",
602         "parameters": [],
603         "responses": {
604           "204": {
605             "description": "No content"
606           },
607           "404": {
608             "description": "NSD does not exist."
609           },
610           "500": {
611             "description": "Internal error"
612           }
613         },
614         "tags": ["NSD Management interface"]
615       },
616       "put": {
617         "operationId": "api_nsd_v1_ns_descriptors_nsd_content_update",
618         "description": "Upload NSD content",
619         "parameters": [],
620         "responses": {
621           "204": {
622             "description": "PNFD file"
623           },
624           "500": {
625             "description": "Internal error"
626           }
627         },
628         "tags": ["NSD Management interface"]
629       },
630       "parameters": [{
631         "name": "nsdInfoId",
632         "in": "path",
633         "required": true,
634         "type": "string"
635       }]
636     },
637     "/api/nsd/v1/pnf_descriptors": {
638       "get": {
639         "operationId": "api_nsd_v1_pnf_descriptors_list",
640         "description": "Query multiple PNFDs",
641         "parameters": [],
642         "responses": {
643           "200": {
644             "description": "",
645             "schema": {
646               "type": "array",
647               "items": {
648                 "$ref": "#/definitions/PnfdInfo"
649               }
650             }
651           },
652           "500": {
653             "description": "",
654             "schema": {
655               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
656             }
657           }
658         },
659         "tags": ["NSD Management interface"]
660       },
661       "post": {
662         "operationId": "api_nsd_v1_pnf_descriptors_create",
663         "description": "Create a  PNFD",
664         "parameters": [{
665           "name": "data",
666           "in": "body",
667           "required": true,
668           "schema": {
669             "$ref": "#/definitions/CreatePnfdInfoRequest"
670           }
671         }],
672         "responses": {
673           "201": {
674             "description": "",
675             "schema": {
676               "$ref": "#/definitions/PnfdInfo"
677             }
678           },
679           "500": {
680             "description": "",
681             "schema": {
682               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
683             }
684           }
685         },
686         "tags": ["NSD Management interface"]
687       },
688       "parameters": []
689     },
690     "/api/nsd/v1/pnf_descriptors/{pnfdInfoId}": {
691       "get": {
692         "operationId": "api_nsd_v1_pnf_descriptors_read",
693         "description": "Query a PNFD",
694         "parameters": [],
695         "responses": {
696           "200": {
697             "description": "",
698             "schema": {
699               "$ref": "#/definitions/PnfdInfo"
700             }
701           },
702           "404": {
703             "description": "",
704             "schema": {
705               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
706             }
707           },
708           "500": {
709             "description": "",
710             "schema": {
711               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
712             }
713           }
714         },
715         "tags": ["NSD Management interface"]
716       },
717       "delete": {
718         "operationId": "api_nsd_v1_pnf_descriptors_delete",
719         "description": "Delete a PNFD",
720         "parameters": [],
721         "responses": {
722           "204": {
723             "description": "No content"
724           },
725           "500": {
726             "description": "",
727             "schema": {
728               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
729             }
730           }
731         },
732         "tags": ["NSD Management interface"]
733       },
734       "parameters": [{
735         "name": "pnfdInfoId",
736         "in": "path",
737         "required": true,
738         "type": "string"
739       }]
740     },
741     "/api/nsd/v1/pnf_descriptors/{pnfdInfoId}/pnfd_content": {
742       "get": {
743         "operationId": "Fetch PNFD content",
744         "description": "Fetch PNFD content",
745         "parameters": [],
746         "responses": {
747           "200": {
748             "description": "PNFD file",
749             "schema": {
750               "type": "string",
751               "format": "binary"
752             }
753           },
754           "404": {
755             "description": "",
756             "schema": {
757               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
758             }
759           },
760           "500": {
761             "description": "",
762             "schema": {
763               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
764             }
765           }
766         },
767         "produces": ["application/octet-stream", "application/json"],
768         "tags": ["NSD Management interface"]
769       },
770       "put": {
771         "operationId": "api_nsd_v1_pnf_descriptors_pnfd_content_update",
772         "description": "Upload PNFD content",
773         "parameters": [],
774         "responses": {
775           "204": {
776             "description": "No content"
777           },
778           "500": {
779             "description": "",
780             "schema": {
781               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
782             }
783           }
784         },
785         "tags": ["NSD Management interface"]
786       },
787       "parameters": [{
788         "name": "pnfdInfoId",
789         "in": "path",
790         "required": true,
791         "type": "string"
792       }]
793     },
794     "/api/nsd/v1/subscriptions": {
795       "get": {
796         "operationId": "api_nsd_v1_subscriptions_list",
797         "description": "Query subscriptions for Nsd Management",
798         "parameters": [],
799         "responses": {
800           "200": {
801             "description": "",
802             "schema": {
803               "type": "array",
804               "items": {
805                 "$ref": "#/definitions/NsdmSubscription"
806               }
807             }
808           },
809           "400": {
810             "description": "",
811             "schema": {
812               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
813             }
814           },
815           "404": {
816             "description": "",
817             "schema": {
818               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
819             }
820           },
821           "500": {
822             "description": "",
823             "schema": {
824               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
825             }
826           }
827         },
828         "tags": ["NSD Management interface"]
829       },
830       "post": {
831         "operationId": "api_nsd_v1_subscriptions_create",
832         "description": "Create Subscription for NSD Management",
833         "parameters": [{
834           "name": "data",
835           "in": "body",
836           "required": true,
837           "schema": {
838             "$ref": "#/definitions/NsdmSubscriptionRequest"
839           }
840         }],
841         "responses": {
842           "201": {
843             "description": "",
844             "schema": {
845               "$ref": "#/definitions/NsdmSubscription"
846             }
847           },
848           "303": {
849             "description": "",
850             "schema": {
851               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
852             }
853           },
854           "400": {
855             "description": "",
856             "schema": {
857               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
858             }
859           },
860           "500": {
861             "description": "",
862             "schema": {
863               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
864             }
865           }
866         },
867         "tags": ["NSD Management interface"]
868       },
869       "parameters": []
870     },
871     "/api/nsd/v1/subscriptions/{subscriptionId}": {
872       "get": {
873         "operationId": "api_nsd_v1_subscriptions_read",
874         "description": "Query subscriptions for Nsd Management",
875         "parameters": [],
876         "responses": {
877           "200": {
878             "description": "",
879             "schema": {
880               "$ref": "#/definitions/NsdmSubscription"
881             }
882           },
883           "400": {
884             "description": "",
885             "schema": {
886               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
887             }
888           },
889           "404": {
890             "description": "",
891             "schema": {
892               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
893             }
894           },
895           "500": {
896             "description": "",
897             "schema": {
898               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
899             }
900           }
901         },
902         "tags": ["NSD Management interface"]
903       },
904       "delete": {
905         "operationId": "api_nsd_v1_subscriptions_delete",
906         "description": "Delete subscription for Nsd Management",
907         "parameters": [],
908         "responses": {
909           "204": {
910             "description": "No_Content"
911           },
912           "400": {
913             "description": "",
914             "schema": {
915               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
916             }
917           },
918           "404": {
919             "description": "",
920             "schema": {
921               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
922             }
923           },
924           "500": {
925             "description": "",
926             "schema": {
927               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
928             }
929           }
930         },
931         "tags": ["NSD Management interface"]
932       },
933       "parameters": [{
934         "name": "subscriptionId",
935         "in": "path",
936         "required": true,
937         "type": "string"
938       }]
939     },
940     "/api/parser/v1/health_check": {
941       "get": {
942         "operationId": "api_parser_v1_health_check_list",
943         "description": "",
944         "parameters": [],
945         "responses": {
946           "200": {
947             "description": "Active"
948           }
949         },
950         "tags": ["Health Check interface"]
951       },
952       "parameters": []
953     },
954     "/api/parser/v1/parser": {
955       "post": {
956         "operationId": "api_parser_v1_parser_create",
957         "description": "Parse model(NS, Service, VNF, PNF)",
958         "parameters": [{
959           "name": "data",
960           "in": "body",
961           "required": true,
962           "schema": {
963             "$ref": "#/definitions/ParseModelRequest"
964           }
965         }],
966         "responses": {
967           "202": {
968             "description": "",
969             "schema": {
970               "$ref": "#/definitions/ParseModelResponse"
971             }
972           },
973           "500": {
974             "description": "",
975             "schema": {
976               "$ref": "#/definitions/InternalErrorRequest"
977             }
978           }
979         },
980         "tags": ["Parser interface"]
981       },
982       "parameters": []
983     },
984     "/api/parser/v1/parsernsd": {
985       "post": {
986         "operationId": "api_parser_v1_parsernsd_create",
987         "description": "Parse NS model",
988         "parameters": [{
989           "name": "data",
990           "in": "body",
991           "required": true,
992           "schema": {
993             "$ref": "#/definitions/ParseModelRequest"
994           }
995         }],
996         "responses": {
997           "202": {
998             "description": "",
999             "schema": {
1000               "$ref": "#/definitions/ParseModelResponse"
1001             }
1002           },
1003           "500": {
1004             "description": "",
1005             "schema": {
1006               "$ref": "#/definitions/InternalErrorRequest"
1007             }
1008           }
1009         },
1010         "tags": ["Parser interface"]
1011       },
1012       "parameters": []
1013     },
1014     "/api/parser/v1/parserpnfd": {
1015       "post": {
1016         "operationId": "api_parser_v1_parserpnfd_create",
1017         "description": "Parse PNF model",
1018         "parameters": [{
1019           "name": "data",
1020           "in": "body",
1021           "required": true,
1022           "schema": {
1023             "$ref": "#/definitions/ParseModelRequest"
1024           }
1025         }],
1026         "responses": {
1027           "202": {
1028             "description": "",
1029             "schema": {
1030               "$ref": "#/definitions/ParseModelResponse"
1031             }
1032           },
1033           "500": {
1034             "description": "",
1035             "schema": {
1036               "$ref": "#/definitions/InternalErrorRequest"
1037             }
1038           }
1039         },
1040         "tags": ["Parser interface"]
1041       },
1042       "parameters": []
1043     },
1044     "/api/parser/v1/parservnfd": {
1045       "post": {
1046         "operationId": "api_parser_v1_parservnfd_create",
1047         "description": "Parse NF model",
1048         "parameters": [{
1049           "name": "data",
1050           "in": "body",
1051           "required": true,
1052           "schema": {
1053             "$ref": "#/definitions/ParseModelRequest"
1054           }
1055         }],
1056         "responses": {
1057           "202": {
1058             "description": "",
1059             "schema": {
1060               "$ref": "#/definitions/ParseModelResponse"
1061             }
1062           },
1063           "500": {
1064             "description": "",
1065             "schema": {
1066               "$ref": "#/definitions/InternalErrorRequest"
1067             }
1068           }
1069         },
1070         "tags": ["Parser interface"]
1071       },
1072       "parameters": []
1073     },
1074     "/api/vnfpkgm/v1/health_check": {
1075       "get": {
1076         "operationId": "api_vnfpkgm_v1_health_check_list",
1077         "description": "",
1078         "parameters": [],
1079         "responses": {
1080           "200": {
1081             "description": "Active"
1082           }
1083         },
1084         "tags": ["Health Check interface"]
1085       },
1086       "parameters": []
1087     },
1088     "/api/vnfpkgm/v1/subscriptions": {
1089       "get": {
1090         "operationId": "api_vnfpkgm_v1_subscriptions_list",
1091         "description": "",
1092         "parameters": [],
1093         "responses": {
1094           "200": {
1095             "description": "",
1096             "schema": {
1097               "$ref": "#/definitions/PkgmSubscription"
1098             }
1099           },
1100           "400": {
1101             "description": "",
1102             "schema": {
1103               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1104             }
1105           },
1106           "500": {
1107             "description": "",
1108             "schema": {
1109               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1110             }
1111           }
1112         },
1113         "tags": ["VNF Package Management interface"]
1114       },
1115       "post": {
1116         "operationId": "api_vnfpkgm_v1_subscriptions_create",
1117         "description": "",
1118         "parameters": [{
1119           "name": "data",
1120           "in": "body",
1121           "required": true,
1122           "schema": {
1123             "$ref": "#/definitions/PkgmSubscriptionRequest"
1124           }
1125         }],
1126         "responses": {
1127           "201": {
1128             "description": "",
1129             "schema": {
1130               "$ref": "#/definitions/PkgmSubscription"
1131             }
1132           },
1133           "400": {
1134             "description": "",
1135             "schema": {
1136               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1137             }
1138           },
1139           "500": {
1140             "description": "",
1141             "schema": {
1142               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1143             }
1144           }
1145         },
1146         "tags": ["VNF Package Management interface"]
1147       },
1148       "parameters": []
1149     },
1150     "/api/vnfpkgm/v1/subscriptions/{subscriptionId}": {
1151       "get": {
1152         "operationId": "api_vnfpkgm_v1_subscriptions_read",
1153         "description": "",
1154         "parameters": [],
1155         "responses": {
1156           "200": {
1157             "description": "",
1158             "schema": {
1159               "$ref": "#/definitions/PkgmSubscription"
1160             }
1161           },
1162           "404": {
1163             "description": "",
1164             "schema": {
1165               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1166             }
1167           },
1168           "500": {
1169             "description": "",
1170             "schema": {
1171               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1172             }
1173           }
1174         },
1175         "tags": ["VNF Package Management interface"]
1176       },
1177       "delete": {
1178         "operationId": "api_vnfpkgm_v1_subscriptions_delete",
1179         "description": "",
1180         "parameters": [],
1181         "responses": {
1182           "204": {
1183             "description": ""
1184           },
1185           "404": {
1186             "description": "",
1187             "schema": {
1188               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1189             }
1190           },
1191           "500": {
1192             "description": "",
1193             "schema": {
1194               "$ref": "#/definitions/SUBSCRIPTION_ProblemDetailsSerializer"
1195             }
1196           }
1197         },
1198         "tags": ["VNF Package Management interface"]
1199       },
1200       "parameters": [{
1201         "name": "subscriptionId",
1202         "in": "path",
1203         "required": true,
1204         "type": "string"
1205       }]
1206     },
1207     "/api/vnfpkgm/v1/vnf_packages": {
1208       "get": {
1209         "operationId": "api_vnfpkgm_v1_vnf_packages_list",
1210         "description": "Query multiple VNF package resource",
1211         "parameters": [],
1212         "responses": {
1213           "200": {
1214             "description": "",
1215             "schema": {
1216               "type": "array",
1217               "items": {
1218                 "$ref": "#/definitions/VnfPkgInfo"
1219               }
1220             }
1221           },
1222           "500": {
1223             "description": "Internal error",
1224             "schema": {
1225               "type": "string"
1226             }
1227           }
1228         },
1229         "tags": ["VNF Package Management interface"]
1230       },
1231       "post": {
1232         "operationId": "api_vnfpkgm_v1_vnf_packages_create",
1233         "description": "Create an individual VNF package resource",
1234         "parameters": [{
1235           "name": "data",
1236           "in": "body",
1237           "required": true,
1238           "schema": {
1239             "$ref": "#/definitions/CreateVnfPkgInfoRequest"
1240           }
1241         }],
1242         "responses": {
1243           "201": {
1244             "description": "",
1245             "schema": {
1246               "$ref": "#/definitions/VnfPkgInfo"
1247             }
1248           },
1249           "400": {
1250             "description": "Bad Request",
1251             "schema": {
1252               "type": "string"
1253             }
1254           },
1255           "500": {
1256             "description": "Internal error",
1257             "schema": {
1258               "type": "string"
1259             }
1260           }
1261         },
1262         "tags": ["VNF Package Management interface"]
1263       },
1264       "parameters": []
1265     },
1266     "/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}": {
1267       "get": {
1268         "operationId": "api_vnfpkgm_v1_vnf_packages_read",
1269         "description": "Query an individual VNF package resource",
1270         "parameters": [],
1271         "responses": {
1272           "200": {
1273             "description": "",
1274             "schema": {
1275               "$ref": "#/definitions/VnfPkgInfo"
1276             }
1277           },
1278           "404": {
1279             "description": "VNF package does not exist",
1280             "schema": {
1281               "type": "string"
1282             }
1283           },
1284           "500": {
1285             "description": "Internal error",
1286             "schema": {
1287               "type": "string"
1288             }
1289           }
1290         },
1291         "tags": ["VNF Package Management interface"]
1292       },
1293       "delete": {
1294         "operationId": "api_vnfpkgm_v1_vnf_packages_delete",
1295         "description": "Delete an individual VNF package resource",
1296         "parameters": [],
1297         "responses": {
1298           "204": {
1299             "description": "No content"
1300           },
1301           "500": {
1302             "description": "Internal error",
1303             "schema": {
1304               "type": "string"
1305             }
1306           }
1307         },
1308         "tags": ["VNF Package Management interface"]
1309       },
1310       "parameters": [{
1311         "name": "vnfPkgId",
1312         "in": "path",
1313         "required": true,
1314         "type": "string"
1315       }]
1316     },
1317     "/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/artifacts/{artifactPath}": {
1318       "get": {
1319         "operationId": "api_vnfpkgm_v1_vnf_packages_artifacts_read",
1320         "description": "",
1321         "parameters": [],
1322         "responses": {
1323           "200": {
1324             "description": "Return the artifact file",
1325             "schema": {
1326               "type": "string",
1327               "format": "binary"
1328             }
1329           },
1330           "404": {
1331             "description": "Artifact not found",
1332             "schema": {
1333               "type": "string"
1334             }
1335           },
1336           "500": {
1337             "description": "Internal error",
1338             "schema": {
1339               "type": "string"
1340             }
1341           }
1342         },
1343         "produces": ["application/octet-stream", "application/json"],
1344         "tags": ["VNF Package Management interface"]
1345       },
1346       "parameters": [{
1347         "name": "artifactPath",
1348         "in": "path",
1349         "required": true,
1350         "type": "string"
1351       }, {
1352         "name": "vnfPkgId",
1353         "in": "path",
1354         "required": true,
1355         "type": "string"
1356       }]
1357     },
1358     "/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content": {
1359       "get": {
1360         "operationId": "api_vnfpkgm_v1_vnf_packages_package_content_list",
1361         "description": "Fetch VNF package content",
1362         "parameters": [],
1363         "responses": {
1364           "200": {
1365             "description": "VNF package file",
1366             "schema": {
1367               "type": "string",
1368               "format": "binary"
1369             }
1370           },
1371           "404": {
1372             "description": "VNF package does not exist",
1373             "schema": {
1374               "type": "string"
1375             }
1376           },
1377           "500": {
1378             "description": "Internal error",
1379             "schema": {
1380               "type": "string"
1381             }
1382           }
1383         },
1384         "produces": ["application/octet-stream", "application/json"],
1385         "tags": ["VNF Package Management interface"]
1386       },
1387       "put": {
1388         "operationId": "api_vnfpkgm_v1_vnf_packages_package_content_update",
1389         "description": "Upload VNF package content",
1390         "parameters": [],
1391         "responses": {
1392           "202": {
1393             "description": "Successfully"
1394           },
1395           "500": {
1396             "description": "Internal error",
1397             "schema": {
1398               "type": "string"
1399             }
1400           }
1401         },
1402         "tags": ["VNF Package Management interface"]
1403       },
1404       "parameters": [{
1405         "name": "vnfPkgId",
1406         "in": "path",
1407         "required": true,
1408         "type": "string"
1409       }]
1410     },
1411     "/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/upload_from_uri": {
1412       "post": {
1413         "operationId": "api_vnfpkgm_v1_vnf_packages_package_content_upload_from_uri_create",
1414         "description": "Upload VNF package content from uri",
1415         "parameters": [{
1416           "name": "data",
1417           "in": "body",
1418           "required": true,
1419           "schema": {
1420             "$ref": "#/definitions/UploadVnfPackageFromUriRequest"
1421           }
1422         }],
1423         "responses": {
1424           "202": {
1425             "description": "Successfully"
1426           },
1427           "400": {
1428             "description": "Bad Request",
1429             "schema": {
1430               "type": "string"
1431             }
1432           },
1433           "500": {
1434             "description": "Internal error",
1435             "schema": {
1436               "type": "string"
1437             }
1438           }
1439         },
1440         "tags": ["VNF Package Management interface"]
1441       },
1442       "parameters": [{
1443         "name": "vnfPkgId",
1444         "in": "path",
1445         "required": true,
1446         "type": "string"
1447       }]
1448     },
1449     "/api/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd": {
1450       "get": {
1451         "operationId": "VNFD of an on-boarded VNF package",
1452         "description": "Read VNFD of an on-boarded VNF package",
1453         "parameters": [],
1454         "responses": {
1455           "200": {
1456             "description": "VNFD of an on-boarded VNF package",
1457             "schema": {
1458               "type": "string",
1459               "format": "binary"
1460             }
1461           },
1462           "404": {
1463             "description": "VNF package does not exist",
1464             "schema": {
1465               "type": "string"
1466             }
1467           },
1468           "500": {
1469             "description": "Internal error",
1470             "schema": {
1471               "type": "string"
1472             }
1473           }
1474         },
1475         "produces": ["application/octet-stream", "application/json"],
1476         "tags": ["VNF Package Management interface"]
1477       },
1478       "parameters": [{
1479         "name": "vnfPkgId",
1480         "in": "path",
1481         "required": true,
1482         "type": "string"
1483       }]
1484     },
1485     "/samples/": {
1486       "get": {
1487         "operationId": "samples_list",
1488         "description": "List all samples.",
1489         "parameters": [],
1490         "responses": {
1491           "200": {
1492             "description": ""
1493           }
1494         },
1495         "tags": ["Sample interface"]
1496       },
1497       "parameters": []
1498     }
1499   },
1500   "definitions": {
1501     "JobResponseHistoryList": {
1502       "description": "Response History List",
1503       "type": "object",
1504       "properties": {
1505         "status": {
1506           "title": "Status",
1507           "description": "Status",
1508           "type": "string",
1509           "minLength": 1
1510         },
1511         "progress": {
1512           "title": "Progress",
1513           "description": "Job Progress",
1514           "type": "string",
1515           "minLength": 1
1516         },
1517         "statusDescription": {
1518           "title": "Statusdescription",
1519           "description": "Status Description",
1520           "type": "string",
1521           "minLength": 1
1522         },
1523         "errorCode": {
1524           "title": "Errorcode",
1525           "description": "Error Code",
1526           "type": "string",
1527           "minLength": 1,
1528           "x-nullable": true
1529         },
1530         "responseId": {
1531           "title": "Responseid",
1532           "description": "Response Id",
1533           "type": "string",
1534           "minLength": 1
1535         }
1536       }
1537     },
1538     "JobResponseDescriptor": {
1539       "title": "Responsedescriptor",
1540       "description": "Job Response Descriptor",
1541       "type": "object",
1542       "properties": {
1543         "status": {
1544           "title": "Status",
1545           "description": "Status",
1546           "type": "string",
1547           "minLength": 1
1548         },
1549         "progress": {
1550           "title": "Progress",
1551           "description": "Job Progress",
1552           "type": "string",
1553           "minLength": 1
1554         },
1555         "statusDescription": {
1556           "title": "Statusdescription",
1557           "description": "Status Description",
1558           "type": "string",
1559           "minLength": 1
1560         },
1561         "errorCode": {
1562           "title": "Errorcode",
1563           "description": "Error Code",
1564           "type": "string",
1565           "minLength": 1,
1566           "x-nullable": true
1567         },
1568         "responseId": {
1569           "title": "Responseid",
1570           "description": "Response Id",
1571           "type": "string",
1572           "minLength": 1
1573         },
1574         "responseHistoryList": {
1575           "description": "Response History List",
1576           "type": "array",
1577           "items": {
1578             "$ref": "#/definitions/JobResponseHistoryList"
1579           }
1580         }
1581       }
1582     },
1583     "GetJobResponse": {
1584       "type": "object",
1585       "properties": {
1586         "jobId": {
1587           "title": "Jobid",
1588           "description": "Job Id",
1589           "type": "string",
1590           "minLength": 1
1591         },
1592         "responseDescriptor": {
1593           "$ref": "#/definitions/JobResponseDescriptor"
1594         }
1595       }
1596     },
1597     "PostJobResponseResult": {
1598       "required": ["result"],
1599       "type": "object",
1600       "properties": {
1601         "result": {
1602           "title": "Result",
1603           "description": "Result",
1604           "type": "string",
1605           "minLength": 1
1606         },
1607         "msg": {
1608           "title": "Msg",
1609           "description": "Message",
1610           "type": "string",
1611           "minLength": 1
1612         }
1613       }
1614     },
1615     "PostJobRequest": {
1616       "type": "object",
1617       "properties": {
1618         "progress": {
1619           "title": "Progress",
1620           "description": "Job Progress",
1621           "type": "string",
1622           "minLength": 1
1623         },
1624         "desc": {
1625           "title": "Desc",
1626           "description": "Description",
1627           "type": "string",
1628           "minLength": 1
1629         },
1630         "errcode": {
1631           "title": "Errcode",
1632           "description": "Error Code",
1633           "type": "string",
1634           "minLength": 1
1635         }
1636       }
1637     },
1638     "NsPackageInfo": {
1639       "title": "Packageinfo",
1640       "description": "NS Package Info",
1641       "type": "object",
1642       "properties": {
1643         "nsdId": {
1644           "title": "Nsdid",
1645           "description": "NSD ID",
1646           "type": "string",
1647           "minLength": 1,
1648           "x-nullable": true
1649         },
1650         "nsPackageId": {
1651           "title": "Nspackageid",
1652           "description": "NS Package ID",
1653           "type": "string",
1654           "x-nullable": true
1655         },
1656         "nsdProvider": {
1657           "title": "Nsdprovider",
1658           "description": "NSD Provider",
1659           "type": "string",
1660           "x-nullable": true
1661         },
1662         "nsdVersion": {
1663           "title": "Nsdversion",
1664           "description": "NSD Version",
1665           "type": "string",
1666           "x-nullable": true
1667         },
1668         "csarName": {
1669           "title": "Csarname",
1670           "description": "CSAR name",
1671           "type": "string",
1672           "x-nullable": true
1673         },
1674         "nsdModel": {
1675           "title": "Nsdmodel",
1676           "description": "NSD Model",
1677           "type": "string",
1678           "x-nullable": true
1679         },
1680         "downloadUrl": {
1681           "title": "Downloadurl",
1682           "description": "URL to download NSD Model",
1683           "type": "string",
1684           "minLength": 1,
1685           "x-nullable": true
1686         }
1687       },
1688       "x-nullable": true
1689     },
1690     "NsPackage": {
1691       "type": "object",
1692       "properties": {
1693         "csarId": {
1694           "title": "Csarid",
1695           "description": "CSAR ID",
1696           "type": "string",
1697           "minLength": 1,
1698           "x-nullable": true
1699         },
1700         "packageInfo": {
1701           "$ref": "#/definitions/NsPackageInfo"
1702         }
1703       }
1704     },
1705     "InternalErrorRequest": {
1706       "required": ["error"],
1707       "type": "object",
1708       "properties": {
1709         "error": {
1710           "title": "Error",
1711           "description": "Error",
1712           "type": "string",
1713           "minLength": 1
1714         },
1715         "errorMessage": {
1716           "title": "Errormessage",
1717           "description": "Error Message",
1718           "type": "string",
1719           "minLength": 1
1720         }
1721       }
1722     },
1723     "NsPackageDistributeRequest": {
1724       "required": ["csarId"],
1725       "type": "object",
1726       "properties": {
1727         "csarId": {
1728           "title": "Csarid",
1729           "description": "csarId",
1730           "type": "string",
1731           "minLength": 1
1732         }
1733       }
1734     },
1735     "NsPackageDistributeResponse": {
1736       "required": ["status", "statusDescription", "errorCode"],
1737       "type": "object",
1738       "properties": {
1739         "status": {
1740           "title": "Status",
1741           "description": "status",
1742           "type": "string",
1743           "minLength": 1
1744         },
1745         "statusDescription": {
1746           "title": "Statusdescription",
1747           "description": "statusDescription",
1748           "type": "string",
1749           "minLength": 1
1750         },
1751         "errorCode": {
1752           "title": "Errorcode",
1753           "description": "errorCode",
1754           "type": "string",
1755           "minLength": 1
1756         }
1757       }
1758     },
1759     "ServicePackageInfo": {
1760       "title": "Packageinfo",
1761       "description": "Service Package Info",
1762       "type": "object",
1763       "properties": {
1764         "servicedId": {
1765           "title": "Servicedid",
1766           "description": "ServiceD ID",
1767           "type": "string",
1768           "minLength": 1,
1769           "x-nullable": true
1770         },
1771         "servicePackageId": {
1772           "title": "Servicepackageid",
1773           "description": "Service Package ID",
1774           "type": "string",
1775           "x-nullable": true
1776         },
1777         "servicedProvider": {
1778           "title": "Servicedprovider",
1779           "description": "ServiceD Provider",
1780           "type": "string",
1781           "x-nullable": true
1782         },
1783         "servicedVersion": {
1784           "title": "Servicedversion",
1785           "description": "ServiceD Version",
1786           "type": "string",
1787           "x-nullable": true
1788         },
1789         "csarName": {
1790           "title": "Csarname",
1791           "description": "CSAR name",
1792           "type": "string",
1793           "x-nullable": true
1794         },
1795         "servicedModel": {
1796           "title": "Servicedmodel",
1797           "description": "ServiceD Model",
1798           "type": "string",
1799           "x-nullable": true
1800         },
1801         "downloadUrl": {
1802           "title": "Downloadurl",
1803           "description": "URL to download ServiceD Model",
1804           "type": "string",
1805           "minLength": 1,
1806           "x-nullable": true
1807         }
1808       },
1809       "x-nullable": true
1810     },
1811     "ServicePackage": {
1812       "type": "object",
1813       "properties": {
1814         "csarId": {
1815           "title": "Csarid",
1816           "description": "CSAR ID",
1817           "type": "string",
1818           "minLength": 1,
1819           "x-nullable": true
1820         },
1821         "packageInfo": {
1822           "$ref": "#/definitions/ServicePackageInfo"
1823         }
1824       }
1825     },
1826     "ServicePackageDistributeRequest": {
1827       "required": ["csarId"],
1828       "type": "object",
1829       "properties": {
1830         "csarId": {
1831           "title": "Csarid",
1832           "description": "csarId",
1833           "type": "string",
1834           "minLength": 1
1835         }
1836       }
1837     },
1838     "NfPackageInfo": {
1839       "title": "Packageinfo",
1840       "description": "VNF Package Info",
1841       "required": ["vnfPackageId"],
1842       "type": "object",
1843       "properties": {
1844         "vnfdId": {
1845           "title": "Vnfdid",
1846           "description": "VNFD ID",
1847           "type": "string",
1848           "x-nullable": true
1849         },
1850         "vnfPackageId": {
1851           "title": "Vnfpackageid",
1852           "description": "VNF Package ID",
1853           "type": "string",
1854           "minLength": 1
1855         },
1856         "vnfdProvider": {
1857           "title": "Vnfdprovider",
1858           "description": "VNFD Provider",
1859           "type": "string",
1860           "x-nullable": true
1861         },
1862         "vnfdVersion": {
1863           "title": "Vnfdversion",
1864           "description": "VNFD Version",
1865           "type": "string",
1866           "x-nullable": true
1867         },
1868         "vnfVersion": {
1869           "title": "Vnfversion",
1870           "description": "VNF Version",
1871           "type": "string",
1872           "x-nullable": true
1873         },
1874         "csarName": {
1875           "title": "Csarname",
1876           "description": "CSAR Name",
1877           "type": "string",
1878           "x-nullable": true
1879         },
1880         "vnfdModel": {
1881           "title": "Vnfdmodel",
1882           "description": "VNFD Model",
1883           "type": "string",
1884           "x-nullable": true
1885         },
1886         "downloadUrl": {
1887           "title": "Downloadurl",
1888           "description": "URL to download VNFD Model",
1889           "type": "string",
1890           "x-nullable": true
1891         }
1892       }
1893     },
1894     "NfImageInfo": {
1895       "description": "Image Info",
1896       "required": ["index", "fileName", "imageId", "vimId", "vimUser", "tenant", "status"],
1897       "type": "object",
1898       "properties": {
1899         "index": {
1900           "title": "Index",
1901           "description": "Index of VNF Image",
1902           "type": "string",
1903           "minLength": 1
1904         },
1905         "fileName": {
1906           "title": "Filename",
1907           "description": "Image file name",
1908           "type": "string",
1909           "minLength": 1
1910         },
1911         "imageId": {
1912           "title": "Imageid",
1913           "description": "Image ID",
1914           "type": "string",
1915           "minLength": 1
1916         },
1917         "vimId": {
1918           "title": "Vimid",
1919           "description": "VIM ID",
1920           "type": "string",
1921           "minLength": 1
1922         },
1923         "vimUser": {
1924           "title": "Vimuser",
1925           "description": "User of VIM",
1926           "type": "string",
1927           "minLength": 1
1928         },
1929         "tenant": {
1930           "title": "Tenant",
1931           "description": "Tenant",
1932           "type": "string",
1933           "minLength": 1
1934         },
1935         "status": {
1936           "title": "Status",
1937           "description": "Status",
1938           "type": "string",
1939           "minLength": 1
1940         }
1941       }
1942     },
1943     "NfPackage": {
1944       "required": ["csarId", "packageInfo"],
1945       "type": "object",
1946       "properties": {
1947         "csarId": {
1948           "title": "Csarid",
1949           "description": "CSAR ID",
1950           "type": "string",
1951           "minLength": 1
1952         },
1953         "packageInfo": {
1954           "$ref": "#/definitions/NfPackageInfo"
1955         },
1956         "imageInfo": {
1957           "description": "Image Info",
1958           "type": "array",
1959           "items": {
1960             "$ref": "#/definitions/NfImageInfo"
1961           },
1962           "x-nullable": true
1963         }
1964       }
1965     },
1966     "NfPackageDistributeRequest": {
1967       "required": ["csarId"],
1968       "type": "object",
1969       "properties": {
1970         "csarId": {
1971           "title": "Csarid",
1972           "description": "CSAR ID",
1973           "type": "string",
1974           "minLength": 1
1975         },
1976         "vimIds": {
1977           "description": "A string for vimIds",
1978           "type": "array",
1979           "items": {
1980             "type": "string",
1981             "minLength": 1
1982           }
1983         },
1984         "labVimId": {
1985           "title": "Labvimid",
1986           "description": "A list of VIM IDs.",
1987           "type": "string"
1988         }
1989       }
1990     },
1991     "PostJobResponse": {
1992       "required": ["jobId"],
1993       "type": "object",
1994       "properties": {
1995         "jobId": {
1996           "title": "Jobid",
1997           "description": "jobId",
1998           "type": "string",
1999           "minLength": 1
2000         }
2001       }
2002     },
2003     "ProblemDetails": {
2004       "title": "Onboardingfailuredetails",
2005       "description": "Failure details of current onboarding procedure.It shall be present when the nsdOnboardingState attribute is CREATED and the uploading or processing fails in NFVO.",
2006       "required": ["title", "detail"],
2007       "type": "object",
2008       "properties": {
2009         "type": {
2010           "title": "Type",
2011           "description": "A URI reference according to IETF RFC 3986 [10] that identifies the problem type.         It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced.         When this member is not present, its value is assumed to be \"about:blank\".",
2012           "type": "string",
2013           "x-nullable": true
2014         },
2015         "title": {
2016           "title": "Title",
2017           "description": "The HTTP status code for this occurrence of the problem.",
2018           "type": "integer"
2019         },
2020         "detail": {
2021           "title": "Detail",
2022           "description": "A human-readable explanation specific to this occurrence of the problem.",
2023           "type": "string",
2024           "minLength": 1
2025         },
2026         "instance": {
2027           "title": "Instance",
2028           "description": "A URI reference that identifies the specific occurrence of the problem.         It may yield further information if dereferenced.",
2029           "type": "string",
2030           "x-nullable": true
2031         },
2032         "additional_attributes": {
2033           "title": "Additional attributes",
2034           "description": "Any number of additional attributes, as defined in a specification or by an implementation.",
2035           "type": "object",
2036           "additionalProperties": {
2037             "description": "Additional attribute",
2038             "type": "string"
2039           },
2040           "x-nullable": true
2041         }
2042       }
2043     },
2044     "UriLink": {
2045       "title": "Self",
2046       "description": "URI of this resource.",
2047       "required": ["href"],
2048       "type": "object",
2049       "properties": {
2050         "href": {
2051           "title": "Href",
2052           "description": "URI of the referenced resource",
2053           "type": "string",
2054           "minLength": 1
2055         }
2056       }
2057     },
2058     "NSD_LinkSerializer": {
2059       "title": " links",
2060       "description": "Links to resources related to this resource.",
2061       "required": ["self", "nsd_content"],
2062       "type": "object",
2063       "properties": {
2064         "self": {
2065           "$ref": "#/definitions/UriLink"
2066         },
2067         "nsd_content": {
2068           "$ref": "#/definitions/UriLink"
2069         }
2070       }
2071     },
2072     "NsdInfo": {
2073       "required": ["id", "nsdOnboardingState", "nsdOperationalState", "nsdUsageState", "_links"],
2074       "type": "object",
2075       "properties": {
2076         "id": {
2077           "title": "Id",
2078           "description": "Identifier of the onboarded individual NS descriptor resource.This identifier is allocated by the NFVO.",
2079           "type": "string",
2080           "minLength": 1
2081         },
2082         "nsdId": {
2083           "title": "Nsdid",
2084           "description": "This identifier, which is allocated by the NSD designer,identifies the NSD in a globally unique way.It is copied from the NSD content and shall be present after the NSD content is on-boarded.",
2085           "type": "string",
2086           "x-nullable": true
2087         },
2088         "nsdName": {
2089           "title": "Nsdname",
2090           "description": "Name of the onboarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.",
2091           "type": "string",
2092           "x-nullable": true
2093         },
2094         "nsdVersion": {
2095           "title": "Nsdversion",
2096           "description": "Version of the on-boarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.",
2097           "type": "string",
2098           "x-nullable": true
2099         },
2100         "nsdDesigner": {
2101           "title": "Nsddesigner",
2102           "description": "Designer of the on-boarded NSD.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.",
2103           "type": "string",
2104           "x-nullable": true
2105         },
2106         "nsdInvariantId": {
2107           "title": "Nsdinvariantid",
2108           "description": "This identifier, which is allocated by the NSD designer,identifies an NSD in a version independent manner.This information is copied from the NSD content and shall be present after the NSD content is on-boarded.",
2109           "type": "string",
2110           "x-nullable": true
2111         },
2112         "vnfPkgIds": {
2113           "description": "Identifies the VNF package for the VNFD referenced by the on-boarded NS descriptor resource.",
2114           "type": "array",
2115           "items": {
2116             "description": "Identifier of the VNF package",
2117             "type": "string"
2118           },
2119           "x-nullable": true
2120         },
2121         "pnfdInfoIds": {
2122           "description": "Identifies the PnfdInfo element for the PNFD referenced by the on-boarded NS descriptor resource.",
2123           "type": "array",
2124           "items": {
2125             "description": "Identifier of the PnfdInfo element",
2126             "type": "string"
2127           },
2128           "x-nullable": true
2129         },
2130         "nestedNsdInfoIds": {
2131           "description": "Identifies the NsdInfo element for the nested NSD referenced by the on-boarded NS descriptor resource.",
2132           "type": "array",
2133           "items": {
2134             "description": "Identifier of the NsdInfo element",
2135             "type": "string"
2136           },
2137           "x-nullable": true
2138         },
2139         "nsdOnboardingState": {
2140           "title": "Nsdonboardingstate",
2141           "description": "Onboarding state of the individual NS descriptor resource.",
2142           "type": "string",
2143           "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED"]
2144         },
2145         "onboardingFailureDetails": {
2146           "$ref": "#/definitions/ProblemDetails"
2147         },
2148         "nsdOperationalState": {
2149           "title": "Nsdoperationalstate",
2150           "description": "Operational state of the individual NS descriptor resource.This attribute can be modified with the PATCH method.",
2151           "type": "string",
2152           "enum": ["ENABLED", "DISABLED"]
2153         },
2154         "nsdUsageState": {
2155           "title": "Nsdusagestate",
2156           "description": "Usage state of the individual NS descriptor resource.",
2157           "type": "string",
2158           "enum": ["IN_USE", "NOT_IN_USE"]
2159         },
2160         "userDefinedData": {
2161           "title": "Userdefineddata",
2162           "description": "User defined data for the individual NS descriptor resource.This attribute can be modified with the PATCH method.",
2163           "type": "object",
2164           "additionalProperties": {
2165             "description": "Key Value Pairs",
2166             "type": "string"
2167           },
2168           "x-nullable": true
2169         },
2170         "_links": {
2171           "$ref": "#/definitions/NSD_LinkSerializer"
2172         }
2173       }
2174     },
2175     "CreateNsdInfoRequest": {
2176       "type": "object",
2177       "properties": {
2178         "userDefinedData": {
2179           "title": "Userdefineddata",
2180           "description": "User-defined data for the NS descriptor resource to be created.It shall be present when the user defined data is set for the individual NS descriptor resource to be created.",
2181           "type": "object",
2182           "additionalProperties": {
2183             "description": "Key Value Pairs",
2184             "type": "string"
2185           },
2186           "x-nullable": true
2187         }
2188       }
2189     },
2190     "PNFD_LinkSerializer": {
2191       "title": " links",
2192       "description": "Links to resources related to this resource.",
2193       "required": ["self", "pnfd_content"],
2194       "type": "object",
2195       "properties": {
2196         "self": {
2197           "$ref": "#/definitions/UriLink"
2198         },
2199         "pnfd_content": {
2200           "$ref": "#/definitions/UriLink"
2201         }
2202       }
2203     },
2204     "PnfdInfo": {
2205       "required": ["id", "pnfdOnboardingState", "pnfdUsageState", "_links"],
2206       "type": "object",
2207       "properties": {
2208         "id": {
2209           "title": "Id",
2210           "description": "Identifier of the onboarded individual PNF descriptor resource.         This identifier is allocated by the NFVO.",
2211           "type": "string",
2212           "minLength": 1
2213         },
2214         "pnfdId": {
2215           "title": "Pnfdid",
2216           "description": "This identifier, which is allocated by the PNFD designer,         identifies the PNFD in a globally unique way.         It is copied from the PNFD content and shall be present after the PNFD content is on-boarded.",
2217           "type": "string",
2218           "x-nullable": true
2219         },
2220         "pnfdName": {
2221           "title": "Pnfdname",
2222           "description": "Name of the onboarded PNFD.         This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.",
2223           "type": "string",
2224           "x-nullable": true
2225         },
2226         "pnfdVersion": {
2227           "title": "Pnfdversion",
2228           "description": "Version of the on-boarded PNFD.         This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.",
2229           "type": "string",
2230           "x-nullable": true
2231         },
2232         "pnfdProvider": {
2233           "title": "Pnfdprovider",
2234           "description": "Provider of the on-boarded PNFD.         This information is copied from the PNFD content and shall be present after the PNFD content is on-boarded.",
2235           "type": "string",
2236           "x-nullable": true
2237         },
2238         "pnfdInvariantId": {
2239           "title": "Pnfdinvariantid",
2240           "description": "Identifies a PNFD in a version independent manner.         This attribute is invariant across versions of PNFD.",
2241           "type": "string",
2242           "x-nullable": true
2243         },
2244         "pnfdOnboardingState": {
2245           "title": "Pnfdonboardingstate",
2246           "description": "Onboarding state of the individual PNF descriptor resource.",
2247           "type": "string",
2248           "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED"]
2249         },
2250         "onboardingFailureDetails": {
2251           "$ref": "#/definitions/ProblemDetails"
2252         },
2253         "pnfdUsageState": {
2254           "title": "Pnfdusagestate",
2255           "description": "Usage state of the individual PNF descriptor resource.",
2256           "type": "string",
2257           "enum": ["IN_USE", "NOT_IN_USE"]
2258         },
2259         "userDefinedData": {
2260           "title": "Userdefineddata",
2261           "description": "User defined data for the individual PNF descriptor resource.         This attribute can be modified with the PATCH method.",
2262           "type": "object",
2263           "additionalProperties": {
2264             "description": "Key Value Pairs",
2265             "type": "string"
2266           },
2267           "x-nullable": true
2268         },
2269         "_links": {
2270           "$ref": "#/definitions/PNFD_LinkSerializer"
2271         }
2272       }
2273     },
2274     "SUBSCRIPTION_ProblemDetailsSerializer": {
2275       "required": ["status", "detail"],
2276       "type": "object",
2277       "properties": {
2278         "type": {
2279           "title": "Type",
2280           "description": "Type",
2281           "type": "string",
2282           "minLength": 1,
2283           "x-nullable": true
2284         },
2285         "title": {
2286           "title": "Title",
2287           "description": "Title",
2288           "type": "string",
2289           "minLength": 1,
2290           "x-nullable": true
2291         },
2292         "status": {
2293           "title": "Status",
2294           "description": "Status",
2295           "type": "integer"
2296         },
2297         "detail": {
2298           "title": "Detail",
2299           "description": "Detail",
2300           "type": "string",
2301           "minLength": 1
2302         },
2303         "instance": {
2304           "title": "Instance",
2305           "description": "Instance",
2306           "type": "string",
2307           "minLength": 1,
2308           "x-nullable": true
2309         },
2310         "additional_details": {
2311           "description": "Any number of additional attributes, as defined in a specification or by an implementation.",
2312           "type": "array",
2313           "items": {
2314             "type": "string"
2315           },
2316           "x-nullable": true
2317         }
2318       }
2319     },
2320     "CreatePnfdInfoRequest": {
2321       "type": "object",
2322       "properties": {
2323         "userDefinedData": {
2324           "title": "Userdefineddata",
2325           "description": "User-defined data for the PNF descriptor resource to be created.It shall be present when the user defined data is set for the individual PNF descriptor resource to be created.",
2326           "type": "object",
2327           "additionalProperties": {
2328             "description": "Key Value Pairs",
2329             "type": "string"
2330           },
2331           "x-nullable": true
2332         }
2333       }
2334     },
2335     "NsdmNotificationsFilter": {
2336       "title": "Filter",
2337       "description": "Filter settings for this subscription, to define the of all notifications this subscription relates to.",
2338       "type": "object",
2339       "properties": {
2340         "notificationTypes": {
2341           "description": "Match particular notification types",
2342           "type": "array",
2343           "items": {
2344             "type": "string",
2345             "enum": ["NsdOnBoardingNotification", "NsdOnboardingFailureNotification", "NsdChangeNotification", "NsdDeletionNotification", "PnfdOnBoardingNotification", "PnfdOnBoardingFailureNotification", "PnfdDeletionNotification"]
2346           }
2347         },
2348         "nsdInfoId": {
2349           "description": "Match NS packages with particular nsdInfoIds",
2350           "type": "array",
2351           "items": {
2352             "type": "string",
2353             "minLength": 1
2354           }
2355         },
2356         "nsdId": {
2357           "description": "Match NS Packages with particular nsdIds",
2358           "type": "array",
2359           "items": {
2360             "type": "string",
2361             "minLength": 1
2362           }
2363         },
2364         "nsdName": {
2365           "description": "Match NS Packages with particular nsdNames",
2366           "type": "array",
2367           "items": {
2368             "type": "string",
2369             "maxLength": 255,
2370             "minLength": 1
2371           }
2372         },
2373         "nsdVersion": {
2374           "description": "match NS packages that belong to certain nsdversion",
2375           "type": "array",
2376           "items": {
2377             "type": "string",
2378             "maxLength": 255,
2379             "minLength": 1
2380           }
2381         },
2382         "nsdInvariantId": {
2383           "description": "Match NS Packages with particular nsdInvariantIds",
2384           "type": "array",
2385           "items": {
2386             "type": "string",
2387             "minLength": 1
2388           }
2389         },
2390         "vnfPkgIds": {
2391           "description": "Match NS Packages that has VNF PackageIds",
2392           "type": "array",
2393           "items": {
2394             "type": "string",
2395             "minLength": 1
2396           }
2397         },
2398         "nestedNsdInfoIds": {
2399           "description": "Match NS Packages with particular nsdInvariantIds",
2400           "type": "array",
2401           "items": {
2402             "type": "string",
2403             "minLength": 1
2404           }
2405         },
2406         "nsdOnboardingState": {
2407           "description": "Match NS Packages with particular NS Onboarding State",
2408           "type": "array",
2409           "items": {
2410             "type": "string",
2411             "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED"]
2412           }
2413         },
2414         "nsdOperationalState": {
2415           "description": "Match NS Packages with particular NS Operational State",
2416           "type": "array",
2417           "items": {
2418             "type": "string",
2419             "enum": ["ENABLED", "DISABLED"]
2420           }
2421         },
2422         "nsdUsageState": {
2423           "description": "Match NS Packages with particular NS Usage State",
2424           "type": "array",
2425           "items": {
2426             "type": "string",
2427             "enum": ["IN_USE", "NOT_IN_USE"]
2428           }
2429         },
2430         "pnfdInfoIds": {
2431           "description": "Match PF packages with particular pnfdInfoIds",
2432           "type": "array",
2433           "items": {
2434             "type": "string",
2435             "minLength": 1
2436           }
2437         },
2438         "pnfdId": {
2439           "description": "Match PF packages with particular pnfdInfoIds",
2440           "type": "array",
2441           "items": {
2442             "type": "string",
2443             "minLength": 1
2444           }
2445         },
2446         "pnfdName": {
2447           "description": "Match PF Packages with particular pnfdNames",
2448           "type": "array",
2449           "items": {
2450             "type": "string",
2451             "maxLength": 255,
2452             "minLength": 1
2453           }
2454         },
2455         "pnfdVersion": {
2456           "description": "match PF packages that belong to certain pnfd version",
2457           "type": "array",
2458           "items": {
2459             "type": "string",
2460             "maxLength": 255,
2461             "minLength": 1
2462           }
2463         },
2464         "pnfdProvider": {
2465           "description": "Match PF Packages with particular pnfdProvider",
2466           "type": "array",
2467           "items": {
2468             "type": "string",
2469             "maxLength": 255,
2470             "minLength": 1
2471           }
2472         },
2473         "pnfdInvariantId": {
2474           "description": "Match PF Packages with particular pnfdInvariantIds",
2475           "type": "array",
2476           "items": {
2477             "type": "string",
2478             "minLength": 1
2479           }
2480         },
2481         "pnfdOnboardingState": {
2482           "description": "Match PF Packages with particular PNF Onboarding State ",
2483           "type": "array",
2484           "items": {
2485             "type": "string",
2486             "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED"]
2487           }
2488         },
2489         "pnfdUsageState": {
2490           "description": "Match PF Packages with particular PNF usage State",
2491           "type": "array",
2492           "items": {
2493             "type": "string",
2494             "enum": ["IN_USE", "NOT_IN_USE"]
2495           }
2496         }
2497       }
2498     },
2499     "NSDM_SUB_LinkSerializer": {
2500       "title": " links",
2501       "description": "Links to resources related to this resource.",
2502       "required": ["self"],
2503       "type": "object",
2504       "properties": {
2505         "self": {
2506           "$ref": "#/definitions/UriLink"
2507         }
2508       }
2509     },
2510     "NsdmSubscription": {
2511       "required": ["id", "callbackUri", "_links"],
2512       "type": "object",
2513       "properties": {
2514         "id": {
2515           "title": "Id",
2516           "description": "Identifier of this subscription resource.",
2517           "type": "string",
2518           "maxLength": 255,
2519           "minLength": 1
2520         },
2521         "callbackUri": {
2522           "title": "Callbackuri",
2523           "description": "The URI of the endpoint to send the notification to.",
2524           "type": "string",
2525           "maxLength": 255,
2526           "minLength": 1
2527         },
2528         "filter": {
2529           "$ref": "#/definitions/NsdmNotificationsFilter"
2530         },
2531         "_links": {
2532           "$ref": "#/definitions/NSDM_SUB_LinkSerializer"
2533         }
2534       }
2535     },
2536     "BasicAuth": {
2537       "title": "Paramsbasic",
2538       "description": "Parameters for authentication/authorization using BASIC.",
2539       "type": "object",
2540       "properties": {
2541         "userName": {
2542           "title": "Username",
2543           "description": "Username to be used in HTTP Basic authentication.",
2544           "type": "string",
2545           "maxLength": 255,
2546           "minLength": 1
2547         },
2548         "password": {
2549           "title": "Password",
2550           "description": "Password to be used in HTTP Basic authentication.",
2551           "type": "string",
2552           "maxLength": 255,
2553           "minLength": 1
2554         }
2555       }
2556     },
2557     "OAuthCredentials": {
2558       "title": "Paramsoauth2clientcredentials",
2559       "description": "Parameters for authentication/authorization using OAUTH2_CLIENT_CREDENTIALS.",
2560       "type": "object",
2561       "properties": {
2562         "clientId": {
2563           "title": "Clientid",
2564           "description": "Client identifier to be used in the access token request of the OAuth 2.0 client credentials grant type.",
2565           "type": "string",
2566           "maxLength": 255,
2567           "minLength": 1
2568         },
2569         "clientPassword": {
2570           "title": "Clientpassword",
2571           "description": "Client password to be used in the access token request of the OAuth 2.0 client credentials grant type.",
2572           "type": "string",
2573           "maxLength": 255,
2574           "minLength": 1
2575         },
2576         "tokenEndpoint": {
2577           "title": "Tokenendpoint",
2578           "description": "The token endpoint from which the access token can be obtained.",
2579           "type": "string",
2580           "maxLength": 255,
2581           "minLength": 1
2582         }
2583       }
2584     },
2585     "SubscriptionAuthentication": {
2586       "title": "Authentication",
2587       "description": "Authentication parameters to configure the use of Authorization when sending notifications corresponding to this subscription.",
2588       "required": ["authType"],
2589       "type": "object",
2590       "properties": {
2591         "authType": {
2592           "description": "Defines the types of Authentication / Authorization which the API consumer is willing to accept when receiving a notification.",
2593           "type": "array",
2594           "items": {
2595             "type": "string",
2596             "enum": ["BASIC", "OAUTH2_CLIENT_CREDENTIALS", "TLS_CERT"]
2597           }
2598         },
2599         "paramsBasic": {
2600           "$ref": "#/definitions/BasicAuth"
2601         },
2602         "paramsOauth2ClientCredentials": {
2603           "$ref": "#/definitions/OAuthCredentials"
2604         }
2605       }
2606     },
2607     "NsdmSubscriptionRequest": {
2608       "required": ["callbackUri"],
2609       "type": "object",
2610       "properties": {
2611         "callbackUri": {
2612           "title": "Callbackuri",
2613           "description": "The URI of the endpoint to send the notification to.",
2614           "type": "string",
2615           "minLength": 1
2616         },
2617         "filter": {
2618           "$ref": "#/definitions/NsdmNotificationsFilter"
2619         },
2620         "authentication": {
2621           "$ref": "#/definitions/SubscriptionAuthentication"
2622         }
2623       }
2624     },
2625     "ParseModelRequest": {
2626       "required": ["csarId"],
2627       "type": "object",
2628       "properties": {
2629         "csarId": {
2630           "title": "Csarid",
2631           "description": "CSAR ID",
2632           "type": "string",
2633           "minLength": 1
2634         },
2635         "packageType": {
2636           "title": "Packagetype",
2637           "description": "Package type: VNF, PNF, NS, Service",
2638           "type": "string",
2639           "minLength": 1
2640         },
2641         "inputs": {
2642           "title": "Inputs",
2643           "description": "Inputs",
2644           "type": "object"
2645         }
2646       }
2647     },
2648     "ParseModelResponse": {
2649       "required": ["model"],
2650       "type": "object",
2651       "properties": {
2652         "model": {
2653           "title": "Model",
2654           "description": "Model",
2655           "type": "object"
2656         }
2657       }
2658     },
2659     "VNF_SUBSCRIPTION_LINKSERIALIZER": {
2660       "title": "Self",
2661       "description": "URI of this resource.",
2662       "required": ["href"],
2663       "type": "object",
2664       "properties": {
2665         "href": {
2666           "title": "Href",
2667           "description": "URI of the referenced resource.",
2668           "type": "string",
2669           "minLength": 1
2670         }
2671       }
2672     },
2673     "LinkSelf": {
2674       "title": " links",
2675       "description": "Links to resources related to this resource.",
2676       "required": ["self"],
2677       "type": "object",
2678       "properties": {
2679         "self": {
2680           "$ref": "#/definitions/VNF_SUBSCRIPTION_LINKSERIALIZER"
2681         }
2682       }
2683     },
2684     "Version": {
2685       "required": ["vnfSoftwareVersion"],
2686       "type": "object",
2687       "properties": {
2688         "vnfSoftwareVersion": {
2689           "title": "Vnfsoftwareversion",
2690           "description": "VNF software version to match.",
2691           "type": "string",
2692           "maxLength": 255,
2693           "minLength": 1
2694         },
2695         "vnfdVersions": {
2696           "description": "Match VNF packages that contain VNF products with certain VNFD versions",
2697           "type": "array",
2698           "items": {
2699             "type": "string",
2700             "minLength": 1
2701           }
2702         }
2703       }
2704     },
2705     "vnfProducts": {
2706       "required": ["vnfProductName"],
2707       "type": "object",
2708       "properties": {
2709         "vnfProductName": {
2710           "title": "Vnfproductname",
2711           "description": "Name of the VNF product to match.",
2712           "type": "string",
2713           "maxLength": 255,
2714           "minLength": 1
2715         },
2716         "versions": {
2717           "description": "match VNF packages that contain VNF products with certain versions",
2718           "type": "array",
2719           "items": {
2720             "$ref": "#/definitions/Version"
2721           }
2722         }
2723       }
2724     },
2725     "vnfProductsProviders": {
2726       "required": ["vnfProvider"],
2727       "type": "object",
2728       "properties": {
2729         "vnfProvider": {
2730           "title": "Vnfprovider",
2731           "description": "Name of the VNFprovider to match.",
2732           "type": "string",
2733           "maxLength": 255,
2734           "minLength": 1
2735         },
2736         "vnfProducts": {
2737           "description": "match VNF packages that contain VNF products with certain product names, from one particular provider",
2738           "type": "array",
2739           "items": {
2740             "$ref": "#/definitions/vnfProducts"
2741           }
2742         }
2743       }
2744     },
2745     "PkgmNotificationsFilter": {
2746       "title": "Filter",
2747       "description": "Filter settings for this subscription, to define the subset of all notifications this subscription relates to",
2748       "type": "object",
2749       "properties": {
2750         "notificationTypes": {
2751           "description": "Match particular notification types",
2752           "type": "array",
2753           "items": {
2754             "type": "string",
2755             "enum": ["VnfPackageOnboardingNotification", "VnfPackageChangeNotification"]
2756           }
2757         },
2758         "vnfProductsFromProviders": {
2759           "description": "Match VNF packages that contain VNF products from certain providers.",
2760           "type": "array",
2761           "items": {
2762             "$ref": "#/definitions/vnfProductsProviders"
2763           }
2764         },
2765         "vnfdId": {
2766           "description": "Match VNF packages with a VNFD identifierlisted in the attribute",
2767           "type": "array",
2768           "items": {
2769             "type": "string",
2770             "minLength": 1
2771           }
2772         },
2773         "vnfPkgId": {
2774           "description": "Match VNF packages with a VNFD identifierlisted in the attribute",
2775           "type": "array",
2776           "items": {
2777             "type": "string",
2778             "minLength": 1
2779           }
2780         },
2781         "operationalState": {
2782           "description": "Operational state of the VNF package.",
2783           "type": "array",
2784           "items": {
2785             "type": "string",
2786             "enum": ["ENABLED", "DISABLED"]
2787           }
2788         },
2789         "usageState": {
2790           "description": "Operational state of the VNF package.",
2791           "type": "array",
2792           "items": {
2793             "type": "string",
2794             "enum": ["IN_USE", "NOT_IN_USE"]
2795           }
2796         }
2797       }
2798     },
2799     "PkgmSubscription": {
2800       "required": ["id", "callbackUri", "_links"],
2801       "type": "object",
2802       "properties": {
2803         "id": {
2804           "title": "Id",
2805           "description": "Identifier of this subscription resource.",
2806           "type": "string",
2807           "minLength": 1
2808         },
2809         "callbackUri": {
2810           "title": "Callbackuri",
2811           "description": "The URI of the endpoint to send the notification to.",
2812           "type": "string",
2813           "format": "uri",
2814           "minLength": 1
2815         },
2816         "_links": {
2817           "$ref": "#/definitions/LinkSelf"
2818         },
2819         "filter": {
2820           "$ref": "#/definitions/PkgmNotificationsFilter"
2821         }
2822       }
2823     },
2824     "PkgmSubscriptionRequest": {
2825       "required": ["callbackUri"],
2826       "type": "object",
2827       "properties": {
2828         "filter": {
2829           "$ref": "#/definitions/PkgmNotificationsFilter"
2830         },
2831         "callbackUri": {
2832           "title": "Callbackuri",
2833           "description": "Callback URI to sendthe notification",
2834           "type": "string",
2835           "format": "uri",
2836           "minLength": 1
2837         },
2838         "authentication": {
2839           "$ref": "#/definitions/SubscriptionAuthentication"
2840         }
2841       }
2842     },
2843     "Checksum": {
2844       "title": "Checksum",
2845       "description": "Checksum of the on-boarded VNF package.",
2846       "required": ["algorithm", "hash"],
2847       "type": "object",
2848       "properties": {
2849         "algorithm": {
2850           "title": "Algorithm",
2851           "description": "Name of the algorithm used to generate the checksum.",
2852           "type": "string",
2853           "minLength": 1
2854         },
2855         "hash": {
2856           "title": "Hash",
2857           "description": "The hexadecimal value of the checksum.",
2858           "type": "string",
2859           "minLength": 1
2860         }
2861       }
2862     },
2863     "VnfPackageSoftwareImageInfo": {
2864       "description": "Information about VNF package artifacts that are software images.",
2865       "required": ["id", "name", "provider", "version", "checksum", "containerFormat", "diskFormat", "createdAt", "minDisk", "minRam", "size", "imagePath"],
2866       "type": "object",
2867       "properties": {
2868         "id": {
2869           "title": "Id",
2870           "description": "Identifier of the software image.",
2871           "type": "string",
2872           "minLength": 1
2873         },
2874         "name": {
2875           "title": "Name",
2876           "description": "Name of the software image.",
2877           "type": "string",
2878           "minLength": 1
2879         },
2880         "provider": {
2881           "title": "Provider",
2882           "description": "Provider of the software image.",
2883           "type": "string",
2884           "minLength": 1
2885         },
2886         "version": {
2887           "title": "Version",
2888           "description": "Version of the software image.",
2889           "type": "string",
2890           "minLength": 1
2891         },
2892         "checksum": {
2893           "$ref": "#/definitions/Checksum"
2894         },
2895         "containerFormat": {
2896           "title": "Containerformat",
2897           "description": "terminationType: Indicates whether forceful or graceful termination is requested.",
2898           "type": "string",
2899           "enum": ["AKI", "AMI", "ARI", "BARE", "DOCKER", "OVA", "OVF"]
2900         },
2901         "diskFormat": {
2902           "title": "Diskformat",
2903           "description": "Disk format of a software image is the format of the underlying disk image.",
2904           "type": "string",
2905           "enum": ["AKI", "AMI", "ARI", "ISO", "QCOW2", "RAW", "VDI", "VHD", "VHDX", "VMDK"]
2906         },
2907         "createdAt": {
2908           "title": "Createdat",
2909           "description": "Time when this software image was created.",
2910           "type": "string",
2911           "format": "date-time"
2912         },
2913         "minDisk": {
2914           "title": "Mindisk",
2915           "description": "The minimal disk for this software image in bytes.",
2916           "type": "integer"
2917         },
2918         "minRam": {
2919           "title": "Minram",
2920           "description": "The minimal RAM for this software image in bytes.",
2921           "type": "integer"
2922         },
2923         "size": {
2924           "title": "Size",
2925           "description": "Size of this software image in bytes.",
2926           "type": "integer"
2927         },
2928         "userMetadata": {
2929           "title": "Usermetadata",
2930           "description": "User-defined data.",
2931           "type": "object",
2932           "additionalProperties": {
2933             "description": "KeyValue Pairs",
2934             "type": "string"
2935           },
2936           "x-nullable": true
2937         },
2938         "imagePath": {
2939           "title": "Imagepath",
2940           "description": "Path in the VNF package.",
2941           "type": "string",
2942           "minLength": 1
2943         }
2944       }
2945     },
2946     "VnfPackageArtifactInfo": {
2947       "description": "Information about VNF package artifacts contained in the VNF package that are not software images.",
2948       "required": ["artifactPath", "checksum"],
2949       "type": "object",
2950       "properties": {
2951         "artifactPath": {
2952           "title": "Artifactpath",
2953           "description": "Path in the VNF package.",
2954           "type": "string",
2955           "minLength": 1
2956         },
2957         "checksum": {
2958           "$ref": "#/definitions/Checksum"
2959         },
2960         "metadata": {
2961           "title": "Metadata",
2962           "description": "The metadata of the artifact that are available in the VNF package",
2963           "type": "object",
2964           "additionalProperties": {
2965             "description": "KeyValue Pairs",
2966             "type": "string"
2967           },
2968           "x-nullable": true
2969         }
2970       }
2971     },
2972     "VNF_PKGM_Link_Serializer": {
2973       "title": " links",
2974       "description": "Links to resources related to this resource.",
2975       "required": ["self", "packageContent"],
2976       "type": "object",
2977       "properties": {
2978         "self": {
2979           "$ref": "#/definitions/UriLink"
2980         },
2981         "vnfd": {
2982           "$ref": "#/definitions/UriLink"
2983         },
2984         "packageContent": {
2985           "$ref": "#/definitions/UriLink"
2986         }
2987       }
2988     },
2989     "VnfPkgInfo": {
2990       "required": ["id", "onboardingState", "operationalState", "usageState", "_links"],
2991       "type": "object",
2992       "properties": {
2993         "id": {
2994           "title": "Id",
2995           "description": "Identifier of the on-boarded VNF package.",
2996           "type": "string",
2997           "minLength": 1
2998         },
2999         "vnfdId": {
3000           "title": "Vnfdid",
3001           "description": "This identifier, which is managed by the VNF provider, identifies the VNF package and the VNFD in a globally unique way.",
3002           "type": "string",
3003           "x-nullable": true
3004         },
3005         "vnfProvider": {
3006           "title": "Vnfprovider",
3007           "description": "Provider of the VNF package and the VNFD.",
3008           "type": "string",
3009           "x-nullable": true
3010         },
3011         "vnfProductName": {
3012           "title": "Vnfproductname",
3013           "description": "Name to identify the VNF product.",
3014           "type": "string",
3015           "x-nullable": true
3016         },
3017         "vnfSoftwareVersion": {
3018           "title": "Vnfsoftwareversion",
3019           "description": "Software version of the VNF.",
3020           "type": "string",
3021           "x-nullable": true
3022         },
3023         "vnfdVersion": {
3024           "title": "Vnfdversion",
3025           "description": "The version of the VNvFD.",
3026           "type": "string",
3027           "x-nullable": true
3028         },
3029         "checksum": {
3030           "$ref": "#/definitions/Checksum"
3031         },
3032         "softwareImages": {
3033           "description": "Information about VNF package artifacts that are software images.",
3034           "type": "array",
3035           "items": {
3036             "$ref": "#/definitions/VnfPackageSoftwareImageInfo"
3037           },
3038           "x-nullable": true
3039         },
3040         "additionalArtifacts": {
3041           "description": "Information about VNF package artifacts contained in the VNF package that are not software images.",
3042           "type": "array",
3043           "items": {
3044             "$ref": "#/definitions/VnfPackageArtifactInfo"
3045           },
3046           "x-nullable": true
3047         },
3048         "onboardingState": {
3049           "title": "Onboardingstate",
3050           "description": "On-boarding state of the VNF package.",
3051           "type": "string",
3052           "enum": ["CREATED", "UPLOADING", "PROCESSING", "ONBOARDED"]
3053         },
3054         "operationalState": {
3055           "title": "Operationalstate",
3056           "description": "Operational state of the VNF package.",
3057           "type": "string",
3058           "enum": ["ENABLED", "DISABLED"]
3059         },
3060         "usageState": {
3061           "title": "Usagestate",
3062           "description": "Usage state of the VNF package.",
3063           "type": "string",
3064           "enum": ["IN_USE", "NOT_IN_USE"]
3065         },
3066         "userDefinedData": {
3067           "title": "Userdefineddata",
3068           "description": "User defined data for the VNF package.",
3069           "type": "object",
3070           "additionalProperties": {
3071             "description": "KeyValue Pairs",
3072             "type": "string"
3073           },
3074           "x-nullable": true
3075         },
3076         "_links": {
3077           "$ref": "#/definitions/VNF_PKGM_Link_Serializer"
3078         }
3079       }
3080     },
3081     "CreateVnfPkgInfoRequest": {
3082       "type": "object",
3083       "properties": {
3084         "userDefinedData": {
3085           "title": "Userdefineddata",
3086           "description": "User defined data for the VNF package.",
3087           "type": "object",
3088           "additionalProperties": {
3089             "description": "KeyValue Pairs",
3090             "type": "string"
3091           },
3092           "x-nullable": true
3093         }
3094       }
3095     },
3096     "UploadVnfPackageFromUriRequest": {
3097       "required": ["addressInformation"],
3098       "type": "object",
3099       "properties": {
3100         "addressInformation": {
3101           "title": "Addressinformation",
3102           "description": "Address information of the VNF package content.",
3103           "type": "string",
3104           "minLength": 1
3105         },
3106         "userName": {
3107           "title": "Username",
3108           "description": "User name to be used for authentication.",
3109           "type": "string",
3110           "minLength": 1
3111         },
3112         "password": {
3113           "title": "Password",
3114           "description": "Password to be used for authentication.",
3115           "type": "string",
3116           "minLength": 1
3117         }
3118       }
3119     }
3120   }
3121 }