Skip to content

Podlove Simple Chapters Namespace Reference

The Podlove Simple Chapters (PSC) namespace provides structured chapter information for podcasts and other media, allowing creators to define timed segments with titles, links, and images.

Namespace URIhttp://podlove.org/simple-chapters
SpecificationPodlove Simple Chapters
Prefix<psc:*>
Available inRSS, Atom
Propertypsc

Structure

INFO

For details on type parameters (TStrict) and Requirable<T> markers, see TypeScript Reference.

ts
export namespace PscNs {
  export type Chapter<TStrict extends boolean = false> = Strict<
    {
      start: Requirable<string> // Required in spec.
      title: Requirable<string> // Required in spec.
      href?: string
      image?: string
    },
    TStrict
  >

  export type Item<TStrict extends boolean = false> = {
    chapters?: Array<Chapter<TStrict>>
  }
}