{}OPF
DocsObject referenceView source

Catalog Entry

A catalog override for one record kind. 'source' replaces the default registry; 'records' adds inline records that take precedence over anything fetched from a source. Either or both may be provided; both omit…

Metadata

Definition
#/$defs/CatalogEntry
Type
object
Source
spec/schemas/opf.schema.json

Field index

FieldTypeReq.Description
sourceref:CatalogSource | array<ref:CatalogSource>Single source or an ordered search path of sources. When omitted, the engine falls back to https://www.pptx.gallery/<kind>.
recordsarray<object>Inline catalog records embedded in this OPF document. Each record validates against the kind's companion schema (e.g. https://openpresentation.org/schema/opf-narrative/v1 for narratives). Inline records win over anything resolved from 'source' and over the default catalog.

source

typeref:CatalogSource | array<ref:CatalogSource>requirednodefault

Single source or an ordered search path of sources. When omitted, the engine falls back to https://www.pptx.gallery/<kind>.

source.json
{
  "source": "source-value"
}

records

typearray<object>requirednodefault

Inline catalog records embedded in this OPF document. Each record validates against the kind's companion schema (e.g. https://openpresentation.org/schema/opf-narrative/v1 for narratives). Inline records win over anything resolved from 'source' and over the default catalog.

records.json
{
  "records": []
}