  to: string;
  options?: QueryParams;
  constructor(rootDefinition: BadgeDefinition, variation: string, id: string) {
    const coreSpec = {
      details: rootDefinition.details,
      display: rootDefinition.display,
      path: rootDefinition.path,
      options: rootDefinition.options,
      to: rootDefinition.to,