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
What were you initially searching for in the docs?
I wanted to implement the Validation utility to validate data received by my requests, but was unfamiliar with writing JSONSchema.
There are no working examples of valid json_schema_dict within the documentation.
They are all collapsed making it difficult to get an idea for how JSONSchema should be structured.
json_schema_dict = {..}
Describe how we could make it clearer
The fastjsonschema library is linked, however an actual example within this documentation page would make improve comprehension.
For example Unwrapping events prior to validation has sample_wrapped_event.json, but it does not show what the accompanying schema should look like.
If you have a proposed update, please share it here
I suggest adding a tab with some example inputs and their schema. as well as adding what a SchemaValidationError exception looks like for different scenarios.
For example, the a rudimentary validation schema for sample_wrapped_event.json would likely look like this (but with better regex and pattern matching)
Background: Historically, it wasn't there because the older documentation system didn't support tabbed content and made it more verbose, so we stripped it.
What were you initially searching for in the docs?
I wanted to implement the Validation utility to validate data received by my requests, but was unfamiliar with writing JSONSchema.
Is this related to an existing part of the documentation? Please share a link
https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/validation/
There are no working examples of valid
json_schema_dict
within the documentation.They are all collapsed making it difficult to get an idea for how JSONSchema should be structured.
json_schema_dict = {..}
Describe how we could make it clearer
The fastjsonschema library is linked, however an actual example within this documentation page would make improve comprehension.
For example Unwrapping events prior to validation has
sample_wrapped_event.json
, but it does not show what the accompanying schema should look like.If you have a proposed update, please share it here
I suggest adding a tab with some example inputs and their schema. as well as adding what a
SchemaValidationError
exception looks like for different scenarios.For example, the a rudimentary validation schema for
sample_wrapped_event.json
would likely look like this (but with better regex and pattern matching)The text was updated successfully, but these errors were encountered: