# readium/lcp-specs architecture

> Architecture diagram of the GitHub repository readium/lcp-specs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/readium/lcp-specs
- Repository: https://github.com/readium/lcp-specs

## Overview

This repository is the Readium LCP specification and guidance site, not the License Server or client implementation. Its documented subject flow covers protected publication formats, LCP license requirements, and license-status interactions; companion notes address format-specific protection, key retrieval, and profile upgrades. The README establishes these relationships, but no source excerpts were provided, so links between individual schemas, registry files, and specifications are left out where their contents are not shown.

Main entry points: [`releases/lcp/latest.md`](https://github.com/readium/lcp-specs/blob/master/releases/lcp/latest.md) (LCP license), [`README.md`](https://github.com/readium/lcp-specs/blob/master/README.md) (Protected formats), [`notes/lcp-profile-upgrade.md`](https://github.com/readium/lcp-specs/blob/master/notes/lcp-profile-upgrade.md) (Profile upgrade), [`releases/lsd/latest.md`](https://github.com/readium/lcp-specs/blob/master/releases/lsd/latest.md) (License status)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_specs["Core specifications"]
  node_formats["Protected formats<br/>[README.md]"]
  node_lcp["LCP license<br/>[latest.md]"]
  node_lsd["License status<br/>[latest.md]"]
end

subgraph group_guidance["Technical guidance"]
  node_pdf["PDF protection<br/>[lcp-for-pdf.md]"]
  node_audiobooks["Audiobook protection"]
  node_keyretrieval["Key retrieval"]
  node_upgrade["Profile upgrade"]
  node_upgradereqs["Upgrade requirements"]
  node_codebase["Related software<br/>[codebase.md]"]
end

subgraph group_reference["Reference material"]
  node_registries["Controlled values<br/>[README.md]"]
  node_profiles["Profiles registry<br/>[profiles.md]"]
  node_relations["Relations registry<br/>[relations.md]"]
  node_rights["Rights registry<br/>[rights.md]"]
  node_users["User registry<br/>[user.md]"]
  node_license_schema["License schema"]
  node_status_schema["Status schema<br/>[status.schema.json]"]
  node_link_schema["Link schema<br/>[link.schema.json]"]
  node_lcpdf_schema["LCPDF schema<br/>[lcpdf.schema.json]"]
end

node_publishers(("Publishers and libraries"))
node_clients["Client applications"]

node_publishers -->|"protects in"| node_formats
node_formats -->|"specified by"| node_lcp
node_lcp -->|"supports"| node_clients
node_lcp -->|"complements"| node_lsd
node_lcp -->|"guides"| node_pdf
node_lcp -->|"guides"| node_audiobooks
node_lcp -->|"extends with"| node_keyretrieval
node_lcp -->|"extends with"| node_upgrade
node_upgrade -->|"addresses"| node_upgradereqs
node_lcp -->|"uses controlled values"| node_registries
node_lcp -->|"has related software"| node_codebase

click node_formats "https://github.com/readium/lcp-specs/blob/master/README.md"
click node_lcp "https://github.com/readium/lcp-specs/blob/master/releases/lcp/latest.md"
click node_lsd "https://github.com/readium/lcp-specs/blob/master/releases/lsd/latest.md"
click node_pdf "https://github.com/readium/lcp-specs/blob/master/notes/lcp-for-pdf.md"
click node_audiobooks "https://github.com/readium/lcp-specs/blob/master/notes/lcp-for-audiobooks.md"
click node_keyretrieval "https://github.com/readium/lcp-specs/blob/master/notes/lcp-key-retrieval.md"
click node_upgrade "https://github.com/readium/lcp-specs/blob/master/notes/lcp-profile-upgrade.md"
click node_upgradereqs "https://github.com/readium/lcp-specs/blob/master/notes/lcp-profile-upgrade-requirements.md"
click node_registries "https://github.com/readium/lcp-specs/blob/master/registries/README.md"
click node_profiles "https://github.com/readium/lcp-specs/blob/master/registries/profiles.md"
click node_relations "https://github.com/readium/lcp-specs/blob/master/registries/relations.md"
click node_rights "https://github.com/readium/lcp-specs/blob/master/registries/rights.md"
click node_users "https://github.com/readium/lcp-specs/blob/master/registries/user.md"
click node_license_schema "https://github.com/readium/lcp-specs/blob/master/schema/license.schema.json"
click node_status_schema "https://github.com/readium/lcp-specs/blob/master/schema/status.schema.json"
click node_link_schema "https://github.com/readium/lcp-specs/blob/master/schema/link.schema.json"
click node_lcpdf_schema "https://github.com/readium/lcp-specs/blob/master/schema/lcpdf.schema.json"
click node_codebase "https://github.com/readium/lcp-specs/blob/master/_pages/codebase.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_formats,node_lcp,node_lsd,node_clients toneBlue
class node_pdf,node_audiobooks,node_keyretrieval,node_upgrade,node_upgradereqs,node_codebase toneAmber
class node_registries,node_profiles,node_relations,node_rights,node_users,node_license_schema,node_status_schema,node_link_schema,node_lcpdf_schema toneMint
class node_publishers toneIndigo
```

## Components

### Core specifications

- [Protected formats](https://github.com/readium/lcp-specs/blob/master/README.md): `README.md`
- [LCP license](https://github.com/readium/lcp-specs/blob/master/releases/lcp/latest.md): `releases/lcp/latest.md`
- [License status](https://github.com/readium/lcp-specs/blob/master/releases/lsd/latest.md): `releases/lsd/latest.md`

### Technical guidance

- [PDF protection](https://github.com/readium/lcp-specs/blob/master/notes/lcp-for-pdf.md): `notes/lcp-for-pdf.md`
- [Audiobook protection](https://github.com/readium/lcp-specs/blob/master/notes/lcp-for-audiobooks.md): `notes/lcp-for-audiobooks.md`
- [Key retrieval](https://github.com/readium/lcp-specs/blob/master/notes/lcp-key-retrieval.md): `notes/lcp-key-retrieval.md`
- [Profile upgrade](https://github.com/readium/lcp-specs/blob/master/notes/lcp-profile-upgrade.md): `notes/lcp-profile-upgrade.md`
- [Upgrade requirements](https://github.com/readium/lcp-specs/blob/master/notes/lcp-profile-upgrade-requirements.md): `notes/lcp-profile-upgrade-requirements.md`
- [Related software](https://github.com/readium/lcp-specs/blob/master/_pages/codebase.md): `_pages/codebase.md`

### Reference material

- [Controlled values](https://github.com/readium/lcp-specs/blob/master/registries/README.md): `registries/README.md`
- [Profiles registry](https://github.com/readium/lcp-specs/blob/master/registries/profiles.md): `registries/profiles.md`
- [Relations registry](https://github.com/readium/lcp-specs/blob/master/registries/relations.md): `registries/relations.md`
- [Rights registry](https://github.com/readium/lcp-specs/blob/master/registries/rights.md): `registries/rights.md`
- [User registry](https://github.com/readium/lcp-specs/blob/master/registries/user.md): `registries/user.md`
- [License schema](https://github.com/readium/lcp-specs/blob/master/schema/license.schema.json): `schema/license.schema.json`
- [Status schema](https://github.com/readium/lcp-specs/blob/master/schema/status.schema.json): `schema/status.schema.json`
- [Link schema](https://github.com/readium/lcp-specs/blob/master/schema/link.schema.json): `schema/link.schema.json`
- [LCPDF schema](https://github.com/readium/lcp-specs/blob/master/schema/lcpdf.schema.json): `schema/lcpdf.schema.json`

### Other components

- **Publishers and libraries**
- **Client applications**

## Connections

- Publishers and libraries → Protected formats: protects in (evidence: `README.md`)
- Protected formats → LCP license: specified by (evidence: `README.md`)
- LCP license → Client applications: supports (evidence: `README.md`)
- LCP license → License status: complements (evidence: `README.md`)
- LCP license → PDF protection: guides (evidence: `README.md`)
- LCP license → Audiobook protection: guides (evidence: `README.md`)
- LCP license → Key retrieval: extends with (evidence: `README.md`)
- LCP license → Profile upgrade: extends with (evidence: `README.md`)
- Profile upgrade → Upgrade requirements: addresses (evidence: `README.md`)
- LCP license → Controlled values: uses controlled values (evidence: `README.md`)
- LCP license → Related software: has related software (evidence: `README.md`)
