plugin/exo/Library/Json/JsonSchema.php
public function validate($data, $uri)
    {
        return $this->getValidator()->validate($data, $this->getSchema($uri));
    }
public function validate($data, $uri)
    {
        return $this->getValidator()->validate($data, $this->getSchema($uri));
    }
public function validate ( $ data , $ uri ) { return $ this -> getValidator ( ) -> validate ( $ data , $ this -> getSchema ( $ uri ) ) ; }
Validates data against the schema located at URI.

@param mixed  $data - the data to validate
@param string $uri  - the URI of the schema to use

@return array
Validates data against the schema located at URI .