@museumwnf/baroqueart-data
v2.0.17
Published
Static data export for BAR
Readme
@museumwnf/baroqueart-data
Static data export — projects: BAR.
Installation
npm install @museumwnf/baroqueart-dataUsage
import manifest from '@museumwnf/baroqueart-data/manifest.json' assert { type: 'json' }
import items from '@museumwnf/baroqueart-data/items.json' assert { type: 'json' }
// Lazy-load translations for a language
const { default: translations } = await import(`@museumwnf/baroqueart-data/translations/items.${lang}.json`)Available top-level JSON files: manifest.json, items.json, partners.json,
collections.json, countries.json, glossary.json, languages.json,
timelines.json, timeline_events.json. (No dynasties.json — dynasties are
a Discover Islamic Art concept and are absent from this dataset.)
Each has a per-language translation file under translations/{entity}.{lang}.json.
items.json contains objects and monuments only. Monument details (the
legacy "Special Features") are embedded as details[] on their parent
monument; a detail's texts live in translations/items.{lang}.json keyed by
the detail's id, alongside the item texts.
Terms of use
This data is Content of the MWNF Website under the
MWNF legal notice, which
governs its use (non-commercial, personal, educational and scientific use is
permitted, with attribution and mandatory reporting — see the notice for the
full terms). The notice text also ships in this package as LICENSE.md.
