Layout Preview Index
Shape of spec/previews/layouts/index.json, the manifest for the vendored slide-archetype preview gallery under spec/previews/layouts/. Each record names a preview id, its self-contained HTML file, and the file…
Schema $id
https://openpresentation.org/schema/opf-layout-preview-index/v1
Source
spec/schemas/layout-preview-index.schema.json
Field index
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| $schema | const | yes | — | |
| version | string | yes | — | Index format version, as a string. |
| description | string | yes | — | Human-readable description of the preview gallery and its rendering conventions. |
| records | array<ref:PreviewRecord> | yes | — | One entry per vendored preview HTML file. |
$schema
Type: const · Required · Default: —
{
"$schema": "https://openpresentation.org/schema/opf-layout-preview-index/v1"
}version
Type: string · Required · Default: —
Index format version, as a string.
{
"version": "1"
}description
Type: string · Required · Default: —
Human-readable description of the preview gallery and its rendering conventions.
{
"description": "description-value"
}records
Type: array<ref:PreviewRecord> · Required · Default: —
One entry per vendored preview HTML file.
{
"records": []
}