hyperledger-archives / aries-protocol-test-suite

Test Suite for testing protocol compliance of Aries Agents
https://wiki.hyperledger.org/display/aries
Apache License 2.0
25 stars 19 forks source link

Use voluptuous instead of schema for message schemas #13

Closed dbluhm closed 5 years ago

dbluhm commented 5 years ago

Voluptuous is very similar to the original schema library but comes with the benefit of validating the whole message and return all errors rather than throwing an error on the first failed validation.

Also included is raising warnings on unexpected keys in messages rather than failing validation.

Signed-off-by: Daniel Bluhm daniel.bluhm@sovrin.org