view test.sh @ 36:f69c792a303c

General response type
author Chris Cannam
date Wed, 16 Mar 2016 16:49:21 +0000
parents 26f7e0bb39d6
children a5eb5ef2e92d
line wrap: on
line source
#!/bin/bash

set -eu

for ex in examples/*.json ; do
    echo "Checking $ex..." 1>&2
    jsonschema -i "$ex" schema/$(basename "$ex")
done