diff options
-rw-r--r-- | schemas/cluster.json-schema | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/schemas/cluster.json-schema b/schemas/cluster.json-schema index 1a628c7f..40cc4395 100644 --- a/schemas/cluster.json-schema +++ b/schemas/cluster.json-schema @@ -40,12 +40,16 @@ definitions: system-deployment: type: object - required: [ 'type', 'location' ] + oneOf: [ {required: [ 'type', 'location' ]}, + {required: [ 'upgrade-type', 'upgrade-location' ]} ] + additionalProperties: true properties: type: { type: string } location: { type: string } + upgrade-type: { type: string } + upgrade-location: { type: string } # Corresponds to Cluster in Baserock data model. |