---
updatedAt: 2026-08-10T20:07:45.000Z
agentTools:
  projectIndex: https://lucid.readme.io/llms.txt
---

# Create from JSON

Creates a new document for the requesting user, with the specified title. Requires `title` and `product`. Optionally, a `parent` folder, `extensionBootstrapData`, or Lucid Standard Import `content` can be provided to customize the new document.

> 📘
>
> This endpoint can only create a new Lucidchart or Lucidspark document. It cannot modify an existing document's contents.

> 📘 ##### Document Creation Location
>
> When there is no `parent` field on the request, the new document will be created in a default location depending on the authorizing token's scopes.
>
> - If the token authorizing the request uses one of the `document.app` scopes, then the document will be created in an `app-specific folder`.
> - If one of the `document.content` scopes is used, the document will be created in the user's 'My Documents folder'.
> - If both types of scopes are authorized on the token, the `document.content` behavior will take priority and the document will be created in the user's 'My Documents' folder.

> 📘 ##### Bootstrap Data for Create Document
>
> Bootstrap data can be attached to the created document to be consumed by a specific [Extension Package](https://lucid.readme.io/docs/lucid-extension-api). See [Bootstrap Data for documents created via API](https://lucid.readme.io/docs/editor-extension-data#bootstrap-data-for-documents-created-via-api) for usage.

> 📘 Standard Import
>
> When `content` is provided, it must conform to the Lucid Standard Import schema. For more information on how to use the Standard Import, refer to the extensive reference documentation [here](doc:overview-si).
>
> For examples of how to use the Standard Import, refer to the `/standard-import` folder in Lucid's repository of [Sample Lucid REST Applications](https://github.com/lucidsoftware/sample-lucid-rest-applications/tree/main/standard-import). This repo also contains some example `.zip` Standard Import files you can reference or use in your own projects.

## Valid Authentication Methods

**API Key Grants:**
- `DocumentEdit`

**OAuth 2.0 User Token Scopes:**
- `lucidchart.document.content`
- `lucidchart.document.app.folder`
- `lucidspark.document.content`
- `lucidspark.document.app.folder`


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Lucid Rest API",
    "description": "The Lucid REST API provides programmatic access to manage documents, users, folders, sharing, licensing, and audit logs across the Lucid Suite (Lucidchart, Lucidspark, and Lucidscale). Authenticate via OAuth 2.0 or API key.",
    "termsOfService": "https://lucid.co/developer-terms",
    "contact": {
      "name": "Lucid Software",
      "url": "https://community.lucid.co/developer-community-6/"
    },
    "license": {
      "name": "Lucid",
      "url": "https://lucid.co/developer-terms"
    },
    "version": "1.0.0"
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://api.lucid.co"
    }
  ],
  "tags": [
    {
      "name": "Document Access",
      "description": "Create, import, copy, retrieve, update, search, export, and trash documents across the Lucid Suite, and access their contents."
    }
  ],
  "paths": {
    "/v1/documents": {
      "post": {
        "summary": "Create from JSON",
        "description": "Creates a new document for the requesting user, with the specified title. Requires `title` and `product`. Optionally, a `parent` folder, `extensionBootstrapData`, or Lucid Standard Import `content` can be provided to customize the new document.\n\n> 📘\n>\n> This endpoint can only create a new Lucidchart or Lucidspark document. It cannot modify an existing document's contents.\n\n> 📘 ##### Document Creation Location\n>\n> When there is no `parent` field on the request, the new document will be created in a default location depending on the authorizing token's scopes.\n>\n> - If the token authorizing the request uses one of the `document.app` scopes, then the document will be created in an `app-specific folder`.\n> - If one of the `document.content` scopes is used, the document will be created in the user's 'My Documents folder'.\n> - If both types of scopes are authorized on the token, the `document.content` behavior will take priority and the document will be created in the user's 'My Documents' folder.\n\n> 📘 ##### Bootstrap Data for Create Document\n>\n> Bootstrap data can be attached to the created document to be consumed by a specific [Extension Package](https://lucid.readme.io/docs/lucid-extension-api). See [Bootstrap Data for documents created via API](https://lucid.readme.io/docs/editor-extension-data#bootstrap-data-for-documents-created-via-api) for usage.\n\n> 📘 Standard Import\n>\n> When `content` is provided, it must conform to the Lucid Standard Import schema. For more information on how to use the Standard Import, refer to the extensive reference documentation [here](doc:overview-si).\n>\n> For examples of how to use the Standard Import, refer to the `/standard-import` folder in Lucid's repository of [Sample Lucid REST Applications](https://github.com/lucidsoftware/sample-lucid-rest-applications/tree/main/standard-import). This repo also contains some example `.zip` Standard Import files you can reference or use in your own projects.\n\n## Valid Authentication Methods\n\n**API Key Grants:**\n- `DocumentEdit`\n\n**OAuth 2.0 User Token Scopes:**\n- `lucidchart.document.content`\n- `lucidchart.document.app.folder`\n- `lucidspark.document.content`\n- `lucidspark.document.app.folder`\n",
        "operationId": "createDocument",
        "tags": [
          "Document Access"
        ],
        "security": [
          {
            "ApiKey": [
              "DocumentEdit"
            ]
          },
          {
            "OAuth2": [
              "lucidchart.document.content",
              "lucidchart.document.app.folder",
              "lucidspark.document.content",
              "lucidspark.document.app.folder"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "title",
                  "product"
                ],
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Title that should be given to the newly created document."
                  },
                  "product": {
                    "$ref": "#/components/schemas/CreatableProduct"
                  },
                  "parent": {
                    "type": "number",
                    "description": "Folder ID for the new document."
                  },
                  "extensionBootstrapData": {
                    "$ref": "#/components/schemas/BootstrapData"
                  },
                  "content": {
                    "$ref": "#/components/schemas/LucidStandardImportContent"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created with Document resource containing information about the newly created document.\n",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request. * `'content' and 'extensionBootstrapData' cannot both be provided` — the `content` field is mutually exclusive with `extensionBootstrapData`. * Invalid `content` JSON — the provided content does not conform to the Lucid Standard Import schema."
          },
          "403": {
            "description": "Forbidden. * if the user doesn't have access to or permissions to create within the specified parent folder. * if the token authorizing the request has the document.app scope with a specified parent folder that is outside the app folder's folder tree."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Product": {
        "type": "string",
        "enum": [
          "lucidchart",
          "lucidscale",
          "lucidspark"
        ],
        "description": "The Lucid Suite product that a document was created in.",
        "example": "lucidchart"
      },
      "CreatableProduct": {
        "type": "string",
        "enum": [
          "lucidchart",
          "lucidspark"
        ],
        "description": "The Lucid Suite product types that can be created.",
        "example": "lucidchart"
      },
      "CustomAttribute": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "singleLineText",
              "multiLineText",
              "singleSelectDropdown",
              "multiSelectDropdown",
              "webLink",
              "numericalRange",
              "hierarchyDropdown"
            ],
            "description": "The custom attribute type",
            "example": "singleLineText"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "description": "Title of the custom attribute. hierarchyDropdown attributes do not have names.",
            "example": "Sample Label"
          },
          "value": {
            "nullable": true,
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/DataPair"
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              }
            ],
            "description": "The value assigned to the custom attribute. The type of this value is determined by the Attribute Type.",
            "example": null
          }
        },
        "description": "Object representing a custom attribute value for a document.",
        "required": [
          "type"
        ]
      },
      "DataPair": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Custom data key"
          },
          "value": {
            "type": "string",
            "nullable": true,
            "description": "Custom data value"
          }
        },
        "description": "Object representing a key-value pair of data.",
        "required": [
          "name",
          "value"
        ],
        "example": {
          "name": "City",
          "value": "New York"
        }
      },
      "Document": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string",
            "format": "uuid",
            "description": "Unique ID of the document",
            "example": "110808fd-4553-4316-bccf-4f25ff59a532"
          },
          "title": {
            "type": "string",
            "description": "Title of the document",
            "example": "document title"
          },
          "editUrl": {
            "type": "string",
            "format": "uri",
            "description": "Link to edit the document",
            "example": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/edit"
          },
          "viewUrl": {
            "type": "string",
            "format": "uri",
            "description": "Link to view the document",
            "example": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/view"
          },
          "version": {
            "type": "integer",
            "description": "Most recent version",
            "example": 101
          },
          "pageCount": {
            "type": "integer",
            "description": "Number of pages within the document",
            "example": 5
          },
          "canEdit": {
            "type": "boolean",
            "description": "If requesting user can edit the document",
            "example": false
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time of when the document was created",
            "example": "2019-04-22T13:47:23Z"
          },
          "creatorId": {
            "type": "integer",
            "description": "ID of user who created and owns the document",
            "example": 12345
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time of when the document was last modified",
            "example": "2020-06-26T16:29:37Z"
          },
          "lastModifiedUserId": {
            "type": "integer",
            "description": "ID of user who most recently modified the document",
            "example": 54321
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttribute"
            },
            "description": "List of any custom attributes belonging to the document. Populated for Enterprise Accounts only.",
            "example": []
          },
          "customTags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of any custom tags assigned to the document",
            "example": [
              "in progress"
            ]
          },
          "product": {
            "$ref": "#/components/schemas/Product"
          },
          "status": {
            "type": "string",
            "nullable": true,
            "description": "Current assigned status of the document",
            "example": "Complete"
          },
          "classification": {
            "type": "string",
            "nullable": true,
            "description": "Current assigned classification of the document",
            "example": "Private"
          },
          "classificationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "description": "Current assigned classification ID of the document.",
            "example": "b7db4f07-5225-4a0c-8313-0fe199eec844"
          },
          "trashed": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "If defined, the timestamp when the document was moved to the trash",
            "example": null
          },
          "parent": {
            "type": "integer",
            "nullable": true,
            "description": "ID of the parent folder",
            "example": null
          },
          "repository": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Repository"
              }
            ]
          },
          "accountId": {
            "type": "integer",
            "nullable": true,
            "description": "ID of Lucid account that owns the document"
          },
          "owner": {
            "$ref": "#/components/schemas/DocumentOwner"
          }
        },
        "required": [
          "documentId",
          "title",
          "editUrl",
          "viewUrl",
          "version",
          "pageCount",
          "canEdit",
          "created",
          "creatorId",
          "lastModified",
          "lastModifiedUserId",
          "customAttributes",
          "customTags",
          "product",
          "accountId"
        ],
        "example": {
          "documentId": "110808fd-4553-4316-bccf-4f25ff59a532",
          "title": "document title",
          "editUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/edit",
          "viewUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/view",
          "version": 101,
          "pageCount": 5,
          "canEdit": false,
          "created": "2019-04-22T13:47:23Z",
          "creatorId": 12345,
          "lastModified": "2020-06-26T16:29:37Z",
          "lastModifiedUserId": 54321,
          "customAttributes": [],
          "customTags": [
            "in progress"
          ],
          "product": "lucidchart",
          "status": "Complete",
          "classification": "Private",
          "trashed": null,
          "parent": null,
          "repository": null,
          "owner": {
            "id": 123456,
            "type": "user",
            "name": "John Doe"
          },
          "accountId": 1234
        }
      },
      "DocumentOwner": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "Id of either the user or the account, depending on the type of the document user resource.",
            "example": 123456
          },
          "type": {
            "type": "string",
            "description": "Specifies if the owner resource is referring to a user or an account. Value will be either \"user\" or \"account\".",
            "example": "user"
          },
          "name": {
            "type": "string",
            "description": "Full name of the user that owns this document. This field is excluded if this document is owned by an account.",
            "example": "John Doe"
          }
        }
      },
      "Repository": {
        "type": "object",
        "properties": {
          "repositoryId": {
            "type": "string",
            "description": "the ID of the repository",
            "example": "repo_2000008"
          }
        }
      },
      "BootstrapData": {
        "type": "object",
        "properties": {
          "packageId": {
            "type": "string",
            "description": "Id of the extension package which will consume this data",
            "example": "74672098-cf36-492c-b8e6-2c4233549cd3"
          },
          "extensionName": {
            "type": "string",
            "description": "Name of the editor extension which will consume this data. Note this is the name field of an editor extension found in your manifest.json file.",
            "example": "sheets-adapter"
          },
          "minimumVersion": {
            "type": "string",
            "description": "Minimum version of the extension package which will consume this data",
            "example": "1.4.0"
          },
          "data": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Data to provide to the extension package",
            "example": {
              "a": 1,
              "b": 2
            }
          }
        },
        "required": [
          "packageId",
          "extensionName",
          "minimumVersion",
          "data"
        ],
        "description": "Bootstrap data can be attached to the created document to be consumed by a specific Extension Package."
      },
      "LucidStandardImportContent": {
        "type": "object",
        "description": "Defines the content of a document using the Lucid Standard Import format, including pages, shapes, and lines.\nMutually exclusive with `extensionBootstrapData`.\n",
        "properties": {
          "version": {
            "type": "integer",
            "description": "The version of the Lucid Standard Import format.",
            "enum": [
              1
            ],
            "example": 1
          },
          "pages": {
            "type": "array",
            "description": "List of pages to create in the document. At least one page is required.",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportPage"
            }
          },
          "collections": {
            "type": "array",
            "description": "List of data collections to associate with the document.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCollection"
            }
          },
          "documentSettings": {
            "$ref": "#/components/schemas/LucidStandardImportDocumentSettings"
          }
        },
        "required": [
          "version",
          "pages"
        ]
      },
      "LucidStandardImportPage": {
        "type": "object",
        "description": "A page definition within a Lucid Standard Import document.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the page within the import.",
            "example": "page1"
          },
          "title": {
            "type": "string",
            "description": "The title of the page.",
            "example": "Page 1"
          },
          "shapes": {
            "type": "array",
            "description": "List of shapes to place on the page.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportShape"
            }
          },
          "lines": {
            "type": "array",
            "description": "List of lines to place on the page.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLine"
            }
          },
          "groups": {
            "type": "array",
            "description": "List of groups to create on the page.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportGroup"
            }
          },
          "layers": {
            "type": "array",
            "description": "List of layers to create on the page.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLayer"
            }
          },
          "customData": {
            "type": "array",
            "description": "Custom key-value data to attach to the page.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCustomPageDatum"
            }
          },
          "dataBackedShapes": {
            "type": "array",
            "description": "List of data-backed shape generators (e.g., org charts, mind maps).",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportGenerator"
            }
          },
          "settings": {
            "$ref": "#/components/schemas/LucidStandardImportPageSettings"
          }
        },
        "required": [
          "id",
          "title"
        ]
      },
      "LucidStandardImportShape": {
        "type": "object",
        "description": "A shape definition within a page. The `type` field determines which kind of shape to create.\nCommon shape types include `rectangle`, `circle`, `diamond`, `cloud`, `process`, `document`,\n`database`, `hexagon`, `octagon`, `pill`, `roundedRectangle`, `triangle`, `isoscelesTriangle`,\n`stickyNote`, `image`, `table`, `swimLanes`, and many more including BPMN shapes.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the shape within the import. Used to reference this shape from lines and groups.",
            "example": "shape1"
          },
          "type": {
            "type": "string",
            "description": "The type of shape to create.",
            "enum": [
              "bpmnActivity",
              "bpmnBlackBoxPool",
              "bpmnChoreography",
              "bpmnConversation",
              "bpmnDataObject",
              "bpmnDataStore",
              "bpmnEvent",
              "bpmnGateway",
              "bpmnGroup",
              "bpmnPool",
              "bpmnTextAnnotation",
              "braceContainer",
              "braceNote",
              "bracketContainer",
              "circle",
              "circleContainer",
              "cloud",
              "connector",
              "cross",
              "namedContainer",
              "namedShape",
              "data",
              "database",
              "decision",
              "delay",
              "diamond",
              "diamondContainer",
              "directAccessStorage",
              "display",
              "document",
              "doubleArrow",
              "flexiblePolygon",
              "freehandBlock",
              "freehandDrawing",
              "hexagon",
              "hotspot",
              "image",
              "internalStorage",
              "isoscelesTriangle",
              "lucidCard",
              "manualInput",
              "manualOperation",
              "merge",
              "multipleDocuments",
              "note",
              "octagon",
              "offPageLink",
              "or",
              "paperTape",
              "pentagon",
              "pillContainer",
              "polyStar",
              "predefinedProcess",
              "preparation",
              "process",
              "rectangle",
              "rectangleContainer",
              "rightTriangle",
              "roundedRectangleContainer",
              "singleArrow",
              "sparkCalloutSquare",
              "sparkContainer",
              "sparkFrame",
              "stickyNote",
              "storedData",
              "summingJunction",
              "swimLanes",
              "table",
              "terminator",
              "text",
              "umlClass"
            ],
            "example": "rectangle"
          },
          "boundingBox": {
            "$ref": "#/components/schemas/BoundingBox"
          },
          "text": {
            "type": "string",
            "description": "Text content to display inside the shape.",
            "example": "Hello World"
          },
          "opacity": {
            "type": "integer",
            "description": "Opacity of the shape, from 0 (fully transparent) to 100 (fully opaque).",
            "minimum": 0,
            "maximum": 100
          },
          "note": {
            "type": "string",
            "description": "A note to attach to the shape."
          },
          "zIndex": {
            "type": "integer",
            "description": "The z-order of the shape on the page."
          },
          "customData": {
            "type": "array",
            "description": "Custom key-value data to attach to the shape.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCustomDatum"
            }
          },
          "style": {
            "$ref": "#/components/schemas/LucidStandardImportStyle"
          },
          "actions": {
            "type": "array",
            "description": "Interactive actions attached to the shape (e.g., navigate to a URL or page).",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportAction"
            }
          },
          "linkedData": {
            "type": "array",
            "description": "Links to data collection entries.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLinkedDatum"
            }
          }
        },
        "required": [
          "id",
          "type",
          "boundingBox"
        ]
      },
      "BoundingBox": {
        "type": "object",
        "description": "The bounding box that defines a shape's position and size on the page.",
        "properties": {
          "x": {
            "type": "number",
            "description": "The x-coordinate of the top-left corner.",
            "example": 0
          },
          "y": {
            "type": "number",
            "description": "The y-coordinate of the top-left corner.",
            "example": 0
          },
          "w": {
            "type": "number",
            "description": "The width of the bounding box.",
            "example": 100
          },
          "h": {
            "type": "number",
            "description": "The height of the bounding box.",
            "example": 50
          }
        },
        "required": [
          "x",
          "y",
          "w",
          "h"
        ]
      },
      "LucidStandardImportLine": {
        "type": "object",
        "description": "A line definition within a page.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the line within the import.",
            "example": "line1"
          },
          "lineType": {
            "type": "string",
            "description": "The type of line routing.",
            "enum": [
              "straight",
              "elbow",
              "curved"
            ],
            "example": "elbow"
          },
          "stroke": {
            "$ref": "#/components/schemas/LucidStandardImportStroke"
          },
          "endpoint1": {
            "$ref": "#/components/schemas/LucidStandardImportEndpoint"
          },
          "endpoint2": {
            "$ref": "#/components/schemas/LucidStandardImportEndpoint"
          },
          "text": {
            "type": "array",
            "description": "Text labels to display along the line.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLineText"
            }
          },
          "customData": {
            "type": "array",
            "description": "Custom key-value data to attach to the line.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCustomDatum"
            }
          },
          "linkedData": {
            "type": "array",
            "description": "Links to data collection entries.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLinkedDatum"
            }
          },
          "joints": {
            "type": "array",
            "description": "Control points for straight lines.",
            "items": {
              "$ref": "#/components/schemas/AbsolutePoint"
            }
          },
          "elbowControlPoints": {
            "type": "array",
            "description": "Control points for elbow lines.",
            "items": {
              "$ref": "#/components/schemas/AbsolutePoint"
            }
          },
          "cornerRadius": {
            "type": "number",
            "description": "Corner radius for elbow line bends."
          },
          "zIndex": {
            "type": "integer",
            "description": "The z-order of the line on the page."
          },
          "lineJumps": {
            "type": "boolean",
            "description": "Whether this line draws a small hump where it crosses other lines.\nWhen set, overrides the page-level `lineJumps` setting for this\nline only.\n"
          }
        },
        "required": [
          "id",
          "lineType",
          "endpoint1",
          "endpoint2"
        ]
      },
      "LucidStandardImportStyle": {
        "type": "object",
        "description": "Visual style properties for a shape.",
        "properties": {
          "fill": {
            "$ref": "#/components/schemas/LucidStandardImportFill"
          },
          "stroke": {
            "$ref": "#/components/schemas/LucidStandardImportStroke"
          },
          "rounding": {
            "type": "number",
            "description": "Corner rounding radius for the shape. Must be between 0 and 720, inclusive.",
            "default": 6,
            "minimum": 0,
            "maximum": 720
          },
          "textColor": {
            "type": "string",
            "description": "Text color as a hex color string.",
            "example": "#000000"
          }
        }
      },
      "LucidStandardImportFill": {
        "description": "Fill style for a shape. The `type` field determines the fill kind.\n- `color`: A solid color fill.\n- `image`: An image fill, either by URL or by reference to an image in the import archive.\n",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "color": "#/components/schemas/LucidStandardImportColorFill",
            "image": "#/components/schemas/LucidStandardImportImageFill"
          }
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/LucidStandardImportColorFill"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportImageFill"
          }
        ]
      },
      "LucidStandardImportColorFill": {
        "type": "object",
        "description": "A solid color fill.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "color"
            ]
          },
          "color": {
            "type": "string",
            "description": "Fill color as a hex color string.",
            "example": "#ffffff"
          }
        },
        "required": [
          "type",
          "color"
        ]
      },
      "LucidStandardImportImageFill": {
        "type": "object",
        "description": "An image fill, either by URL or by reference to an image in the import archive.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "image"
            ]
          },
          "url": {
            "type": "string",
            "description": "URL of the image. Use this or `ref`, not both.",
            "example": "https://example.com/image.png"
          },
          "ref": {
            "type": "string",
            "description": "Reference to an image in the import archive. Use this or `url`, not both."
          },
          "imageScale": {
            "type": "string",
            "description": "How the image should be scaled within the shape.",
            "enum": [
              "fill",
              "page",
              "shape"
            ]
          }
        },
        "required": [
          "type"
        ]
      },
      "LucidStandardImportAction": {
        "type": "object",
        "description": "An interactive action attached to a shape. The `type` field determines the action kind.\n",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "url": "#/components/schemas/LucidStandardImportUrlAction",
            "gotoPage": "#/components/schemas/LucidStandardImportGotoPageAction",
            "gotoDocument": "#/components/schemas/LucidStandardImportGotoDocumentAction",
            "toggleLayer": "#/components/schemas/LucidStandardImportToggleLayerAction",
            "showLayer": "#/components/schemas/LucidStandardImportShowLayerAction",
            "hideLayer": "#/components/schemas/LucidStandardImportHideLayerAction"
          }
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/LucidStandardImportUrlAction"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportGotoPageAction"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportGotoDocumentAction"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportToggleLayerAction"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportShowLayerAction"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportHideLayerAction"
          }
        ]
      },
      "LucidStandardImportUrlAction": {
        "type": "object",
        "description": "Navigate to an external URL.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "url"
            ]
          },
          "url": {
            "type": "string",
            "description": "The target URL.",
            "example": "https://example.com"
          },
          "newWindow": {
            "type": "boolean",
            "description": "Whether to open in a new window."
          }
        },
        "required": [
          "type",
          "url"
        ]
      },
      "LucidStandardImportGotoPageAction": {
        "type": "object",
        "description": "Navigate to a page in the current document.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "gotoPage"
            ]
          },
          "pageId": {
            "type": "string",
            "description": "The ID of the target page.",
            "example": "page2"
          }
        },
        "required": [
          "type",
          "pageId"
        ]
      },
      "LucidStandardImportGotoDocumentAction": {
        "type": "object",
        "description": "Navigate to a page in another document.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "gotoDocument"
            ]
          },
          "documentId": {
            "type": "string",
            "description": "The ID of the target document."
          },
          "pageId": {
            "type": "string",
            "description": "The ID of the target page within the document."
          },
          "newWindow": {
            "type": "boolean",
            "description": "Whether to open in a new window."
          }
        },
        "required": [
          "type",
          "documentId",
          "pageId"
        ]
      },
      "LucidStandardImportToggleLayerAction": {
        "type": "object",
        "description": "Toggle visibility of layers.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "toggleLayer"
            ]
          },
          "layers": {
            "type": "array",
            "description": "List of layer names to toggle.",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "type",
          "layers"
        ]
      },
      "LucidStandardImportShowLayerAction": {
        "type": "object",
        "description": "Show layers.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "showLayer"
            ]
          },
          "layers": {
            "type": "array",
            "description": "List of layer names to show.",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "type",
          "layers"
        ]
      },
      "LucidStandardImportHideLayerAction": {
        "type": "object",
        "description": "Hide layers.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "hideLayer"
            ]
          },
          "layers": {
            "type": "array",
            "description": "List of layer names to hide.",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "type",
          "layers"
        ]
      },
      "LucidStandardImportStroke": {
        "type": "object",
        "description": "Stroke styling for a line.",
        "properties": {
          "color": {
            "type": "string",
            "description": "Hex color string for the stroke.",
            "default": "#000000",
            "example": "#000000"
          },
          "width": {
            "type": "number",
            "description": "Stroke thickness. Must be between 0 and 10, inclusive.",
            "default": 2,
            "minimum": 0,
            "maximum": 10,
            "example": 2
          },
          "style": {
            "type": "string",
            "description": "The stroke dash style.",
            "enum": [
              "solid",
              "dotted",
              "dashed"
            ],
            "default": "solid",
            "example": "solid"
          }
        }
      },
      "LucidStandardImportEndpoint": {
        "type": "object",
        "description": "An endpoint of a line. The `type` field determines how the endpoint is positioned.\n- `shapeEndpoint`: Connects to a shape by its ID.\n- `positionEndpoint`: Connects to an absolute position on the page.\n- `lineEndpoint`: Connects to another line at a relative position.\n",
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "shapeEndpoint": "#/components/schemas/LucidStandardImportShapeEndpoint",
            "positionEndpoint": "#/components/schemas/LucidStandardImportPositionEndpoint",
            "lineEndpoint": "#/components/schemas/LucidStandardImportLineEndpoint"
          }
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/LucidStandardImportShapeEndpoint"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportPositionEndpoint"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportLineEndpoint"
          }
        ]
      },
      "LucidStandardImportShapeEndpoint": {
        "type": "object",
        "description": "An endpoint connected to a shape.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "shapeEndpoint"
            ]
          },
          "style": {
            "$ref": "#/components/schemas/EndpointStyle"
          },
          "shapeId": {
            "type": "string",
            "description": "The ID of the shape to connect to.",
            "example": "shape1"
          },
          "position": {
            "$ref": "#/components/schemas/RelativePoint",
            "description": "Optional relative position on the shape to connect to. If omitted, uses smart auto-linking."
          }
        },
        "required": [
          "type",
          "style",
          "shapeId"
        ]
      },
      "LucidStandardImportPositionEndpoint": {
        "type": "object",
        "description": "An endpoint at an absolute position on the page.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "positionEndpoint"
            ]
          },
          "style": {
            "$ref": "#/components/schemas/EndpointStyle"
          },
          "position": {
            "$ref": "#/components/schemas/AbsolutePoint"
          }
        },
        "required": [
          "type",
          "style",
          "position"
        ]
      },
      "LucidStandardImportLineEndpoint": {
        "type": "object",
        "description": "An endpoint connected to another line.",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "lineEndpoint"
            ]
          },
          "style": {
            "$ref": "#/components/schemas/EndpointStyle"
          },
          "lineId": {
            "type": "string",
            "description": "The ID of the line to connect to.",
            "example": "line1"
          },
          "position": {
            "type": "number",
            "description": "Relative position along the line (0 to 1 inclusive).",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "type",
          "style",
          "lineId",
          "position"
        ]
      },
      "EndpointStyle": {
        "type": "string",
        "description": "The visual style of a line endpoint.",
        "enum": [
          "none",
          "aggregation",
          "arrow",
          "hollowArrow",
          "openArrow",
          "async1",
          "async2",
          "closedSquare",
          "openSquare",
          "bpmnConditional",
          "bpmnDefault",
          "closedCircle",
          "openCircle",
          "composition",
          "exactlyOne",
          "generalization",
          "many",
          "nesting",
          "one",
          "oneOrMore",
          "zeroOrMore",
          "zeroOrOne"
        ],
        "example": "arrow"
      },
      "LucidStandardImportLineText": {
        "type": "object",
        "description": "A text label on a line.",
        "properties": {
          "text": {
            "type": "string",
            "description": "The text content."
          },
          "position": {
            "type": "number",
            "description": "Relative position along the line (0 to 1 inclusive).",
            "default": 0.5,
            "minimum": 0,
            "maximum": 1
          },
          "side": {
            "type": "string",
            "description": "Which side of the line the text appears on.",
            "enum": [
              "top",
              "middle",
              "bottom"
            ],
            "default": "middle"
          }
        },
        "required": [
          "text"
        ]
      },
      "AbsolutePoint": {
        "type": "object",
        "description": "An absolute point on the page canvas.",
        "properties": {
          "x": {
            "type": "number",
            "description": "The x-coordinate. Must be between -1200000 and 1200000, inclusive."
          },
          "y": {
            "type": "number",
            "description": "The y-coordinate. Must be between -1200000 and 1200000, inclusive."
          }
        },
        "required": [
          "x",
          "y"
        ]
      },
      "RelativePoint": {
        "type": "object",
        "description": "A relative point with coordinates between 0 and 1, inclusive.",
        "properties": {
          "x": {
            "type": "number",
            "description": "The relative x-coordinate (0 to 1).",
            "minimum": 0,
            "maximum": 1
          },
          "y": {
            "type": "number",
            "description": "The relative y-coordinate (0 to 1).",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "x",
          "y"
        ]
      },
      "LucidStandardImportGroup": {
        "type": "object",
        "description": "A group of items on a page.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the group.",
            "example": "group1"
          },
          "items": {
            "type": "array",
            "description": "List of item IDs (shapes, lines, groups) contained in this group. An item can belong to only one group. If an item ID is specified in multiple groups, it is assigned to the first group encountered, and all subsequent references to that item ID are ignored.\n",
            "items": {
              "type": "string"
            }
          },
          "customData": {
            "type": "array",
            "description": "Custom key-value data to attach to the group.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCustomDatum"
            }
          },
          "linkedData": {
            "type": "array",
            "description": "Links to data collection entries.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLinkedDatum"
            }
          },
          "note": {
            "type": "string",
            "description": "A note to attach to the group."
          },
          "zIndex": {
            "type": "integer",
            "description": "The z-order of the group on the page."
          }
        },
        "required": [
          "id"
        ]
      },
      "LucidStandardImportLayer": {
        "type": "object",
        "description": "A layer on a page. Layers can contain shapes, lines, and groups.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the layer.",
            "example": "layer1"
          },
          "title": {
            "type": "string",
            "description": "The display name of the layer.",
            "example": "Background"
          },
          "items": {
            "type": "array",
            "description": "List of item IDs (shapes, lines, groups) contained in this layer. An item can belong to only one layer. If an item ID is specified in multiple layers, it is assigned to the first layer encountered, and all subsequent references to that item ID are ignored.\n",
            "items": {
              "type": "string"
            }
          },
          "customData": {
            "type": "array",
            "description": "Custom key-value data to attach to the layer.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportCustomDatum"
            }
          },
          "linkedData": {
            "type": "array",
            "description": "Links to data collection entries.",
            "items": {
              "$ref": "#/components/schemas/LucidStandardImportLinkedDatum"
            }
          },
          "note": {
            "type": "string",
            "description": "A note to attach to the layer."
          },
          "layerIndex": {
            "type": "integer",
            "description": "The index order of the layer."
          }
        },
        "required": [
          "id",
          "title"
        ]
      },
      "LucidStandardImportDocumentSettings": {
        "type": "object",
        "description": "Document-level settings for a Lucid Standard Import.",
        "properties": {
          "units": {
            "type": "string",
            "description": "The measurement unit for the document. Defaults to inches (`in`) if not specified.",
            "enum": [
              "in",
              "cm",
              "px",
              "pt"
            ],
            "default": "in",
            "example": "in"
          }
        }
      },
      "LucidStandardImportPageSettings": {
        "type": "object",
        "description": "Page-level settings for a Lucid Standard Import page.",
        "properties": {
          "fillColor": {
            "type": "string",
            "description": "Background fill color for the page as a hex color string.",
            "example": "#ffffff"
          },
          "infiniteCanvas": {
            "type": "boolean",
            "description": "Whether the page uses an infinite canvas."
          },
          "size": {
            "$ref": "#/components/schemas/LucidStandardImportPageSize"
          },
          "autoTiling": {
            "type": "boolean",
            "description": "Whether auto-tiling is enabled for the page."
          },
          "lineJumps": {
            "type": "boolean",
            "description": "Whether lines on this page draw small humps where they cross\nother lines. Individual lines may override this with their own\n`lineJumps` setting.\n"
          }
        }
      },
      "LucidStandardImportPageSize": {
        "description": "Page size configuration. Either a standard page size with an optional format, or a custom size with explicit dimensions.\n",
        "oneOf": [
          {
            "$ref": "#/components/schemas/LucidStandardImportStandardPageSize"
          },
          {
            "$ref": "#/components/schemas/LucidStandardImportCustomPageSize"
          }
        ]
      },
      "LucidStandardImportStandardPageSize": {
        "type": "object",
        "description": "A standard named page size.",
        "properties": {
          "type": {
            "type": "string",
            "description": "The standard page size name.",
            "enum": [
              "letter",
              "legal",
              "executive",
              "a3",
              "a4",
              "a5",
              "tabloid",
              "folio",
              "statement"
            ],
            "example": "letter"
          },
          "format": {
            "type": "string",
            "description": "Page orientation.",
            "enum": [
              "landscape",
              "portrait"
            ],
            "default": "portrait"
          }
        },
        "required": [
          "type"
        ]
      },
      "LucidStandardImportCustomPageSize": {
        "type": "object",
        "description": "A custom page size with explicit dimensions.",
        "properties": {
          "w": {
            "type": "number",
            "description": "Width of the page. Must be between 1.0 and 20000.0, inclusive.",
            "minimum": 1,
            "maximum": 20000
          },
          "h": {
            "type": "number",
            "description": "Height of the page. Must be between 1.0 and 20000.0, inclusive.",
            "minimum": 1,
            "maximum": 20000
          }
        },
        "required": [
          "w",
          "h"
        ]
      },
      "LucidStandardImportCollection": {
        "type": "object",
        "description": "A data collection to associate with the document. Exactly one of `dataSource` or `values` must be provided — providing both or neither is an error.\n",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the collection."
          }
        },
        "required": [
          "id"
        ],
        "oneOf": [
          {
            "title": "Data source reference",
            "required": [
              "dataSource"
            ],
            "properties": {
              "dataSource": {
                "type": "string",
                "description": "The data source this collection belongs to."
              }
            }
          },
          {
            "title": "Inline values",
            "required": [
              "values"
            ],
            "properties": {
              "values": {
                "type": "array",
                "description": "Inline JSON data for the collection. Each element is an object whose keys become the column headers and whose values become the row data.\n",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ]
      },
      "LucidStandardImportCustomDatum": {
        "type": "object",
        "description": "A custom key-value pair attached to an item.",
        "properties": {
          "key": {
            "type": "string",
            "description": "The data key."
          },
          "value": {
            "type": "string",
            "description": "The data value."
          }
        },
        "required": [
          "key",
          "value"
        ]
      },
      "LucidStandardImportCustomPageDatum": {
        "type": "object",
        "description": "A custom key-value pair attached to a page, optionally globally inherited.",
        "properties": {
          "key": {
            "type": "string",
            "description": "The data key."
          },
          "value": {
            "type": "string",
            "description": "The data value."
          },
          "global": {
            "type": "boolean",
            "description": "When true, this data is globally inherited.",
            "default": false
          }
        },
        "required": [
          "key",
          "value"
        ]
      },
      "LucidStandardImportLinkedDatum": {
        "type": "object",
        "description": "A reference linking an item to a data collection entry.",
        "properties": {
          "collectionId": {
            "type": "string",
            "description": "The ID of the collection containing the data."
          },
          "key": {
            "type": "string",
            "description": "The key identifying the data entry within the collection."
          }
        },
        "required": [
          "collectionId",
          "key"
        ]
      },
      "LucidStandardImportGenerator": {
        "type": "object",
        "description": "A data-backed shape generator that automatically creates shapes from data.\nThe `type` field determines which generator is used.\n",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of generator.",
            "enum": [
              "orgChart",
              "mindMap",
              "assistedLayout",
              "umlSequence"
            ]
          }
        },
        "required": [
          "type"
        ]
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://lucid.app/oauth2/authorize",
            "tokenUrl": "https://api.lucid.co/oauth2/token",
            "refreshUrl": "https://api.lucid.co/oauth2/token",
            "scopes": {
              "account.audit.logs": "View audit logs on your account.",
              "account.info": "View basic information about your account (e.g., account ID and account name) .",
              "account.user": "Create, view, edit, and delete users on your account.",
              "account.user:readonly": "View users on your account.",
              "account.users:admin.readonly": "View all users and their roles on your account.",
              "account.user.transfercontent": "Transfer ownership of a user's resources to another user on your account.",
              "account.settings:readonly": "View settings on your account.",
              "account.legalhold": "Create, view, and expire legal holds on your account.",
              "account.legalhold:readonly": "View legal holds on your account.",
              "account.legalhold.users": "Manage legal hold users on your account.",
              "account.legalhold.users:readonly": "View legal hold users on your account.",
              "folder": "Create, view, edit, share, and delete your folders. Organize your folders and their contents.",
              "folder:readonly": "View any of your folders and list their contents.",
              "folder:admin": "Perform admin actions on folders belonging to the account.",
              "folder:admin.readonly": "View all folders belonging to the account with admin permissions.",
              "invitation": "Accept document and folder share links.",
              "invitation.accept": "Accept document and folder share links.",
              "cloud.credential": "Manage cloud credentials.",
              "cloud.credential:readonly": "View cloud credentials.",
              "cloud.datasource": "Manage cloud data sources.",
              "cloud.datasource:readonly": "View cloud data sources.",
              "cloud.model": "Manage cloud models.",
              "repository": "Manage repositories.",
              "repository:readonly": "View repositories.",
              "repository:admin": "Perform admin actions on repositories.",
              "lucid.document.content": "Create, view, edit, and delete any Lucid document accessible by the user.",
              "lucid.document.content:readonly": "View and download any Lucid document accessible by the user.",
              "lucid.document.content:admin": "Perform admin actions on Lucid documents belonging to the account.",
              "lucid.document.content:admin.readonly": "View all Lucid documents belonging to the account with admin permissions.",
              "lucid.document.content.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any Lucid document accessible by the user.",
              "lucid.document.content.share:readonly": "View document collaborators, embeds, and share links for any Lucid document accessible by the user.",
              "lucid.document.content.share.collaborator": "Create, view, edit, and delete document collaborators for any Lucid document accessible by the user.",
              "lucid.document.content.share.collaborator:readonly": "View document collaborators for any Lucid document accessible by the user.",
              "lucid.document.content.share.embed": "Create, view, edit, and delete document embeds for any Lucid document accessible by the user.",
              "lucid.document.content.share.embed:readonly": "View document embeds for any Lucid document accessible by the user.",
              "lucid.document.content.share.link": "Create, view, edit, and delete share links for any Lucid document accessible by the user.",
              "lucid.document.content.share.link:readonly": "View share links for any Lucid document accessible by the user.",
              "lucid.document.storage:admin.readonly": "Perform admin actions backing up Lucid documents belonging to the account.",
              "lucid.document.app": "View, edit, create, and manage folders and documents within an app.",
              "lucid.document.app.folder": "Create, view, edit, and manage any Lucid document within its app-specific folder.",
              "lucid.document.app.picker": "View, edit, and manage any Lucid document selected within an app.",
              "lucid.document.app.picker:readonly": "View and download any Lucid document selected within an app.",
              "lucid.document.app.picker.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any Lucid document selected within an app.",
              "lucid.document.app.picker.share:readonly": "View document collaborators, embeds, and share links for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.collaborator": "Create, view, edit, and delete document collaborators for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.collaborator:readonly": "View document collaborators for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.embed": "Create, view, edit, and delete document embeds for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.embed:readonly": "View document embeds for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.link": "Create, view, edit, and delete share links for any Lucid document selected within an app.",
              "lucid.document.app.picker.share.link:readonly": "View share links for any Lucid document selected within an app.",
              "lucid.document.accessRequest": "Request access to Lucid documents.",
              "licenses:admin": "Perform admin actions on licenses and subscriptions belonging to the account.",
              "licenses:admin.readonly": "View licenses and subscriptions belonging to the account with admin permissions.",
              "teams": "Create, view, and edit, archive, and restore any teams on your account. Control which users belong to teams.",
              "teams:readonly": "View any teams on your account and list which users belong to them.",
              "teams:admin": "Manage teams on your account.",
              "lucidchart.document.app": "View, edit, and manage any Lucidchart document selected for this third-party application. Create, view, edit, and manage any Lucidchart document within its app-specific folder.",
              "lucidchart.document.app.folder": "Create, view, edit, and manage any Lucidchart document within its app-specific folder.",
              "lucidchart.document.app.picker": "View, edit, and manage any Lucidchart document selected for this third-party application.",
              "lucidchart.document.app.picker:readonly": "View and download any Lucidchart document selected for this third-party application.",
              "lucidchart.document.app.picker.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any Lucidchart document selected for this third-party application.",
              "lucidchart.document.app.picker.share:readonly": "View document collaborators, embeds, and share links for any Lucidchart document selected for this third-party application.",
              "lucidchart.document.app.picker.share.collaborator": "Create, view, edit, and delete collaborators and invitations of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.app.picker.share.collaborator:readonly": "View collaborators and invitations of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.app.picker.share.embed": "Create, view, edit, and delete embeds of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.app.picker.share.embed:readonly": "View embeds of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.app.picker.share.link": "Create, view, edit, and delete the third party application's share links of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.app.picker.share.link:readonly": "View the third party application's share links of any Lucidchart document on your team or enterprise account selected for the third-party application.",
              "lucidchart.document.content": "Create, view, edit, and delete any Lucidchart document on your account.",
              "lucidchart.document.content:readonly": "View and download any Lucidchart document on your account.",
              "lucidchart.document.content:admin": "Perform admin actions on Lucidchart documents belonging to the account.",
              "lucidchart.document.content:admin.readonly": "View all Lucidchart documents belonging to the account with admin permissions.",
              "lucidchart.document.content.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any of your Lucidchart documents.",
              "lucidchart.document.content.share:readonly": "View document collaborators, embeds, and share links for any of your Lucidchart documents.",
              "lucidchart.document.content.share.collaborator": "Create, view, edit, and delete collaborators and invitations for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.content.share.collaborator:readonly": "View collaborators and invitations for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.content.share.embed": "Create, view, edit, and delete embeds for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.content.share.embed:readonly": "View embeds for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.content.share.link": "Create, view, edit, and delete the third party application's share links for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.content.share.link:readonly": "View the third party application's share links for any of your Lucidchart documents on your team or enterprise account.",
              "lucidchart.document.storage:admin.readonly": "Perform admin actions backing up Lucidchart documents belonging to the account.",
              "lucidchart.document.accessRequest": "Request access to Lucidchart documents.",
              "lucidspark.document.app": "View, edit, and manage any Lucidspark board selected for this third-party application. Create, view, edit, and manage any Lucidspark board within its app-specific folder.",
              "lucidspark.document.app.folder": "Create, view, edit, and manage any Lucidspark board within its app-specific folder.",
              "lucidspark.document.app.picker": "View, edit, and manage any Lucidspark board selected for this third-party application.",
              "lucidspark.document.app.picker:readonly": "View and download any Lucidspark board selected for this third-party application.",
              "lucidspark.document.app.picker.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any Lucidspark board selected for this third-party application.",
              "lucidspark.document.app.picker.share:readonly": "View document collaborators, embeds, and share links for any Lucidspark board selected for this third-party application.",
              "lucidspark.document.app.picker.share.collaborator": "Create, view, edit, and delete collaborators and invitations of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.app.picker.share.collaborator:readonly": "View collaborators and invitations of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.app.picker.share.embed": "Create, view, edit, and delete embeds of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.app.picker.share.embed:readonly": "View embeds of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.app.picker.share.link": "Create, view, edit, and delete the third party application's share links of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.app.picker.share.link:readonly": "View the third party application's share links of any Lucidspark board on your team or enterprise account selected for the third-party application.",
              "lucidspark.document.content": "Create, view, edit, and delete any Lucidspark board on your account.",
              "lucidspark.document.content:readonly": "View and download any Lucidspark board on your account.",
              "lucidspark.document.content:admin": "Perform admin actions on Lucidspark boards belonging to the account.",
              "lucidspark.document.content:admin.readonly": "View all Lucidspark boards belonging to the account with admin permissions.",
              "lucidspark.document.content.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any of your Lucidspark boards.",
              "lucidspark.document.content.share:readonly": "View document collaborators, embeds, and share links for any of your Lucidspark boards.",
              "lucidspark.document.content.share.collaborator": "Create, view, edit, and delete collaborators and invitations for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.content.share.collaborator:readonly": "View collaborators and invitations for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.content.share.embed": "Create, view, edit, and delete embeds for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.content.share.embed:readonly": "View embeds for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.content.share.link": "Create, view, edit, and delete the third party application's share links for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.content.share.link:readonly": "View the third party application's share links for any of your Lucidspark boards on your team or enterprise account.",
              "lucidspark.document.storage:admin.readonly": "Perform admin actions backing up Lucidspark boards belonging to the account.",
              "lucidspark.document.accessRequest": "Request access to Lucidspark boards.",
              "lucidscale.document.app": "View, edit, and manage any Lucidscale model selected for this third-party application. Create, view, edit, and manage any Lucidscale model within its app-specific folder.",
              "lucidscale.document.app.folder": "Create, view, edit, and manage any Lucidscale model within its app-specific folder.",
              "lucidscale.document.app.picker": "View, edit, and manage any Lucidscale model selected for this third-party application.",
              "lucidscale.document.app.picker:readonly": "View and download any Lucidscale model selected for this third-party application.",
              "lucidscale.document.app.picker.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any Lucidscale model selected for this third-party application.",
              "lucidscale.document.app.picker.share:readonly": "View document collaborators, embeds, and share links for any Lucidscale model selected for this third-party application.",
              "lucidscale.document.app.picker.share.collaborator": "Create, view, edit, and delete collaborators and invitations of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.app.picker.share.collaborator:readonly": "View collaborators and invitations of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.app.picker.share.embed": "Create, view, edit, and delete embeds of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.app.picker.share.embed:readonly": "View embeds of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.app.picker.share.link": "Create, view, edit, and delete the third party application's share links of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.app.picker.share.link:readonly": "View the third party application's share links of any Lucidscale model on your team or enterprise account selected for the third-party application.",
              "lucidscale.document.content": "Create, view, edit, and delete any Lucidscale model on your account.",
              "lucidscale.document.content:readonly": "View and download any Lucidscale model on your account.",
              "lucidscale.document.content:admin": "Perform admin actions on Lucidscale models belonging to the account.",
              "lucidscale.document.content:admin.readonly": "View all Lucidscale models belonging to the account with admin permissions.",
              "lucidscale.document.content.share": "Create, view, edit, and delete document collaborators, embeds, and share links for any of your Lucidscale models.",
              "lucidscale.document.content.share:readonly": "View document collaborators, embeds, and share links for any of your Lucidscale models.",
              "lucidscale.document.content.share.collaborator": "Create, view, edit, and delete collaborators and invitations for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.content.share.collaborator:readonly": "View collaborators and invitations for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.content.share.embed": "Create, view, edit, and delete embeds for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.content.share.embed:readonly": "View embeds for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.content.share.link": "Create, view, edit, and delete the third party application's share links for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.content.share.link:readonly": "View the third party application's share links for any of your Lucidscale models on your team or enterprise account.",
              "lucidscale.document.storage:admin.readonly": "Perform admin actions backing up Lucidscale models belonging to the account.",
              "lucidscale.document.accessRequest": "Request access to Lucidscale models.",
              "offline_access": "Continue to perform authorized actions when you're not logged in (required to refresh tokens).",
              "user.profile": "Allow applications to view basic information about you (e.g., full name, username, and email).",
              "document.app": "View, edit, and manage any Lucidchart document selected for this third-party application. Create, view, edit, and manage any Lucidchart document within its app-specific folder.",
              "document.app.folder": "Create, view, edit, and manage any Lucidchart document within its app-specific folder.",
              "document.app.picker": "View, edit, and manage any Lucidchart document selected for this third-party application.",
              "document.app.picker:readonly": "View and download any Lucidchart document selected for this third-party application.",
              "document.content": "Create, view, edit, and delete any Lucidchart document on your account.",
              "document.content:readonly": "View and download any Lucidchart document on your account."
            }
          }
        }
      },
      "ApiKey": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
```