Raspberry-pi using hardware resistor, need schema confirmation (newbie)
It looks OK, at least you seem to understand how a pull-up works. The only issue is that the pull-up is never "10", maybe you mean "10 k".

In a real circuit these days it will not actually be a resistor, but a pull-up circuit made from a transistor. The effect is the same though. The datasheet will often have details on this.