type SchemaRoot = { foo: string; } & { bar: number; };