Store
Documentation for the Store schema definition in the Polotno Design JSON Schema.
Store
Type Information
Base Type: object
Properties
Property | Type | Description |
---|---|---|
audios | Array<Audio > | Audio tracks in the design. |
custom | unknown | Custom data attached to the design. |
dpi | number | Dots per inch for print calculations. |
fonts | Array<Font > | Fonts used in the design. |
height | number | Canvas height in pixels. |
pages | Array<Page > | Pages in the design. |
schemaVersion | number | Schema version for compatibility checking. |
unit | "px" | "pt" | "mm" | "in" | Unit type for measurements. |
width | number | Canvas width in pixels. |
JSON Schema
{
"additionalProperties": false,
"properties": {
"audios": {
"description": "Audio tracks in the design.",
"items": {
"$ref": "#/definitions/Audio"
},
"type": "array"
},
"custom": {
"description": "Custom data attached to the design."
},
"dpi": {
"description": "Dots per inch for print calculations.",
"type": "number"
},
"fonts": {
"description": "Fonts used in the design.",
"items": {
"$ref": "#/definitions/Font"
},
"type": "array"
},
"height": {
"description": "Canvas height in pixels.",
"type": "number"
},
"pages": {
"description": "Pages in the design.",
"items": {
"$ref": "#/definitions/Page"
},
"type": "array"
},
"schemaVersion": {
"description": "Schema version for compatibility checking.",
"type": "number"
},
"unit": {
"description": "Unit type for measurements.",
"enum": [
"px",
"pt",
"mm",
"in"
],
"type": "string"
},
"width": {
"description": "Canvas width in pixels.",
"type": "number"
}
},
"required": [
"schemaVersion",
"width",
"height",
"unit",
"dpi",
"fonts",
"pages",
"audios"
],
"type": "object"
}