openapi: 3.0.3
info: { title: LGPD/DSR, version: 1.0.0 }
paths:
  /LGPD/export:
    post: { summary: Exporta dados pessoais do usuário atual, responses: { '200': { description: ok } } }
  /LGPD/rectify:
    post:
      summary: Retifica dado pessoal (ex. email)
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required: [user_id, email]
              properties:
                user_id: { type: integer }
                email: { type: string, format: email }
      responses: { '200': { description: ok } }
  /LGPD/anonymize:
    post:
      summary: Solicita anonimização (processo offline)
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required: [user_id]
              properties:
                user_id: { type: integer }
      responses: { '200': { description: ok } }
  /LGPD/delete:
    post:
      summary: Solicita exclusão lógica (processo offline)
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required: [user_id]
              properties:
                user_id: { type: integer }
      responses: { '200': { description: ok } }
