Skip to content

Commit c11cb19

Browse files
OAS Update
1 parent 2590d9e commit c11cb19

1 file changed

Lines changed: 59 additions & 10 deletions

File tree

services/stackit-marketplace/v1/stackit-marketplace.json

Lines changed: 59 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@
241241
"PRODUCT_PREVIEW"
242242
],
243243
"example": "PRODUCT_LIVE",
244-
"format": "enum",
245244
"type": "string"
246245
},
247246
"logo": {
@@ -261,7 +260,6 @@
261260
"OFFER_RESELLING"
262261
],
263262
"example": "OFFER_LISTING",
264-
"format": "enum",
265263
"type": "string"
266264
},
267265
"pricingOptions": {
@@ -279,6 +277,9 @@
279277
"pattern": "^[a-z0-9-]{1,20}-[0-9a-f]{8}$",
280278
"type": "string"
281279
},
280+
"sovereignty": {
281+
"$ref": "#/components/schemas/Sovereignty"
282+
},
282283
"summary": {
283284
"description": "The short summary of the product.",
284285
"example": "A short summary.",
@@ -460,7 +461,6 @@
460461
"PAYG"
461462
],
462463
"example": "CONTRACT",
463-
"format": "enum",
464464
"type": "string"
465465
},
466466
"pricingPlan": {
@@ -480,7 +480,6 @@
480480
"AUTHENTICATED",
481481
"PRIVATE_PROJECT"
482482
],
483-
"format": "enum",
484483
"type": "string"
485484
},
486485
"sku": {
@@ -504,7 +503,6 @@
504503
"month"
505504
],
506505
"example": "month",
507-
"format": "enum",
508506
"type": "string"
509507
}
510508
},
@@ -876,6 +874,9 @@
876874
"pattern": "^[a-z0-9-]{1,20}-[0-9a-f]{8}$",
877875
"type": "string"
878876
},
877+
"sovereignty": {
878+
"$ref": "#/components/schemas/Sovereignty"
879+
},
879880
"summary": {
880881
"description": "The short summary of the product.",
881882
"example": "A very custom summary.",
@@ -1010,6 +1011,59 @@
10101011
],
10111012
"type": "object"
10121013
},
1014+
"Sovereignty": {
1015+
"properties": {
1016+
"dataAccess": {
1017+
"description": "The data access.",
1018+
"enum": [
1019+
"WITHIN_EU",
1020+
"WITHIN_EUROPE"
1021+
],
1022+
"example": "WITHIN_EU",
1023+
"type": "string"
1024+
},
1025+
"dataLocation": {
1026+
"description": "The data location.",
1027+
"enum": [
1028+
"ON_STACKIT"
1029+
],
1030+
"example": "ON_STACKIT",
1031+
"type": "string"
1032+
},
1033+
"maturityLevel": {
1034+
"description": "The sovereignty level.",
1035+
"enum": [
1036+
"ACKNOWLEDGED",
1037+
"INTERMEDIATE",
1038+
"ADVANCED",
1039+
"SOVEREIGN"
1040+
],
1041+
"example": "ADVANCED",
1042+
"type": "string"
1043+
},
1044+
"securityStandard": {
1045+
"description": "The security certification.",
1046+
"enum": [
1047+
"ISO_27001",
1048+
"CONFIRMED_MEASURES",
1049+
"SELF_DECLARATION"
1050+
],
1051+
"example": "ISO_27001",
1052+
"type": "string"
1053+
},
1054+
"serviceLocation": {
1055+
"description": "The service location.",
1056+
"enum": [
1057+
"ON_STACKIT",
1058+
"GERMANY",
1059+
"EU"
1060+
],
1061+
"example": "ON_STACKIT",
1062+
"type": "string"
1063+
}
1064+
},
1065+
"type": "object"
1066+
},
10131067
"SubscriptionProduct": {
10141068
"description": "The product of a subscription",
10151069
"properties": {
@@ -1249,7 +1303,6 @@
12491303
"PROFESSIONAL_SERVICE"
12501304
],
12511305
"example": "SAAS",
1252-
"format": "enum",
12531306
"type": "string"
12541307
},
12551308
"email": {
@@ -1363,7 +1416,6 @@
13631416
"REGISTER_TESTING",
13641417
"REQUEST_PRIVATE_PLAN"
13651418
],
1366-
"format": "enum",
13671419
"type": "string"
13681420
},
13691421
"limit": {
@@ -1410,7 +1462,6 @@
14101462
"PAYG"
14111463
],
14121464
"example": "CONTRACT",
1413-
"format": "enum",
14141465
"type": "string"
14151466
},
14161467
"pricingPlan": {
@@ -1433,7 +1484,6 @@
14331484
"PRODUCT_PREVIEW"
14341485
],
14351486
"example": "PRODUCT_LIVE",
1436-
"format": "enum",
14371487
"type": "string"
14381488
},
14391489
"productName": {
@@ -1464,7 +1514,6 @@
14641514
"SUBSCRIPTION_REJECTED"
14651515
],
14661516
"example": "SUBSCRIPTION_ACTIVE",
1467-
"format": "enum",
14681517
"type": "string"
14691518
},
14701519
"url": {

0 commit comments

Comments
 (0)