OPF
SpecDefinition referenceView source

Catalog Reference

A content reference: a bare id ('two-column') or 'name:id' ('acme:hero'), where the prefix names a group of 'catalogs'. URLs and 'pkg:' strings are not references; a named catalog group replaces them. See Catalogs for the resolution order.

Metadata

Definition
#/$defs/CatalogReference
Form
string
Source
spec/schemas/opf.schema.json

Field index

This definition uses the forms or value constraints below.

Complete definition constraints
Exact schema constraints
{
  "type": "string",
  "pattern": "^(?:[a-z][a-z0-9-]*:)?[a-z][a-z0-9-]*$",
  "description": "A content reference: a bare id ('two-column') or 'name:id' ('acme:hero'), where the prefix names a group of 'catalogs'. URLs and 'pkg:' strings are not references; a named catalog group replaces them. See Catalogs for the resolution order.",
  "examples": [
    "two-column",
    "acme:hero",
    "default:minimal",
    "custom:q4-special"
  ]
}