{
  "openapi": "3.0.0",
  "paths": {
    "/health/live": {
      "get": {
        "operationId": "HealthController_live",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Le process répond",
        "tags": [
          "health"
        ],
        "security": []
      }
    },
    "/health/ready": {
      "get": {
        "operationId": "HealthController_ready",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Les dépendances sont joignables (utilisé par la plateforme avant d'envoyer du trafic)",
        "tags": [
          "health"
        ],
        "security": []
      }
    },
    "/v1/client-errors": {
      "post": {
        "operationId": "ClientErrorsController_report_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientErrorInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Signaler une erreur survenue dans le navigateur ou l'app (logs + Sentry)",
        "tags": [
          "monitoring"
        ],
        "security": []
      }
    },
    "/v1/auth/register": {
      "post": {
        "operationId": "AuthController_register_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Créer un compte",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/login": {
      "post": {
        "operationId": "AuthController_login_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Se connecter (e-mail et mot de passe)",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/refresh": {
      "post": {
        "operationId": "AuthController_refresh_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Renouveler les jetons (cookie de rafraîchissement ou `refreshToken` dans le corps)",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/logout": {
      "post": {
        "operationId": "AuthController_logout_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefreshInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Se déconnecter de cet appareil",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/logout-all": {
      "post": {
        "operationId": "AuthController_logoutAll_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Se déconnecter de tous les appareils",
        "tags": [
          "auth"
        ]
      }
    },
    "/v1/auth/password/forgot": {
      "post": {
        "description": "Toujours 202 : ne révèle pas si un compte existe pour cet email.",
        "operationId": "AuthController_forgotPassword_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordInput"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Toujours 202 ",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/password/reset": {
      "post": {
        "operationId": "AuthController_resetPassword_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Choisir un nouveau mot de passe avec le jeton reçu par e-mail",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/password/change": {
      "post": {
        "operationId": "AuthController_changePassword_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Changer son mot de passe",
        "tags": [
          "auth"
        ]
      }
    },
    "/v1/auth/google": {
      "delete": {
        "operationId": "AuthController_unlinkGoogle_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Délier le compte Google",
        "tags": [
          "auth"
        ]
      }
    },
    "/v1/me": {
      "get": {
        "operationId": "AuthController_me_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeResponse"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Profil de l'utilisateur connecté",
        "tags": [
          "auth"
        ]
      },
      "delete": {
        "description": "Droit à l'effacement : suppression définitive et immédiate du compte.",
        "operationId": "PrivacyController_remove_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAccountInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Droit à l'effacement ",
        "tags": [
          "privacy"
        ]
      }
    },
    "/v1/auth/providers": {
      "get": {
        "operationId": "GoogleSignInController_providers_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthProvidersDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Méthodes de connexion disponibles (Google configuré ou non)",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/google/start": {
      "get": {
        "description": "`client=android&code_challenge=…` : flux lancé par l'app Android dans un Custom Tab. Google revient sur le web comme d'habitude ; l'API renvoie ensuite vers l'app avec un code à usage unique, échangeable uniquement avec le `code_verifier` resté dans l'app (PKCE).",
        "operationId": "GoogleSignInController_start_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "`client=android&code_challenge=…` ",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/google/callback": {
      "get": {
        "operationId": "GoogleSignInController_callback_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Retour de Google après « Se connecter avec Google » (redirection)",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/auth/google/mobile/exchange": {
      "post": {
        "description": "App Android : code à usage unique + verifier PKCE → session (jetons dans la réponse).",
        "operationId": "GoogleSignInController_mobileExchange_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileExchangeInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "App Android ",
        "tags": [
          "auth"
        ],
        "security": []
      }
    },
    "/v1/households": {
      "post": {
        "operationId": "HouseholdsController_create_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateHouseholdInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HouseholdDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer un foyer",
        "tags": [
          "households"
        ]
      },
      "get": {
        "operationId": "HouseholdsController_list_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HouseholdDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Foyers de l'utilisateur",
        "tags": [
          "households"
        ]
      }
    },
    "/v1/households/{householdId}": {
      "get": {
        "operationId": "HouseholdsController_get_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HouseholdDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Détail d'un foyer et de ses membres",
        "tags": [
          "households"
        ]
      }
    },
    "/v1/households/{householdId}/invitations": {
      "post": {
        "operationId": "HouseholdsController_invite_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvitationInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer un lien d'invitation",
        "tags": [
          "households"
        ]
      }
    },
    "/v1/invitations/accept": {
      "post": {
        "operationId": "HouseholdsController_accept_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInvitationInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HouseholdDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Rejoindre un foyer avec un lien d'invitation",
        "tags": [
          "households"
        ]
      }
    },
    "/v1/households/{householdId}/categories": {
      "get": {
        "operationId": "CategoriesController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CategoryDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Catégories du foyer",
        "tags": [
          "categories"
        ]
      },
      "post": {
        "operationId": "CategoriesController_create_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CategoryInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer une catégorie",
        "tags": [
          "categories"
        ]
      }
    },
    "/v1/households/{householdId}/categories/{categoryId}": {
      "patch": {
        "operationId": "CategoriesController_update_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "categoryId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCategoryInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier une catégorie",
        "tags": [
          "categories"
        ]
      },
      "delete": {
        "operationId": "CategoriesController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "categoryId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer une catégorie",
        "tags": [
          "categories"
        ]
      }
    },
    "/v1/households/{householdId}/tasks": {
      "post": {
        "operationId": "TasksController_create_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "UUID choisi par le client : rejouer la requête ne crée pas de doublon.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer une tâche (ponctuelle ou répétée)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/tasks/quick": {
      "post": {
        "operationId": "TasksController_quickAdd_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "UUID choisi par le client : rejouer la requête ne crée pas de doublon.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuickAddInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Ajout rapide en langage naturel (« Sortir les poubelles mardi 20h",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/quick-add/parse": {
      "post": {
        "operationId": "TasksController_parse_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuickAddInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuickAddPreview"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Prévisualisation du quick add (aucune écriture)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences": {
      "get": {
        "operationId": "TasksController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "view",
            "required": false,
            "in": "query",
            "schema": {
              "default": "all",
              "type": "string",
              "enum": [
                "all",
                "today",
                "upcoming",
                "overdue",
                "unscheduled",
                "done"
              ]
            }
          },
          {
            "name": "from",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "assignee",
            "required": false,
            "in": "query",
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "string",
                  "enum": [
                    "me",
                    "unassigned",
                    "together"
                  ]
                }
              ]
            }
          },
          {
            "name": "categoryId",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "priority",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "LOW",
                "NORMAL",
                "HIGH",
                "URGENT"
              ]
            }
          },
          {
            "name": "status",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "TODO",
                "DONE",
                "SKIPPED",
                "CANCELLED"
              ]
            }
          },
          {
            "name": "visibility",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "PERSONAL",
                "SHARED"
              ]
            }
          },
          {
            "name": "q",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "default": 200,
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OccurrenceDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Lister les occurrences (vue, période, filtres)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}": {
      "get": {
        "operationId": "TasksController_get_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Détail d'une occurrence",
        "tags": [
          "tasks"
        ]
      },
      "patch": {
        "description": "Modifier une occurrence (portée : celle-ci, les suivantes, toutes).",
        "operationId": "TasksController_update_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scope",
            "required": false,
            "in": "query",
            "schema": {
              "default": "this",
              "type": "string",
              "enum": [
                "this",
                "following",
                "all"
              ]
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOccurrenceInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier une occurrence (portée ",
        "tags": [
          "tasks"
        ]
      },
      "delete": {
        "operationId": "TasksController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "scope",
            "required": false,
            "in": "query",
            "schema": {
              "default": "this",
              "type": "string",
              "enum": [
                "this",
                "following",
                "all"
              ]
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer une occurrence (vers la corbeille)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/complete": {
      "post": {
        "operationId": "TasksController_complete_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Marquer comme faite",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/reopen": {
      "post": {
        "operationId": "TasksController_reopen_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Marquer comme à faire",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/checklist": {
      "post": {
        "operationId": "TasksController_addChecklistItem_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChecklistItemInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Ajouter une sous-tâche",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/checklist/{itemId}": {
      "patch": {
        "operationId": "TasksController_updateChecklistItem_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateChecklistItemInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier ou cocher une sous-tâche",
        "tags": [
          "tasks"
        ]
      },
      "delete": {
        "operationId": "TasksController_removeChecklistItem_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer une sous-tâche",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/series": {
      "get": {
        "operationId": "TasksController_listSeries_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SeriesDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Tâches récurrentes actives (une ligne par série, avec la prochaine date)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/series/{seriesId}/history": {
      "get": {
        "operationId": "TasksController_seriesHistory_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "seriesId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesHistoryDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Historique d'une série répétée (qui l'a faite, quand)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/series/{seriesId}": {
      "get": {
        "operationId": "TasksController_getSeries_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "seriesId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SeriesDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Détail d'une série répétée",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/recurrence/preview": {
      "post": {
        "operationId": "TasksController_previewRecurrence_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecurrencePreviewInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RecurrencePreviewItem"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Aperçu des prochaines occurrences et de la rotation (aucune écriture)",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/stats": {
      "get": {
        "operationId": "TasksController_stats_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "days",
            "required": false,
            "in": "query",
            "schema": {
              "default": 7,
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatsDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Statistiques du foyer sur une période",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/balance": {
      "get": {
        "operationId": "TasksController_balance_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "from",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Répartition de la charge entre les membres",
        "tags": [
          "tasks"
        ]
      }
    },
    "/v1/households/{householdId}/templates": {
      "get": {
        "operationId": "TemplatesController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TaskTemplateDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modèles de tâches",
        "tags": [
          "templates"
        ]
      },
      "post": {
        "operationId": "TemplatesController_create_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskTemplateDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer un modèle",
        "tags": [
          "templates"
        ]
      }
    },
    "/v1/households/{householdId}/templates/{templateId}": {
      "put": {
        "operationId": "TemplatesController_update_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskTemplateDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier un modèle",
        "tags": [
          "templates"
        ]
      },
      "delete": {
        "operationId": "TemplatesController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer un modèle",
        "tags": [
          "templates"
        ]
      }
    },
    "/v1/households/{householdId}/templates/{templateId}/apply": {
      "post": {
        "operationId": "TemplatesController_apply_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyTemplateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OccurrenceDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer une tâche à partir d'un modèle",
        "tags": [
          "templates"
        ]
      }
    },
    "/v1/households/{householdId}/activity": {
      "get": {
        "operationId": "ActivityController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "before",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "default": 50,
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ActivityPageDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Journal d'activité, du plus récent au plus ancien (pagination par curseur)",
        "tags": [
          "activity"
        ]
      }
    },
    "/v1/households/{householdId}/trash": {
      "get": {
        "operationId": "ActivityController_trash_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TrashItemDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Corbeille (éléments supprimés depuis moins de 30 jours)",
        "tags": [
          "activity"
        ]
      }
    },
    "/v1/households/{householdId}/trash/{id}/restore": {
      "post": {
        "operationId": "ActivityController_restore_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Restaurer un élément de la corbeille",
        "tags": [
          "activity"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/restore": {
      "post": {
        "operationId": "ActivityController_restoreOccurrence_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Annuler une suppression depuis la tâche elle-même (bouton « Annuler »)",
        "tags": [
          "activity"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/attachments": {
      "post": {
        "operationId": "AttachmentsController_upload_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OccurrenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Joindre un fichier (multipart, champ `file`, 10 Mo au plus)",
        "tags": [
          "attachments"
        ]
      }
    },
    "/v1/households/{householdId}/attachments/{id}": {
      "get": {
        "operationId": "AttachmentsController_download_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Télécharger une pièce jointe",
        "tags": [
          "attachments"
        ]
      },
      "delete": {
        "operationId": "AttachmentsController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer une pièce jointe",
        "tags": [
          "attachments"
        ]
      }
    },
    "/v1/households/{householdId}/absences": {
      "get": {
        "operationId": "AbsencesController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AbsenceDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Absences en cours et à venir",
        "tags": [
          "absences"
        ]
      },
      "post": {
        "operationId": "AbsencesController_create_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAbsenceInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbsenceDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Déclarer une absence (les tâches partagées passent à l'autre membre)",
        "tags": [
          "absences"
        ]
      }
    },
    "/v1/households/{householdId}/absences/{id}": {
      "delete": {
        "operationId": "AbsencesController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer une absence",
        "tags": [
          "absences"
        ]
      }
    },
    "/v1/households/{householdId}/occurrences/{occurrenceId}/comments": {
      "get": {
        "operationId": "CommentsController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CommentDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Commentaires d'une tâche",
        "tags": [
          "comments"
        ]
      },
      "post": {
        "operationId": "CommentsController_create_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "occurrenceId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCommentInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommentDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Commenter une tâche",
        "tags": [
          "comments"
        ]
      }
    },
    "/v1/households/{householdId}/comments/{id}": {
      "delete": {
        "operationId": "CommentsController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer son commentaire",
        "tags": [
          "comments"
        ]
      }
    },
    "/v1/households/{householdId}/notifications": {
      "get": {
        "operationId": "NotificationsController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "default": 30,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "since",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationListDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Centre de notifications",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/households/{householdId}/notifications/read": {
      "post": {
        "description": "Sans `ids` : tout marquer comme lu.",
        "operationId": "NotificationsController_markRead_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarkReadInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Sans `ids` ",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/households/{householdId}/notification-preferences": {
      "get": {
        "operationId": "NotificationsController_preferences_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationPreferenceDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Préférences de notification",
        "tags": [
          "notifications"
        ]
      },
      "put": {
        "operationId": "NotificationsController_updatePreferences_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePreferencesInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificationPreferenceDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier les préférences de notification",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/push-tokens/status": {
      "get": {
        "operationId": "PushController_status_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PushStatusDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Diagnostic affiché dans les Réglages (site et app)",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/push-tokens": {
      "put": {
        "operationId": "PushController_register_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushTokenInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Enregistrer le jeton FCM de l'appareil Android",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/push-tokens/{token}": {
      "delete": {
        "description": "Déconnexion : ce téléphone ne reçoit plus rien pour ce compte.",
        "operationId": "PushController_unregister_v1",
        "parameters": [
          {
            "name": "token",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Déconnexion ",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/web-push/key": {
      "get": {
        "operationId": "WebPushController_key_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebPushKeyDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Clé publique VAPID (notifications du navigateur)",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/web-push": {
      "put": {
        "operationId": "WebPushController_subscribe_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPushSubscriptionInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Abonner ce navigateur aux notifications",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/me/web-push/unsubscribe": {
      "post": {
        "operationId": "WebPushController_unsubscribe_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPushUnsubscribeInput"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Désabonner ce navigateur",
        "tags": [
          "notifications"
        ]
      }
    },
    "/v1/households/{householdId}/inbound-email": {
      "get": {
        "operationId": "InboundEmailSettingsController_get_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InboundEmailSettingsDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Adresse personnelle « tâche par e-mail »",
        "tags": [
          "inbound-email"
        ]
      },
      "post": {
        "operationId": "InboundEmailSettingsController_regenerate_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InboundEmailSettingsDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Créer ou remplacer l'adresse personnelle",
        "tags": [
          "inbound-email"
        ]
      },
      "patch": {
        "operationId": "InboundEmailSettingsController_update_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InboundEmailSettingsInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InboundEmailSettingsDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Réglages de la tâche par e-mail (accusé de réception)",
        "tags": [
          "inbound-email"
        ]
      },
      "delete": {
        "operationId": "InboundEmailSettingsController_disable_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Désactiver l'adresse personnelle",
        "tags": [
          "inbound-email"
        ]
      }
    },
    "/v1/inbound/resend": {
      "post": {
        "description": "Webhook Resend : e-mail reçu → tâche (signature vérifiée).",
        "operationId": "ResendWebhookController_receive_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Webhook Resend ",
        "tags": [
          "inbound-email"
        ],
        "security": []
      }
    },
    "/v1/me/export": {
      "get": {
        "description": "Portabilité : toutes les données de l'utilisateur, en JSON lisible.",
        "operationId": "PrivacyController_export_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Portabilité ",
        "tags": [
          "privacy"
        ]
      }
    },
    "/v1/calendar/google/connect": {
      "get": {
        "operationId": "CalendarController_connect_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Démarre l'autorisation Google Calendar (navigation du navigateur, session requise)",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/calendar/google/callback": {
      "get": {
        "operationId": "CalendarController_callback_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Retour de Google après l'autorisation d'accès à l'agenda (redirection)",
        "tags": [
          "calendar"
        ],
        "security": []
      }
    },
    "/v1/households/{householdId}/calendar": {
      "get": {
        "operationId": "CalendarController_status_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarStatusDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "État de la synchronisation Google Agenda",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/households/{householdId}/calendar/available": {
      "get": {
        "operationId": "CalendarController_available_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AvailableCalendarDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Agendas Google disponibles",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/households/{householdId}/calendar/link": {
      "put": {
        "operationId": "CalendarController_link_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkCalendarInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarStatusDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Choisir l'agenda Google synchronisé",
        "tags": [
          "calendar"
        ]
      },
      "delete": {
        "operationId": "CalendarController_unlink_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "removeEvents",
            "required": false,
            "in": "query",
            "schema": {
              "default": "true",
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Arrêter la synchronisation du foyer",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/households/{householdId}/calendar/sync": {
      "post": {
        "description": "« Synchroniser maintenant » : réconciliation + balayage en arrière-plan.",
        "operationId": "CalendarController_syncNow_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "« Synchroniser maintenant » ",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/me/google-calendar": {
      "delete": {
        "operationId": "CalendarController_disconnect_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Révoquer l'accès à Google Agenda",
        "tags": [
          "calendar"
        ]
      }
    },
    "/v1/app/android/version.json": {
      "get": {
        "operationId": "AndroidReleaseController_version_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Dernière version de l'app Android",
        "tags": [
          "app"
        ],
        "security": []
      }
    },
    "/v1/app/android/tandem.apk": {
      "get": {
        "operationId": "AndroidReleaseController_apk[0]_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Télécharger l'APK Android",
        "tags": [
          "app"
        ],
        "security": []
      }
    },
    "/v1/app/android/agenda-gn.apk": {
      "get": {
        "operationId": "AndroidReleaseController_apk[1]_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Télécharger l'APK Android",
        "tags": [
          "app"
        ],
        "security": []
      }
    },
    "/v1/households/{householdId}/shopping": {
      "get": {
        "operationId": "ShoppingController_list_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShoppingItemDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Liste de courses",
        "tags": [
          "shopping"
        ]
      },
      "post": {
        "operationId": "ShoppingController_add_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ShoppingItemInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShoppingItemDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Ajouter des articles (texte libre, un par ligne)",
        "tags": [
          "shopping"
        ]
      }
    },
    "/v1/households/{householdId}/shopping/suggestions": {
      "get": {
        "operationId": "ShoppingController_suggestions_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ShoppingSuggestionDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Articles souvent achetés",
        "tags": [
          "shopping"
        ]
      }
    },
    "/v1/households/{householdId}/shopping/clear-done": {
      "post": {
        "operationId": "ShoppingController_clearDone_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Retirer les articles cochés",
        "tags": [
          "shopping"
        ]
      }
    },
    "/v1/households/{householdId}/shopping/{itemId}": {
      "patch": {
        "operationId": "ShoppingController_update_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "itemId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateShoppingItemInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShoppingItemDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Modifier ou cocher un article",
        "tags": [
          "shopping"
        ]
      },
      "delete": {
        "operationId": "ShoppingController_remove_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "itemId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Supprimer un article",
        "tags": [
          "shopping"
        ]
      }
    },
    "/v1/households/{householdId}/events": {
      "get": {
        "operationId": "RealtimeController_stream_v1",
        "parameters": [
          {
            "name": "householdId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Flux temps réel (Server-Sent Events)",
        "tags": [
          "realtime"
        ]
      }
    },
    "/v1/admin/reports": {
      "get": {
        "description": "Administration : signalements (par défaut, ceux à traiter).",
        "operationId": "AdminController_reportList_v1",
        "parameters": [
          {
            "name": "status",
            "required": false,
            "in": "query",
            "schema": {
              "default": "ACTIVE",
              "type": "string",
              "enum": [
                "ACTIVE",
                "ALL",
                "OPEN",
                "IN_PROGRESS",
                "RESOLVED",
                "CLOSED"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminReportDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/reports/{id}": {
      "patch": {
        "description": "Administration : changer l'état d'un signalement ou y répondre.",
        "operationId": "AdminController_updateReport_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminUpdateReportInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminReportDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      },
      "delete": {
        "description": "Administration : supprimer un signalement.",
        "operationId": "AdminController_removeReport_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/reports/{id}/screenshot": {
      "get": {
        "description": "Administration : capture d'écran d'un signalement.",
        "operationId": "AdminController_reportScreenshot_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/monitoring": {
      "get": {
        "description": "Onglet « Surveillance » : requêtes, erreurs, temps de réponse, sondes, incidents.",
        "operationId": "AdminController_monitoringData_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminMonitoringDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Onglet « Surveillance » ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/overview": {
      "get": {
        "description": "Administration : vue d'ensemble.",
        "operationId": "AdminController_overview_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminOverviewDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users": {
      "get": {
        "description": "Administration : comptes.",
        "operationId": "AdminController_users_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminUserDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      },
      "post": {
        "description": "Administration : créer un compte.",
        "operationId": "AdminController_createUser_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminCreateUserInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUserDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users/{id}/disable": {
      "post": {
        "description": "Administration : désactiver un compte.",
        "operationId": "AdminController_disable_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users/{id}/enable": {
      "post": {
        "description": "Administration : réactiver un compte.",
        "operationId": "AdminController_enable_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users/{id}/logout-all": {
      "post": {
        "description": "Administration : déconnecter un compte partout.",
        "operationId": "AdminController_logoutAll_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users/{id}/password-link": {
      "post": {
        "description": "Administration : lien de réinitialisation du mot de passe.",
        "operationId": "AdminController_passwordLink_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/users/{id}": {
      "delete": {
        "description": "Administration : supprimer un compte.",
        "operationId": "AdminController_deleteUser_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/households": {
      "get": {
        "description": "Administration : foyers.",
        "operationId": "AdminController_households_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminHouseholdDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/backups": {
      "get": {
        "description": "Administration : sauvegardes récentes.",
        "operationId": "AdminController_backups_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BackupRunDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      },
      "post": {
        "description": "Administration : lancer une sauvegarde.",
        "operationId": "AdminController_requestBackup_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackupRunDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/test-email": {
      "post": {
        "description": "Administration : envoyer un e-mail de test.",
        "operationId": "AdminController_testEmail_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminTestResultDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/admin/test-push": {
      "post": {
        "description": "Administration : envoyer une notification de test.",
        "operationId": "AdminController_testPush_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminTestResultDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Administration ",
        "tags": [
          "admin"
        ]
      }
    },
    "/v1/status": {
      "get": {
        "operationId": "StatusController_status_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusPageDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "État public du service (page /status)",
        "tags": [
          "monitoring"
        ],
        "security": []
      }
    },
    "/metrics": {
      "get": {
        "operationId": "MetricsController_metrics",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "summary": "Métriques Prometheus (jeton `METRICS_TOKEN`)",
        "tags": [
          "monitoring"
        ],
        "security": []
      }
    },
    "/v1/reports": {
      "post": {
        "operationId": "ReportsController_create_v1",
        "parameters": [
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Envoyer un signalement (bug, idée, question)",
        "tags": [
          "reports"
        ]
      },
      "get": {
        "operationId": "ReportsController_mine_v1",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportDto"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Mes signalements, avec leur état et la réponse éventuelle",
        "tags": [
          "reports"
        ]
      }
    },
    "/v1/reports/{id}/screenshot": {
      "post": {
        "operationId": "ReportsController_screenshot_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Succès",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportDto"
                }
              }
            }
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Joindre une capture d'écran (multipart, champ `file`, image de 5 Mo au plus)",
        "tags": [
          "reports"
        ]
      },
      "get": {
        "operationId": "ReportsController_download_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Succès"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Voir la capture d'écran jointe à un de mes signalements",
        "tags": [
          "reports"
        ]
      }
    },
    "/v1/reports/{id}": {
      "delete": {
        "operationId": "ReportsController_remove_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-requested-with",
            "in": "header",
            "description": "Protection CSRF : valeur fixe.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "tandem"
              ]
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Aucun contenu"
          },
          "default": {
            "description": "Erreur (code stable dans `error.code`)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          },
          {
            "cookie": []
          }
        ],
        "summary": "Retirer un de mes signalements (effacé tout de suite)",
        "tags": [
          "reports"
        ]
      }
    }
  },
  "info": {
    "title": "Tandem — API",
    "description": "API REST de l'application **Tandem** (web et Android). Toutes les routes sont versionnées\nsous `/v1`. Guide complet (authentification, erreurs, idempotence, temps réel) : page\n*API → Guide* de la documentation.\n\n- **Authentification** : `Authorization: Bearer <accessToken>` (Android, en-tête\n  `X-Client: mobile` à la connexion pour recevoir les jetons dans le corps), ou cookies\n  `httpOnly` posés par `/v1/auth/login` (web).\n- **CSRF** : toute requête qui modifie (POST, PATCH, PUT, DELETE) doit porter\n  `x-requested-with: tandem`.\n- **Erreurs** : toujours `{ \"error\": { \"code\", \"message\", \"details\"? } }` ; le `code` est\n  stable (voir le schéma `ApiError`), le `message` n'est destiné qu'aux développeurs.\n- **Idempotence** : les créations de tâches acceptent `Idempotency-Key` (UUID) pour être\n  rejouées sans doublon depuis une file hors ligne.",
    "version": "1",
    "contact": {}
  },
  "tags": [
    {
      "name": "auth",
      "description": "Comptes, connexion, jetons, mot de passe, Google Sign-In"
    },
    {
      "name": "households",
      "description": "Foyers, membres, invitations"
    },
    {
      "name": "tasks",
      "description": "Tâches, occurrences, séries répétées, sous-tâches, statistiques"
    },
    {
      "name": "categories",
      "description": "Catégories de tâches"
    },
    {
      "name": "templates",
      "description": "Modèles de tâches"
    },
    {
      "name": "comments",
      "description": "Commentaires sur une tâche"
    },
    {
      "name": "attachments",
      "description": "Pièces jointes"
    },
    {
      "name": "absences",
      "description": "Mode absence"
    },
    {
      "name": "activity",
      "description": "Journal d’activité et corbeille"
    },
    {
      "name": "shopping",
      "description": "Liste de courses partagée"
    },
    {
      "name": "notifications",
      "description": "Centre de notifications, préférences, push Android et navigateur"
    },
    {
      "name": "calendar",
      "description": "Synchronisation Google Agenda"
    },
    {
      "name": "inbound-email",
      "description": "Tâches par e-mail"
    },
    {
      "name": "realtime",
      "description": "Temps réel (Server-Sent Events)"
    },
    {
      "name": "reports",
      "description": "Signalements : bug, idée, question"
    },
    {
      "name": "privacy",
      "description": "RGPD : export et suppression des données"
    },
    {
      "name": "app",
      "description": "Distribution de l’app Android"
    },
    {
      "name": "admin",
      "description": "Administration (comptes listés dans ADMIN_EMAILS)"
    },
    {
      "name": "monitoring",
      "description": "État du service, métriques, erreurs clientes"
    },
    {
      "name": "health",
      "description": "Sondes de vie (plateforme)"
    }
  ],
  "servers": [
    {
      "url": "/",
      "description": "Même origine que le site (le web relaie /v1/* vers l’API)"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      },
      "cookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "gn_at"
      }
    },
    "schemas": {
      "ApiError": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "VALIDATION_FAILED",
                  "UNAUTHENTICATED",
                  "INVALID_CREDENTIALS",
                  "EMAIL_ALREADY_USED",
                  "REGISTRATION_CLOSED",
                  "ACCOUNT_DISABLED",
                  "SESSION_EXPIRED",
                  "CSRF_REJECTED",
                  "FORBIDDEN",
                  "NOT_FOUND",
                  "HOUSEHOLD_NOT_FOUND",
                  "INVITATION_INVALID",
                  "RESET_TOKEN_INVALID",
                  "GOOGLE_NOT_CONFIGURED",
                  "GOOGLE_FAILED",
                  "GOOGLE_EMAIL_EXISTS",
                  "GOOGLE_ALREADY_LINKED",
                  "CURRENT_PASSWORD_INVALID",
                  "PASSWORD_REQUIRED",
                  "CONFIRMATION_REQUIRED",
                  "CALENDAR_NOT_CONFIGURED",
                  "CALENDAR_NOT_CONNECTED",
                  "CALENDAR_READ_ONLY",
                  "CALENDAR_NOT_FOUND",
                  "GOOGLE_REVOKED",
                  "GOOGLE_FLOW_EXPIRED",
                  "GOOGLE_DENIED",
                  "GOOGLE_SCOPES_MISSING",
                  "ALREADY_MEMBER",
                  "VERSION_CONFLICT",
                  "IDEMPOTENCY_KEY_INVALID",
                  "IDEMPOTENCY_KEY_REUSED",
                  "IDEMPOTENCY_IN_PROGRESS",
                  "CATEGORY_NAME_TAKEN",
                  "TASK_TITLE_REQUIRED",
                  "RATE_LIMITED",
                  "ATTACHMENT_TOO_LARGE",
                  "ATTACHMENTS_QUOTA",
                  "INTERNAL"
                ]
              },
              "message": {
                "type": "string",
                "description": "Message technique (anglais), jamais affiché."
              },
              "details": {
                "description": "Détail éventuel (champs invalides pour VALIDATION_FAILED)."
              }
            }
          }
        }
      },
      "AbsenceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "memberId": {
            "type": "string",
            "format": "uuid"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "id",
          "memberId",
          "startDate",
          "endDate"
        ],
        "additionalProperties": false
      },
      "AcceptInvitationInput": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "minLength": 20,
            "maxLength": 200
          },
          "memberDisplayName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          }
        },
        "required": [
          "token"
        ]
      },
      "ActivityPageDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "action": {
                  "type": "string"
                },
                "at": {
                  "type": "string"
                },
                "actorId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "title": {
                  "nullable": true,
                  "type": "string"
                },
                "date": {
                  "nullable": true,
                  "type": "string",
                  "format": "date"
                },
                "fields": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "id",
                "action",
                "at",
                "actorId",
                "title",
                "date",
                "fields"
              ],
              "additionalProperties": false
            }
          },
          "next": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "items",
          "next"
        ],
        "additionalProperties": false
      },
      "AdminCreateUserInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 60
          },
          "locale": {
            "default": "fr",
            "type": "string",
            "enum": [
              "fr",
              "en"
            ]
          }
        },
        "required": [
          "email",
          "displayName"
        ]
      },
      "AdminHouseholdDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "displayName": {
                  "type": "string"
                },
                "email": {
                  "nullable": true,
                  "type": "string"
                },
                "role": {
                  "type": "string"
                }
              },
              "required": [
                "displayName",
                "email",
                "role"
              ],
              "additionalProperties": false
            }
          },
          "tasks": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "openOccurrences": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "attachmentsBytes": {
            "type": "number"
          },
          "lastActivityAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "createdAt",
          "members",
          "tasks",
          "openOccurrences",
          "attachmentsBytes",
          "lastActivityAt"
        ],
        "additionalProperties": false
      },
      "AdminMonitoringDto": {
        "type": "object",
        "properties": {
          "buckets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "at": {
                  "type": "string"
                },
                "requests": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "errors4xx": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "errors5xx": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "avgMs": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "maxMs": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "slow": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "at",
                "requests",
                "errors4xx",
                "errors5xx",
                "avgMs",
                "maxMs",
                "slow"
              ],
              "additionalProperties": false
            }
          },
          "totals": {
            "type": "object",
            "properties": {
              "requests": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "errors5xx": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "avgMs": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "slow": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "requests",
              "errors5xx",
              "avgMs",
              "slow"
            ],
            "additionalProperties": false
          },
          "routes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "route": {
                  "type": "string"
                },
                "count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "avgMs": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "maxMs": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "errors": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "route",
                "count",
                "avgMs",
                "maxMs",
                "errors"
              ],
              "additionalProperties": false
            }
          },
          "process": {
            "type": "object",
            "properties": {
              "uptimeSeconds": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "rssBytes": {
                "type": "number"
              },
              "heapUsedBytes": {
                "type": "number"
              },
              "eventLoopLagMs": {
                "type": "number"
              },
              "node": {
                "type": "string"
              }
            },
            "required": [
              "uptimeSeconds",
              "rssBytes",
              "heapUsedBytes",
              "eventLoopLagMs",
              "node"
            ],
            "additionalProperties": false
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "component": {
                  "type": "string",
                  "enum": [
                    "api",
                    "database",
                    "redis",
                    "calendar",
                    "email",
                    "backups"
                  ]
                },
                "ok": {
                  "type": "boolean"
                },
                "latencyMs": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "detail": {
                  "nullable": true,
                  "type": "string"
                },
                "checkedAt": {
                  "type": "string"
                }
              },
              "required": [
                "component",
                "ok",
                "latencyMs",
                "detail",
                "checkedAt"
              ],
              "additionalProperties": false
            }
          },
          "incidents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "component": {
                  "type": "string",
                  "enum": [
                    "api",
                    "database",
                    "redis",
                    "calendar",
                    "email",
                    "backups"
                  ]
                },
                "detail": {
                  "nullable": true,
                  "type": "string"
                },
                "startedAt": {
                  "type": "string"
                },
                "resolvedAt": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "component",
                "detail",
                "startedAt",
                "resolvedAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "buckets",
          "totals",
          "routes",
          "process",
          "checks",
          "incidents"
        ],
        "additionalProperties": false
      },
      "AdminOverviewDto": {
        "type": "object",
        "properties": {
          "counts": {
            "type": "object",
            "properties": {
              "users": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "disabledUsers": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "households": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "tasks": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "openOccurrences": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "doneLast7Days": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "shoppingItems": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "comments": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "attachments": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "openReports": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "users",
              "disabledUsers",
              "households",
              "tasks",
              "openOccurrences",
              "doneLast7Days",
              "shoppingItems",
              "comments",
              "attachments",
              "openReports"
            ],
            "additionalProperties": false
          },
          "storage": {
            "type": "object",
            "properties": {
              "databaseBytes": {
                "type": "number"
              },
              "attachmentsBytes": {
                "type": "number"
              }
            },
            "required": [
              "databaseBytes",
              "attachmentsBytes"
            ],
            "additionalProperties": false
          },
          "calendar": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          },
          "integrations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "enabled": {
                  "type": "boolean"
                }
              },
              "required": [
                "key",
                "enabled"
              ],
              "additionalProperties": false
            }
          },
          "registrationEnabled": {
            "type": "boolean"
          },
          "backups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "trigger": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "PENDING",
                    "RUNNING",
                    "OK",
                    "FAILED"
                  ]
                },
                "createdAt": {
                  "type": "string"
                },
                "startedAt": {
                  "nullable": true,
                  "type": "string"
                },
                "finishedAt": {
                  "nullable": true,
                  "type": "string"
                },
                "file": {
                  "nullable": true,
                  "type": "string"
                },
                "sizeBytes": {
                  "nullable": true,
                  "type": "number"
                },
                "summary": {
                  "nullable": true,
                  "type": "string"
                },
                "offsite": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "trigger",
                "status",
                "createdAt",
                "startedAt",
                "finishedAt",
                "file",
                "sizeBytes",
                "summary",
                "offsite"
              ],
              "additionalProperties": false
            }
          },
          "serverTime": {
            "type": "string"
          },
          "uptimeSeconds": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "counts",
          "storage",
          "calendar",
          "integrations",
          "registrationEnabled",
          "backups",
          "serverTime",
          "uptimeSeconds"
        ],
        "additionalProperties": false
      },
      "AdminReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "enum": [
              "BUG",
              "IDEA",
              "QUESTION",
              "OTHER"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "IN_PROGRESS",
              "RESOLVED",
              "CLOSED"
            ]
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allowContact": {
            "type": "boolean"
          },
          "diagnostics": {
            "nullable": true,
            "type": "object",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "web",
                  "android"
                ]
              },
              "appVersion": {
                "nullable": true,
                "type": "string",
                "maxLength": 40
              },
              "os": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "device": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "browser": {
                "nullable": true,
                "type": "string",
                "maxLength": 300
              },
              "locale": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "timezone": {
                "nullable": true,
                "type": "string",
                "maxLength": 60
              },
              "screen": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "page": {
                "nullable": true,
                "type": "string",
                "maxLength": 200
              },
              "online": {
                "nullable": true,
                "type": "boolean"
              },
              "pendingChanges": {
                "nullable": true,
                "type": "integer",
                "minimum": 0,
                "maximum": 100000
              }
            },
            "required": [
              "platform"
            ],
            "additionalProperties": false
          },
          "hasScreenshot": {
            "type": "boolean"
          },
          "reply": {
            "nullable": true,
            "type": "string"
          },
          "repliedAt": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "author": {
            "type": "object",
            "properties": {
              "displayName": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "displayName",
              "email"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "title",
          "description",
          "allowContact",
          "diagnostics",
          "hasScreenshot",
          "reply",
          "repliedAt",
          "createdAt",
          "updatedAt",
          "author"
        ],
        "additionalProperties": false
      },
      "AdminTestResultDto": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "ok",
          "detail"
        ],
        "additionalProperties": false
      },
      "AdminUpdateReportInput": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "IN_PROGRESS",
              "RESOLVED",
              "CLOSED"
            ]
          },
          "reply": {
            "type": "string",
            "minLength": 1,
            "maxLength": 5000
          }
        }
      },
      "AdminUserDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "lastSeenAt": {
            "nullable": true,
            "type": "string"
          },
          "activeSessions": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "hasPassword": {
            "type": "boolean"
          },
          "googleLinked": {
            "type": "boolean"
          },
          "households": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "disabled": {
            "type": "boolean"
          },
          "isAdmin": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "email",
          "displayName",
          "locale",
          "createdAt",
          "lastSeenAt",
          "activeSessions",
          "hasPassword",
          "googleLinked",
          "households",
          "disabled",
          "isAdmin"
        ],
        "additionalProperties": false
      },
      "ApplyTemplateInput": {
        "type": "object",
        "properties": {
          "date": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "syncToCalendar": {
            "type": "boolean"
          }
        }
      },
      "AuthProvidersDto": {
        "type": "object",
        "properties": {
          "google": {
            "type": "boolean"
          },
          "registration": {
            "type": "boolean"
          },
          "passwordReset": {
            "type": "boolean"
          }
        },
        "required": [
          "google",
          "registration",
          "passwordReset"
        ],
        "additionalProperties": false
      },
      "AuthResponse": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "email": {
                "type": "string"
              },
              "displayName": {
                "type": "string"
              },
              "locale": {
                "type": "string",
                "enum": [
                  "fr",
                  "en"
                ]
              },
              "hasPassword": {
                "type": "boolean"
              },
              "googleLinked": {
                "type": "boolean"
              },
              "isAdmin": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "email",
              "displayName",
              "locale",
              "hasPassword",
              "googleLinked"
            ],
            "additionalProperties": false
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "accessTokenExpiresIn": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "user",
          "accessTokenExpiresIn"
        ],
        "additionalProperties": false
      },
      "AvailableCalendarDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "accessRole": {
            "type": "string"
          },
          "primary": {
            "type": "boolean"
          },
          "writable": {
            "type": "boolean"
          },
          "color": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "summary",
          "accessRole",
          "primary",
          "writable",
          "color"
        ],
        "additionalProperties": false
      },
      "BackupRunDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "trigger": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "RUNNING",
              "OK",
              "FAILED"
            ]
          },
          "createdAt": {
            "type": "string"
          },
          "startedAt": {
            "nullable": true,
            "type": "string"
          },
          "finishedAt": {
            "nullable": true,
            "type": "string"
          },
          "file": {
            "nullable": true,
            "type": "string"
          },
          "sizeBytes": {
            "nullable": true,
            "type": "number"
          },
          "summary": {
            "nullable": true,
            "type": "string"
          },
          "offsite": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "trigger",
          "status",
          "createdAt",
          "startedAt",
          "finishedAt",
          "file",
          "sizeBytes",
          "summary",
          "offsite"
        ],
        "additionalProperties": false
      },
      "BalanceDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "memberId": {
                  "type": "string",
                  "format": "uuid"
                },
                "count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "minutes": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "memberId",
                "count",
                "minutes"
              ],
              "additionalProperties": false
            }
          },
          "together": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "minutes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "count",
              "minutes"
            ],
            "additionalProperties": false
          },
          "unassigned": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "minutes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "count",
              "minutes"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "from",
          "to",
          "members",
          "together",
          "unassigned"
        ],
        "additionalProperties": false
      },
      "CalendarStatusDto": {
        "type": "object",
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "connection": {
            "nullable": true,
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "email": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "REVOKED",
                  "ERROR"
                ]
              }
            },
            "required": [
              "id",
              "email",
              "status"
            ],
            "additionalProperties": false
          },
          "link": {
            "nullable": true,
            "type": "object",
            "properties": {
              "calendarId": {
                "type": "string"
              },
              "summary": {
                "type": "string"
              },
              "accessRole": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "INVALID"
                ]
              },
              "errorCode": {
                "nullable": true,
                "type": "string",
                "enum": [
                  "CALENDAR_READ_ONLY",
                  "CALENDAR_NOT_FOUND",
                  "GOOGLE_REVOKED",
                  "CALENDAR_RATE_LIMITED",
                  "CALENDAR_UNAVAILABLE"
                ]
              },
              "connectedByMe": {
                "type": "boolean"
              },
              "connectedBy": {
                "nullable": true,
                "type": "string"
              },
              "connectionEmail": {
                "type": "string"
              },
              "lastReconciledAt": {
                "nullable": true,
                "type": "string"
              }
            },
            "required": [
              "calendarId",
              "summary",
              "accessRole",
              "status",
              "errorCode",
              "connectedByMe",
              "connectedBy",
              "connectionEmail",
              "lastReconciledAt"
            ],
            "additionalProperties": false
          },
          "stats": {
            "type": "object",
            "properties": {
              "synced": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "pending": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "errors": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "synced",
              "pending",
              "errors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "configured",
          "connection",
          "link",
          "stats"
        ],
        "additionalProperties": false
      },
      "CategoryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "emoji": {
            "nullable": true,
            "type": "string"
          },
          "position": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "id",
          "name",
          "emoji",
          "position"
        ],
        "additionalProperties": false
      },
      "CategoryInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          },
          "emoji": {
            "nullable": true,
            "type": "string",
            "maxLength": 16
          }
        },
        "required": [
          "name"
        ]
      },
      "ChangePasswordInput": {
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string",
            "maxLength": 128
          },
          "newPassword": {
            "type": "string",
            "minLength": 10,
            "maxLength": 128
          }
        },
        "required": [
          "newPassword"
        ]
      },
      "ChecklistItemInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "text"
        ]
      },
      "ClientErrorInput": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "enum": [
              "web",
              "android"
            ]
          },
          "message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "stack": {
            "type": "string",
            "maxLength": 8000
          },
          "location": {
            "type": "string",
            "maxLength": 200
          },
          "release": {
            "type": "string",
            "maxLength": 40
          }
        },
        "required": [
          "source",
          "message"
        ]
      },
      "CommentDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "authorId": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "body": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "authorId",
          "body",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "CreateAbsenceInput": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": "string",
            "format": "uuid"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "memberId",
          "startDate",
          "endDate"
        ]
      },
      "CreateCommentInput": {
        "type": "object",
        "properties": {
          "body": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          }
        },
        "required": [
          "body"
        ]
      },
      "CreateHouseholdInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "timezone": {
            "default": "Europe/Brussels",
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "memberDisplayName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          }
        },
        "required": [
          "name"
        ]
      },
      "CreateInvitationInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        }
      },
      "CreateReportInput": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "BUG",
              "IDEA",
              "QUESTION",
              "OTHER"
            ]
          },
          "title": {
            "type": "string",
            "minLength": 3,
            "maxLength": 120
          },
          "description": {
            "type": "string",
            "minLength": 10,
            "maxLength": 5000
          },
          "allowContact": {
            "default": false,
            "type": "boolean"
          },
          "diagnostics": {
            "nullable": true,
            "type": "object",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "web",
                  "android"
                ]
              },
              "appVersion": {
                "nullable": true,
                "type": "string",
                "maxLength": 40
              },
              "os": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "device": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "browser": {
                "nullable": true,
                "type": "string",
                "maxLength": 300
              },
              "locale": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "timezone": {
                "nullable": true,
                "type": "string",
                "maxLength": 60
              },
              "screen": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "page": {
                "nullable": true,
                "type": "string",
                "maxLength": 200
              },
              "online": {
                "nullable": true,
                "type": "boolean"
              },
              "pendingChanges": {
                "nullable": true,
                "type": "integer",
                "minimum": 0,
                "maximum": 100000
              }
            },
            "required": [
              "platform"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "title",
          "description"
        ]
      },
      "CreateTaskInput": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "notes": {
            "nullable": true,
            "type": "string",
            "maxLength": 5000
          },
          "categoryId": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "priority": {
            "default": "NORMAL",
            "type": "string",
            "enum": [
              "LOW",
              "NORMAL",
              "HIGH",
              "URGENT"
            ]
          },
          "visibility": {
            "default": "SHARED",
            "type": "string",
            "enum": [
              "PERSONAL",
              "SHARED"
            ]
          },
          "assigneeIds": {
            "default": [],
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "date": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "dueDate": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "startMinute": {
            "nullable": true,
            "type": "integer",
            "minimum": 0,
            "maximum": 1439
          },
          "durationMinutes": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 1440
          },
          "recurrence": {
            "nullable": true,
            "type": "object",
            "properties": {
              "rule": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "DAILY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "weekdaysOnly": {
                        "default": false,
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "freq"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "WEEKLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 52
                      },
                      "byWeekday": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "MO",
                            "TU",
                            "WE",
                            "TH",
                            "FR",
                            "SA",
                            "SU"
                          ]
                        }
                      }
                    },
                    "required": [
                      "freq",
                      "byWeekday"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "MONTHLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 24
                      },
                      "byMonthDay": {
                        "type": "integer",
                        "minimum": -1,
                        "maximum": 31
                      }
                    },
                    "required": [
                      "freq",
                      "byMonthDay"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "YEARLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10
                      }
                    },
                    "required": [
                      "freq"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "AFTER"
                        ]
                      },
                      "interval": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "DAY",
                          "WEEK",
                          "MONTH"
                        ]
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "unit"
                    ]
                  }
                ]
              },
              "until": {
                "nullable": true,
                "type": "string",
                "format": "date"
              },
              "count": {
                "nullable": true,
                "type": "integer",
                "minimum": 1,
                "maximum": 1000
              },
              "rotation": {
                "default": {
                  "mode": "UNASSIGNED"
                },
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "UNASSIGNED"
                        ]
                      }
                    },
                    "required": [
                      "mode"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "FIXED"
                        ]
                      },
                      "memberIds": {
                        "minItems": 1,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "TOGETHER"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "ALTERNATE"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "SEQUENCE"
                        ]
                      },
                      "sequence": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "sequence"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "WEEKDAY"
                        ]
                      },
                      "days": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "weekday": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 6
                            },
                            "sequence": {
                              "minItems": 1,
                              "maxItems": 14,
                              "type": "array",
                              "items": {
                                "minItems": 1,
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              }
                            }
                          },
                          "required": [
                            "weekday",
                            "sequence"
                          ]
                        }
                      },
                      "fallback": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "days"
                    ]
                  }
                ]
              },
              "advance": {
                "default": "PER_OCCURRENCE",
                "type": "string",
                "enum": [
                  "PER_OCCURRENCE",
                  "PER_WEEK"
                ]
              }
            },
            "required": [
              "rule"
            ]
          },
          "syncToCalendar": {
            "default": false,
            "type": "boolean"
          },
          "checklist": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        },
        "required": [
          "title"
        ]
      },
      "DeleteAccountInput": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string",
            "maxLength": 128
          },
          "confirm": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "SUPPRIMER"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "DELETE"
                ]
              }
            ]
          }
        }
      },
      "ForgotPasswordInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ]
      },
      "HouseholdDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "members": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "userId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "displayName": {
                  "type": "string"
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "OWNER",
                    "MEMBER"
                  ]
                },
                "color": {
                  "type": "string",
                  "enum": [
                    "sage",
                    "ocean",
                    "amber",
                    "plum",
                    "clay",
                    "slate"
                  ]
                },
                "absentUntil": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "userId",
                "displayName",
                "role",
                "color"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "name",
          "timezone",
          "members"
        ],
        "additionalProperties": false
      },
      "InboundEmailSettingsDto": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "address": {
            "nullable": true,
            "type": "string"
          },
          "acknowledge": {
            "type": "boolean"
          }
        },
        "required": [
          "available",
          "address",
          "acknowledge"
        ],
        "additionalProperties": false
      },
      "InboundEmailSettingsInput": {
        "type": "object",
        "properties": {
          "acknowledge": {
            "type": "boolean"
          }
        },
        "required": [
          "acknowledge"
        ]
      },
      "LinkCalendarInput": {
        "type": "object",
        "properties": {
          "calendarId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          }
        },
        "required": [
          "calendarId"
        ]
      },
      "LoginInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          }
        },
        "required": [
          "email",
          "password"
        ]
      },
      "MarkReadInput": {
        "type": "object",
        "properties": {
          "ids": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "MeResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "locale": {
            "type": "string",
            "enum": [
              "fr",
              "en"
            ]
          },
          "hasPassword": {
            "type": "boolean"
          },
          "googleLinked": {
            "type": "boolean"
          },
          "isAdmin": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "email",
          "displayName",
          "locale",
          "hasPassword",
          "googleLinked"
        ],
        "additionalProperties": false
      },
      "MobileExchangeInput": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "minLength": 20,
            "maxLength": 200
          },
          "codeVerifier": {
            "type": "string",
            "pattern": "^[A-Za-z0-9._~-]{43,128}$"
          }
        },
        "required": [
          "code",
          "codeVerifier"
        ]
      },
      "NotificationListDto": {
        "type": "object",
        "properties": {
          "unread": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "TASK_ASSIGNED",
                    "CALENDAR_SYNC_FAILED",
                    "TASK_COMMENT"
                  ]
                },
                "createdAt": {
                  "type": "string"
                },
                "readAt": {
                  "nullable": true,
                  "type": "string"
                },
                "push": {
                  "type": "boolean"
                },
                "occurrenceId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "title": {
                  "nullable": true,
                  "type": "string"
                },
                "date": {
                  "nullable": true,
                  "type": "string"
                },
                "recurring": {
                  "type": "boolean"
                },
                "byName": {
                  "nullable": true,
                  "type": "string"
                },
                "code": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "type",
                "createdAt",
                "readAt",
                "push",
                "occurrenceId",
                "title",
                "date",
                "recurring",
                "byName",
                "code"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "unread",
          "items"
        ],
        "additionalProperties": false
      },
      "NotificationPreferenceDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "TASK_ASSIGNED",
              "CALENDAR_SYNC_FAILED",
              "TASK_COMMENT"
            ]
          },
          "inApp": {
            "type": "boolean"
          },
          "push": {
            "type": "boolean"
          }
        },
        "required": [
          "type",
          "inApp",
          "push"
        ],
        "additionalProperties": false
      },
      "OccurrenceDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "taskId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "emoji": {
                "nullable": true,
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "emoji"
            ],
            "additionalProperties": false
          },
          "priority": {
            "type": "string",
            "enum": [
              "LOW",
              "NORMAL",
              "HIGH",
              "URGENT"
            ]
          },
          "visibility": {
            "type": "string",
            "enum": [
              "PERSONAL",
              "SHARED"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "TODO",
              "DONE",
              "SKIPPED",
              "CANCELLED"
            ]
          },
          "date": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "dueDate": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "startMinute": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "durationMinutes": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "assigneeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "createdById": {
            "type": "string",
            "format": "uuid"
          },
          "isRecurring": {
            "type": "boolean"
          },
          "seriesId": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "syncToCalendar": {
            "type": "boolean"
          },
          "calendarSync": {
            "nullable": true,
            "type": "string",
            "enum": [
              "SYNCED",
              "PENDING",
              "ERROR",
              "BLOCKED"
            ]
          },
          "isException": {
            "type": "boolean"
          },
          "completedAt": {
            "nullable": true,
            "type": "string"
          },
          "completedById": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "version": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "checklist": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "text": {
                  "type": "string"
                },
                "done": {
                  "type": "boolean"
                },
                "doneById": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "id",
                "text",
                "done",
                "doneById"
              ],
              "additionalProperties": false
            }
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "filename": {
                  "type": "string"
                },
                "contentType": {
                  "type": "string"
                },
                "size": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "id",
                "filename",
                "contentType",
                "size"
              ],
              "additionalProperties": false
            }
          },
          "lastDone": {
            "nullable": true,
            "type": "object",
            "properties": {
              "at": {
                "type": "string"
              },
              "memberId": {
                "nullable": true,
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "at",
              "memberId"
            ],
            "additionalProperties": false
          },
          "commentCount": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "id",
          "taskId",
          "title",
          "notes",
          "category",
          "priority",
          "visibility",
          "status",
          "date",
          "dueDate",
          "startMinute",
          "durationMinutes",
          "assigneeIds",
          "createdById",
          "isRecurring",
          "seriesId",
          "syncToCalendar",
          "calendarSync",
          "isException",
          "completedAt",
          "completedById",
          "version",
          "checklist",
          "attachments"
        ],
        "additionalProperties": false
      },
      "PushStatusDto": {
        "type": "object",
        "properties": {
          "serverEnabled": {
            "type": "boolean"
          },
          "serverIssue": {
            "nullable": true,
            "type": "string",
            "enum": [
              "NOT_CONFIGURED",
              "INVALID_CONFIG"
            ]
          },
          "devices": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "lastRegisteredAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "serverEnabled",
          "serverIssue",
          "devices",
          "lastRegisteredAt"
        ],
        "additionalProperties": false
      },
      "PushTokenInput": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "minLength": 10,
            "maxLength": 4096
          },
          "platform": {
            "default": "android",
            "type": "string",
            "enum": [
              "android"
            ]
          }
        },
        "required": [
          "token"
        ]
      },
      "QuickAddInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          }
        },
        "required": [
          "text"
        ]
      },
      "QuickAddPreview": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "dueDate": {
            "type": "string",
            "format": "date"
          },
          "startMinute": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "durationMinutes": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "assigneeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "categoryId": {
            "type": "string",
            "format": "uuid"
          },
          "priority": {
            "type": "string",
            "enum": [
              "LOW",
              "NORMAL",
              "HIGH",
              "URGENT"
            ]
          },
          "tokens": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "text"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "title",
          "tokens"
        ],
        "additionalProperties": false
      },
      "RecurrencePreviewInput": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "recurrence": {
            "type": "object",
            "properties": {
              "rule": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "DAILY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "weekdaysOnly": {
                        "default": false,
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "weekdaysOnly"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "WEEKLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 52
                      },
                      "byWeekday": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "MO",
                            "TU",
                            "WE",
                            "TH",
                            "FR",
                            "SA",
                            "SU"
                          ]
                        }
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "byWeekday"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "MONTHLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 24
                      },
                      "byMonthDay": {
                        "type": "integer",
                        "minimum": -1,
                        "maximum": 31
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "byMonthDay"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "YEARLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10
                      }
                    },
                    "required": [
                      "freq",
                      "interval"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "AFTER"
                        ]
                      },
                      "interval": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "DAY",
                          "WEEK",
                          "MONTH"
                        ]
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "unit"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "until": {
                "nullable": true,
                "type": "string",
                "format": "date"
              },
              "count": {
                "nullable": true,
                "type": "integer",
                "minimum": 1,
                "maximum": 1000
              },
              "rotation": {
                "default": {
                  "mode": "UNASSIGNED"
                },
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "UNASSIGNED"
                        ]
                      }
                    },
                    "required": [
                      "mode"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "FIXED"
                        ]
                      },
                      "memberIds": {
                        "minItems": 1,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "TOGETHER"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "ALTERNATE"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "SEQUENCE"
                        ]
                      },
                      "sequence": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "sequence"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "WEEKDAY"
                        ]
                      },
                      "days": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "weekday": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 6
                            },
                            "sequence": {
                              "minItems": 1,
                              "maxItems": 14,
                              "type": "array",
                              "items": {
                                "minItems": 1,
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              }
                            }
                          },
                          "required": [
                            "weekday",
                            "sequence"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "fallback": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "days"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "advance": {
                "default": "PER_OCCURRENCE",
                "type": "string",
                "enum": [
                  "PER_OCCURRENCE",
                  "PER_WEEK"
                ]
              }
            },
            "required": [
              "rule",
              "rotation",
              "advance"
            ],
            "additionalProperties": false
          },
          "limit": {
            "default": 6,
            "type": "integer",
            "minimum": 1,
            "maximum": 20
          }
        },
        "required": [
          "startDate",
          "recurrence",
          "limit"
        ],
        "additionalProperties": false
      },
      "RecurrencePreviewItem": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "assigneeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "required": [
          "date",
          "assigneeIds"
        ],
        "additionalProperties": false
      },
      "RefreshInput": {
        "type": "object",
        "properties": {
          "refreshToken": {
            "type": "string",
            "minLength": 20,
            "maxLength": 200
          }
        }
      },
      "RegisterInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string",
            "minLength": 10,
            "maxLength": 128
          },
          "displayName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 60
          },
          "locale": {
            "default": "fr",
            "type": "string",
            "enum": [
              "fr",
              "en"
            ]
          }
        },
        "required": [
          "email",
          "password",
          "displayName"
        ]
      },
      "ReportDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "enum": [
              "BUG",
              "IDEA",
              "QUESTION",
              "OTHER"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "IN_PROGRESS",
              "RESOLVED",
              "CLOSED"
            ]
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allowContact": {
            "type": "boolean"
          },
          "diagnostics": {
            "nullable": true,
            "type": "object",
            "properties": {
              "platform": {
                "type": "string",
                "enum": [
                  "web",
                  "android"
                ]
              },
              "appVersion": {
                "nullable": true,
                "type": "string",
                "maxLength": 40
              },
              "os": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "device": {
                "nullable": true,
                "type": "string",
                "maxLength": 80
              },
              "browser": {
                "nullable": true,
                "type": "string",
                "maxLength": 300
              },
              "locale": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "timezone": {
                "nullable": true,
                "type": "string",
                "maxLength": 60
              },
              "screen": {
                "nullable": true,
                "type": "string",
                "maxLength": 20
              },
              "page": {
                "nullable": true,
                "type": "string",
                "maxLength": 200
              },
              "online": {
                "nullable": true,
                "type": "boolean"
              },
              "pendingChanges": {
                "nullable": true,
                "type": "integer",
                "minimum": 0,
                "maximum": 100000
              }
            },
            "required": [
              "platform"
            ],
            "additionalProperties": false
          },
          "hasScreenshot": {
            "type": "boolean"
          },
          "reply": {
            "nullable": true,
            "type": "string"
          },
          "repliedAt": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "title",
          "description",
          "allowContact",
          "diagnostics",
          "hasScreenshot",
          "reply",
          "repliedAt",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "ResetPasswordInput": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "minLength": 20,
            "maxLength": 200
          },
          "password": {
            "type": "string",
            "minLength": 10,
            "maxLength": 128
          }
        },
        "required": [
          "token",
          "password"
        ]
      },
      "SeriesDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "taskId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "rule": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "freq": {
                    "type": "string",
                    "enum": [
                      "DAILY"
                    ]
                  },
                  "interval": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 365
                  },
                  "weekdaysOnly": {
                    "default": false,
                    "type": "boolean"
                  }
                },
                "required": [
                  "freq",
                  "interval",
                  "weekdaysOnly"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "freq": {
                    "type": "string",
                    "enum": [
                      "WEEKLY"
                    ]
                  },
                  "interval": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 52
                  },
                  "byWeekday": {
                    "minItems": 1,
                    "maxItems": 7,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "MO",
                        "TU",
                        "WE",
                        "TH",
                        "FR",
                        "SA",
                        "SU"
                      ]
                    }
                  }
                },
                "required": [
                  "freq",
                  "interval",
                  "byWeekday"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "freq": {
                    "type": "string",
                    "enum": [
                      "MONTHLY"
                    ]
                  },
                  "interval": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 24
                  },
                  "byMonthDay": {
                    "type": "integer",
                    "minimum": -1,
                    "maximum": 31
                  }
                },
                "required": [
                  "freq",
                  "interval",
                  "byMonthDay"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "freq": {
                    "type": "string",
                    "enum": [
                      "YEARLY"
                    ]
                  },
                  "interval": {
                    "default": 1,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 10
                  }
                },
                "required": [
                  "freq",
                  "interval"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "freq": {
                    "type": "string",
                    "enum": [
                      "AFTER"
                    ]
                  },
                  "interval": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 365
                  },
                  "unit": {
                    "type": "string",
                    "enum": [
                      "DAY",
                      "WEEK",
                      "MONTH"
                    ]
                  }
                },
                "required": [
                  "freq",
                  "interval",
                  "unit"
                ],
                "additionalProperties": false
              }
            ]
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "untilDate": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "count": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "startMinute": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "durationMinutes": {
            "nullable": true,
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "rotation": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "UNASSIGNED"
                    ]
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "FIXED"
                    ]
                  },
                  "memberIds": {
                    "minItems": 1,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                },
                "required": [
                  "mode",
                  "memberIds"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "TOGETHER"
                    ]
                  },
                  "memberIds": {
                    "minItems": 2,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                },
                "required": [
                  "mode",
                  "memberIds"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "ALTERNATE"
                    ]
                  },
                  "memberIds": {
                    "minItems": 2,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                },
                "required": [
                  "mode",
                  "memberIds"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "SEQUENCE"
                    ]
                  },
                  "sequence": {
                    "minItems": 1,
                    "maxItems": 14,
                    "type": "array",
                    "items": {
                      "minItems": 1,
                      "maxItems": 20,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      }
                    }
                  }
                },
                "required": [
                  "mode",
                  "sequence"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "WEEKDAY"
                    ]
                  },
                  "days": {
                    "minItems": 1,
                    "maxItems": 7,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "weekday": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 6
                        },
                        "sequence": {
                          "minItems": 1,
                          "maxItems": 14,
                          "type": "array",
                          "items": {
                            "minItems": 1,
                            "maxItems": 20,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        }
                      },
                      "required": [
                        "weekday",
                        "sequence"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "fallback": {
                    "minItems": 1,
                    "maxItems": 14,
                    "type": "array",
                    "items": {
                      "minItems": 1,
                      "maxItems": 20,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      }
                    }
                  }
                },
                "required": [
                  "mode",
                  "days"
                ],
                "additionalProperties": false
              }
            ]
          },
          "advance": {
            "type": "string",
            "enum": [
              "PER_OCCURRENCE",
              "PER_WEEK"
            ]
          },
          "category": {
            "nullable": true,
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "emoji": {
                "nullable": true,
                "type": "string"
              }
            },
            "required": [
              "id",
              "name",
              "emoji"
            ],
            "additionalProperties": false
          },
          "visibility": {
            "type": "string",
            "enum": [
              "PERSONAL",
              "SHARED"
            ]
          },
          "nextDate": {
            "nullable": true,
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "id",
          "taskId",
          "title",
          "rule",
          "startDate",
          "untilDate",
          "count",
          "startMinute",
          "durationMinutes",
          "rotation",
          "advance",
          "category",
          "visibility",
          "nextDate"
        ],
        "additionalProperties": false
      },
      "SeriesHistoryDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "occurrenceId": {
                  "type": "string",
                  "format": "uuid"
                },
                "date": {
                  "nullable": true,
                  "type": "string",
                  "format": "date"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "DONE",
                    "SKIPPED",
                    "TODO"
                  ]
                },
                "completedAt": {
                  "nullable": true,
                  "type": "string"
                },
                "completedById": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "assigneeIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  }
                }
              },
              "required": [
                "occurrenceId",
                "date",
                "status",
                "completedAt",
                "completedById",
                "assigneeIds"
              ],
              "additionalProperties": false
            }
          },
          "doneBy": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "memberId": {
                  "type": "string",
                  "format": "uuid"
                },
                "count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "memberId",
                "count"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "items",
          "doneBy"
        ],
        "additionalProperties": false
      },
      "ShoppingItemDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "text": {
            "type": "string"
          },
          "quantity": {
            "nullable": true,
            "type": "string"
          },
          "aisle": {
            "type": "string",
            "enum": [
              "PRODUCE",
              "BAKERY",
              "DAIRY",
              "MEAT_FISH",
              "FROZEN",
              "PANTRY",
              "DRINKS",
              "HOUSEHOLD",
              "HYGIENE",
              "OTHER"
            ]
          },
          "done": {
            "type": "boolean"
          },
          "createdById": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "doneById": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string"
          },
          "doneAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "text",
          "done",
          "createdById",
          "doneById",
          "createdAt",
          "doneAt"
        ],
        "additionalProperties": false
      },
      "ShoppingItemInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "quantity": {
            "nullable": true,
            "type": "string",
            "maxLength": 40
          },
          "aisle": {
            "type": "string",
            "enum": [
              "PRODUCE",
              "BAKERY",
              "DAIRY",
              "MEAT_FISH",
              "FROZEN",
              "PANTRY",
              "DRINKS",
              "HOUSEHOLD",
              "HYGIENE",
              "OTHER"
            ]
          }
        },
        "required": [
          "text"
        ]
      },
      "ShoppingSuggestionDto": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "aisle": {
            "type": "string",
            "enum": [
              "PRODUCE",
              "BAKERY",
              "DAIRY",
              "MEAT_FISH",
              "FROZEN",
              "PANTRY",
              "DRINKS",
              "HOUSEHOLD",
              "HYGIENE",
              "OTHER"
            ]
          },
          "timesBought": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "text",
          "aisle",
          "timesBought"
        ],
        "additionalProperties": false
      },
      "StatsDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "days": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "done": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "doneMinutes": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "doneLate": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "overdue": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "perDay": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date"
                },
                "done": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "date",
                "done"
              ],
              "additionalProperties": false
            }
          },
          "byCategory": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "done": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "minutes": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "categoryId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "name": {
                  "nullable": true,
                  "type": "string"
                },
                "emoji": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "done",
                "minutes",
                "categoryId",
                "name",
                "emoji"
              ],
              "additionalProperties": false
            }
          },
          "byMember": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "done": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "minutes": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "memberId": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "required": [
                "done",
                "minutes",
                "memberId"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "from",
          "to",
          "days",
          "done",
          "doneMinutes",
          "doneLate",
          "overdue",
          "perDay",
          "byCategory",
          "byMember"
        ],
        "additionalProperties": false
      },
      "StatusPageDto": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "operational",
              "degraded",
              "down",
              "unknown"
            ]
          },
          "updatedAt": {
            "type": "string"
          },
          "components": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "enum": [
                    "api",
                    "database",
                    "redis",
                    "calendar",
                    "email",
                    "backups"
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "operational",
                    "degraded",
                    "down",
                    "unknown"
                  ]
                },
                "latencyMs": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "uptime90": {
                  "nullable": true,
                  "type": "number"
                },
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string"
                      },
                      "uptime": {
                        "nullable": true,
                        "type": "number"
                      }
                    },
                    "required": [
                      "date",
                      "uptime"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "key",
                "status",
                "latencyMs",
                "uptime90",
                "days"
              ],
              "additionalProperties": false
            }
          },
          "incidents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "component": {
                  "type": "string",
                  "enum": [
                    "api",
                    "database",
                    "redis",
                    "calendar",
                    "email",
                    "backups"
                  ]
                },
                "startedAt": {
                  "type": "string"
                },
                "resolvedAt": {
                  "nullable": true,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "component",
                "startedAt",
                "resolvedAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "status",
          "updatedAt",
          "components",
          "incidents"
        ],
        "additionalProperties": false
      },
      "TaskTemplateDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "emoji": {
            "nullable": true,
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "categoryId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "assigneeIds": {
                  "default": [],
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "startMinute": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1439
                },
                "durationMinutes": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1440
                },
                "checklist": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  }
                }
              },
              "required": [
                "title",
                "assigneeIds"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "name",
          "emoji",
          "items"
        ],
        "additionalProperties": false
      },
      "TemplateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "emoji": {
            "nullable": true,
            "type": "string",
            "maxLength": 8
          },
          "items": {
            "minItems": 1,
            "maxItems": 30,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "categoryId": {
                  "nullable": true,
                  "type": "string",
                  "format": "uuid"
                },
                "assigneeIds": {
                  "default": [],
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "startMinute": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1439
                },
                "durationMinutes": {
                  "nullable": true,
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1440
                },
                "checklist": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  }
                }
              },
              "required": [
                "title"
              ]
            }
          }
        },
        "required": [
          "name",
          "items"
        ]
      },
      "TrashItemDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string",
            "enum": [
              "task",
              "occurrence",
              "following"
            ]
          },
          "title": {
            "type": "string"
          },
          "date": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "deletedAt": {
            "type": "string"
          },
          "deletedById": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "purgeAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "title",
          "date",
          "deletedAt",
          "deletedById",
          "purgeAt"
        ],
        "additionalProperties": false
      },
      "UpdateCategoryInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          },
          "emoji": {
            "nullable": true,
            "type": "string",
            "maxLength": 16
          },
          "position": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        }
      },
      "UpdateChecklistItemInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "done": {
            "type": "boolean"
          }
        }
      },
      "UpdateOccurrenceInput": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "notes": {
            "nullable": true,
            "type": "string",
            "maxLength": 5000
          },
          "categoryId": {
            "nullable": true,
            "type": "string",
            "format": "uuid"
          },
          "priority": {
            "type": "string",
            "enum": [
              "LOW",
              "NORMAL",
              "HIGH",
              "URGENT"
            ]
          },
          "visibility": {
            "type": "string",
            "enum": [
              "PERSONAL",
              "SHARED"
            ]
          },
          "assigneeIds": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "date": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "dueDate": {
            "nullable": true,
            "type": "string",
            "format": "date"
          },
          "startMinute": {
            "nullable": true,
            "type": "integer",
            "minimum": 0,
            "maximum": 1439
          },
          "durationMinutes": {
            "nullable": true,
            "type": "integer",
            "minimum": 1,
            "maximum": 1440
          },
          "recurrence": {
            "nullable": true,
            "type": "object",
            "properties": {
              "rule": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "DAILY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "weekdaysOnly": {
                        "default": false,
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "freq"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "WEEKLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 52
                      },
                      "byWeekday": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "MO",
                            "TU",
                            "WE",
                            "TH",
                            "FR",
                            "SA",
                            "SU"
                          ]
                        }
                      }
                    },
                    "required": [
                      "freq",
                      "byWeekday"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "MONTHLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 24
                      },
                      "byMonthDay": {
                        "type": "integer",
                        "minimum": -1,
                        "maximum": 31
                      }
                    },
                    "required": [
                      "freq",
                      "byMonthDay"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "YEARLY"
                        ]
                      },
                      "interval": {
                        "default": 1,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 10
                      }
                    },
                    "required": [
                      "freq"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "freq": {
                        "type": "string",
                        "enum": [
                          "AFTER"
                        ]
                      },
                      "interval": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "unit": {
                        "type": "string",
                        "enum": [
                          "DAY",
                          "WEEK",
                          "MONTH"
                        ]
                      }
                    },
                    "required": [
                      "freq",
                      "interval",
                      "unit"
                    ]
                  }
                ]
              },
              "until": {
                "nullable": true,
                "type": "string",
                "format": "date"
              },
              "count": {
                "nullable": true,
                "type": "integer",
                "minimum": 1,
                "maximum": 1000
              },
              "rotation": {
                "default": {
                  "mode": "UNASSIGNED"
                },
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "UNASSIGNED"
                        ]
                      }
                    },
                    "required": [
                      "mode"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "FIXED"
                        ]
                      },
                      "memberIds": {
                        "minItems": 1,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "TOGETHER"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "ALTERNATE"
                        ]
                      },
                      "memberIds": {
                        "minItems": 2,
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid"
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "memberIds"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "SEQUENCE"
                        ]
                      },
                      "sequence": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "sequence"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "mode": {
                        "type": "string",
                        "enum": [
                          "WEEKDAY"
                        ]
                      },
                      "days": {
                        "minItems": 1,
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "weekday": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 6
                            },
                            "sequence": {
                              "minItems": 1,
                              "maxItems": 14,
                              "type": "array",
                              "items": {
                                "minItems": 1,
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid"
                                }
                              }
                            }
                          },
                          "required": [
                            "weekday",
                            "sequence"
                          ]
                        }
                      },
                      "fallback": {
                        "minItems": 1,
                        "maxItems": 14,
                        "type": "array",
                        "items": {
                          "minItems": 1,
                          "maxItems": 20,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "required": [
                      "mode",
                      "days"
                    ]
                  }
                ]
              },
              "advance": {
                "default": "PER_OCCURRENCE",
                "type": "string",
                "enum": [
                  "PER_OCCURRENCE",
                  "PER_WEEK"
                ]
              }
            },
            "required": [
              "rule"
            ]
          },
          "syncToCalendar": {
            "type": "boolean"
          },
          "version": {
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "version"
        ]
      },
      "UpdatePreferencesInput": {
        "type": "object",
        "properties": {
          "preferences": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "TASK_ASSIGNED",
                    "CALENDAR_SYNC_FAILED",
                    "TASK_COMMENT"
                  ]
                },
                "inApp": {
                  "type": "boolean"
                },
                "push": {
                  "type": "boolean"
                }
              },
              "required": [
                "type",
                "inApp",
                "push"
              ]
            }
          }
        },
        "required": [
          "preferences"
        ]
      },
      "UpdateShoppingItemInput": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "done": {
            "type": "boolean"
          },
          "quantity": {
            "nullable": true,
            "type": "string",
            "maxLength": 40
          },
          "aisle": {
            "type": "string",
            "enum": [
              "PRODUCE",
              "BAKERY",
              "DAIRY",
              "MEAT_FISH",
              "FROZEN",
              "PANTRY",
              "DRINKS",
              "HOUSEHOLD",
              "HYGIENE",
              "OTHER"
            ]
          }
        }
      },
      "WebPushKeyDto": {
        "type": "object",
        "properties": {
          "publicKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "publicKey"
        ],
        "additionalProperties": false
      },
      "WebPushSubscriptionInput": {
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri"
          },
          "keys": {
            "type": "object",
            "properties": {
              "p256dh": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "auth": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100
              }
            },
            "required": [
              "p256dh",
              "auth"
            ]
          }
        },
        "required": [
          "endpoint",
          "keys"
        ]
      },
      "WebPushUnsubscribeInput": {
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "string",
            "maxLength": 2048
          }
        },
        "required": [
          "endpoint"
        ]
      }
    }
  }
}
