Skip to content
This repository was archived by the owner on Aug 10, 2021. It is now read-only.

Conversation

@devoid
Copy link
Contributor

@devoid devoid commented May 8, 2012

I've been experimenting with using the json-schema specification for data validation. Theoretically it can do a lot of the work that we're doing in ModelSEED::MS objects for a lot less in terms of cost (so good for the REST api or something).

The current Perl implementation is a bit buggy, but I've already submitted an RT issue and the maintainer has responded, so it's not a dead project! He's already made the change to fix the bug, linked below. Hopefully support will improve over time.

- ModelSEED::Configuration is essentially an
  unstructured JSON file. This can be dangerous
  since it will allow us to store arbitrary config
  data in it.

- JSON::Schema will validate a JSON document against
  a defined schema. Using this, we can define an
  explicit schema for our configuration data and
  prevent the addition of arbitrary entries in the
  configuration files of users.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants