-
Notifications
You must be signed in to change notification settings - Fork 2
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
Formal format specification and automatic validation #5
Comments
I used this already in scenarioo-js: The schema files are far from complete... Dominic Langenegger [email protected] schrieb am Fr., 29. Jan.
|
@dola 👍 💯 for this solution, I think we all had something similar already in mind. But also: But we should certainly take your proposal into account and use a Json Validator. |
JS will include the json schema format and other libraries, can use it if they like, but do not necessarily have to. |
to be considered for server side refactoring ... |
@dola I assigned this to you, because you started this allready in JS-library. |
Will commit them to the format repo once complete. |
thanks! 👍 |
A formal specification of the format can also be used to perform a format validation when reading the json files. It also is a very precise way to describe the format.
A standard for this is JSON Schema as described here:
http://json-schema.org/
There do exist libraries for JavaScript, Java and .NET under open licences (MIT / Apache) that could be used to perform a validation.
The text was updated successfully, but these errors were encountered: