apiaryio / mson

Markdown Syntax for Object Notation
MIT License
900 stars 180 forks source link

Clarify meaning of number #50

Open Almad opened 8 years ago

Almad commented 8 years ago

For number primitive type, specification says:

Specifies any number.

I think it should be specified what any means. Integers only? Signed? Unsigned? Decimal points—fixed or floats?

If "any" truly means "all of the above", I think it would be useful to explicitly mention it in spec.

honzajavorek commented 8 years ago

Good point. Is -1.7E+3 valid MSON number? This is how JSON Schema does it: http://spacetelescope.github.io/understanding-json-schema/reference/numeric.html

zdne commented 8 years ago

Related https://github.com/apiaryio/api-blueprint/issues/297