MLopezJ / LWM2M-JSONSchema

LWM2M protocol From XML to JSON Schema
0 stars 0 forks source link

feat: Update RangeEnumeration definition #19

Closed MLopezJ closed 1 year ago

MLopezJ commented 1 year ago

Some values coming from LwM2M registry are not following the standard for the RangeEnumeration value, which is defined here, pag 110 .

After an evaluation (analyze-range-enumeration), the decision of ignore RangeEnumeration values for the type definition when it does not follow the standard was taken.

Custom type definition and test cases were added for the expected formats:

  1. -> "VALUE..VALUE"
  2. -> "VALUE, VALUE, VALUE"
  3. -> "VALUE"
MLopezJ commented 1 year ago

https://github.com/sinclairzx81/typebox/issues/59

MLopezJ commented 1 year ago

Issues: