# opds-community/drafts architecture

> Architecture diagram of the GitHub repository opds-community/drafts, 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/opds-community/drafts
- Repository: https://github.com/opds-community/drafts

## Overview

This repository is a collection of OPDS-related draft specifications and practical guidance, rather than a software runtime. Its user-facing workflow is to browse the README’s active drafts or best-practice links, then consult the chosen document. The tree also contains JSON schemas for authentication, profile, and progression, but the available evidence does not establish how those schemas relate to the drafts, so they are shown separately. No source excerpts were provided; relationships below are limited to links explicitly listed in the README.

Main entry points: [`README.md`](https://github.com/opds-community/drafts/blob/main/README.md) (Draft index), [`authentication-for-opds-1.0.md`](https://github.com/opds-community/drafts/blob/main/authentication-for-opds-1.0.md) (Authentication 1.0), [`opds-progression-1.0.md`](https://github.com/opds-community/drafts/blob/main/opds-progression-1.0.md) (Progression 1.0), [`odl-1.0.md`](https://github.com/opds-community/drafts/blob/main/odl-1.0.md) (Library distribution)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Draft catalog"]
  node_catalog["Draft index<br/>[README.md]"]
end

subgraph group_specs["Specifications"]
  node_auth["Authentication 1.0"]
  node_progression["Progression 1.0"]
  node_odl["Library distribution<br/>[odl-1.0.md]"]
  node_profile["User profile 1.0"]
end

subgraph group_guidance["Practice guidance"]
  node_borrowing["Borrowing guidance<br/>[borrowing.md]"]
  node_buying["Buying guidance<br/>[buying.md]"]
end

subgraph group_schemas["JSON schemas"]
  node_authschema["Authentication schema"]
  node_profileschema["Profile schema"]
  node_progressionschema["Progression schema"]
end

node_reader(("OPDS reader"))

node_reader -->|"browses drafts"| node_catalog
node_catalog -->|"links to"| node_auth
node_catalog -->|"links to"| node_progression
node_catalog -->|"links to"| node_odl
node_catalog -->|"links to"| node_profile
node_catalog -->|"links to"| node_borrowing
node_catalog -->|"links to"| node_buying

click node_catalog "https://github.com/opds-community/drafts/blob/main/README.md"
click node_auth "https://github.com/opds-community/drafts/blob/main/authentication-for-opds-1.0.md"
click node_progression "https://github.com/opds-community/drafts/blob/main/opds-progression-1.0.md"
click node_odl "https://github.com/opds-community/drafts/blob/main/odl-1.0.md"
click node_profile "https://github.com/opds-community/drafts/blob/main/opds-user-profile-1.0.md"
click node_borrowing "https://github.com/opds-community/drafts/blob/main/best-practices/borrowing.md"
click node_buying "https://github.com/opds-community/drafts/blob/main/best-practices/buying.md"
click node_authschema "https://github.com/opds-community/drafts/blob/main/schema/authentication.schema.json"
click node_profileschema "https://github.com/opds-community/drafts/blob/main/schema/profile.schema.json"
click node_progressionschema "https://github.com/opds-community/drafts/blob/main/schema/progression.schema.json"

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_catalog toneBlue
class node_auth,node_progression,node_odl,node_profile toneAmber
class node_borrowing,node_buying toneMint
class node_authschema,node_profileschema,node_progressionschema toneRose
class node_reader toneIndigo
```

## Components

### Draft catalog

- [Draft index](https://github.com/opds-community/drafts/blob/main/README.md): `README.md`

### Specifications

- [Authentication 1.0](https://github.com/opds-community/drafts/blob/main/authentication-for-opds-1.0.md): `authentication-for-opds-1.0.md`
- [Progression 1.0](https://github.com/opds-community/drafts/blob/main/opds-progression-1.0.md): `opds-progression-1.0.md`
- [Library distribution](https://github.com/opds-community/drafts/blob/main/odl-1.0.md): `odl-1.0.md`
- [User profile 1.0](https://github.com/opds-community/drafts/blob/main/opds-user-profile-1.0.md): `opds-user-profile-1.0.md`

### Practice guidance

- [Borrowing guidance](https://github.com/opds-community/drafts/blob/main/best-practices/borrowing.md): `best-practices/borrowing.md`
- [Buying guidance](https://github.com/opds-community/drafts/blob/main/best-practices/buying.md): `best-practices/buying.md`

### JSON schemas

- [Authentication schema](https://github.com/opds-community/drafts/blob/main/schema/authentication.schema.json): `schema/authentication.schema.json`
- [Profile schema](https://github.com/opds-community/drafts/blob/main/schema/profile.schema.json): `schema/profile.schema.json`
- [Progression schema](https://github.com/opds-community/drafts/blob/main/schema/progression.schema.json): `schema/progression.schema.json`

### Other components

- **OPDS reader**

## Connections

- OPDS reader → Draft index: browses drafts (evidence: `README.md`)
- Draft index → Authentication 1.0: links to (evidence: `README.md`)
- Draft index → Progression 1.0: links to (evidence: `README.md`)
- Draft index → Library distribution: links to (evidence: `README.md`)
- Draft index → User profile 1.0: links to (evidence: `README.md`)
- Draft index → Borrowing guidance: links to (evidence: `README.md`)
- Draft index → Buying guidance: links to (evidence: `README.md`)
