AiiB

technology / format

Data format

Slides are stored as templates and content rather than coordinates. The format is easy for AI to work with and hard to break visually.

data model

Document model

Documents are JSON. Each slide is a list of objects, and each object has a template kind and its input fields.

deck.json (excerpt)
{
  "id": "showcase-en",
  "title": "Next-generation Regional Delivery — Business plan (excerpt)",
  "locale": "en",
  "aspectRatio": "16:9",
  "slides": [
    {
      "id": "show-2",
      "objects": [
        {
          "id": "agu_03b6u1cl",
          "kind": "agenda-universal",
          "frame": { "x": 0, "y": 0, "w": 1, "h": 1 },
          "fields": {
            "slideTitle": "Agenda",
            "items": [
              { "number": "1", "title": "Market and competition" }
            ]
          }
        }
      ]
    }
  ]
}

templates

Templates

250+ templates, each kept as its own definition.

  • One definition

    Preview and PowerPoint are drawn from the same definition. Font sizes have a single source there too.

  • Declarative definitions

    Templates made of rectangles, circles, lines and text are defined by fields and placement alone.

compatibility

Format compatibility

App versions differ between devices. Opening and saving in any version must not lose content.

format version
Slide format has an integer version. Documents from a newer version are read-only in older apps
unknown fields
Kept on read and carried through on save
renames
A change of meaning is added under a new name
golden files
Past inputs are pinned and read results compared