Consumer-Driven Contracts: links

I like the idea of CDC, certainly easier to aspire to than to implement, would be interested to hear actual success stories.

Also the examples showing 1-to-1 matching criteria seem to against the intention of “not caring exactly what the data is, as long as it satifies my needs”.

Consumer-Driven Contracts: A Service Evolution Pattern

https://martinfowler.com/articles/consumerDrivenContracts.html

https://docs.pact.io/

https://github.com/pact-foundation/pact-js

https://docs.pact.io/documentation/matching.html

Also seems like a server-side validator like Joi could be pretty useful for this purpose:

http://vawks.com/blog/2014/03/22/the-joi-of-validation/

Prettify JSON output from the command line

to show formatted JSON and basic linting:
echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool