|
343 | 343 | "description": "Prices' currency symbol", |
344 | 344 | "enum": [ |
345 | 345 | "€", |
346 | | - "$" |
| 346 | + "$", |
| 347 | + "£" |
347 | 348 | ], |
348 | 349 | "example": "€", |
349 | 350 | "type": "string" |
|
463 | 464 | "minLength": 1, |
464 | 465 | "type": "string" |
465 | 466 | }, |
| 467 | + "Price": { |
| 468 | + "properties": { |
| 469 | + "list": { |
| 470 | + "$ref": "#/components/schemas/PriceValue" |
| 471 | + }, |
| 472 | + "monthly": { |
| 473 | + "$ref": "#/components/schemas/PriceValue" |
| 474 | + } |
| 475 | + }, |
| 476 | + "required": [ |
| 477 | + "list", |
| 478 | + "monthly" |
| 479 | + ] |
| 480 | + }, |
466 | 481 | "PriceValue": { |
467 | 482 | "properties": { |
468 | 483 | "currencyCode": { |
|
471 | 486 | "currencySymbol": { |
472 | 487 | "$ref": "#/components/schemas/CurrencySymbols" |
473 | 488 | }, |
474 | | - "monthlyPrice": { |
475 | | - "description": "Monthly price value that is valid at request time, shown with full precision", |
476 | | - "example": "0.0123456", |
477 | | - "format": "decimal", |
478 | | - "nullable": true, |
479 | | - "type": "string" |
480 | | - }, |
481 | | - "rounded_value": { |
| 489 | + "roundedValue": { |
482 | 490 | "description": "Used in Portal rounded to the minimal usable precision 2 digits after 0", |
483 | 491 | "example": "0.00012345 -\u003e 0.0012, 1,234556 -\u003e 1,23", |
484 | 492 | "format": "decimal", |
|
502 | 510 | }, |
503 | 511 | "required": [ |
504 | 512 | "value", |
505 | | - "rounded_value", |
506 | | - "value_as_int", |
507 | | - "currency_code", |
508 | | - "currency_code" |
| 513 | + "roundedValue", |
| 514 | + "valueAsInt", |
| 515 | + "currencySymbol", |
| 516 | + "currencyCode" |
509 | 517 | ] |
510 | 518 | }, |
511 | 519 | "Problem": { |
|
886 | 894 | ], |
887 | 895 | "type": "object" |
888 | 896 | }, |
| 897 | + "PublicDeveloperPlatformSpecificAttributes": { |
| 898 | + "properties": { |
| 899 | + "discriminator": { |
| 900 | + "type": "string" |
| 901 | + }, |
| 902 | + "diskStoragePerNode": { |
| 903 | + "description": "diskStoragePerNode", |
| 904 | + "example": "10", |
| 905 | + "nullable": true, |
| 906 | + "type": "string" |
| 907 | + }, |
| 908 | + "storage": { |
| 909 | + "description": "Storage (e.g. `image`, `postgresql`, `snapshot`, `volume`)", |
| 910 | + "example": "image", |
| 911 | + "nullable": true, |
| 912 | + "type": "string" |
| 913 | + }, |
| 914 | + "type": { |
| 915 | + "description": "Type (e.g. `single`, `replica`)", |
| 916 | + "example": "Single", |
| 917 | + "nullable": true, |
| 918 | + "type": "string" |
| 919 | + } |
| 920 | + }, |
| 921 | + "required": [ |
| 922 | + "discriminator" |
| 923 | + ], |
| 924 | + "type": "object" |
| 925 | + }, |
889 | 926 | "PublicLoggingAndMonitoringSpecificAttributes": { |
890 | 927 | "properties": { |
891 | 928 | "discriminator": { |
|
1096 | 1133 | "format": "float", |
1097 | 1134 | "nullable": true, |
1098 | 1135 | "type": "number" |
1099 | | - } |
1100 | | - }, |
1101 | | - "required": [ |
1102 | | - "discriminator" |
1103 | | - ], |
1104 | | - "type": "object" |
1105 | | - }, |
1106 | | - "PublicPrice": { |
1107 | | - "properties": { |
1108 | | - "list": { |
1109 | | - "$ref": "#/components/schemas/PriceValue" |
1110 | 1136 | }, |
1111 | | - "monthly": { |
1112 | | - "$ref": "#/components/schemas/PriceValue" |
| 1137 | + "type": { |
| 1138 | + "description": "Type (e.g. `single`, `replica`)", |
| 1139 | + "example": "Single", |
| 1140 | + "nullable": true, |
| 1141 | + "type": "string" |
1113 | 1142 | } |
1114 | 1143 | }, |
1115 | 1144 | "required": [ |
1116 | | - "list", |
1117 | | - "monthly" |
| 1145 | + "discriminator" |
1118 | 1146 | ], |
1119 | 1147 | "type": "object" |
1120 | 1148 | }, |
|
1221 | 1249 | { |
1222 | 1250 | "properties": { |
1223 | 1251 | "price": { |
1224 | | - "$ref": "#/components/schemas/PublicPrice" |
| 1252 | + "$ref": "#/components/schemas/Price" |
1225 | 1253 | }, |
1226 | 1254 | "productSpecificAttributes": { |
1227 | 1255 | "discriminator": { |
|
1232 | 1260 | "ConfidentialComputing": "#/components/schemas/PublicConfidentialComputingSpecificAttributes", |
1233 | 1261 | "DataAndAI": "#/components/schemas/PublicDataAndAISpecificAttributes", |
1234 | 1262 | "Database": "#/components/schemas/PublicDatabaseSpecificAttributes", |
| 1263 | + "DeveloperPlatform": "#/components/schemas/PublicDeveloperPlatformSpecificAttributes", |
1235 | 1264 | "LoggingAndMonitoring": "#/components/schemas/PublicLoggingAndMonitoringSpecificAttributes", |
1236 | 1265 | "Messaging": "#/components/schemas/PublicMessagingSpecificAttributes", |
1237 | 1266 | "Network": "#/components/schemas/PublicNetworkSpecificAttributes", |
|
1277 | 1306 | }, |
1278 | 1307 | { |
1279 | 1308 | "$ref": "#/components/schemas/PublicComputeEngineGPUSpecificAttributes" |
| 1309 | + }, |
| 1310 | + { |
| 1311 | + "$ref": "#/components/schemas/PublicDeveloperPlatformSpecificAttributes" |
1280 | 1312 | } |
1281 | 1313 | ] |
1282 | 1314 | } |
|
0 commit comments