public Schema resolveSchemaRef(Schema schema, String refPath) {
    if (schema.getId().getFragment() == null) {
      refPath = "#" + refPath;
    }
    else {
      refPath = "#" + schema.getId().getFragment() + "/" + refPath;
    }
    return getSchemaStore().create(schema, refPath, getGenerationConfig().getRefFragmentPathDelimiters());
  }
public Schema resolveSchemaRef(Schema schema, String refPath)