Skip to content

madoo.design-document/2.0

Madoo DesignDocument 2.0 — A whole document template as the editor saves it; read, create and replace templates in this format.

Reference madoo.design-document/2.0
Schema id urn:madoo:schema:design-document:v2
Version 2.0.0
Served at GET /api/v1/json-schemas/madoo.design-document/2.0 · MCP get_json_schema

The format of a whole document template: read, created and replaced through the design template API and the MCP template tools.

Field Type Required Rules Description
schemaVersion string
pages array of objects
pages[].id string format “uuid”
pages[].name string or null
pages[].width number
pages[].height number
pages[].pageFormat string
pages[].masterPageId string or null format “uuid”
pages[].masterAssignment string or null
pages[].automaticRule string or null
pages[].numberingStart integer or null
pages[].numberingStyle string or null
pages[].hidePageNumber boolean
pages[].useMasterBackground boolean
pages[].masterLayer string
pages[].backgroundColor string
pages[].backgroundPaint object or null no other fields
pages[].backgroundPaint.type string
pages[].backgroundPaint.color string or null
pages[].backgroundPaint.originalColor string or null
pages[].backgroundPaint.units one of "object_bounding_box", "user_space_on_use"
pages[].backgroundPaint.spreadMethod one of "pad", "reflect", "repeat"
pages[].backgroundPaint.x1 number
pages[].backgroundPaint.y1 number
pages[].backgroundPaint.x2 number
pages[].backgroundPaint.y2 number
pages[].backgroundPaint.cx number
pages[].backgroundPaint.cy number
pages[].backgroundPaint.r number
pages[].backgroundPaint.fx number or null
pages[].backgroundPaint.fy number or null
pages[].backgroundPaint.fr number
pages[].backgroundPaint.gradientTransform array of number
pages[].backgroundPaint.stops array of objects
pages[].backgroundPaint.stops[].offset number
pages[].backgroundPaint.stops[].color string
pages[].backgroundPaint.stops[].originalColor string or null
pages[].backgroundPaint.stops[].opacity number
pages[].backgroundImage object or null no other fields
pages[].backgroundImage.src string
pages[].backgroundImage.fitMode string
pages[].backgroundImage.focalX number
pages[].backgroundImage.focalY number
pages[].backgroundImage.scale number
pages[].fitHeight object or null no other fields
pages[].fitHeight.bottomMargin number
pages[].elements array of object or object or object or object or object or object or object or object or object or object or object or object or object
pages[].guides array of objects
pages[].guides[].id string
pages[].guides[].orientation string
pages[].guides[].position number
masterPages array of objects
masterPages[].id string format “uuid”
masterPages[].name string or null
masterPages[].width number
masterPages[].height number
masterPages[].pageFormat string
masterPages[].masterPageId string or null format “uuid”
masterPages[].masterAssignment string or null
masterPages[].automaticRule string or null
masterPages[].numberingStart integer or null
masterPages[].numberingStyle string or null
masterPages[].hidePageNumber boolean
masterPages[].useMasterBackground boolean
masterPages[].masterLayer string
masterPages[].backgroundColor string
masterPages[].backgroundPaint object or null no other fields
masterPages[].backgroundPaint.type string
masterPages[].backgroundPaint.color string or null
masterPages[].backgroundPaint.originalColor string or null
masterPages[].backgroundPaint.units one of "object_bounding_box", "user_space_on_use"
masterPages[].backgroundPaint.spreadMethod one of "pad", "reflect", "repeat"
masterPages[].backgroundPaint.x1 number
masterPages[].backgroundPaint.y1 number
masterPages[].backgroundPaint.x2 number
masterPages[].backgroundPaint.y2 number
masterPages[].backgroundPaint.cx number
masterPages[].backgroundPaint.cy number
masterPages[].backgroundPaint.r number
masterPages[].backgroundPaint.fx number or null
masterPages[].backgroundPaint.fy number or null
masterPages[].backgroundPaint.fr number
masterPages[].backgroundPaint.gradientTransform array of number
masterPages[].backgroundPaint.stops array of objects
masterPages[].backgroundPaint.stops[].offset number
masterPages[].backgroundPaint.stops[].color string
masterPages[].backgroundPaint.stops[].originalColor string or null
masterPages[].backgroundPaint.stops[].opacity number
masterPages[].backgroundImage object or null no other fields
masterPages[].backgroundImage.src string
masterPages[].backgroundImage.fitMode string
masterPages[].backgroundImage.focalX number
masterPages[].backgroundImage.focalY number
masterPages[].backgroundImage.scale number
masterPages[].fitHeight object or null no other fields
masterPages[].fitHeight.bottomMargin number
masterPages[].elements array of object or object or object or object or object or object or object or object or object or object or object or object or object
masterPages[].guides array of objects
masterPages[].guides[].id string
masterPages[].guides[].orientation string
masterPages[].guides[].position number
metadata object no other fields
metadata.author string or null
metadata.title string or null
metadata.subject string or null
metadata.keywords string or null
metadata.lastModified string or null format “date-time”
metadata.displayUnit string or null
metadata.dpi integer or null
metadata.showRulers boolean or null
metadata.showElementInfo boolean or null
metadata.showGuides boolean or null
sampleSets array of objects
sampleSets[].id string format “uuid”
sampleSets[].name string
sampleSets[].values object
styles array of objects
styles[].id string format “uuid”
styles[].name string
styles[].kind string
styles[].properties object
styles[].paintRefs object
components array of objects
components[].id string format “uuid”
components[].name string
components[].width number
components[].height number
components[].elements array of object or object or object or object or object or object or object or object or object or object or object or object or object
madoo.design-document/2.0 (JSON Schema)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:madoo:schema:design-document:v2",
"title": "Madoo DesignDocument 2.0",
"description": "A document template as the editor saves it: pages, master pages, elements (discriminated by $type: text, image, rectangle, circle, ellipse, line, path, group, layout_region, repeat_region, svg_artwork, component_instance, folder), fields, styles, components and sample sets. Set schemaVersion to \"2.0\". IDs are GUIDs unique in the document. Read a template with its content endpoint to see a complete example.",
"type": "object",
"properties": {
"schemaVersion": {
"type": "string"
},
"pages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": [
"string",
"null"
]
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"pageFormat": {
"type": "string"
},
"masterPageId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"masterAssignment": {
"type": [
"string",
"null"
]
},
"automaticRule": {
"type": [
"string",
"null"
]
},
"numberingStart": {
"type": [
"integer",
"null"
]
},
"numberingStyle": {
"type": [
"string",
"null"
]
},
"hidePageNumber": {
"type": "boolean"
},
"useMasterBackground": {
"type": "boolean"
},
"masterLayer": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"backgroundPaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"type": "array",
"items": {
"type": "number"
}
},
"stops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "number"
},
"color": {
"type": "string"
},
"originalColor": {
"type": [
"string",
"null"
]
},
"opacity": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"backgroundImage": {
"type": [
"object",
"null"
],
"properties": {
"src": {
"type": "string"
},
"fitMode": {
"type": "string"
},
"focalX": {
"type": "number"
},
"focalY": {
"type": "number"
},
"scale": {
"type": "number"
}
},
"additionalProperties": false
},
"fitHeight": {
"type": [
"object",
"null"
],
"properties": {
"bottomMargin": {
"type": "number"
}
},
"additionalProperties": false
},
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"$type"
],
"anyOf": [
{
"properties": {
"$type": {
"const": "text"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"text": {
"type": "string"
},
"richText": {
"type": [
"object",
"null"
],
"properties": {
"schema": {
"type": "string"
},
"paragraphs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"list": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"type": "string"
},
"level": {
"type": "integer"
},
"start": {
"type": [
"integer",
"null"
]
}
},
"additionalProperties": false
},
"runs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"fontFamily": {
"type": [
"string",
"null"
]
},
"fontSize": {
"type": [
"number",
"null"
]
},
"fontWeight": {
"type": [
"string",
"null"
]
},
"fontStyle": {
"type": [
"string",
"null"
]
},
"font": {
"type": [
"object",
"null"
],
"properties": {
"schema": {
"type": "string"
},
"familyGuid": {
"type": "string",
"format": "uuid"
},
"versionGuid": {
"type": "string",
"format": "uuid"
},
"family": {
"type": "string"
},
"variant": {
"type": "string"
},
"weight": {
"type": "integer"
},
"style": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"fallback": {
"type": [
"object",
"null"
],
"properties": {
"schema": {
"type": "string"
},
"familyGuid": {
"type": "string",
"format": "uuid"
},
"versionGuid": {
"type": "string",
"format": "uuid"
},
"family": {
"type": "string"
},
"variant": {
"type": "string"
},
"weight": {
"type": "integer"
},
"style": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"fallback": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/richText/properties/paragraphs/items/properties/runs/items/properties/font/properties/fallback"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"fill": {
"type": [
"string",
"null"
]
},
"underline": {
"type": [
"boolean",
"null"
]
},
"linethrough": {
"type": [
"boolean",
"null"
]
},
"baselineShift": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"specialFieldCode": {
"type": [
"string",
"null"
]
},
"fontFamily": {
"type": "string"
},
"fontSize": {
"type": "number"
},
"fontWeight": {
"type": "string"
},
"fontStyle": {
"type": "string"
},
"font": {
"type": [
"object",
"null"
],
"properties": {
"schema": {
"type": "string"
},
"familyGuid": {
"type": "string",
"format": "uuid"
},
"versionGuid": {
"type": "string",
"format": "uuid"
},
"family": {
"type": "string"
},
"variant": {
"type": "string"
},
"weight": {
"type": "integer"
},
"style": {
"type": "string"
},
"fingerprint": {
"type": "string"
},
"fallback": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/richText/properties/paragraphs/items/properties/runs/items/properties/font/properties/fallback"
}
},
"additionalProperties": false
},
"fill": {
"type": "string"
},
"textAlign": {
"enum": [
"left",
"center",
"right",
"justify"
]
},
"lineHeight": {
"type": "number"
},
"underline": {
"type": "boolean"
},
"linethrough": {
"type": "boolean"
},
"charSpacing": {
"type": "number"
},
"style": {
"enum": [
"custom",
"title",
"subtitle",
"heading",
"paragraph",
"caption"
]
},
"leading": {
"type": [
"number",
"null"
]
},
"baselineOffset": {
"type": [
"number",
"null"
]
},
"fixedHeight": {
"type": [
"number",
"null"
]
},
"overflowMode": {
"enum": [
"shrink",
"clip",
"clip_ellipsis"
]
},
"minFontSize": {
"type": "number"
},
"grow": {
"type": [
"object",
"null"
],
"properties": {
"maxLines": {
"type": "integer"
},
"beyond": {
"type": "string"
},
"height": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"type": "array",
"items": {
"type": "number"
}
},
"shapes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"pathData": {
"type": "string"
},
"fillRule": {
"enum": [
"non_zero",
"even_odd"
]
},
"transform": {
"type": "array",
"items": {
"type": "number"
}
},
"opacity": {
"type": "number"
},
"luminance": {
"type": "number"
},
"color": {
"type": "string"
},
"originalColor": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"type": "array",
"items": {
"type": "number"
}
},
"shapes": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes/items"
}
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"opacity": {
"type": "number"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
},
"blur": {
"type": "number"
},
"spread": {
"type": "number"
},
"nonScaling": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"type": [
"object",
"null"
],
"properties": {
"locale": {
"type": [
"string",
"null"
]
},
"numberStyle": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"minimumFractionDigits": {
"type": [
"integer",
"null"
]
},
"maximumFractionDigits": {
"type": [
"integer",
"null"
]
},
"trueLabel": {
"type": [
"string",
"null"
]
},
"falseLabel": {
"type": [
"string",
"null"
]
},
"booleanMode": {
"type": [
"string",
"null"
]
},
"colorTarget": {
"type": [
"string",
"null"
]
},
"currencyDisplay": {
"type": [
"string",
"null"
]
},
"useGrouping": {
"type": [
"boolean",
"null"
]
},
"signDisplay": {
"type": [
"string",
"null"
]
},
"negative": {
"type": [
"string",
"null"
]
},
"prefix": {
"type": [
"string",
"null"
]
},
"suffix": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "image"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"src": {
"type": "string"
},
"cropX": {
"type": "number"
},
"cropY": {
"type": "number"
},
"cropWidth": {
"type": "number"
},
"cropHeight": {
"type": "number"
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch"
]
},
"frame": {
"type": [
"object",
"null"
],
"properties": {
"focalX": {
"type": "number"
},
"focalY": {
"type": "number"
},
"scale": {
"type": "number"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
},
"rotation": {
"type": "number"
},
"strokeColor": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
}
},
"additionalProperties": false
},
"crossOrigin": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "rectangle"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"fill": {
"type": [
"string",
"null"
]
},
"stroke": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
},
"fillPaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"strokePaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"fillOpacity": {
"type": "number"
},
"paintOrder": {
"enum": [
"fill_then_stroke",
"stroke_then_fill"
]
},
"strokeOpacity": {
"type": "number"
},
"strokeLineCap": {
"enum": [
"butt",
"round",
"square"
]
},
"strokeLineJoin": {
"enum": [
"miter",
"round",
"bevel"
]
},
"strokeDashArray": {
"type": "array",
"items": {
"type": "number"
}
},
"strokeDashOffset": {
"type": "number"
},
"strokeMiterLimit": {
"type": "number"
},
"nonScalingStroke": {
"type": "boolean"
},
"rx": {
"type": "number"
},
"ry": {
"type": "number"
},
"cornerRadiusTopLeft": {
"type": "number"
},
"cornerRadiusTopRight": {
"type": "number"
},
"cornerRadiusBottomRight": {
"type": "number"
},
"cornerRadiusBottomLeft": {
"type": "number"
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "circle"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"radius": {
"type": "number"
},
"fill": {
"type": [
"string",
"null"
]
},
"stroke": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
},
"fillPaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"strokePaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"fillOpacity": {
"type": "number"
},
"paintOrder": {
"enum": [
"fill_then_stroke",
"stroke_then_fill"
]
},
"strokeOpacity": {
"type": "number"
},
"strokeLineCap": {
"enum": [
"butt",
"round",
"square"
]
},
"strokeLineJoin": {
"enum": [
"miter",
"round",
"bevel"
]
},
"strokeDashArray": {
"type": "array",
"items": {
"type": "number"
}
},
"strokeDashOffset": {
"type": "number"
},
"strokeMiterLimit": {
"type": "number"
},
"nonScalingStroke": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "ellipse"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"rx": {
"type": "number"
},
"ry": {
"type": "number"
},
"fill": {
"type": [
"string",
"null"
]
},
"stroke": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
},
"fillPaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"strokePaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"fillOpacity": {
"type": "number"
},
"paintOrder": {
"enum": [
"fill_then_stroke",
"stroke_then_fill"
]
},
"strokeOpacity": {
"type": "number"
},
"strokeLineCap": {
"enum": [
"butt",
"round",
"square"
]
},
"strokeLineJoin": {
"enum": [
"miter",
"round",
"bevel"
]
},
"strokeDashArray": {
"type": "array",
"items": {
"type": "number"
}
},
"strokeDashOffset": {
"type": "number"
},
"strokeMiterLimit": {
"type": "number"
},
"nonScalingStroke": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "line"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"stroke": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
},
"strokePaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"strokeOpacity": {
"type": "number"
},
"strokeLineCap": {
"enum": [
"butt",
"round",
"square"
]
},
"strokeLineJoin": {
"enum": [
"miter",
"round",
"bevel"
]
},
"strokeDashArray": {
"type": "array",
"items": {
"type": "number"
}
},
"strokeDashOffset": {
"type": "number"
},
"strokeMiterLimit": {
"type": "number"
},
"nonScalingStroke": {
"type": "boolean"
},
"startMarker": {
"enum": [
"none",
"arrow",
"circle"
]
},
"endMarker": {
"enum": [
"none",
"arrow",
"circle"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "path"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"pathData": {
"type": "string"
},
"fill": {
"type": [
"string",
"null"
]
},
"stroke": {
"type": [
"string",
"null"
]
},
"strokeWidth": {
"type": "number"
},
"fillPaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"strokePaint": {
"type": [
"object",
"null"
],
"properties": {
"type": {
"type": "string"
},
"color": {
"type": [
"string",
"null"
]
},
"originalColor": {
"type": [
"string",
"null"
]
},
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"spreadMethod": {
"enum": [
"pad",
"reflect",
"repeat"
]
},
"x1": {
"type": "number"
},
"y1": {
"type": "number"
},
"x2": {
"type": "number"
},
"y2": {
"type": "number"
},
"cx": {
"type": "number"
},
"cy": {
"type": "number"
},
"r": {
"type": "number"
},
"fx": {
"type": [
"number",
"null"
]
},
"fy": {
"type": [
"number",
"null"
]
},
"fr": {
"type": "number"
},
"gradientTransform": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/gradientTransform"
},
"stops": {
"$ref": "#/properties/pages/items/properties/backgroundPaint/properties/stops"
}
},
"additionalProperties": false
},
"fillRule": {
"enum": [
"non_zero",
"even_odd"
]
},
"fillOpacity": {
"type": "number"
},
"paintOrder": {
"enum": [
"fill_then_stroke",
"stroke_then_fill"
]
},
"strokeOpacity": {
"type": "number"
},
"strokeLineCap": {
"enum": [
"butt",
"round",
"square"
]
},
"strokeLineJoin": {
"enum": [
"miter",
"round",
"bevel"
]
},
"strokeDashArray": {
"type": "array",
"items": {
"type": "number"
}
},
"strokeDashOffset": {
"type": "number"
},
"strokeMiterLimit": {
"type": "number"
},
"nonScalingStroke": {
"type": "boolean"
},
"startMarker": {
"enum": [
"none",
"arrow",
"circle"
]
},
"endMarker": {
"enum": [
"none",
"arrow",
"circle"
]
},
"startSvgMarker": {
"type": [
"object",
"null"
],
"properties": {
"refX": {
"type": "number"
},
"refY": {
"type": "number"
},
"markerWidth": {
"type": "number"
},
"markerHeight": {
"type": "number"
},
"viewBoxX": {
"type": "number"
},
"viewBoxY": {
"type": "number"
},
"viewBoxWidth": {
"type": "number"
},
"viewBoxHeight": {
"type": "number"
},
"scaleWithStroke": {
"type": "boolean"
},
"orientAuto": {
"type": "boolean"
},
"orientAngle": {
"type": "number"
},
"shapes": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes/items"
}
}
},
"additionalProperties": false
},
"endSvgMarker": {
"type": [
"object",
"null"
],
"properties": {
"refX": {
"type": "number"
},
"refY": {
"type": "number"
},
"markerWidth": {
"type": "number"
},
"markerHeight": {
"type": "number"
},
"viewBoxX": {
"type": "number"
},
"viewBoxY": {
"type": "number"
},
"viewBoxWidth": {
"type": "number"
},
"viewBoxHeight": {
"type": "number"
},
"scaleWithStroke": {
"type": "boolean"
},
"orientAuto": {
"type": "boolean"
},
"orientAngle": {
"type": "number"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/6/properties/startSvgMarker/properties/shapes"
}
},
"additionalProperties": false
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "group"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"children": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items"
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "layout_region"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"layout": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"sizing": {
"type": "string"
},
"paddingTop": {
"type": "number"
},
"paddingRight": {
"type": "number"
},
"paddingBottom": {
"type": "number"
},
"paddingLeft": {
"type": "number"
},
"rowGap": {
"type": "number"
},
"columnGap": {
"type": "number"
},
"columns": {
"type": "integer"
},
"mainAxisAlignment": {
"type": "string"
},
"crossAxisAlignment": {
"type": "string"
},
"clip": {
"type": "boolean"
},
"childSizing": {
"type": [
"string",
"null"
]
},
"anchor": {
"type": [
"string",
"null"
]
},
"cornerRadius": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"children": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items"
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "repeat_region"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"sourceCode": {
"type": "string"
},
"maxItems": {
"type": "integer"
},
"overflowPolicy": {
"type": "string"
},
"pagePrototypeId": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"layout": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"sizing": {
"type": "string"
},
"paddingTop": {
"type": "number"
},
"paddingRight": {
"type": "number"
},
"paddingBottom": {
"type": "number"
},
"paddingLeft": {
"type": "number"
},
"rowGap": {
"type": "number"
},
"columnGap": {
"type": "number"
},
"columns": {
"type": "integer"
},
"mainAxisAlignment": {
"type": "string"
},
"crossAxisAlignment": {
"type": "string"
},
"clip": {
"type": "boolean"
},
"childSizing": {
"type": [
"string",
"null"
]
},
"anchor": {
"type": [
"string",
"null"
]
},
"cornerRadius": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
},
"itemFields": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"required": {
"type": "boolean"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"children": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items"
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "svg_artwork"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"src": {
"type": "string"
},
"sha256": {
"type": "string"
},
"sanitizerProfile": {
"type": "string"
},
"viewBoxX": {
"type": "number"
},
"viewBoxY": {
"type": "number"
},
"viewBoxWidth": {
"type": "number"
},
"viewBoxHeight": {
"type": "number"
},
"preserveAspectRatio": {
"type": "boolean"
},
"palette": {
"type": "array",
"items": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"originalColor": {
"type": "string"
},
"color": {
"type": "string"
},
"uses": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "component_instance"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"componentId": {
"type": "string",
"format": "uuid"
},
"overrides": {
"type": "object",
"additionalProperties": {
"type": "object"
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"properties": {
"$type": {
"const": "folder"
},
"type": {
"enum": [
"text",
"image",
"rectangle",
"circle",
"ellipse",
"line",
"path",
"group",
"layout_region",
"repeat_region",
"svg_artwork",
"component_instance",
"layer_folder"
]
},
"children": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items"
}
},
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"left": {
"type": "number"
},
"top": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"scaleX": {
"type": "number"
},
"scaleY": {
"type": "number"
},
"flipX": {
"type": "boolean"
},
"flipY": {
"type": "boolean"
},
"angle": {
"type": "number"
},
"opacity": {
"type": "number"
},
"visible": {
"type": "boolean"
},
"locked": {
"type": "boolean"
},
"styleRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
},
"styleOverrides": {
"type": "array",
"items": {
"type": "string"
}
},
"originalFillColor": {
"type": [
"string",
"null"
]
},
"originalStrokeColor": {
"type": [
"string",
"null"
]
},
"clipPath": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/clipPath/properties/shapes"
}
},
"additionalProperties": false
},
"opacityMask": {
"type": [
"object",
"null"
],
"properties": {
"units": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"contentUnits": {
"enum": [
"object_bounding_box",
"user_space_on_use"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"transform": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/transform"
},
"shapes": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/opacityMask/properties/shapes"
}
},
"additionalProperties": false
},
"shadows": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/shadows/items"
}
},
"placeholder": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"placeholderType": {
"enum": [
"text",
"image",
"number",
"boolean",
"color",
"json"
]
},
"required": {
"type": "boolean"
},
"defaultValue": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"fitMode": {
"enum": [
"fit",
"fill",
"stretch",
null
]
},
"alignment": {
"enum": [
"top_left",
"top_center",
"top_right",
"center_left",
"center",
"center_right",
"bottom_left",
"bottom_center",
"bottom_right",
null
]
},
"importedPdfImageID": {
"type": [
"integer",
"null"
]
},
"bindingPath": {
"type": [
"string",
"null"
]
},
"format": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/placeholder/properties/format"
}
},
"additionalProperties": false
},
"followsRowHeight": {
"type": [
"boolean",
"null"
]
},
"layoutBackground": {
"type": [
"boolean",
"null"
]
},
"condition": {
"type": [
"object",
"null"
],
"properties": {
"operator": {
"type": "string"
},
"placeholderCode": {
"type": [
"string",
"null"
]
},
"literal": {
"type": [
"string",
"null"
]
},
"conditions": {
"$ref": "#/properties/pages/items/properties/elements/items/anyOf/0/properties/condition/properties/conditions"
}
},
"additionalProperties": false
},
"link": {
"type": [
"object",
"null"
],
"properties": {
"href": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
]
}
},
"guides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"orientation": {
"type": "string"
},
"position": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"masterPages": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items"
}
},
"metadata": {
"type": "object",
"properties": {
"author": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"subject": {
"type": [
"string",
"null"
]
},
"keywords": {
"type": [
"string",
"null"
]
},
"lastModified": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"displayUnit": {
"type": [
"string",
"null"
]
},
"dpi": {
"type": [
"integer",
"null"
]
},
"showRulers": {
"type": [
"boolean",
"null"
]
},
"showElementInfo": {
"type": [
"boolean",
"null"
]
},
"showGuides": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
},
"sampleSets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"values": {
"type": "object"
}
},
"additionalProperties": false
}
},
"styles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"kind": {
"type": "string"
},
"properties": {
"type": "object"
},
"paintRefs": {
"type": "object",
"additionalProperties": {
"type": "string",
"format": "uuid"
}
}
},
"additionalProperties": false
}
},
"components": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"elements": {
"type": "array",
"items": {
"$ref": "#/properties/pages/items/properties/elements/items"
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}