# data[].attributes.headline
If I spoke Spanish (hypothetical present) I would have got that job (in the past)

# data[].attributes.subject
If I spoke Spanish (hypothetical present) I would have got that job (in the past)

# data[].attributes.body
I would speak French now

# data[].attributes.body
If I had studied French at school

# data[].attributes.body
hypothetical past

# data[].attributes.body
hypothetical present

# data[].attributes.body
If I had had money I would have bought this house.

had+ past participle

past-------> past perfect

When

# data[].attributes.body
If I were you I'd (would) buy this car.
If I had a car I'd go there.

present-------> past

# data[].attributes.body
If the weather is good I'll go on holiday.

when/unless/provided/providing

if+ present+ future

future------>present

You will get the bonus provided you meet all the requirements.

unless-if not

I won't buy this car if I don't save enough money.
I won't buy this car unless I save enough money.

# data[].attributes.body
People get hungry if they don't eat.
My boss is angry if I'm late for work.

present simple+ present simple