Back to Website
Show / Hide Table of Contents

Markers in JSON format

  • 10 minutes to read

The Design Editor uses so-called markers to manage permissions for each design element. Alternatively to the markers in Photoshop and InDesign files, you can specify these permissions outside of templates in the JSON format. In this topic, you can find a table of all the markers supported by the Design Editor and their equivalent JSON definition.

The markers can be divided into the following groups:

  • Manipulations
  • Visualization
  • Text
  • Shapes
  • Layers
  • Predefined values
  • Images
  • Image placeholders
  • Barcode placeholders
  • The Object Inspector
  • Product themes
  • Spot channels
  • Groups
  • Violation warnings
  • Miscellaneous
  • Shortcuts
Marker Type Default value Description with a JSON example
Manipulation behavior
<MAD> boolean t Allows Deleting.
"manipulationPermissions": {
    "allowDelete": false
}
<MADND> boolean t Allows Drag-N-Drop.
"manipulationPermissions": {
    "allowDragAndDrop": false
}
<MAMH> boolean t Allows Move Horizontal.
"manipulationPermissions": {
    "allowMoveHorizontal": false
}
<MAMV> boolean t Allows Move Vertical.
"manipulationPermissions": {
    "allowMoveVertical": false
}
<MAR> boolean t Allows Rotation.
"manipulationPermissions": {
    "allowRotate": false
}
<MRC> enum of a | p Defines how corner grips resize single design elements. Using permissions, you can define the corner array of two items: the first one is for normal dragging the corner grips, and the second one is for dragging the corner grips while holding down the Shift key. They can be either "Proportional" or "Arbitrary".
"manipulationPermissions": {
   "resizeGrips": {
      "corner": ["Proportional", "Arbitrary"]
   }
}

This permission is equal to the <MRC_pa> marker. To disable corner grips and prevent resizing of the element, specify <MRC> that is equal to:

"manipulationPermissions": {
    "resizeGrips": { "corner": [] }
}
<MRE> boolean t Enables edge grips on bounding rectangles.
"manipulationPermissions": {
    "resizeGrips": {
        "edge": true
    }
}
Visualization behavior
<VNP> boolean t No Print.
"visualizationPermissions": {
    "noPrint": true
}
<VNS> boolean t No Show.
"visualizationPermissions": {
    "noShow": true
}
Text behavior
<ART> boolean t Enables ARched Text
"archedText": true
<ARTB> float 0 ARched Text Bending.
"archedText": true,
"textBend": -0.5
<AST> boolean t Applies only to PSD templates. Automatically Scales Text to fit the bounding rectangle.
"autoScaledText": true
<RT> enum of true | false | auto true Rich Text.
"textPermissions": {
    "allowTextFormatting": false
}
<TACA> boolean t Allows Changing Alignment of point text.
"textPermissions": {
    "allowChangeTextAlignment": false
}
<TACBIU> boolean t Allows Changing Bold Italic Underline styles of point text.
"textPermissions": {
    "allowChangeTextBIU": false
}
<TACCC> boolean t Allows Changing Column Count for rich formatted text.
"pathBoundedTextPermissions": {
    "allowChangeColumnCount": false
}
<TACF> boolean t Allows Changing Font of point text.
"textPermissions": {
    "allowChangeFont": false
}
<TACFC> boolean t Allows Changing Font Color of point text.
"textPermissions": {
    "allowChangeFontColor": false
}
<TACFS> boolean t Allows Changing Font Size of point text.
"textPermissions": {
    "allowChangeFontSize": false
}
<TACSTC> boolean t Allows Change Stroke Color.
"textPermissions": {
    "allowChangeStrokeColor": false
}
<TACT> boolean t Allows Changing Text.
"textPermissions": {
    "allowChangeText": false
}
<TAESH> boolean t Allows Editing Shadow.
"textPermissions": {
    "allowChangeShadow": false
}
<TAEST> boolean t Allows Editing Stroke.
"textPermissions": {
    "allowChangeStroke": false
}
<TATF> enum of true | false | null true Allows Text Formatting.
"textPermissions": {
    "allowTextFormatting": false
}
<TCC> number 1 Applies only to PSD templates. Column Count of formatted text.
"textColumnCount": 2
<TCL> number Character Limit.
"richTextCharacterLimit": 200
<TMLC> number Max Line Count.
"textMaxLineCount": 2
<TMLL> number Max Line Length.
"textMaxLineLength": 7
<TOS> enum of clip | expandBox | fitToBox | fitToWidth clip Overflow Strategy.
"overflowStrategy": "FitToWidth"
<TPH> boolean t Text Placeholder.
"textPlaceholder": true
<TSM> enum of scale | size size Shrink Mode of plain bounded text.
"textShrinkMode": "Scale"
<TVA> enum of top | center | bottom top Vertical Alignment for bounded text.
"textVerticalAlignment": "Center"
Shape behavior
<SACBC> boolean t Allows Changing Border Color.
"shapePermissions": {
    "allowChangeBorderColor": false
}
<SACBW> boolean t Allows Changing Border Width.
"shapePermissions": {
    "allowChangeBorderWidth": false
}
<SACFC> boolean t Allows Changing Fill Color.
"shapePermissions": {
    "allowChangeFillColor": false
}
<SR> boolean t Rasterizes shape elements.
"rasterizeShape": true
Layer behavior
<LACO> boolean t Allows Changing Opacity of layers.
"itemPermissions": {
    "allowOpacityChange": false
}
Setting up predefined values for layers
<IASF_folder> Text Image from Allowed Subfolder.
"imageAllowedGallerySubfolder": "sea_photos"
<MVI> number 1 Applies only to PSD templates. Multi-Value Item.
"multiValueItem": true,
"mviFirstItemIndex": 2
<MVIKT> boolean t Applies only to PSD templates. Multi-Value Item Keeps Transforms.
"multiValueItem": true,
"multiValueItemKeepTransformation": true
Image behavior
<AT> Text Allowed Tabs.
"allowedTabs": ["My Files", "Facebook"]
<IACI> boolean t Allows Changing the Images and the placeholder's content.
"imagePermissions": {
    "allowChangeImage": false
}
<IAKOC> boolean t Allows for Keeping an Overlay Color for images and the placeholder's content.
"imagePermissions": {
    "keepOverlayColor": true
}
<IAEI> boolean t Allows for Editing Images and the placeholder's content.
"imagePermissions": {
    "allowEditImage": false
}
<IE> enum of none | blackAndWhite | grayscale | colorize | flipVertical | flipHorizontal none Image Effect.
"imageEffect": "FlipVertical"
<IFC> string Image Fill Color.
"imageEffect": "Colorize"
"ImageFillColor":
    "cmyk(0%, 100%, 100%, 0%, 100%)"
<RVC> boolean t Deprecated, use <SR> instead. Applies only to PSD templates. Rasterizes Vector Content.
"rasterizeVectorContentInSmartFrame": true
Placeholder behavior
<PACM> boolean t Allows Cover Mode.
"isCoverMode": true
<PAEC> boolean t Allows Edit Content.
"placeholderPermissions": {
    "allowEditContent": false
}
<PCHA> enum of center | left | right center Aligns the Placeholder's Content Horizontally.
"placeholderContentHorizontalAlign": "Left"
<PCVA> enum of center | top | bottom center Aligns the Placeholder's Content Vertically.
"placeholderContentVerticalAlign": "Bottom"
<PH> enum of normal | empty | stub normal Enables placeholders.
"placeholder": true,
"placeholderType": "Empty"
<PHRM> enum of fit | fill | original fit Placeholder Resize Mode.
"placeholderResizeMode": "Fill"
<PLID> Text Placeholder Identifier.
"placeholderLinkId": "photo"
<PSSB> boolean t Shows the Select Button on a placeholder.
"placeholderPermissions": {
    "showSelectButton": false
}
<FSCS> boolean t Fixes the Stub Content Size.
"fixedStubContentSize": true
Behavior of Barcode placeholders
<BACC> boolean t Allows Change Content.
"barcodePermissions": {
    "allowChangeBarcodeContent": false
}
<BACCL> boolean t Allows Change Color.
"barcodePermissions": {
    "allowChangeBarcodeColor": false
}
<BACT> boolean t Allows Change Type.
"barcodePermissions": {
    "allowChangeBarcodeType": true
}
<BPH> enum of EAN_8 | EAN_13 | UPC_A | UPC_E | IMB | QR_CODE | CODE_128 | DATA_MATRIX QR_CODE Enables stub Barcode Placeholders.
"placeholder": true,
"placeholderType": "Stub",
"barcodePlaceholderType": "EAN_8"
Behavior in the Object Inspector
<OIAZC> boolean t Allows Z-order Change.
"itemPermissions": {
    "allowZOrderChange": false
}
<OID> boolean t Defines whether to Display an element in the Object Inspector.
"frontendPermissions": {
    "displayInObjectInspector": false
}
Product themes
<STYLE> Text Style allows you to change colors and text properties of design elements in product templates.
"themeBinding": {
    "styles": ["FancyText"]
}
<THMB> enum of img | border | fill | text | stroke | shadow | line | barcode Theme binding allows for recoloring the design elements in product templates.
"themeBinding": {
    "img": "images",
    "border": "borders",
    "text": "main"
}
Spot channels
<CN> Text Applies only to PSD templates. Container Name creates a channel container and a channel tab in the Object Inspector.
"containerName": "spotColor",
"previewSpotColor": "rgb(0,255,0)"
<PSC> Text Applies only to PSD templates. Preview Spot Color.
"containerName": "spotColor",
"previewSpotColor": "rgb(255,0,0)"
<TFP> Text Applies only to PSD templates. Texture File Path creates a texture container.
"containerName": "texture",
"textureFilePath": "textures/sand.jpg"
<TK> Text Applies only to PSD templates. Translation Key allows localization of channel tab names in the Object Inspector.
"containerName": "spotColor",
"previewSpotColor": "rgb(0,255,0)",
"translationKey":
    "ObjectInspector.SPOT_COLOR_CONTAINER"
Groups
<AGRA> enum of left | top | right | bottom | center | none none Auto-layout Group Alignment.
  • left or top - align elements to the upper-left group corner. When defining permissions, use Start instead.
  • right or bottom - align elements to the lower-right group corner. When defining permissions, use End instead.
  • center - aligns elements to the group center.
  • auto - applies the same alignment as in the template.
  • none - leaves elements unaligned.
"group": true,
"autoLayoutAlignItems": "Start"
<AGRAP> enum of start | center | end start Auto-layout Group Anchor Point.
"group": true,
"autoLayoutAlignItems": "End"
"autoLayoutAnchorPoint": "End"
<AGRM> number auto Auto-layout Group Margin.
"group": true,
"autoLayoutMargin": 8
<AGRO> enum of vertical | horizontal auto Auto-layout Group Orientation.
"group": true,
"autoLayoutOrientation": "Vertical"
<GR> enum of t | f | autolayout t Group defines how to import layer groups from product templates.
"group": true
<GARC> boolean t Allows Replacing Content.
"groupItemPermissions": {
    "allowReplaceContent": true
}
Violation warnings
<VSAR> boolean t Allows Region Violation.
"violationSettings": {
    "allowRegion": false
}
<VSASL> boolean t Allows Safety Line Violation.
"violationSettings": {
    "allowSafetyLines": false
}
<VSAIQ> boolean t Allows Image Quality Violation.
"violationSettings": {
    "allowImageQuality": false
}
<VSAS> boolean t Allows Shape Violation.
"violationSettings": {
    "allowShape": false
}
<VSATC> boolean t Allows Text Crop.
"violationSettings": {
    "allowTextCrop": false
}
<VSABA> boolean t (f) Allows Bleed Area Violation.
"violationSettings": {
    "allowBleedArea": false
}
<VSAIT> boolean t Enables In-place Text editing warnings.
"violationSettings": {
    "allowInPlaceText ": false
}
Miscellaneous
<BG> boolean t Background.
"background": true
<BGIMG> Text Applies only to PSD templates. Background Image.
"background": true,
"backgroundImage": "backgrounds/rose.jpg"
<FG> boolean t Foreground.
"foreground": true
<FR> boolean t Applies only to PSD templates. Frame decorates a placeholder.
"frame": true
<LC> boolean t Locked.
"locked": true
<PBT> boolean t Applies only to PSD templates. Path Bounded Text.
"pathBoundedText": true
<R> boolean t Region.
"region": true
<ROLC> boolean Applies only to PSD templates. Remove On Layout Change.
"itemPermissions": {
    "allowRemoveOnLayoutChange": false
}
<TWM> enum of tight | square | none none Text Wrapping Marker.
"textWrappingMode": "Tight"
<VAR> boolean t Variable item.
"isVariable": true
Marker shortcuts
<LPH> Logo Placeholders. This shortcut is equal to the set of <AT_My Files><PH_stub><PHRM_fit><PACM_f><MRC_p> markers.
"logo_placeholder|LPH": {
    "allowedTabs": [ "My Files" ],
    "placeholder": true,
    "placeholderType": "Stub",
    "placeholderResizeMode": "Fit",
    "isCoverMode": false,
    "manipulationPermissions": {
        "resizeGrips": {
            "corner": [ "Proportional" ]
        }
    }
}
<PPH> Photo Placeholders in the Fill. This shortcut is equal to the set of <AT_My Files><PH_stub><PHRM_fill><PACM_t><MRC_p> markers.
"photo_placeholder|PPH": {
    "allowedTabs": [ "My Files" ],
    "placeholder": true,
    "placeholderType": "Stub",
    "placeholderResizeMode": "Fill",
    "isCoverMode": true,
    "manipulationPermissions": {
        "resizeGrips": {
            "corner": [ "Proportional" ]
        }
    }
}
<PSLD> Position Locked Deletable. This shortcut is equal to the set of <MAD_f><MAMH_f><MAMV_f><MAR_f><MRC> markers.
"locked_deletable|PSLD": {
    "manipulationPermissions": {
        "allowDelete": true,
        "allowMoveHorizontal": false,
        "allowMoveVertical": false,
        "allowRotate": false,
        "resizeGrips": { "corner": [] }
    }
}
<PSLUD> Position Locked Undeletable. This shortcut is equal to the set of <MAD_f><MAMH_f><MAMV_f><MAR_f><MRC> markers.
"locked_undeletable|PSLUD": {
    "manipulationPermissions": {
        "allowDelete": false,
        "allowMoveHorizontal": false,
        "allowMoveVertical": false,
        "allowRotate": false,
        "resizeGrips": { "corner": [] }
    }
}
<UML> Up Mockup Layer. This shortcut is equal to the set of <FG><LC><VNP> markers.
"up_mockup_layer|UML": {
    "foreground": true,
    "locked": true,
    "visualizationPermissions": {
        "noPrint": true
    }
}
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...