You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When validating a JSON document against a schema which specifies a property as type number, the validator indicates that the document is malformed if the property is a float value which is also a valid integer (ie 1.0, 2.0, 3.0, etc) and indicates that it is an integer and should be a float.
Example:
When checking property shown below with flags --lint and --verbose an error message is shown:
@nick-j-roberts Hi. You may have opened this issue in the wrong repo? In your message it says: use --format to fix the issue and stac-validator doesn't have a format option? Maybe you are thinking of stac-node-validator?
When validating a JSON document against a schema which specifies a property as type
number
, the validator indicates that the document is malformed if the property is a float value which is also a valid integer (ie 1.0, 2.0, 3.0, etc) and indicates that it is an integer and should be a float.Example:
When checking property shown below with flags
--lint
and--verbose
an error message is shown:The text was updated successfully, but these errors were encountered: