Export Format
Prezillo documents can be exported as self-contained JSON files for backup, sharing, and interoperability.
File Format
- File extension:
.prezillo - Content type:
application/vnd.cloudillo.prezillo+json - Format version:
3.0.0 - Encoding: UTF-8 JSON
v3 generic export format
Since format version 3.0.0, Prezillo uses the generic exportYDoc() serializer from @cloudillo/crdt. All Yjs types carry inline @T type markers and data keys match the raw CRDT shared type names. See v3 Generic Export Format for the full specification.
Envelope Structure
Envelope Fields
| Field | Type | Description |
|---|---|---|
contentType |
string |
Always "application/vnd.cloudillo.prezillo+json" |
appVersion |
string |
Prezillo version that created this export |
formatVersion |
string |
Export format version (currently "3.0.0") |
exportedAt |
string |
ISO 8601 timestamp of export |
Data Fields
| Key | @T |
Yjs Type | Description |
|---|---|---|---|
m |
M |
Y.Map |
Document metadata (name, default dimensions, grid settings) |
o |
M |
Y.Map<StoredObject> |
All objects keyed by ObjectId |
c |
M |
Y.Map<StoredContainer> |
All containers keyed by ContainerId |
r |
A |
Y.Array<ChildRef> |
Root-level children in order |
ch |
M |
Y.Map<Y.Array<ChildRef>> |
Children per container, keyed by ContainerId |
v |
M |
Y.Map<StoredView> |
All views keyed by ViewId |
vo |
A |
Y.Array<string> |
ViewId strings in presentation order |
rt |
M |
Y.Map<Y.Text> |
Rich text content keyed by ObjectId |
st |
M |
Y.Map<StoredStyle> |
All styles keyed by StyleId |
tpl |
M |
Y.Map<StoredTemplate> |
All templates keyed by TemplateId |
tpo |
M |
Y.Map<Y.Array<string>> |
Prototype object arrays keyed by TemplateId |
pl |
M |
Y.Map<StoredPalette> |
The document palette (single entry keyed by 'default') |
Rich Text Serialization
Rich text entries in the rt map are Y.Text instances, serialized with the @T: "T" marker containing both the plain text and the full Quill Delta operations:
| Field | Type | Description |
|---|---|---|
@T |
"T" |
Type marker indicating a Y.Text instance |
text |
string |
Plain text content (for search/indexing) |
delta |
object[] |
Quill Delta operations (for restoring formatting) |
Numeric Precision
All numeric values are rounded to 3 decimal places in the export to produce cleaner output. For example, a position of [100.123456, 200.789012] becomes [100.123, 200.789].
Complete Example
A minimal presentation with 2 slides, one text box, and one rectangle: