Parse this person name:

Ruy Leiva (1248-1293, flourished 1276-1288)
user
first_name: Ruy
last_name: Leiva
middle_names: []
temporal:
- start: 1248
  end: 1293
  type: life_span
- start: 1276
  end: 1288
  type: flourished
titles: []
extra_info: []
assistant