Even though the distribution represents your 2022 RMD, it’s includible in gross income in 2023, the year in which it is received. What’s more, the 2023 distribution must be taken by December 31, 2023, so there will be two distributions taxed in the same year.
Real property in which 80% or more of the gross income is from dwelling units. Under MACRS, depreciation is claimed over 27.5 years under the straight-line method.