Install Folio

bin/console folio:pull --dataset mus/cazma

Link Types

Forward Reverse Links
No link types loaded.

Observed Schema

Name Core Type Rows
dto_photograph obj photograph 603

Archive Docs

Folio Metadata json
{
    "folio": {
        "code": "mus/cazma",
        "label": "Topoteka \u010cazma",
        "dataset_key": "mus/cazma",
        "row_count": 603
    },
    "cores": [
        {
            "code": "obj",
            "label": null,
            "row_count": 603
        }
    ],
    "dtoTables": [
        {
            "id": "mus/cazma:dto_photograph",
            "name": "dto_photograph",
            "kind": "dto",
            "core_code": "obj",
            "dto_type": "photograph",
            "label": "Photograph",
            "description": null,
            "row_count": 603
        }
    ],
    "views": [
        "dto_photograph"
    ],
    "generatedAt": "2026-07-10T13:30:24+00:00",
    "metadata": {
        "archivePreparedAt": "2026-07-10T13:30:24+00:00",
        "schema": {
            "tables": 2,
            "properties": 12
        },
        "views": {
            "views": 1
        }
    }
}
Overview md
# Folio mus/cazma

Topoteka Čazma

- Dataset key: `mus/cazma`
- Rows: 603
- Cores: 1
- Observed DTO tables: 1

## Cores

| Core | Label | Rows |
| --- | --- | ---: |
| `obj` | obj | 603 |
Observed Schema md
# Observed Schema

## `dto_photograph`

- Core: `obj`
- DTO type: `photograph`
- Rows: 603

| Field | Type | Flags | Description |
| --- | --- | --- | --- |
| `id` | `?string` |  |  |
| `sourceUrl` | `?string` |  |  |
| `contentType` | `?string` |  |  |
| `aggregator` | `?string` |  |  |
| `stage` | `?string` | filterable, facet | Pipeline processing stage (raw / normalized / enriched). A facet so you can filter to enriched items; later this can be made dev-only. |
| `title` | `?string` |  | dcterms:title |
| `description` | `?string` |  | dcterms:description — short curatorial text from the source institution |
| `date` | `?string` |  | dcterms:date — display string, may be fuzzy ("ca. 1920") |
| `citationUrl` | `?string` |  | ItemField::CITATION_URL — deep link back to the source record (e.g. the NARA catalog page). Rendered as the "Original" link on the folio item page. |
| `thumbnailUrl` | `?string` |  |  |
| `pageCount` | `?int` | sortable | Number of pages in the document. |
| `source` | `string` |  | Source of this data: import \| ai \| ocr \| human |
Query Guide md
# Query Guide

This folio stores canonical rows in `item` and observed field metadata in `schema_table` / `schema_property`.

```sql
select * from schema_table where kind = 'dto';
select * from schema_property where table_id = ? order by position;
select local_id, label, dto_type, dto_data, extras from item limit 20;
```

Convenience views are generated from observed DTO fields:

```sql
select * from dto_photograph limit 20;
```