{}OPF
DocsObject referenceEdit on GitHub

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

Fields

FieldTypeReqDescription
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

Type: ref:CatalogSource | array<ref:CatalogSource> · Optional · Default:

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

Type: array<object> · Optional · Default:

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": []
}