Closed briri closed 2 years ago
Opted to make this one a gem since the code needs to be run synchronously from other Lambdas.
Code lives here: https://github.com/CDLUC3/dmphub-v2/tree/main/gems/dmp-json_validator
The gem offers 3 modes:
Gem includes a full suite of tests and documentation.
Verified that the postDMP is able to use the gem from RubyGems: https://rubygems.org/gems/dmp-json_validator
Build a Lambda function that validates incoming JSON
It should be able to handle the full DMP JSON as well as the versions for updating/adding funding and adding related_identifiers