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

JSON Schema validation for exercises #62

Open
lgraziani2712 opened this issue Dec 5, 2017 · 1 comment
Open

JSON Schema validation for exercises #62

lgraziani2712 opened this issue Dec 5, 2017 · 1 comment

Comments

@lgraziani2712
Copy link
Owner

Códimo uses JSON for the metadata of the exercises. Right now we have nothing to ease the validation of the schema.

Things to take into account:

  • codimo-core needs to validate the core schema allowing custom definitions.
  • Each activity could add custom properties to that schema just for itself.

This will allow better error detection in the instantiation phase of the activity without the components to have written each of the rules inside of them.

@lgraziani2712
Copy link
Owner Author

This https://www.npmjs.com/package/validated is the best package I could find related to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant