diff --git a/cli/bpmetadata/schema/generate.go b/cli/bpmetadata/schema/generate.go index 6d69ea94b4f..1f72bc357cb 100644 --- a/cli/bpmetadata/schema/generate.go +++ b/cli/bpmetadata/schema/generate.go @@ -49,7 +49,7 @@ func GenerateSchema() ([]byte, error) { // true i.e. it's presence is validated regardless of type. vDef, defExists := s.Definitions["BlueprintVariable"] if defExists { - vDef.Properties.Set("defaultValue", true) + vDef.Properties.Set("defaultValue", jsonschema.TrueSchema) } sData, err := json.MarshalIndent(s, "", " ")