# awslabs/open-data-registry architecture

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

- Interactive diagram: https://gitdiagram.com/awslabs/open-data-registry
- Repository: https://github.com/awslabs/open-data-registry

## Overview

This repository is a metadata registry for publicly accessible datasets hosted on AWS; it does not contain the datasets themselves. Contributors describe datasets in YAML, and the README identifies three outputs: a registry browser, a hosted listing, and per-dataset YAML. Users discover entries and use their resource details to access data. `ext.py` implements validation callbacks for metadata values, but the excerpts do not show how they are invoked or how the hosted outputs are generated.

Main entry points: [`datasets`](https://github.com/awslabs/open-data-registry/tree/main/datasets) (Dataset records), [`ext.py`](https://github.com/awslabs/open-data-registry/blob/main/ext.py) (Metadata checks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Dataset catalog"]
  node_dataset_records["Dataset records"]
end

subgraph group_validation["Metadata validation"]
  node_metadata_validator["Metadata checks<br/>[ext.py]"]
end

subgraph group_discovery["Discovery and access"]
  node_registry_browser["Registry browser"]
  node_hosted_yaml["Hosted YAML"]
end

node_contributor(("Dataset contributor"))
node_data_user(("Data user"))
node_aws_resources[("Dataset resources")]

node_contributor -->|"describes datasets"| node_dataset_records
node_dataset_records -.->|"validates values"| node_metadata_validator
node_dataset_records -->|"published as"| node_registry_browser
node_dataset_records -->|"published as"| node_hosted_yaml
node_data_user -->|"discovers datasets"| node_registry_browser
node_data_user -->|"reads metadata"| node_hosted_yaml
node_data_user -->|"accesses data"| node_aws_resources

click node_dataset_records "https://github.com/awslabs/open-data-registry/tree/main/datasets"
click node_metadata_validator "https://github.com/awslabs/open-data-registry/blob/main/ext.py"

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_dataset_records,node_data_user toneBlue
class node_metadata_validator,node_aws_resources toneAmber
class node_registry_browser,node_hosted_yaml toneMint
class node_contributor toneIndigo
```

## Components

### Dataset catalog

- [Dataset records](https://github.com/awslabs/open-data-registry/tree/main/datasets): `datasets`

### Metadata validation

- [Metadata checks](https://github.com/awslabs/open-data-registry/blob/main/ext.py): `ext.py`

### Discovery and access

- **Registry browser**
- **Hosted YAML**

### Other components

- **Dataset contributor**
- **Data user**
- **Dataset resources**

## Connections

- Dataset contributor → Dataset records: describes datasets (evidence: `README.md`)
- Dataset records → Metadata checks: validates values
- Dataset records → Registry browser: published as (evidence: `README.md`)
- Dataset records → Hosted YAML: published as (evidence: `README.md`)
- Data user → Registry browser: discovers datasets (evidence: `README.md`)
- Data user → Hosted YAML: reads metadata (evidence: `README.md`)
- Data user → Dataset resources: accesses data (evidence: `README.md`)
