From 43aad377d1f93386c43fa8b77106f1317930c609 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 5 Sep 2024 13:37:45 +0200 Subject: [PATCH] Address comments --- bundle/schema/jsonschema.json | 62 ++++++++--------------------------- 1 file changed, 14 insertions(+), 48 deletions(-) diff --git a/bundle/schema/jsonschema.json b/bundle/schema/jsonschema.json index 559218f17..007f2bd9e 100644 --- a/bundle/schema/jsonschema.json +++ b/bundle/schema/jsonschema.json @@ -1032,40 +1032,6 @@ } ] }, - "config.TargetVariable": { - "anyOf": [ - { - "type": "object", - "properties": { - "default": { - "$ref": "#/$defs/interface" - }, - "description": { - "$ref": "#/$defs/string" - }, - "lookup": { - "$ref": "#/$defs/github.com/databricks/cli/bundle/config/variable.Lookup" - }, - "type": { - "$ref": "#/$defs/github.com/databricks/cli/bundle/config/variable.VariableType" - } - }, - "additionalProperties": false - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - } - ] - }, "config.Workspace": { "anyOf": [ { @@ -5064,6 +5030,20 @@ } ] }, + "variable.TargetVariable": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/$defs/github.com/databricks/cli/bundle/config/variable.TargetVariable" + } + }, + { + "type": "string", + "pattern": "\\$\\{(var(\\.[a-zA-Z]+([-_]?[a-zA-Z0-9]+)*(\\[[0-9]+\\])*)*(\\[[0-9]+\\])*)\\}" + } + ] + }, "variable.Variable": { "anyOf": [ { @@ -5120,20 +5100,6 @@ "pattern": "\\$\\{(var(\\.[a-zA-Z]+([-_]?[a-zA-Z0-9]+)*(\\[[0-9]+\\])*)+)\\}" } ] - }, - "config.TargetVariable": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/$defs/github.com/databricks/cli/bundle/config.TargetVariable" - } - }, - { - "type": "string", - "pattern": "\\$\\{(var(\\.[a-zA-Z]+([-_]?[a-zA-Z0-9]+)*(\\[[0-9]+\\])*)*(\\[[0-9]+\\])*)\\}" - } - ] } } }