JSON schema validation and test