Skip to main content

Data dictionary

Field reference generated from JSON Schemas under data/schemas/. For consumption contracts and join keys, see ai-consumers.md.

countries

FieldTypeRequiredDescription
codestringyesISO 3166-1 alpha-2 country code (primary key). Seven non-standard codes exist; filter code_status = 'official_iso3166_1' for current ISO entries only.
namestringyesCountry name in World Bank style (e.g. 'Egypt, Arab Rep.'). English common names are in other_names (id 'en') and common_names.
iso3codestringyesISO 3166-1 alpha-3 code. Join key for the borders field, which stores alpha-3 neighbor codes.
numeric_codestringyesISO 3166-1 numeric code as a zero-padded string (e.g. '004').
capital_cityobjectCapital or de facto seat of government with name and optional lat/lng coordinates. Absent by design for uninhabited territories and groupings.
regionobjectWorld Bank region as {id, value} (e.g. id 'ECS'). Filter on id: value labels are inconsistent upstream (some carry an '(all income levels)' suffix). Absent for 8 entities the World Bank does not classify.
adminregionobjectWorld Bank administrative region as {id, value}. Only covers low- and middle-income economies; absence for high-income economies is expected.
incomeLevelobjectWorld Bank income classification as {id, value} (e.g. id 'HIC', value 'High income'). Absent for 8 unclassified entities.
lendingTypeobjectWorld Bank lending category as {id, value} (e.g. IBRD, IDA, Blend). Absent for 8 unclassified entities.
wikidata_idstringWikidata entity id (Q-number) for cross-referencing and entity linking.
geonames_idstringGeoNames integer feature id for the country/territory (as string).
ioc_codestringInternational Olympic Committee three-letter country code when assigned.
fifa_codestringFIFA three-letter association code when assigned.
fips_codestringLegacy FIPS 10-4 two-letter code when known (US government geospatial).
bboxobjectOptional geographic bounding box {west, east, north, south} in WGS84 degrees.
official_namestringOfficial long-form state name (e.g. 'Arab Republic of Egypt').
languagesarraySpoken/official languages as a list of {code, name, official} objects.
currenciesarrayCirculating currencies as a list of {code, name, symbol} objects with ISO 4217 codes.
un_memberbooleanTrue when the entity is a United Nations member state. See un_status for the three-way member/observer/non_member distinction.
un_statusstringUnited Nations participation status: member (UN member state), observer (permanent observer state: PS, VA), or non_member. Must be consistent with un_member (member <=> un_member: true). Values: member, observer, non_member.
independentbooleanTrue when the entity is a widely recognized sovereign state. Explicitly false on non-standard-code records (disputed territories, groupings).
subregionstringUN M49 subregion label (e.g. 'South-Eastern Asia'). Statistical convenience only; implies no political affiliation.
continentsarrayContinent names the entity belongs to (list; transcontinental states list several).
bordersarrayLand border neighbors as ISO 3166-1 alpha-3 codes (e.g. CAN, MEX)
populationobjectnull
areaobjectnull
giniobjectnull
centroidobjectGeographic centroid as {lat, lng}.
native_namesobjectNative-language names keyed by language code, each with official and common variants.
landlockedbooleanTrue when the entity has no coastline. Non-ISO records may be landlocked with an empty borders list (borders holds alpha-3 codes only).
timezonesarrayIANA/UTC timezone offsets covering the territory. Empty for uninhabited territories (see timezone_status).
timezone_statusstringMarker explaining an empty timezones list, e.g. 'not_applicable' for uninhabited territories. Values: not_applicable.
tldstringCountry-code top-level internet domain (e.g. '.th').
calling_codesarrayInternational telephone calling codes (list of strings).
flag_emojistringUnicode flag emoji for the country code.
car_sidestringDriving side: 'left' or 'right'. Values: left, right.
writing_directionsarrayWriting direction(s) in use; ids from data/vocabs/writing_directions.yaml (ltr, rtl, ttb).
writing_systemsarrayWriting system(s) in use; ids from data/vocabs/writing_systems.yaml.
dvd_regionintegerCommercial DVD region code (1-6) when assigned.
broadcast_systemsarrayTelevision/broadcast standard(s); ids from data/vocabs/broadcast_systems.yaml.
legal_systemsarrayLegal tradition(s); ids from data/vocabs/legal_systems.yaml. Not government form.
rail_gaugesarrayRailway track gauge(s); ids from data/vocabs/rail_gauges.yaml.
start_of_weekstringFirst day of the working week (e.g. 'monday', 'sunday'). Values: monday, saturday, sunday.
demonymsobjectDemonyms as {female, male} strings in English.
other_namesarrayNames in multiple languages (UN official languages)
common_namesarrayCommon English names and alternative names for the country
m49_codestringUN M49 numeric code (3-digit code for countries)
entity_typestringyesEntity classification: sovereign_state, dependent_territory, special_administrative_region, disputed_territory, historical_entity, supranational_grouping, or statistical_area. Values: sovereign_state, dependent_territory, special_administrative_region, disputed_territory, historical_entity, supranational_grouping, statistical_area.
code_statusstringyesCode assignment status: official_iso3166_1 (249 records), user_assigned, obsolete, or exceptionally_reserved. See docs/country-code-policy.md. Values: official_iso3166_1, user_assigned, obsolete, exceptionally_reserved.
recognition_statusobjectRecognition metadata for non-standard entities: {status, un_member, notes} explaining disputed, dissolved, or collective-grouping records.
parent_entityobjectParent state {code, name} for dependent territories and special administrative regions.
provenancearrayField-level sourcing entries {field, source, url, retrieved_at, license} documenting where enriched values came from.

intblocks

FieldTypeRequiredDescription
idstringyesStable uppercase identifier (primary key), e.g. EU, NATO, UN. Renames are tracked in data/datasets/intblocks_aliases.json.
namestringyesOfficial English name of the organization, group, or agreement.
blocktypearrayyesTaxonomy keys from the blocktypes dataset (list). The record's directory under data/intblocks/ matches the primary blocktype.
statusstringyesFormality of the entity: e.g. 'formal' (treaty-based organization) or informal grouping. Values: formal, informal, de-facto, historical.
languagesarrayOfficial/working languages as ISO 639-1 codes.
linksarrayRelated URLs as {url, type} where type is website, wikipedia, or wikidata.
includesarrayMembership roster. Join on includes[].id (country code or intblock id per type); includes[].name is a display label only. status captures member/observer/former_member etc.; joined/left are ISO dates.
foundedstringFoundation date (YYYY, YYYY-MM, YYYY-MM-DD) or decade (e.g. 1950s) when only decade precision is known
dissolvedstringDissolution date (ISO string) for defunct entities.
active_periodobjectOperational period as {start, end} ISO date strings; end is absent for active entities.
headquartersobjectSeat of the organization as {city, country, coordinates{lat,lng}} with an alpha-2 country code.
geographic_scopestringCoverage of the membership: 'global' or 'regional'. Values: global, regional, sub-regional, bilateral.
scope_categorystringInclusion taxonomy: igo, treaty_body, policy_forum, or reference_enumeration. See docs/intblock-inclusion-policy.md. Values: igo, treaty_body, policy_forum, reference_enumeration.
regionsarrayRegion labels covered by the entity (e.g. 'worldwide', 'europe', 'africa').
partofanyParent organization id(s) for suborganizations (string or list in source; normalized to a list in exports).
suborganizationsarrayChild entities as {id, name} references to other intblock records.
acronymsarrayKnown acronyms as {lang, value} pairs.
wikidata_idstringWikidata entity id (Q-number) for cross-referencing and entity linking.
membership_countintegerOfficially stated member count. Interpreted as country members unless membership_count_type says otherwise; compared against the includes roster by validation.
membership_count_typestringUnit of membership_count. When absent, the count is interpreted as country members and is compared against the includes roster. Non-country counts (companies, individual experts, national governing bodies, etc.) are exempt from roster comparison but require provenance for membership_count. Values: countries, organizations, companies, individuals, mixed.
membership_applicabilitystringWhen not_applicable, an empty includes list is intentional (conceptual entities, acronyms, etc.) Values: not_applicable.
founding_membersarrayCountry codes of founding members (list).
last_verifiedstringDate (YYYY-MM-DD) the record was last checked against official sources.
descriptionstringShort text summarizing what the entity is for
tagsarrayList of keywords for the entity
topicsarrayList of topics with which this entity is associated
other_namesarrayNames in multiple languages (UN official languages)
notesstringAdditional notes or historical information about the entity
provenancearrayField-level sourcing for enriched fields
legal_statusstringLegal character of the entity (e.g. intergovernmental, treaty, non-binding)
recognition_statusstringHow the entity is recognized within a broader system (e.g. UN specialized agency)
predecessorstringId of the entity this one succeeded
successorstringId of the entity that succeeded this one
previous_namesarrayFormer names with the period they were used
official_documentsarrayLinks to founding or official documents
social_mediaobjectSocial media handles keyed by platform
secretariatobjectSecretariat location and host organization