# Data and image licenses for the geography quizzes

The quiz pages (quiz-*.html) use the files in this folder and in images/flags/. They were prepared from the sources below:
simplified, trimmed to the countries in the quizzes, and with a few facts corrected or updated.

## Country data: data/quiz/countries.json

Derived from **mledoze/countries** (https://github.com/mledoze/countries), npm package `world-countries`.

The source database is made available under the Open Database License (ODbL) v1.0:
https://opendatacommons.org/licenses/odbl/1.0/

countries.json is a derived database and is made available under the same license, ODbL v1.0. Changes made:
only UN member and observer states are kept; selected fields only; some capitals, currencies, names and areas updated
(for example Bulgaria's currency is the euro since 2026, Zimbabwe Gold since 2024, Bolivia, South Africa, Eswatini and
Sri Lanka list more than one capital, and the areas of the United States and China follow the CIA World Factbook).

Attribution: "Country data: mledoze/countries (ODbL)"

## Country outlines: data/quiz/shapes.json

Derived from **Natural Earth** Admin 0 countries, 1:50m (https://www.naturalearthdata.com/), via the npm package
`world-atlas` (https://github.com/topojson/world-atlas). Natural Earth data is in the public domain.

world-atlas packaging: Copyright 2013-2019 Michael Bostock, ISC license:

> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
> granted, provided that the above copyright notice and this permission notice appear in all copies.
>
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
> AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
> PERFORMANCE OF THIS SOFTWARE.

## US states map: data/quiz/us-states.json

Derived from the **US Census Bureau** cartographic boundary files, 2017 edition (public domain), projected to Albers USA,
via the npm package `us-atlas` (https://github.com/topojson/us-atlas). us-atlas packaging: Copyright 2013-2019
Michael Bostock, ISC license (same text as above).

## Flag images: images/flags/*.svg

From **lipis/flag-icons** (https://github.com/lipis/flag-icons), 4:3 versions, with whitespace removed.
National flags themselves are generally in the public domain. The flag-icons files are under the MIT License:

> The MIT License (MIT)
>
> Copyright (c) 2013 Panayiotis Lipiridis
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
> documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
> rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
> persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
> Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
> WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
