Adobe Illustrator · JSON Structure

Adobe Illustrator Scripting Document Create Structure

DocumentCreate from Adobe Illustrator API

Type: object Properties: 7
Creative CloudDesignIllustratorVector Graphics

DocumentCreate is a JSON Structure definition published by Adobe Illustrator, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name documentColorSpace width height numArtboards artboardLayout rasterResolution

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-illustrator/refs/heads/main/json-structure/adobe-illustrator-scripting-document-create-structure.json",
  "name": "DocumentCreate",
  "description": "DocumentCreate from Adobe Illustrator API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the new document.",
      "example": "Example Artboard"
    },
    "documentColorSpace": {
      "type": "string",
      "description": "Color mode of the document.",
      "enum": [
        "CMYK",
        "RGB"
      ],
      "default": "RGB",
      "example": "CMYK"
    },
    "width": {
      "type": "double",
      "description": "Document width in points.",
      "default": 612,
      "example": 72.0
    },
    "height": {
      "type": "double",
      "description": "Document height in points.",
      "default": 792,
      "example": 72.0
    },
    "numArtboards": {
      "type": "int32",
      "description": "Number of artboards to create.",
      "default": 1,
      "example": 1024
    },
    "artboardLayout": {
      "type": "string",
      "description": "Layout for multiple artboards.",
      "enum": [
        "GridByRow",
        "GridByCol",
        "Row",
        "Column",
        "RLGridByRow",
        "RLGridByCol",
        "RLRow"
      ],
      "example": "GridByRow"
    },
    "rasterResolution": {
      "type": "string",
      "description": "Raster effects resolution.",
      "enum": [
        "ScreenResolution",
        "MediumResolution",
        "HighResolution"
      ],
      "default": "HighResolution",
      "example": "ScreenResolution"
    }
  }
}