|
459 | 459 | "type": "string",
|
460 | 460 | "pattern": "^\\d+([tgmk]b)?$",
|
461 | 461 | "description": "Amount of required disk space in bytes. Supports units tb, gb, mb and kb."
|
| 462 | + }, |
| 463 | + "gpu": { |
| 464 | + "oneOf": [ |
| 465 | + { |
| 466 | + "type": [ |
| 467 | + "boolean", |
| 468 | + "string" |
| 469 | + ], |
| 470 | + "enum": [ |
| 471 | + true, |
| 472 | + false, |
| 473 | + "optional" |
| 474 | + ], |
| 475 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." |
| 476 | + }, |
| 477 | + { |
| 478 | + "type": "object", |
| 479 | + "properties": { |
| 480 | + "cores": { |
| 481 | + "type": "integer", |
| 482 | + "minimum": 1, |
| 483 | + "description": "Number of required cores." |
| 484 | + }, |
| 485 | + "memory": { |
| 486 | + "type": "string", |
| 487 | + "pattern": "^\\d+([tgmk]b)?$", |
| 488 | + "description": "Amount of required RAM in bytes. Supports units tb, gb, mb and kb." |
| 489 | + } |
| 490 | + }, |
| 491 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements.", |
| 492 | + "additionalProperties": false |
| 493 | + } |
| 494 | + ] |
462 | 495 | }
|
463 | 496 | },
|
464 | 497 | "additionalProperties": false
|
|
1135 | 1168 | "type": "string",
|
1136 | 1169 | "pattern": "^\\d+([tgmk]b)?$",
|
1137 | 1170 | "description": "Amount of required disk space in bytes. Supports units tb, gb, mb and kb."
|
| 1171 | + }, |
| 1172 | + "gpu": { |
| 1173 | + "oneOf": [ |
| 1174 | + { |
| 1175 | + "type": [ |
| 1176 | + "boolean", |
| 1177 | + "string" |
| 1178 | + ], |
| 1179 | + "enum": [ |
| 1180 | + true, |
| 1181 | + false, |
| 1182 | + "optional" |
| 1183 | + ], |
| 1184 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." |
| 1185 | + }, |
| 1186 | + { |
| 1187 | + "type": "object", |
| 1188 | + "properties": { |
| 1189 | + "cores": { |
| 1190 | + "type": "integer", |
| 1191 | + "minimum": 1, |
| 1192 | + "description": "Number of required cores." |
| 1193 | + }, |
| 1194 | + "memory": { |
| 1195 | + "type": "string", |
| 1196 | + "pattern": "^\\d+([tgmk]b)?$", |
| 1197 | + "description": "Amount of required RAM in bytes. Supports units tb, gb, mb and kb." |
| 1198 | + } |
| 1199 | + }, |
| 1200 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements.", |
| 1201 | + "additionalProperties": false |
| 1202 | + } |
| 1203 | + ] |
1138 | 1204 | }
|
1139 | 1205 | },
|
1140 | 1206 | "additionalProperties": false
|
|
1777 | 1843 | "type": "string",
|
1778 | 1844 | "pattern": "^\\d+([tgmk]b)?$",
|
1779 | 1845 | "description": "Amount of required disk space in bytes. Supports units tb, gb, mb and kb."
|
| 1846 | + }, |
| 1847 | + "gpu": { |
| 1848 | + "oneOf": [ |
| 1849 | + { |
| 1850 | + "type": [ |
| 1851 | + "boolean", |
| 1852 | + "string" |
| 1853 | + ], |
| 1854 | + "enum": [ |
| 1855 | + true, |
| 1856 | + false, |
| 1857 | + "optional" |
| 1858 | + ], |
| 1859 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." |
| 1860 | + }, |
| 1861 | + { |
| 1862 | + "type": "object", |
| 1863 | + "properties": { |
| 1864 | + "cores": { |
| 1865 | + "type": "integer", |
| 1866 | + "minimum": 1, |
| 1867 | + "description": "Number of required cores." |
| 1868 | + }, |
| 1869 | + "memory": { |
| 1870 | + "type": "string", |
| 1871 | + "pattern": "^\\d+([tgmk]b)?$", |
| 1872 | + "description": "Amount of required RAM in bytes. Supports units tb, gb, mb and kb." |
| 1873 | + } |
| 1874 | + }, |
| 1875 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements.", |
| 1876 | + "additionalProperties": false |
| 1877 | + } |
| 1878 | + ] |
1780 | 1879 | }
|
1781 | 1880 | },
|
1782 | 1881 | "additionalProperties": false
|
|
2411 | 2510 | "type": "string",
|
2412 | 2511 | "pattern": "^\\d+([tgmk]b)?$",
|
2413 | 2512 | "description": "Amount of required disk space in bytes. Supports units tb, gb, mb and kb."
|
| 2513 | + }, |
| 2514 | + "gpu": { |
| 2515 | + "oneOf": [ |
| 2516 | + { |
| 2517 | + "type": [ |
| 2518 | + "boolean", |
| 2519 | + "string" |
| 2520 | + ], |
| 2521 | + "enum": [ |
| 2522 | + true, |
| 2523 | + false, |
| 2524 | + "optional" |
| 2525 | + ], |
| 2526 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." |
| 2527 | + }, |
| 2528 | + { |
| 2529 | + "type": "object", |
| 2530 | + "properties": { |
| 2531 | + "cores": { |
| 2532 | + "type": "integer", |
| 2533 | + "minimum": 1, |
| 2534 | + "description": "Number of required cores." |
| 2535 | + }, |
| 2536 | + "memory": { |
| 2537 | + "type": "string", |
| 2538 | + "pattern": "^\\d+([tgmk]b)?$", |
| 2539 | + "description": "Amount of required RAM in bytes. Supports units tb, gb, mb and kb." |
| 2540 | + } |
| 2541 | + }, |
| 2542 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements.", |
| 2543 | + "additionalProperties": false |
| 2544 | + } |
| 2545 | + ] |
2414 | 2546 | }
|
2415 | 2547 | },
|
2416 | 2548 | "additionalProperties": false
|
|
3010 | 3142 | "type": "string",
|
3011 | 3143 | "pattern": "^\\d+([tgmk]b)?$",
|
3012 | 3144 | "description": "Amount of required disk space in bytes. Supports units tb, gb, mb and kb."
|
| 3145 | + }, |
| 3146 | + "gpu": { |
| 3147 | + "oneOf": [ |
| 3148 | + { |
| 3149 | + "type": [ |
| 3150 | + "boolean", |
| 3151 | + "string" |
| 3152 | + ], |
| 3153 | + "enum": [ |
| 3154 | + true, |
| 3155 | + false, |
| 3156 | + "optional" |
| 3157 | + ], |
| 3158 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements." |
| 3159 | + }, |
| 3160 | + { |
| 3161 | + "type": "object", |
| 3162 | + "properties": { |
| 3163 | + "cores": { |
| 3164 | + "type": "integer", |
| 3165 | + "minimum": 1, |
| 3166 | + "description": "Number of required cores." |
| 3167 | + }, |
| 3168 | + "memory": { |
| 3169 | + "type": "string", |
| 3170 | + "pattern": "^\\d+([tgmk]b)?$", |
| 3171 | + "description": "Amount of required RAM in bytes. Supports units tb, gb, mb and kb." |
| 3172 | + } |
| 3173 | + }, |
| 3174 | + "description": "Indicates whether a GPU is required. The string \"optional\" indicates that a GPU is optional. An object value can be used to configure more detailed requirements.", |
| 3175 | + "additionalProperties": false |
| 3176 | + } |
| 3177 | + ] |
3013 | 3178 | }
|
3014 | 3179 | },
|
3015 | 3180 | "additionalProperties": false
|
|
0 commit comments