Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a presentation_definition JSON validator python script #315

Draft
wants to merge 16 commits into
base: versione-corrente
Choose a base branch
from

Conversation

cmarco0
Copy link
Contributor

@cmarco0 cmarco0 commented Jun 13, 2024

This script is designed to validate JSON data against a specified JSON schema and additional custom rules. It reads the JSON schema and data from files, checks if the data conforms to the schema, and ensures that certain additional requirements are met. This validation process helps in ensuring that the JSON data structure adheres to expected standards and rules, making it reliable and consistent for further processing or usage in applications.

This script is designed to validate JSON data against a specified JSON schema and additional custom rules. It reads the JSON schema and data from files, checks if the data conforms to the schema, and ensures that certain additional requirements are met. This validation process helps in ensuring that the JSON data structure adheres to expected standards and rules, making it reliable and consistent for further processing or usage in applications.
a simple guide on how to use this script to validate a presentation_definition JSON
updated all the chapter with images
@@ -0,0 +1,94 @@
import json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not what I have explicitly asked

we need a loader of the json schema validator using pydantic, as the provided example. We don't need static code doing static validation since the json validation schema may change

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need images

@peppelinux peppelinux added this to the 0.9.0 milestone Jul 16, 2024
@peppelinux peppelinux marked this pull request as draft November 7, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants