JSON Schema for export.json.
🡨 Go Back to Export.json File Overview
Table of Contents
JSON Schema for export.json
⇧
You can use a JSON Schema with export.json to get editor validation and autocompletion while configuring SFDMU migrations.
This is especially useful in editors such as VS Code, where schema-aware JSON tooling helps detect invalid property names, wrong value types, and missing required structures early.
Example of export.json Configuration
⇧
{
"$schema": "https://raw.githubusercontent.com/forcedotcom/SFDX-Data-Move-Utility/main/schemas/export.schema.json",
"objects": [
{
"query": "SELECT Id, Name FROM Account",
"operation": "Upsert",
"externalId": "Name"
}
]
}
Schema File ⇧
Notes:
- The schema is intended to validate the configuration structure and common property types.
- The schema allows additional properties to preserve backward compatibility and custom extensions.
- The
mockFieldsitem supports optionallocalefor localized anonymization patterns. - If your editor caches schema files, reload the window after schema updates to refresh validation.