-
Notifications
You must be signed in to change notification settings - Fork 14
Json documentation
Emma edited this page Jan 20, 2025
·
4 revisions
NOTE: This documentation is not final and is a quick draft. This warning will be removed once finalized. Please follow the instructions carefully when using the JSON file.
- Always start by exporting data from the Mensinator app.
-
NEVER modify the
app_settings
values. Changing these may break the app's functionality. - We do not support importing data from other apps. Use this feature at your own risk.
- Only edit the
periods
andovulations
sections. - Always keep a backup by performing an export before making any edits to the file.
The exported file follows this structure:
{
"periods": [
{
"id": <integer>,
"date": <string>,
"period_id": <integer>
}
// More period objects
],
"symptoms": [
{
"id": <integer>,
"symptom_name": <string>,
"active": <integer>
}
// More symptom objects
],
"symptom_date": [
{
"id": <integer>,
"symptom_date": <string>,
"symptom_id": <integer>
}
// More symptom_date objects
],
"ovulations": [
{
"id": <integer>,
"date": <string>
}
// More ovulation objects
],
"app_settings": [
{
}
// Never touch these values! Hence, no explanation needed. Changing these might cause the app to not function properly!
]
}
-
id
: A unique integer identifier for each period date. -
date
: The date of the period in the formatYYYY-MM-DD
. -
period_id
: An integer used to group multiple dates into a single menstrual cycle.
-
id
: A unique integer identifier for each symptom. -
symptom_name
: The name of the symptom as a string. -
active
: Indicates if the symptom is currently active.1
means active, and0
means inactive.
-
id
: A unique integer identifier for each symptom occurrence. -
symptom_date
: The date the symptom occurred, in the formatYYYY-MM-DD
. -
symptom_id
: Links the occurrence to a specific symptom by referencing itsid
.
-
id
: A unique integer identifier for each ovulation record. -
date
: The date of ovulation in the formatYYYY-MM-DD
.
Will not explain these!