{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/file-data",
  "title": "file-data",
  "type": "object",
  "description": "Object containing information about bulk import state.",
  "required": [
    "accountName",
    "importId",
    "importState",
    "percentage",
    "lastUpdateDate",
    "fileName"
  ],
  "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."
    }
  }
}