### Question:
JSONSchemaStore extends SchemaStore<Schema> { public static Schema readSchema(byte[] bytes) throws IOException { JSONObject json = Json.readValue(bytes, JSONObject.class); return SchemaLoader.load(json); } protected  JSONSchemaStore(String schemasLocation, IOFunction<String, InputStream> open); static JSONSchemaStore of(String schemasLocation, IOFunction<String, InputStream> open); static Schema readSchema(byte[] bytes);  }### Answer:
@Test public void testReadSchema() throws IOException { byte[] data = Resources.toByteArray( Resources.getResource("schema/test-schemas/schemas/namespace_0/foo/foo.1.schema.json")); Schema schema = JSONSchemaStore.readSchema(data); assertTrue(schema.definesProperty("payload")); }