diff --git a/connector/metadata/configuration.go b/connector/metadata/configuration.go index 62e0509..19f2436 100644 --- a/connector/metadata/configuration.go +++ b/connector/metadata/configuration.go @@ -81,11 +81,11 @@ type RuntimeFormatSettings struct { // The serialization format for value Value ValueFormat `json:"value" yaml:"value" jsonschema:"enum=string,enum=float64,default=string"` // The serialization format for not-a-number values - NaN any `json:"nan" yaml:"nan" jsonschema:"oneof_type=string;number"` + NaN any `json:"nan" yaml:"nan" jsonschema:"oneof_type=string;number;null"` // The serialization format for infinite values - Inf any `json:"inf" yaml:"inf" jsonschema:"oneof_type=string;number"` + Inf any `json:"inf" yaml:"inf" jsonschema:"oneof_type=string;number;null"` // The serialization format for negative infinite values - NegativeInf any `json:"negative_inf" yaml:"negative_inf" jsonschema:"oneof_type=string;number"` + NegativeInf any `json:"negative_inf" yaml:"negative_inf" jsonschema:"oneof_type=string;number;null"` } // RuntimeSettings contain settings for the runtime engine diff --git a/jsonschema/configuration.json b/jsonschema/configuration.json index 5e1a80a..8c7977a 100644 --- a/jsonschema/configuration.json +++ b/jsonschema/configuration.json @@ -448,6 +448,9 @@ }, { "type": "number" + }, + { + "type": "null" } ] }, @@ -458,6 +461,9 @@ }, { "type": "number" + }, + { + "type": "null" } ] }, @@ -468,6 +474,9 @@ }, { "type": "number" + }, + { + "type": "null" } ] }