modify validator to confirm to JSON Schema spec