diff --git a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupScale.yml b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupScale.yml index 15f0784d..41fe4fbc 100644 --- a/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupScale.yml +++ b/components/schemas/infrastructure/auto-scale/groups/AutoScaleGroupScale.yml @@ -3,22 +3,26 @@ type: object properties: down: title: AutoScaleGroupScaleDown - type: object - properties: - min_ttl: - description: "The minimum TTL for the server once deployed through an autoscale event." - $ref: ../../../Duration.yml - inactivity_period: - description: "The amount of time between last instance deployed and when the server can begin to get deleted." - $ref: ../../../Duration.yml - method: - type: string - enum: - - fifo - - lifo + oneOf: + - type: object + properties: + min_ttl: + description: "The minimum TTL for the server once deployed through an autoscale event." + $ref: ../../../Duration.yml + inactivity_period: + description: "The amount of time between last instance deployed and when the server can begin to get deleted." + $ref: ../../../Duration.yml + method: + type: string + enum: + - fifo + - lifo + - type: "null" up: title: AutoScaleGroupScaleUp - type: object - properties: - maximum: - type: integer + oneOf: + - type: object + properties: + maximum: + type: integer + - type: "null"