{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/importResult", "title": "importResult", "type": "object", "description": "Object containing information about bulk import state.", "required": [ "accountName", "importId", "importState", "percentage", "lastUpdateDate", "fileName", "importResult", "importedAt", "importedUserEmail", "importedUserName" ], "properties": { "accountName": { "type": "string", "description": "Name of your VTEX account." }, "importId": { "type": "string", "description": "Unique identifier of the import." }, "importState": { "type": "string", "description": "Current state of the import. The possible values are:\n- `Uploaded`: The file was successfully uploaded.\n- `InValidation`: File validation is in progress.\n- `ReadyToImport`: File validation completed, ready for import.\n- `Completed`: File successfully imported.\n- `ValidationFailed`: File validation failed.\n- `CompletedWithError`: File import failed." }, "percentage": { "type": "string", "description": "Completion percentage of the import." }, "lastUpdateDate": { "type": "string", "description": "Date and time of the last update of the import, in `yyyy-mm-ddTHH:MM:SS+00:00` format." }, "fileName": { "type": "string", "description": "Name of the file being imported." }, "importedAt": { "type": "string", "description": "Date and time when the import was completed, in `yyyy-mm-ddTHH:MM:SS+00:00` format." }, "importedUserEmail": { "type": "string", "description": "Email address of the user who performed the import." }, "importedUserName": { "type": "string", "description": "Name of the user who performed the import." }, "importResult": { "type": "object", "description": "Information about the outcome of the bulk import operation.", "properties": { "reportDownloadLink": { "type": "string", "description": "A link to download a detailed report on the outcome of the bulk import." }, "imports": { "type": "array", "description": "Detailed information about the imported items.", "items": { "type": "object", "description": "Object with detailed information.", "properties": { "name": { "type": "string", "description": "Unique identifier associated with the imported item." }, "importedRows": { "type": "integer", "description": "Total number of lines successfully imported." }, "rowsWithError": { "type": "integer", "description": "Total number of lines that encountered errors during import." } } } } } } } }