Vector projects (.fvector)

Version-1 JSON specification: editable artwork, document libraries and shared binary resources.

Reviewed against the application source on 7 November 2026. Focale is in active development; available commands and published packages may differ by build.

File structure

A .fvector file is UTF-8 JSON. Its required root fields are format, version, id, name and scene. The example below is a complete project with one editable ellipse. Writers use version 1; readers also accept development envelopes 2–9 and save them as version 1. Unknown versions are rejected.

{
  "format": "fvector",
  "version": 1,
  "id": "document.example",
  "name": "Ellipse",
  "scene": {
    "width": 800,
    "height": 600,
    "dpi": 96,
    "objects": [
      {
        "id": "shape.ellipse",
        "name": "Ellipse",
        "geometry": { "shapeKind": "ellipse", "width": 240, "height": 160 },
        "transform": { "translateX": 280, "translateY": 220 },
        "fill": { "color": 4283646677 },
        "stroke": { "color": null },
        "strokeWidth": 0,
        "opacity": 1,
        "children": []
      }
    ]
  }
}

Editable scene and objects

The scene stores its dimensions, resolution, colour profiles and objects in painting order. Objects retain shapes, Bézier paths, text, transforms, fills, strokes and children. Symbols, named colours, graphic styles, text styles, artboards and production metadata remain editable. Child coordinates are local to their parent.

Shared binary resources

The optional binaryResources table indexes Base64 payloads by SHA-256. Each entry declares byteLength and bytes; participating fields reference its digest. This covers placed sources, retained PDF/AI files, fonts, profiles and patterns. Legacy inline Base64 remains readable. Missing, unused or inconsistent resources are rejected.

Validation and limits

The current limits are 128 MiB of UTF-8 JSON, a nesting depth of 100, two million JSON values and 100,000 entries per collection. Up to 4,096 distinct binary resources share an 80 MiB decoded budget. Per-field limits also apply. Interface layout, selection and undo history are excluded.

Native saving and interchange

Keep .fvector to preserve the editable document. SVG, PDF and AI interchange has feature-specific limits described in the downloadable vector reference; SVG filters have their own reference. A resource collection packages captured sources, collectable fonts and a dependency report alongside a project copy. Publishing these specifications does not change the version-1 envelope.

Complete format references

Download the full Markdown specifications in English, including schemas, validation rules and compatibility details.

Related guides

Vector resource collections (.zip)Archive layout, captured dependencies and the version-1 collection report.The .focale project formatZIP layout, manifest version 1, exact rasters and portable document data.Vector illustrationDraw editable paths, paint and reuse artwork, then export SVG, PDF or AI files.
Other documentation pages