public static function getJsonSchemaFile($profile)
    {
        foreach (static::getAllSchemas() as $schema) {
            if ($schema->id != 'registry' && $schema->id == $profile) {
                if (isset($schema->schema_path)) {
                    return realpath(dirname(__FILE__)).'/Validators/schemas/'.$schema->schema_path;
                } else {
                    return $schema->schema_filename;
                }
            }
        }

        return false;
    }