summaryrefslogtreecommitdiff
path: root/opendc-web
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web')
-rw-r--r--opendc-web/opendc-web-api/static/schema.yml32
1 files changed, 27 insertions, 5 deletions
diff --git a/opendc-web/opendc-web-api/static/schema.yml b/opendc-web/opendc-web-api/static/schema.yml
index 99e88095..6e0bddfd 100644
--- a/opendc-web/opendc-web-api/static/schema.yml
+++ b/opendc-web/opendc-web-api/static/schema.yml
@@ -1153,6 +1153,10 @@ components:
object:
type: object
properties:
+ _id:
+ type: string
+ name:
+ type: string
capacity:
type: integer
powerCapacityW:
@@ -1162,52 +1166,70 @@ components:
items:
type: object
properties:
+ _id:
+ type: string
position:
type: integer
- cpuItems:
+ cpus:
type: array
items:
type: object
properties:
+ _id:
+ type: string
name:
type: string
clockRateMhz:
type: integer
numberOfCores:
type: integer
- gpuItems:
+ energyConsumptionW:
+ type: integer
+ gpus:
type: array
items:
type: object
properties:
+ _id:
+ type: string
name:
type: string
clockRateMhz:
type: integer
numberOfCores:
type: integer
- memoryItems:
+ energyConsumptionW:
+ type: integer
+ memories:
type: array
items:
type: object
properties:
+ _id:
+ type: string
name:
type: string
speedMbPerS:
type: integer
sizeMb:
type: integer
- storageItems:
+ energyConsumptionW:
+ type: integer
+ storages:
type: array
items:
- type: integer
+ type: object
properties:
+ _id:
+ type: string
name:
type: string
speedMbPerS:
type: integer
sizeMb:
type: integer
+ energyConsumptionW:
+ type: integer
Portfolio:
type: object
properties: