Install Folio
bin/console folio:pull --dataset mus/bva
Link Types
| Forward | Reverse | Links |
|---|---|---|
| No link types loaded. | ||
Observed Schema
| Name | Core | Type | Rows |
|---|---|---|---|
| dto_photograph | obj | photograph | 421 |
Archive Docs
Folio Metadata
json
{
"folio": {
"code": "mus/bva",
"label": "Bulgarian Visual Archive",
"dataset_key": "mus/bva",
"row_count": 421
},
"cores": [
{
"code": "obj",
"label": null,
"row_count": 421
}
],
"dtoTables": [
{
"id": "mus/bva:dto_photograph",
"name": "dto_photograph",
"kind": "dto",
"core_code": "obj",
"dto_type": "photograph",
"label": "Photograph",
"description": null,
"row_count": 421
}
],
"views": [
"dto_photograph"
],
"generatedAt": "2026-07-10T13:30:09+00:00",
"metadata": {
"archivePreparedAt": "2026-07-10T13:30:09+00:00",
"schema": {
"tables": 2,
"properties": 13
},
"views": {
"views": 1
}
}
}
Overview
md
# Folio mus/bva Bulgarian Visual Archive - Dataset key: `mus/bva` - Rows: 421 - Cores: 1 - Observed DTO tables: 1 ## Cores | Core | Label | Rows | | --- | --- | ---: | | `obj` | obj | 421 |
Observed Schema
md
# Observed Schema ## `dto_photograph` - Core: `obj` - DTO type: `photograph` - Rows: 421 | Field | Type | Flags | Description | | --- | --- | --- | --- | | `id` | `?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 | | `year` | `?int` | filterable, facet, sortable | Coverage/production year. | | `citation` | `?string` | | ItemField::CITATION — canonical URL or attribution string for the record | | `rightsUri` | `?string` | filterable, facet | dcterms:license URI (rightsstatements.org). Also a facet: some sources (e.g. Cleveland) carry the rights value as a short licence code here rather than a URI (CC0 / Copyrighted), and that splits a collection cleanly. NOTE: if a subclass DTO redeclares this property, repeat #[Field] — PHP attributes are not inherited on a redeclared property. / | | `country` | `?string` | filterable, facet | | | `thumbnailUrl` | `?string` | | | | `pageCount` | `?int` | sortable | Number of pages in the document. | | `source` | `string` | | Source of this data: import \| ai \| ocr \| human | | `description` | `?string` | | dcterms:description — short curatorial text from the source institution |
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; ```