Created
July 10, 2016 16:40
-
-
Save roberto/8fae7b41c85c1d29065c60c1a2d618f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var schema = joi.object().keys({ | |
things: joi.array().items( | |
joi.object().keys({ | |
id: joi.string(), | |
name: joi.string(), | |
version: joi.string() | |
}) | |
) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment