| Proprietas | Typus | Requiritur | Exemplum | Ambitus Valoris | Descriptio |
|---|---|---|---|---|---|
| type | string | false | video | video | animation | Type proiectus (e.g., "video" aut "animation"). |
| width | number | true | 1920 | 720 - 3840 | Latitudo tabulae proiectus. Adhibetur ut basis resolutio pro scala. |
| height | number | true | 1080 | 720 - 3840 | Altitudo tabulae proiectus. Adhibetur ut basis resolutio pro scala. |
| fill | string | object | true | #000000 | - | Fundus tabulae proiectus. Potest esse hex color string (e.g., "#000000") aut gradient object cum genere "linear" aut "radial", colorStops array, et initium/finem coordinatas. |
| duration | number | true | 10 | > 0 | Totalis duratio proiectus, in secundis. |
| view | array | true | - | - | Array elementorum repraesentans contentum visibile in proiectu, incluso 2D elementis (Imago, Video, Textus, Forma, etc.) et 3D elementis. Haec array non potest esse vacua. |
| audio | array | false | - | - | Array tractuum sonorum adhibitorum in proiectu. |
| effect | array | false | - | - | Array effectuum visorum adhibitorum ad tabulam. |
| transition | array | false | - | - | Array transitionum adhibitarum inter diversas visiones. |
| remoteFonts | array | false | - | - | Array definitionum fontium remotorum quae in textu et captionibus adhiberi possunt. |
The remoteFonts field allows you to include custom web fonts in your project. Each font definition must include a direct link to the font file (HTTPS only) and font metadata.
| Proprietas | Typus | Requiritur | Exemplum | Ambitus Valoris | Descriptio |
|---|---|---|---|---|---|
| family | string | true | My Custom Font | - | Nomen familiae fontis quod adhibebitur ad referendam hanc fontem in elementis textus. |
| url | string | true | https://example.com/fonts/mycustomfont.woff2 | - | Directus HTTPS URL ad fontem. Debet esse publice accessibilis nexus. |
| weight | string | false | 400 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | Pondera fontis. Communes valores sunt 100-900. |
| style | string | false | normal | normal, italic | Stylus fontis. |
| formatHint | string | false | woff2 | woff2, woff, opentype, truetype | Forma fontis. Hoc adiuvat navigatores ad optimizandum onus fontium. |
| unicodeRange | string | false | U+0000-00FF | - | Opcionalis Unicode spatium ad limitandum quos characteres haec font applicatur. |
Important:
- Font URLs must use HTTPS protocol for security
- The font file must be publicly accessible
- Supported formats: WOFF2 (recommended), WOFF, OpenType, TrueType
- You can define multiple variants of the same font family with different weights and styles
The fill field can accept a gradient object with the following structure:
| Proprietas | Typus | Requiritur | Exemplum | Ambitus Valoris | Descriptio |
|---|---|---|---|---|---|
| type | string | true | - | linear, radial | Genus gradientis. |
| colorStops | array | true | - | - | Array objectorum colorum stop definiens colores et eorum positiones per gradientem. |
| start | object | true | - | - | Coordinata initii gradientis ut objectum cum proprietatibus x et y. |
| end | object | true | - | - | Coordinata finis gradientis ut objectum cum proprietatibus x et y. |
| Proprietas | Typus | Requiritur | Exemplum | Ambitus Valoris | Descriptio |
|---|---|---|---|---|---|
| color | string | true | - | - | Valor coloris ad hanc stoppam, in hex forma. |
| offset | number | true | - | 0 - 1 | Positio huius coloris stoppam per gradientem (0.0 ad 1.0). |
{
"type": "",
"width": 1920,
"height": 1080,
"fill": "#000000",
"view": [
{
"id": "8ecf7475-2c6c-47f9-827b-a09c7913f4c0",
"type": "Image",
"start": 0,
"duration": 5,
"trackIndex": 0,
"x": -570.0335392757963,
"y": -170.90659033307685,
"blendMode": "normal",
"anchorX": 1302,
"anchorY": 2312,
"rotation": 0,
"scaleX": 0.23356401384083045,
"scaleY": 0.23356401384083045,
"alpha": 1,
"skewX": 0,
"skewY": 0,
"keyframes": [],
"externalUrl": "https://images.pexels.com/photos/30465303/pexels-photo-30465303.jpeg",
"ext": "jpeg"
}
],
"audio": [],
"effect": [],
"transition": [],
"remoteFonts": [
{
"family": "My Custom Font",
"url": "https://example.com/fonts/mycustomfont.woff2",
"weight": "400",
"style": "normal",
"formatHint": "woff2"
},
{
"family": "My Custom Font",
"url": "https://example.com/fonts/mycustomfont-bold.woff2",
"weight": "700",
"style": "normal",
"formatHint": "woff2"
}
],
"version": 0,
"duration": 5
}