{% extends "base.html" %} {% block title %}Import Persons - astro-mcp{% endblock %} {% block content %}

Import Persons

← Back to Persons
{% if imported is not none %}

Import Results

{{ imported }} person(s) imported successfully.

{% if errors %}

Errors

{% endif %}
{% endif %}

Upload JSON File

Upload a JSON file containing person data. The file should be either a single person object or an array of person objects. Each person must have at minimum: name, birth_datetime, latitude, longitude.

Cancel

Expected JSON Format

[
  {
    "name": "John Doe",
    "nickname": "john",
    "birth_datetime": "1990-05-15T08:30:00+02:00",
    "birthplace": "Vienna, Austria",
    "latitude": 48.2082,
    "longitude": 16.3738,
    "elevation": 171,
    "alive": true,
    "private": false,
    "gender": "male",
    "description": "A sample person",
    "notes": "Some notes here",
    "timezone": "Europe/Vienna",
    "birth_time_known": true
  }
]
{% endblock %}