diff --git a/contracts/cloud-diff.yml b/contracts/cloud-diff.yml index 3c88ba54..9c18471f 100644 --- a/contracts/cloud-diff.yml +++ b/contracts/cloud-diff.yml @@ -2674,22 +2674,21 @@ paths: - trackWidth - speed - randomColors - - trackPointVisualization - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: '#/paths/~1dashboards/post/responses/201/content/application~1json/schema/oneOf/1/allOf/1/properties/cells/items/allOf/1/properties/properties/oneOf/0/properties/colors/items' + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: '#/paths/~1dashboards/post/responses/201/content/application~1json/schema/oneOf/1/allOf/1/properties/cells/items/allOf/1/properties/properties/oneOf/0/properties/colors/items' labels: $ref: '#/components/schemas/Task/properties/labels' default: diff --git a/contracts/cloud.json b/contracts/cloud.json index 22463e09..b1e6003a 100644 --- a/contracts/cloud.json +++ b/contracts/cloud.json @@ -17783,32 +17783,31 @@ "required": [ "trackWidth", "speed", - "randomColors", - "trackPointVisualization" - ] - } - ], - "properties": { - "trackWidth": { - "description": "Width of the track", - "type": "integer" - }, - "speed": { - "description": "Speed of the track animation", - "type": "integer" - }, - "randomColors": { - "description": "Assign different colors to different tracks", - "type": "boolean" - }, - "colors": { - "description": "Colors define color encoding of data into a visualization", - "type": "array", - "items": { - "$ref": "#/components/schemas/DashboardColor" + "randomColors" + ], + "properties": { + "trackWidth": { + "description": "Width of the track", + "type": "integer" + }, + "speed": { + "description": "Speed of the track animation", + "type": "integer" + }, + "randomColors": { + "description": "Assign different colors to different tracks", + "type": "boolean" + }, + "colors": { + "description": "Colors define color encoding of data into a visualization", + "type": "array", + "items": { + "$ref": "#/components/schemas/DashboardColor" + } + } } } - } + ] }, "GeoHeatMapViewLayer": { "allOf": [ diff --git a/contracts/cloud.yml b/contracts/cloud.yml index ebd45598..1763b112 100644 --- a/contracts/cloud.yml +++ b/contracts/cloud.yml @@ -13582,22 +13582,21 @@ components: - trackWidth - speed - randomColors - - trackPointVisualization - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: '#/components/schemas/DashboardColor' + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: '#/components/schemas/DashboardColor' GeoHeatMapViewLayer: allOf: - $ref: '#/components/schemas/GeoViewLayerProperties' diff --git a/contracts/common.yml b/contracts/common.yml index 218faecb..c5cc546c 100644 --- a/contracts/common.yml +++ b/contracts/common.yml @@ -11894,22 +11894,21 @@ components: - trackWidth - speed - randomColors - - trackPointVisualization - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: '#/components/schemas/DashboardColor' + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: '#/components/schemas/DashboardColor' GeoHeatMapViewLayer: allOf: - $ref: '#/components/schemas/GeoViewLayerProperties' diff --git a/contracts/oss-diff.yml b/contracts/oss-diff.yml index 70e07358..e03ff3a6 100644 --- a/contracts/oss-diff.yml +++ b/contracts/oss-diff.yml @@ -4722,22 +4722,21 @@ paths: - trackWidth - speed - randomColors - - trackPointVisualization - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: '#/paths/~1dashboards/post/responses/201/content/application~1json/schema/oneOf/1/allOf/1/properties/cells/items/allOf/1/properties/properties/oneOf/0/properties/colors/items' + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: '#/paths/~1dashboards/post/responses/201/content/application~1json/schema/oneOf/1/allOf/1/properties/cells/items/allOf/1/properties/properties/oneOf/0/properties/colors/items' labels: $ref: '#/components/schemas/Task/properties/labels' default: diff --git a/contracts/oss.json b/contracts/oss.json index a7897fa6..339a7cdb 100644 --- a/contracts/oss.json +++ b/contracts/oss.json @@ -20333,32 +20333,31 @@ "required": [ "trackWidth", "speed", - "randomColors", - "trackPointVisualization" - ] - } - ], - "properties": { - "trackWidth": { - "description": "Width of the track", - "type": "integer" - }, - "speed": { - "description": "Speed of the track animation", - "type": "integer" - }, - "randomColors": { - "description": "Assign different colors to different tracks", - "type": "boolean" - }, - "colors": { - "description": "Colors define color encoding of data into a visualization", - "type": "array", - "items": { - "$ref": "#/components/schemas/DashboardColor" + "randomColors" + ], + "properties": { + "trackWidth": { + "description": "Width of the track", + "type": "integer" + }, + "speed": { + "description": "Speed of the track animation", + "type": "integer" + }, + "randomColors": { + "description": "Assign different colors to different tracks", + "type": "boolean" + }, + "colors": { + "description": "Colors define color encoding of data into a visualization", + "type": "array", + "items": { + "$ref": "#/components/schemas/DashboardColor" + } + } } } - } + ] }, "GeoHeatMapViewLayer": { "allOf": [ diff --git a/contracts/oss.yml b/contracts/oss.yml index 739cd95b..f5943e25 100644 --- a/contracts/oss.yml +++ b/contracts/oss.yml @@ -15366,22 +15366,21 @@ components: - trackWidth - speed - randomColors - - trackPointVisualization - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: '#/components/schemas/DashboardColor' + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: '#/components/schemas/DashboardColor' GeoHeatMapViewLayer: allOf: - $ref: '#/components/schemas/GeoViewLayerProperties' diff --git a/contracts/ref/cloud.yml b/contracts/ref/cloud.yml index 083a39a5..bfeab170 100644 --- a/contracts/ref/cloud.yml +++ b/contracts/ref/cloud.yml @@ -1662,27 +1662,26 @@ components: GeoTrackMapViewLayer: allOf: - $ref: '#/components/schemas/GeoViewLayerProperties' - - required: + - properties: + colors: + description: Colors define color encoding of data into a visualization + items: + $ref: '#/components/schemas/DashboardColor' + type: array + randomColors: + description: Assign different colors to different tracks + type: boolean + speed: + description: Speed of the track animation + type: integer + trackWidth: + description: Width of the track + type: integer + required: - trackWidth - speed - randomColors - - trackPointVisualization type: object - properties: - colors: - description: Colors define color encoding of data into a visualization - items: - $ref: '#/components/schemas/DashboardColor' - type: array - randomColors: - description: Assign different colors to different tracks - type: boolean - speed: - description: Speed of the track animation - type: integer - trackWidth: - description: Width of the track - type: integer GeoViewLayer: oneOf: - $ref: '#/components/schemas/GeoCircleViewLayer' diff --git a/contracts/ref/oss.yml b/contracts/ref/oss.yml index 2b545670..69c93039 100644 --- a/contracts/ref/oss.yml +++ b/contracts/ref/oss.yml @@ -1720,27 +1720,26 @@ components: GeoTrackMapViewLayer: allOf: - $ref: '#/components/schemas/GeoViewLayerProperties' - - required: + - properties: + colors: + description: Colors define color encoding of data into a visualization + items: + $ref: '#/components/schemas/DashboardColor' + type: array + randomColors: + description: Assign different colors to different tracks + type: boolean + speed: + description: Speed of the track animation + type: integer + trackWidth: + description: Width of the track + type: integer + required: - trackWidth - speed - randomColors - - trackPointVisualization type: object - properties: - colors: - description: Colors define color encoding of data into a visualization - items: - $ref: '#/components/schemas/DashboardColor' - type: array - randomColors: - description: Assign different colors to different tracks - type: boolean - speed: - description: Speed of the track animation - type: integer - trackWidth: - description: Width of the track - type: integer GeoViewLayer: oneOf: - $ref: '#/components/schemas/GeoCircleViewLayer' diff --git a/src/common/schemas/GeoTrackMapViewLayer.yml b/src/common/schemas/GeoTrackMapViewLayer.yml index f7d53104..24e4139a 100644 --- a/src/common/schemas/GeoTrackMapViewLayer.yml +++ b/src/common/schemas/GeoTrackMapViewLayer.yml @@ -1,19 +1,19 @@ allOf: - $ref: "./GeoViewLayerProperties.yml" - type: object - required: [trackWidth, speed, randomColors, trackPointVisualization] - properties: - trackWidth: - description: Width of the track - type: integer - speed: - description: Speed of the track animation - type: integer - randomColors: - description: Assign different colors to different tracks - type: boolean - colors: - description: Colors define color encoding of data into a visualization - type: array - items: - $ref: "./DashboardColor.yml" + required: [trackWidth, speed, randomColors] + properties: + trackWidth: + description: Width of the track + type: integer + speed: + description: Speed of the track animation + type: integer + randomColors: + description: Assign different colors to different tracks + type: boolean + colors: + description: Colors define color encoding of data into a visualization + type: array + items: + $ref: "./DashboardColor.yml"