diff --git a/cli/bpmetadata/schema/gcp-blueprint-metadata.json b/cli/bpmetadata/schema/gcp-blueprint-metadata.json index 979fcb0579e..2cb1d61944d 100644 --- a/cli/bpmetadata/schema/gcp-blueprint-metadata.json +++ b/cli/bpmetadata/schema/gcp-blueprint-metadata.json @@ -856,9 +856,7 @@ } ] }, - "value": { - "$ref": "#/$defs/Value" - } + "value": true }, "additionalProperties": false, "type": "object" diff --git a/cli/bpmetadata/schema/generate.go b/cli/bpmetadata/schema/generate.go index 3d350dbe570..9dadd2c6a28 100644 --- a/cli/bpmetadata/schema/generate.go +++ b/cli/bpmetadata/schema/generate.go @@ -57,6 +57,10 @@ func GenerateSchema() ([]byte, error) { if defExists { oDef.Properties.Set("type", jsonschema.TrueSchema) } + altDefaultDef, defExists := s.Definitions["DisplayVariable_AlternateDefault"] + if defExists { + altDefaultDef.Properties.Set("value", jsonschema.TrueSchema) + } sData, err := json.MarshalIndent(s, "", " ") if err != nil {