Install Folio
bin/console folio:pull --dataset nara/coll_rr-whca
Link Types
| Forward | Reverse | Links |
|---|---|---|
|
coll
contains
doc
contains
|
doc
belongs_to
coll
belongs_to
|
19,424 |
Observed Schema
| Name | Core | Type | Rows |
|---|---|---|---|
| dto_coll_collection | coll | collection | 5 |
| dto_doc_audio | doc | audio | 9,680 |
| dto_doc_film | doc | film | 32 |
| dto_series_document | series | document | 4 |
Archive Docs
Folio Metadata
json
{
"folio": {
"code": "nara/coll_rr-whca",
"label": "NARA Collection rr-whca \u2014 Collection rr-whca",
"dataset_key": "nara/coll_rr-whca",
"row_count": 9721
},
"cores": [
{
"code": "coll",
"label": null,
"row_count": 5
},
{
"code": "doc",
"label": null,
"row_count": 9712
},
{
"code": "series",
"label": null,
"row_count": 4
}
],
"dtoTables": [
{
"id": "nara/coll_rr-whca:dto_coll_collection",
"name": "dto_coll_collection",
"kind": "dto",
"core_code": "coll",
"dto_type": "collection",
"label": "Collection",
"description": "A collection / series \u2014 an aggregation of items rather than a single object.\nTwo producers: the \"folio of folios\" (each row is a whole folio) and aggregators like the\nSmithsonian that expose collections and series alongside objects. Unlike a generic item, a\ncollection is browsed by its dataset-level descriptors \u2014 provider, country, language, size \u2014\nso those are promoted to facets here. `subjects` (a parent facet) carries the dtoType mix.\n/",
"row_count": 5
},
{
"id": "nara/coll_rr-whca:dto_doc_audio",
"name": "dto_doc_audio",
"kind": "dto",
"core_code": "doc",
"dto_type": "audio",
"label": "Audio",
"description": "Sound recordings: oral histories, music, radio broadcasts, and field recordings.",
"row_count": 9680
},
{
"id": "nara/coll_rr-whca:dto_doc_film",
"name": "dto_doc_film",
"kind": "dto",
"core_code": "doc",
"dto_type": "film",
"label": "Film",
"description": "Moving image works: newsreels, home movies, documentaries, and silent films.",
"row_count": 32
},
{
"id": "nara/coll_rr-whca:dto_series_document",
"name": "dto_series_document",
"kind": "dto",
"core_code": "series",
"dto_type": "document",
"label": "Document",
"description": "Generic text-primary item: broadsides, lists, clippings, forms, and any textual work that does not fit a more specific type.",
"row_count": 4
}
],
"views": [
"dto_coll_collection",
"dto_doc_audio",
"dto_doc_film",
"dto_series_document"
],
"generatedAt": "2026-06-25T18:31:58+00:00",
"metadata": {
"archivePreparedAt": "2026-06-25T18:31:57+00:00",
"schema": {
"tables": 7,
"properties": 38
},
"views": {
"views": 4
}
}
}
Overview
md
# Folio nara/coll_rr-whca NARA Collection rr-whca — Collection rr-whca - Dataset key: `nara/coll_rr-whca` - Rows: 9,721 - Cores: 3 - Observed DTO tables: 4 ## Cores | Core | Label | Rows | | --- | --- | ---: | | `coll` | coll | 5 | | `doc` | doc | 9,712 | | `series` | series | 4 |
Observed Schema
md
# Observed Schema ## `dto_coll_collection` - Core: `coll` - DTO type: `collection` - Rows: 5 A collection / series — an aggregation of items rather than a single object. Two producers: the "folio of folios" (each row is a whole folio) and aggregators like the Smithsonian that expose collections and series alongside objects. Unlike a generic item, a collection is browsed by its dataset-level descriptors — provider, country, language, size — so those are promoted to facets here. `subjects` (a parent facet) carries the dtoType mix. / | Field | Type | Flags | Description | | --- | --- | --- | --- | | `id` | `?string` | | | | `contentType` | `?string` | | | | `title` | `?string` | | dcterms:title | | `source` | `string` | | Source of this data: import \| ai \| ocr \| human | ## `dto_doc_audio` - Core: `doc` - DTO type: `audio` - Rows: 9,680 Sound recordings: oral histories, music, radio broadcasts, and field recordings. | Field | Type | Flags | Description | | --- | --- | --- | --- | | `id` | `?string` | | | | `sourceUrl` | `?string` | | | | `contentType` | `?string` | | | | `title` | `?string` | | dcterms:title | | `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. | | `collections` | `?array` | | Collection name(s) | | `iiifBase` | `?string` | | IIIF Image API base URL — use for AI vision and imgProxy resizing | | `thumbnailUrl` | `?string` | | | | `largeImageUrl` | `?string` | | | | `imageCount` | `?int` | filterable, facet, sortable | Number of images associated with the item. | | `hasImages` | `?bool` | filterable, facet | Whether the item has at least one image; facet for filtering out image-less objects. | | `source` | `string` | | Source of this data: import \| ai \| ocr \| human | | `hasTranscription` | `bool` | | | | `identifierLocal` | `?string` | | dcterms:identifier — local accession number | | `description` | `?string` | | dcterms:description — short curatorial text from the source institution | ## `dto_doc_film` - Core: `doc` - DTO type: `film` - Rows: 32 Moving image works: newsreels, home movies, documentaries, and silent films. | Field | Type | Flags | Description | | --- | --- | --- | --- | | `id` | `?string` | | | | `sourceUrl` | `?string` | | | | `contentType` | `?string` | | | | `title` | `?string` | | dcterms:title | | `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. | | `identifierLocal` | `?string` | | dcterms:identifier — local accession number | | `collections` | `?array` | | Collection name(s) | | `iiifBase` | `?string` | | IIIF Image API base URL — use for AI vision and imgProxy resizing | | `thumbnailUrl` | `?string` | | | | `largeImageUrl` | `?string` | | | | `imageCount` | `?int` | filterable, facet, sortable | Number of images associated with the item. | | `hasImages` | `?bool` | filterable, facet | Whether the item has at least one image; facet for filtering out image-less objects. | | `source` | `string` | | Source of this data: import \| ai \| ocr \| human | | `hasTranscription` | `bool` | | | ## `dto_series_document` - Core: `series` - DTO type: `document` - Rows: 4 Generic text-primary item: broadsides, lists, clippings, forms, and any textual work that does not fit a more specific type. | Field | Type | Flags | Description | | --- | --- | --- | --- | | `id` | `?string` | | | | `contentType` | `?string` | | | | `title` | `?string` | | dcterms:title | | `source` | `string` | | Source of this data: import \| ai \| ocr \| human | | `hasTranscription` | `bool` | | |
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_coll_collection limit 20; ``` ```sql select * from dto_doc_audio limit 20; ``` ```sql select * from dto_doc_film limit 20; ``` ```sql select * from dto_series_document limit 20; ```