How to resolve $ref from custom data store like AWS DynamoDB #1096
Unanswered
thulaban1990
asked this question in
Q&A
Replies: 1 comment
-
You will just need to implement a custom SchemaLoader and register that with the factory, see Customizing Schema Retrieval. You can refer to UriSchemaLoader as an example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, We use this package to validate JSON data with schema. We are storing JSON schemas in a AWS DynamodDB table as we have many of config like this. We have schemas created in a way that it promotes reusability where any schema could be re-used, its created as its own and stored in AWS DynamodDB and these are referenced $ref in other schemas where reusability is needed.
When getting schema to validate main schema, how to resolve and get schema from AWS DynamodDB while resolving $ref from main schema to get other reusable schema based on $ref.
If there is any example on how to fetch schema from custom data store helps us.
Looking forward to hear from you.
Beta Was this translation helpful? Give feedback.
All reactions