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
hello,
I get the following error when try to register JSON schema with 2020-12 Draft:
400 Bad Request
Invalid schema. Error from registry: {"error_code":42201,"message":"Invalid schema {subject=test,version=0,id=-1,schemaType=JSON,references=[],metadata=null,ruleSet=null,schema={\n\t\"$schema\": \"https://json-schema.org/draft/2020-12/schema\"... etc.
once I add # at the end of the schema uri, i.e. https://json-schema.org/draft/2020-12/schema# the schema is accepted.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello,
I get the following error when try to register JSON schema with 2020-12 Draft:
once I add # at the end of the schema uri, i.e.
https://json-schema.org/draft/2020-12/schema#
the schema is accepted.According to JSON 2020-12 schema meta-schema there is no # at the end of the uri.
Is that expected or it's a bug?
Could you please point me to correct place where it's documented?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions