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
removing exclusiveMaximum entirely works as expected.
The easiest fix is probably to remove any usage of exclusiveMaximum or exclusiveMinimum from the docs and perhaps adding a note that the JSON schema should match draft-04.
The text was updated successfully, but these errors were encountered:
The example docs for threads here gives the example schema:
This example returns the following error:
because the
json.Marshal(config.Schema)
call here uses the CollectionConfig type here which uses https://github.com/alecthomas/jsonschema which has this schema type where bothexclusiveMaximum
andexclusiveMinimum
are of typeBool
, matching http://json-schema.org/draft-04/schema#.There is an issue from January 2020 requesting draft-07 support here.
Modifying the Schema to:
results in a different error:
removing
exclusiveMaximum
entirely works as expected.The easiest fix is probably to remove any usage of
exclusiveMaximum
orexclusiveMinimum
from the docs and perhaps adding a note that the JSON schema should match draft-04.The text was updated successfully, but these errors were encountered: