Skip to content

Comments

Fix/Updated export topic new code examples#318

Merged
clairekinde11 merged 4 commits intomainfrom
Fix/Export-data-update
Jan 21, 2025
Merged

Fix/Updated export topic new code examples#318
clairekinde11 merged 4 commits intomainfrom
Fix/Export-data-update

Conversation

@clairekinde11
Copy link
Contributor

@clairekinde11 clairekinde11 commented Jan 17, 2025

Updates as per David's fix

Summary by CodeRabbit

  • New Features

    • Updated data export format to NDJSON for improved efficiency.
    • Introduced detailed JSON schemas for user and organization data exports.
  • Improvements

    • Enhanced data export structure with more comprehensive user and organization information.
    • Added support for nullable fields in user data.
    • Improved data export security and organization.
  • Changes

    • Separated user and organization data into distinct export files.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 17, 2025

Walkthrough

The pull request introduces significant updates to the data export process for users and organizations. The export format has been changed from JSON to NDJSON, allowing for separate files for users and organizations. New JSON schemas have been defined for both user and organization data, enhancing structure and including additional properties. The schemas now allow for null values in certain fields and provide a clearer, standardized format for exporting organizational data. These changes improve the organization and clarity of the exported data.

Changes

File Change Summary
src/content/docs/manage-your-account/your-data/exporting-data.mdx - Updated export format from JSON to NDJSON
- Added detailed JSON schema for user data
- Added JSON schema for organization data
- Updated properties in user schema to allow null values for email and first_name
- Restructured password field to include hashing properties

Possibly related PRs

  • Fix/update to verifying user identity via import #225: This PR discusses updates to the JSON schema for user data during bulk imports, which aligns with the changes made in the main PR regarding the JSON schema for user data, including properties like email, first_name, and email_verified.
  • Fix/Create update-billing-details.mdx #280: Although primarily about billing details, this PR introduces a new document that could relate to user account management, which is a broader context of the main PR's focus on user data export and organization.

Suggested reviewers

  • DaveOrDead

Poem

🐰 Data flows like a river's might,
NDJSON sparkling, schemas bright
Users and orgs, now clearly defined
Export magic, perfectly aligned!
A rabbit's dance of data delight 🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@clairekinde11 clairekinde11 marked this pull request as ready for review January 17, 2025 03:08
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 17, 2025

Deploying kinde-docs-previews with  Cloudflare Pages  Cloudflare Pages

Latest commit: 83cbdf8
Status: ✅  Deploy successful!
Preview URL: https://cfb3a2fd.kinde-docs-previews.pages.dev
Branch Preview URL: https://fix-export-data-update.kinde-docs-previews.pages.dev

View logs

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (5)

97-97: Fix typo in format description

There's a typo in the text: "fils" should be "files".

-Data is exported in NDJSON format, with separate data fils for users and organizations.
+Data is exported in NDJSON format, with separate data files for users and organizations.

115-118: Consider adding phone number format validation

The phone field could benefit from a format pattern to ensure consistent phone number formatting across exports.

   "phone": {
     "type": ["string", "null"],
+    "pattern": "^\\+?[1-9]\\d{1,14}$",
     "description": "Phone number of the user, if available"
   },

141-144: Consider restricting identity types to known values

To ensure consistency, consider adding an enum for allowed identity types.

   "type": {
     "type": "string",
+    "enum": ["email", "phone", "username", "oauth"],
     "description": "Type of identity (e.g., email)"
   },

199-206: Consider adding format validation for business and organization codes

To ensure consistent code formats across exports, consider adding pattern validation for business and organization codes.

   "business_code": {
     "type": "string",
+    "pattern": "^[A-Z0-9]{1,32}$",
     "description": "Code representing the associated business"
   },
   "organization_code": {
     "type": "string",
+    "pattern": "^[A-Z0-9]{1,32}$",
     "description": "Code representing the organization"
   }

99-181: Add example NDJSON records

While the schema definitions are comprehensive, it would be helpful to include example NDJSON records to show what the actual exported data looks like. Consider adding examples like:

 Here's an example of `users.ndjson`.
+
+```text
+{"id":"usr_123","email":"john@example.com","created_on":"2024-01-20T10:30:00Z","identities":[{"type":"email","identity":"john@example.com"}],"business_code":"BIZ123","organizations":["org_456"],"email_verified":true}
+{"id":"usr_456","email":"jane@example.com","created_on":"2024-01-21T14:20:00Z","identities":[{"type":"email","identity":"jane@example.com"}],"business_code":"BIZ123","organizations":["org_789"],"email_verified":false}
+```
+
+The schema for this data is defined as:
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 18312ed and d2ccf54.

📒 Files selected for processing (1)
  • src/content/docs/manage-your-account/your-data/exporting-data.mdx (1 hunks)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (2)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (2)

97-97: Fix typo in the export format description.

There's a typo in the word "fils" which should be "files".

-Data is exported in NDJSON format, with separate data fils for users and organizations.
+Data is exported in NDJSON format, with separate data files for users and organizations.

181-181: Enhance schema documentation for hashing configuration.

The hashing_config property is currently defined as a generic object. Consider providing more specific schema details about the expected properties and their formats to help implementers.

-        "hashing_config": { "type": "object" },
+        "hashing_config": {
+          "type": "object",
+          "description": "Configuration for password hashing",
+          "properties": {
+            "rounds": {
+              "type": "integer",
+              "description": "Number of rounds used in the hashing algorithm"
+            },
+            "salt": {
+              "type": "string",
+              "description": "Salt used in password hashing"
+            }
+          }
+        },
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d2ccf54 and c8b6b90.

📒 Files selected for processing (1)
  • src/content/docs/manage-your-account/your-data/exporting-data.mdx (1 hunks)
🔇 Additional comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

195-218: Organization schema looks good!

The organization schema is well-structured with clear property descriptions and appropriate required fields.

Comment on lines 178 to 186
"password": {
"type": "object",
"properties": {
"hashing_config": { "type": "object" },
"hashed_password": { "type": "string" },
"hashing_algorithm": { "type": ["string", "null"] }
},
"required": ["hashing_config", "hashed_password"]
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix JSON schema structure for the password object.

The password object is incorrectly aligned. It should be inside the properties object, at the same level as other properties.

  "properties": {
    "id": { ... },
    ...
    "email_verified": {
      "type": "boolean",
      "description": "Indicates if the email address is verified"
    },
+   "password": {
+     "type": "object",
+     "properties": {
+       "hashing_config": { "type": "object" },
+       "hashed_password": { "type": "string" },
+       "hashing_algorithm": { "type": ["string", "null"] }
+     },
+     "required": ["hashing_config", "hashed_password"]
+   }
  },
- "password": {
-     "type": "object",
-     "properties": {
-       "hashing_config": { "type": "object" },
-       "hashed_password": { "type": "string" },
-       "hashing_algorithm": { "type": ["string", "null"] }
-     },
-     "required": ["hashing_config", "hashed_password"]
-   },
  "required": [ ... ]

Committable suggestion skipped: line range outside the PR's diff.

Comment on lines 103 to 218
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the object"
},
"email": {
"type": ["string", "null"],
"format": "email",
"description": "Email address of the user"
},
"phone": {
"type": ["string", "null"],
"description": "Phone number of the user, if available"
},
"username": {
"type": ["string", "null"],
"description": "Username of the user, if available"
},
"last_name": {
"type": ["string", "null"],
"description": "Last name of the user, if available"
},
"created_on": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the user was created"
},
"first_name": {
"type": ["string", "null"],
"description": "First name of the user, if available"
},
"identities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Type of identity (e.g., email)"
},
"identity": {
"type": "string",
"description": "Identity value (e.g., email address)"
},
"provider": {
"type": ["string", "null"],
"description": "Provider associated with the identity, if any"
}
},
"required": ["type", "identity"]
},
"description": "List of identities associated with the user"
},
"external_id": {
"type": ["string", "null"],
"description": "External identifier for the user, if available"
},
"business_code": {
"type": "string",
"description": "Code representing the associated business"
},
"organizations": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of organizations the user belongs to"
},
"email_verified": {
"type": "boolean",
"description": "Indicates if the email address is verified"
}
},
"password": {
"type": "object",
"properties": {
"hashing_config": { "type": "object" },
"hashed_password": { "type": "string" },
"hashing_algorithm": { "type": ["string", "null"] }
},
"required": ["hashing_config", "hashed_password"]
},
"required": ["id", "email", "created_on", "identities", "business_code", "organizations", "email_verified"],
"additionalProperties": false
}
```

Here's an example of `organizations.ndjson`.

```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the organization"
},
"created_on": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the organization was created"
},
"business_code": {
"type": "string",
"description": "Code representing the associated business"
},
"organization_code": {
"type": "string",
"description": "Code representing the organization"
}
},
"required": ["name", "created_on", "business_code", "organization_code"],
"additionalProperties": false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Fix JSON Schema structural issues

The schemas have the following structural problems:

  • User schema: The password object should be moved inside the properties object
  • Organization schema: Missing closing brace } at the end of the schema
🔗 Analysis chain

Verify JSON Schema validity.

Please ensure that both schemas are valid according to JSON Schema Draft-07 specification.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Validate JSON schemas against Draft-07 specification

# Create a temporary file with the user schema
echo '{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {"type": "string"}
  }
}' > temp_schema.json

# Validate schemas using ajv-cli if available
if command -v ajv &> /dev/null; then
    echo "Validating user schema..."
    ajv validate -s http://json-schema.org/draft-07/schema -d temp_schema.json
else
    echo "Schema validation skipped: ajv-cli not available"
fi

# Clean up
rm temp_schema.json

Length of output: 285


Script:

#!/bin/bash
# Create temporary files with the schemas
cat << 'EOF' > user_schema.json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the object"
    },
    "email": {
      "type": ["string", "null"],
      "format": "email",
      "description": "Email address of the user"
    },
    "phone": {
      "type": ["string", "null"],
      "description": "Phone number of the user, if available"
    },
    "username": {
      "type": ["string", "null"],
      "description": "Username of the user, if available"
    },
    "last_name": {
      "type": ["string", "null"],
      "description": "Last name of the user, if available"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the user was created"
    },
    "first_name": {
      "type": ["string", "null"],
      "description": "First name of the user, if available"
    },
    "identities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of identity (e.g., email)"
          },
          "identity": {
            "type": "string",
            "description": "Identity value (e.g., email address)"
          },
          "provider": {
            "type": ["string", "null"],
            "description": "Provider associated with the identity, if any"
          }
        },
        "required": ["type", "identity"]
      },
      "description": "List of identities associated with the user"
    },
    "external_id": {
      "type": ["string", "null"],
      "description": "External identifier for the user, if available"
    },
    "business_code": {
      "type": "string",
      "description": "Code representing the associated business"
    },
    "organizations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of organizations the user belongs to"
    },
    "email_verified": {
      "type": "boolean",
      "description": "Indicates if the email address is verified"
    }
  },
  "password": {
      "type": "object",
      "properties": {
        "hashing_config": { "type": "object" },
        "hashed_password": { "type": "string" },
        "hashing_algorithm": { "type": ["string", "null"] }
      },
      "required": ["hashing_config", "hashed_password"]
    },
  "required": ["id", "email", "created_on", "identities", "business_code", "organizations", "email_verified"],
  "additionalProperties": false
}
EOF

cat << 'EOF' > org_schema.json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the organization"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the organization was created"
    },
    "business_code": {
      "type": "string",
      "description": "Code representing the associated business"
    },
    "organization_code": {
      "type": "string",
      "description": "Code representing the organization"
    }
  },
  "required": ["name", "created_on", "business_code", "organization_code"],
  "additionalProperties": false
EOF

# Validate JSON syntax
python3 -c '
import json
import sys
try:
    with open("user_schema.json") as f:
        json.load(f)
    print("User schema: Valid JSON syntax")
except json.JSONDecodeError as e:
    print(f"User schema: Invalid JSON syntax - {str(e)}")
try:
    with open("org_schema.json") as f:
        json.load(f)
    print("Organization schema: Valid JSON syntax")
except json.JSONDecodeError as e:
    print(f"Organization schema: Invalid JSON syntax - {str(e)}")
'

# Clean up
rm user_schema.json org_schema.json

Length of output: 608


Script:

#!/bin/bash
# Create temporary files with the schemas
cat << 'EOF' > user_schema.json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the object"
    },
    "email": {
      "type": ["string", "null"],
      "format": "email",
      "description": "Email address of the user"
    },
    "phone": {
      "type": ["string", "null"],
      "description": "Phone number of the user, if available"
    },
    "username": {
      "type": ["string", "null"],
      "description": "Username of the user, if available"
    },
    "last_name": {
      "type": ["string", "null"],
      "description": "Last name of the user, if available"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the user was created"
    },
    "first_name": {
      "type": ["string", "null"],
      "description": "First name of the user, if available"
    },
    "identities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Type of identity (e.g., email)"
          },
          "identity": {
            "type": "string",
            "description": "Identity value (e.g., email address)"
          },
          "provider": {
            "type": ["string", "null"],
            "description": "Provider associated with the identity, if any"
          }
        },
        "required": ["type", "identity"]
      },
      "description": "List of identities associated with the user"
    },
    "external_id": {
      "type": ["string", "null"],
      "description": "External identifier for the user, if available"
    },
    "business_code": {
      "type": "string",
      "description": "Code representing the associated business"
    },
    "organizations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of organizations the user belongs to"
    },
    "email_verified": {
      "type": "boolean",
      "description": "Indicates if the email address is verified"
    }
  },
  "password": {
      "type": "object",
      "properties": {
        "hashing_config": { "type": "object" },
        "hashed_password": { "type": "string" },
        "hashing_algorithm": { "type": ["string", "null"] }
      },
      "required": ["hashing_config", "hashed_password"]
    },
  "required": ["id", "email", "created_on", "identities", "business_code", "organizations", "email_verified"],
  "additionalProperties": false
}
EOF

cat << 'EOF' > org_schema.json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the organization"
    },
    "created_on": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the organization was created"
    },
    "business_code": {
      "type": "string",
      "description": "Code representing the associated business"
    },
    "organization_code": {
      "type": "string",
      "description": "Code representing the organization"
    }
  },
  "required": ["name", "created_on", "business_code", "organization_code"],
  "additionalProperties": false
EOF

echo "Validating user schema..."
jq empty user_schema.json 2>&1 || echo "Invalid JSON syntax in user schema"

echo -e "\nValidating organization schema..."
jq empty org_schema.json 2>&1 || echo "Invalid JSON syntax in organization schema"

# Clean up
rm user_schema.json org_schema.json

Length of output: 405

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

177-185: ⚠️ Potential issue

Fix JSON schema structure for the password object.

The password object should be inside the properties object, at the same level as other properties.

  "properties": {
    "id": { ... },
    ...
    "email_verified": {
      "type": "boolean",
      "description": "Indicates if the email address is verified"
    },
+   "password": {
+     "type": "object",
+     "properties": {
+       "hashing_config": { "type": "object" },
+       "hashed_password": { "type": "string" },
+       "hashing_algorithm": { "type": ["string", "null"] }
+     },
+     "required": ["hashing_config", "hashed_password"]
+   }
  },
- "password": {
-     "type": "object",
-     "properties": {
-       "hashing_config": { "type": "object" },
-       "hashed_password": { "type": "string" },
-       "hashing_algorithm": { "type": ["string", "null"] }
-     },
-     "required": ["hashing_config", "hashed_password"]
-   },
🧹 Nitpick comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

97-97: Fix typo in export format description.

There's a typo in "data fils" which should be "data files".

-Data is exported in NDJSON format, with separate data fils for users and organizations.
+Data is exported in NDJSON format, with separate data files for users and organizations.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c8b6b90 and 04972fd.

📒 Files selected for processing (1)
  • src/content/docs/manage-your-account/your-data/exporting-data.mdx (1 hunks)
🔇 Additional comments (2)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (2)

97-218: Well-documented data export process!

The documentation provides clear instructions, emphasizes security considerations, and includes comprehensive examples. The change to NDJSON format is a good improvement for handling large datasets.


195-218: ⚠️ Potential issue

Add missing closing brace in organization schema.

The organization schema is missing a closing brace at the end.

  "required": ["name", "created_on", "business_code", "organization_code"],
  "additionalProperties": false
}
+}

Likely invalid or redundant comment.

## What the exported data looks like

Data is exported in JSON format as separate user and business data files. If you have many records, there may be several JSON files in the batch.
Data is exported in NDJSON format, with separate data fils for users and organizations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clairekinde11 small typo on 'files'

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

177-185: ⚠️ Potential issue

Fix JSON schema structure for the password object.

The password object should be inside the properties object, at the same level as other properties.

  "properties": {
    "id": { ... },
    ...
    "email_verified": {
      "type": "boolean",
      "description": "Indicates if the email address is verified"
    },
+   "password": {
+     "type": "object",
+     "properties": {
+       "hashing_config": { "type": "object" },
+       "hashed_password": { "type": "string" },
+       "hashing_algorithm": { "type": ["string", "null"] }
+     },
+     "required": ["hashing_config", "hashed_password"]
+   }
  },
- "password": {
-     "type": "object",
-     "properties": {
-       "hashing_config": { "type": "object" },
-       "hashed_password": { "type": "string" },
-       "hashing_algorithm": { "type": ["string", "null"] }
-     },
-     "required": ["hashing_config", "hashed_password"]
-   },
🧹 Nitpick comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

97-99: Add explanation of NDJSON format.

Consider adding a brief explanation of NDJSON format and its benefits over JSON, as this is a significant change that users need to understand. For example, mention that NDJSON allows for streaming large datasets line by line.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 04972fd and 83cbdf8.

📒 Files selected for processing (1)
  • src/content/docs/manage-your-account/your-data/exporting-data.mdx (1 hunks)
🔇 Additional comments (1)
src/content/docs/manage-your-account/your-data/exporting-data.mdx (1)

195-219: ⚠️ Potential issue

Add missing closing brace to organization schema.

The organization schema is missing a closing brace at the end.

  "required": ["name", "created_on", "business_code", "organization_code"],
  "additionalProperties": false
}
+ ```

Likely invalid or redundant comment.

@clairekinde11 clairekinde11 merged commit 2c2a55f into main Jan 21, 2025
5 checks passed
@clairekinde11 clairekinde11 deleted the Fix/Export-data-update branch January 21, 2025 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants