class SchemaFilter implements Predicate<Schema> {

  @Override
  public boolean test(Schema schema) {
    return matchesSchemaKey(schema.getKey(), keyQuery)
        && matchesSpecification(schema.getSpecification(), specQuery);
  }

  public  SchemaFilter(SchemaKeyQuery schemaKeyQuery, SpecificationQuery specificationQuery);

}