Do not change Value-Only type for Range: stay with number #407
Labels
accepted
accepted in principle to be fixed
specification
impact on specification and thus on xml, json etc., label "aas-core" not set additinally
Milestone
Is your feature request related to a problem? Please describe.
Up to V3.0 Part 2 the Value-only schema requested
"RangeValue": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } },
Now the request came up why this is limited to numbers and there was a decision to allow all types for Range as well. However, this does not really make sense from my point of view.
The types for a Property are like follows:
"PropertyValue": {
"oneOf": [
{
"$ref": "#/definitions/StringValue"
},
{
"$ref": "#/definitions/NumberValue"
},
{
"$ref": "#/definitions/BooleanValue"
}
]
},
However, a Range of Boolean does not make any sense.
A Range of strings may exist but is the order clearly defined?
The text was updated successfully, but these errors were encountered: