Replies: 2 comments 6 replies
-
@jviotti For validating and otherwise delving into JSON Schema we've primarily switched to using jsoncons Most of the code that validates user-provided JSON Schema lives in here: https://github.com/redpanda-data/redpanda/blob/dev/src/v/pandaproxy/schema_registry/json.cc |
Beta Was this translation helpful? Give feedback.
-
we recently introduced jsoncons in our codebase to handle >draft4, to implement json schema support in schema-registry. I think draft4 is enough for most of internal use cases, but we had an instance where we introduced a draft7 in the code, and it wasn't immediately realized that rapidjson does not support this dialect. the fix in that case was to rewrite the schema in draft4. personally, i don't like the default open content model of json schema, it makes manually writing schemas bugprone - I lost count of the times I wrote |
Beta Was this translation helpful? Give feedback.
-
Hey there! I'm a TSC member of JSON Schema focused on building better and faster JSON Schema utilities for C++.
I saw this repo makes use of RapidJSON and its (limited) JSON Schema implementation. How is your use of RapidJSON going? Anything you like or dislike? Did you find a need for supporting newer dialects of JSON Schema than Draft 4?
Any honest feedback would be super appreciated to make JSON Schema and my C++ efforts in there more valuable! 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions