import.lucid
├── data
│   ├── sales-performance.csv
│   └── templates
│       └── email-flow.csv
└── document.json

To import a data set from Google Sheets, Excel, or CSV with your document, include the CSV export of the file in the data directory.

To reference it from the JSON, refer to Linked Data and Collections.

Data files are referenced without including directories. To use the file email-flow.csv shown in the example file structure, the collection data source would be defined as "dataSource": "email-flow.csv", not "dataSource": "templates/email-flow.csv".

🚧

Important: The data directory is not allowed to exceed 1MB.

Collections

PropertyDescription
idID
Identifier for a collection that linked data objects will reference.
dataSourceString
File reference.
{
  "id": "sales-performance",
  "dataSource": "sales-performance.csv"
}

Supported Media

ExtensionDescription
.txtText file
.csvComma-Separated Values
...
    "collections": [
        {
            "id": "sales-performance",
            "dataSource": "sales-performance.csv"
        },
        {
            "id": "email-flow",
            "dataSource": "email-flow.csv"
        }
    ]
...
    "linkedData": [
        {
            "collectionId": "email-flow",
            "key": 1
        }
    ]
...