Controlled vocabularies and pick lists in CKAN metadata

Pick lists and controlled vocabularies stop publishers from typing themes, update frequencies and spatial coverage in different ways, which keeps search, reporting and DCAT-AP output consistent. This page explains the field types, the mapping decisions, the setup sequence, and what to confirm before you build.

On this page

When CKAN controlled vocabularies and pick lists are worth the setup

Publishers who type themes, update frequencies and place names by hand will spell the same value in several ways, and CKAN has no way to know that "Env." and "Environment" belong to one category. The result is facets that split a theme across several entries, reports that undercount, and DCAT output carrying values that a receiving catalog cannot match. Controlled vocabularies and pick lists fix this at data entry, because the publisher selects from a fixed set of values and every dataset draws on the same list. In an illustrative portal, a theme field with five typed spellings produces five facet entries, while a pick list produces one.

The four presets differ in how many values a field can hold and how the choices are shown. Select offers a drop-down that accepts one value, radio shows one value as visible options, checkbox allows several values from a set of visible options, and multiple select offers a drop-down that accepts several values. Themes usually need checkbox or multiple select because a dataset often belongs to more than one category. Update frequencies normally take select or radio, since a dataset has one publication cadence. Spatial coverage depends on how many areas a dataset can span, so confirm that with the publishing organizations before choosing. Pick the preset that matches the number of values a record can legitimately hold, because changing it later means reviewing existing records.

Set up pick lists when metadata feeds facets, filters, reports or a DCAT profile, and when several organizations contribute to the same portal. Free text may be acceptable for a small portal where one administrator reviews every record, but it breaks down as contributors multiply. In CKAN, these presets are declared with ckanext-scheming, which defines the dataset schema so that choices are enforced in the form. Before writing the schema, confirm who owns each list, who approves new values, and how each value maps to the DCAT-AP vocabulary as implemented by ckanext-dcat, because those decisions need an owner before the schema is written.

Which pick list type fits each metadata field

This table compares the four pick list presets and shows which metadata fields each one suits. Read each row for how the widget behaves in the publisher form, how many values it handles, and how it fits themes, update frequencies and spatial coverage. The main takeaway is that single-valued fields suit dropdowns or radio buttons, while multi-valued fields such as themes need checkboxes or multiple select.

OptionHow it behaves in the publisher formFits these metadata fields
Select (single)One value from a dropdown; choices stay hidden until openedSingle-valued fields where one answer applies, such as update frequency
Radio buttonsOne value with every choice visible; suits a short, stable listShort single-valued choices, such as a yes or no flag or a small set of access levels
CheckboxSeveral values, each chosen as a tick with all choices visibleMulti-valued fields with a short list, such as audience or format flags
Multiple selectSeveral values chosen from a compact dropdown; suits long listsLong multi-valued lists such as themes or spatial coverage areas
ThemesMultiple select or checkbox, depending on how many themes one dataset may carryMulti-valued; map each theme choice to your catalog's controlled theme list
Update frequenciesSingle select so each dataset carries one current publishing cadenceSingle-valued; keep choices aligned with the frequency vocabulary you publish
Spatial coverageMultiple select for areas that can overlap; test with your full listMulti-valued and often long; confirm the widget handles your full list length
Lists in the schema file or maintained separatelyChoices in the schema file are versioned and deploy with itSmall, stable lists suit the schema file; large or shared lists suit separate maintenance
Confirm before buildingPreset names and choice syntax must be checked against your installed versionConfirm in the ckanext-scheming documentation for your installed version

How pick list values map to DCAT-AP controlled vocabularies

Every pick list field carries three values that the team must keep apart: the value a publisher selects and CKAN stores, the label a reader sees on the form and dataset page, and the code or URI that a DCAT-AP profile expects in RDF output. In a ckanext-scheming schema, the choice value is what the CKAN API returns for that field, while the label only affects presentation. When ckanext-dcat builds the RDF graph, it reads the stored value and writes it out through the mapping that the selected profile defines, so a label that looks correct on screen can still produce output that fails validation. Confirm this mapping against the installed ckanext-dcat version and the DCAT-AP version you chose, because supported profiles differ across releases.

Update frequency and spatial coverage need the most care because DCAT-AP profiles expect these values to come from authority vocabularies maintained outside your portal. A frequency stored as weekly or a place stored as a local district name cannot be matched to the controlled concept the profile refers to, so the RDF either carries a literal that consumers cannot resolve or omits the property. Set choice values to the authority codes or identifiers, and keep the human-readable text in the label. Ask the data governance lead which authority lists the chosen profile references and which version of each list the portal will follow, then store that list in version control alongside the schema so every environment uses the same values.

Harvested records are where unmatched values usually appear. Use facets or a search on each pick list field, then compare every distinct value against the schema choices and the authority list. For each value that is not in the list, decide whether to add a choice with the correct code, map the source value through a documented lookup table, or reject the record. Check the harvest job log for each source as well, because the outcome for an unmatched value during RDF import depends on the installed ckanext-dcat version and its configuration. Do not assume an unmatched value passes silently. Run one harvest per source in a staging portal and review the resulting dataset pages before enabling the schedule. Project details are in the ckanext-dcat repository.

Six decisions to settle before building the lists

Six choices shape how every pick list behaves once publishers start using it. They decide who controls the options, how publishers recover when an option is missing, what the database keeps, how languages are handled, where lists are reused, and how changes reach the people who publish against them. Settle them in writing before the schema is built.

Name one owner per list

Each list needs a named owner, usually from data governance or the publishing team, who approves additions, renames and removals. Without that person, the schema file becomes the de facto authority and publishers start adding their own spellings of the same theme. Check who can edit the choices in the schema, who signs off a change, and where that approval is recorded. If nobody owns a list, two teams will soon publish against two versions of the same theme.

Closed lists or free text

Decide field by field whether publishers must pick from the list or may type a value. A closed list keeps facets clean, but a field with no fallback blocks publication when the right option is missing. A free text option with a fallback, such as an "Other" choice paired with a notes field, lets publishers move forward and gives the owner a review queue. Without a fallback, publishers will work around the form or abandon the dataset. Confirm how the form handles a stored value that has been removed from the list.

Stored codes or display labels

Decide what the database keeps: a stable code from an established vocabulary, or the human-readable label. Store codes where a standard or a DCAT-AP vocabulary defines them, and show labels in the form and on dataset pages. If labels are stored, a wording fix can silently change every record and every harvester that reads them. Store the code and treat the label as presentation only. Confirm that each code maps to the vocabulary your DCAT output uses.

ckanext-dcat repository

Multilingual labels with ckanext-fluent

Keep codes language neutral, then give each option a label in every language the portal publishes. ckanext-fluent handles language-keyed values for text fields such as titles, descriptions and tags, so confirm how it treats choice labels in your schema before promising translated facets. If that check is skipped, a page in one language may show theme names in another, or a facet may mix languages. Translate labels and keep codes fixed. Test the form, the API response and the facet list in each language, and agree who translates new options.

Shared lists across organizations and types

Decide which lists are shared across organizations and dataset types, and which belong to one. A shared theme list keeps every organization on the same options, so one approved change reaches every dataset type that uses it. Copying the list into each schema is quick at first, but the copies drift apart after a few routine edits. Decide who may change a shared list and whether an organization can add local options. Copies drift, so keep one source per list. Give dataset types that need different options their own list.

Versioning and publisher communication

Treat each list as versioned. Additions carry little risk, but a removed or renamed code leaves existing datasets pointing at a value that no longer exists. Deprecate codes first, keep them valid for display, and run a migration for records that still use them. Announce changes to publishers before they take effect, with a changelog that lists old and new codes. A silent removal breaks search, reports and DCAT output for older datasets. Confirm how your migration tooling and harvest partners will receive each change.

How the approach changes for new and existing portals

A new portal has the simplest path because no records exist yet. The work starts by agreeing the lists before the first dataset form goes live, covering themes, update frequencies, spatial coverage and any other select, radio, checkbox or multiple select field. Each value gets a stable key that the database stores and a label that people read, so later wording changes do not alter existing records. Keys are chosen once and treated as permanent.

  • Order of work: Agree each list with its data owner, map each value to its DCAT-AP counterpart, write the schema fields, then test entry on a staging instance.
  • Stable keys: Store short lowercase codes as values and keep labels in a separate layer, so translations and rewording stay independent of stored data.
  • Main risk: Lists grow by request over months, and near-duplicate values appear before anyone reviews the list.
  • Governance: Name one owner per list and write down how new values are proposed, reviewed and approved.
  • Illustrative example: A portal keeps its update frequency list in version-controlled schema files and rejects any new value until the owner approves a change.

Ask the partner to confirm how schema files will be versioned, who approves list changes, and how the lists map to the DCAT-AP profile used for RDF output and harvesting.

Setup sequence for pick lists, with checks at each step

This sequence takes a pick list from an idea to a documented, tested field in your portal. Each step ends with a check that a value entered in the form comes back unchanged from the API and appears correctly in the DCAT RDF output. Your team owns the vocabulary decisions, while the implementation partner or internal engineers carry out the schema and test work.

  1. Inventory fields and their DCAT-AP targets

    List every candidate field that will use a pick list, such as theme, update frequency and spatial coverage. For each one, record the DCAT-AP property it maps to, the CKAN dataset field name, whether it takes one value or many, and whether it is required. Review the list with the data governance lead and the person who owns the DCAT output, since a mismatch here is expensive to fix later. Done when the inventory is a shared table that both teams have signed off, with no field left without a target property.

  2. Agree the vocabulary source for each list

    For each list, name the authoritative source of its values, such as a controlled vocabulary the organization already follows or a list the team maintains itself. Record the source's version, the identifier scheme used for each value and who approves changes to it. Confirm with your standards owner that the chosen source is acceptable for the reporting obligations that apply to the portal, and check which vocabulary the DCAT-AP profile in use expects. Done when every list has a named source, an owner and a recorded version, and the owner has agreed in writing.

  3. Define choices in a version-controlled schema file

    Write the pick lists as choices in the scheming schema file, using the field types for select, radio, checkbox and multiple select, with stable value keys and human-readable labels. Keep the file in the same repository as the portal's configuration so every change goes through review. Load the schema on a development instance and check that the form renders each list with the expected options and that no choice is missing its label. Done when the schema loads without errors and the commit has been reviewed.

  4. Test entry and editing on staging

    Create test datasets on a staging instance that runs the same schema version as production. Use a fixed set of records that covers each choice, a sample of multiple select combinations, an empty value, and a value that was removed from the list. Edit each record, change one choice, save, and reopen it. Done when every test record saves, reloads with the same selections, and invalid input produces the expected error messages.

  5. Confirm stored values in API and RDF

    Take one dataset that round-trips through the form and check three outputs: the stored value in the package_show API response, the value in the form when it is reopened, and the RDF output from the DCAT endpoints for that dataset. The API should return the same choice key that was saved, and the RDF should carry the mapped DCAT-AP property with a value that validates against the profile in use. Record the endpoint addresses and the results in the test log. Done when the same dataset passes all three checks.

  6. Clean up or map existing datasets

    Query the current values of each pick-list field across existing datasets and group them by value. Map free-text or retired values to the new choice keys in a reviewed mapping file, then apply the mapping on staging before production. Run the round-trip check from the earlier step on a sample of migrated datasets, and confirm that search facets show the expected counts. Done when no dataset holds a value outside the vocabulary and the mapping file is archived with the change record.

  7. Document the process for changing a list

    Write a short procedure that says who can propose a change to a list, how the change is checked against the vocabulary source, and which steps repeat from setup: schema change, staging test, round-trip check and mapping of existing datasets. Record how retired choices are handled so that older datasets keep valid values, and confirm how your schema configuration treats them. Include the owner of each list and the date of the last review. Done when the procedure is stored next to the schema file and the team has run it once on a test change.

Where a pick list value can change on its way to DCAT output

The flow starts at the choice list in the dataset schema, which sets the options a publisher sees in the form. The saved value is stored in CKAN and read back through the action API. The ckanext-dcat profile then maps that value to its DCAT vocabulary term when the RDF endpoint builds its output. An external catalog only sees the mapped value when it harvests that endpoint, so check the stored codes and the mapping before you publish. Everything left of the trust boundary runs in your portal. The harvesting catalog sits on the other side and controls how it interprets what it receives.

Pick list values move from schema to the RDF output that other catalogs harvest.

Access, change control and audit for shared lists

A pick list is shared configuration: a change to a theme or update frequency value touches every dataset that uses it and every search that filters on it. The cards below cover who may change lists, what a change does to stored metadata and the search index, and what to record and review.

Who can change lists

Schema files and list values in production should change only through the same route as code: a reviewed commit, a named approver and a deployment by the platform team. Limit production write access to the CKAN server and its admin accounts, and keep sysadmin rights separate from the people who edit schemas. Confirm which roles can edit a scheming schema on a live portal before you grant access.

Effect on existing datasets

Stored datasets keep the value they were saved with, so renaming or removing an option in the schema leaves old values in place. Decide before the change whether old values are migrated to the new option, kept as legacy values or flagged for owners to correct. Every removed value needs a named owner for the datasets that still carry it. Test the migration on a copy of the production database first.

Search index and facets

Facets and filters read values from the search index, which is a copy of the database. A list change is complete only after affected datasets are reindexed and a filter on each changed value returns the results you expect. Schedule the reindex inside the change window and confirm the rebuild procedure for your installed CKAN and Solr versions before then.

Bulk imports and API writes

Scripts and bulk imports that call the API can write strings into a select field, so the list is only as strict as the validation on the write path. Test each import against the current list before the run, and decide whether unmatched rows fail, pass through a crosswalk table or go to a reviewer. Do not assume a bulk import enforces the list. Confirm which validators run on API writes in your installed version.

Harvested values outside the list

Harvesters import values from other catalogs, and those values often fall outside your pick lists, such as a theme code your schema does not define. Decide per source whether unknown values are dropped, mapped to a list option or stored as free text, and record that decision alongside the harvest source. An upstream catalog can add a value without any change on your side, so review the harvest log after each run.

ckanext-dcat repository

What to log and review

Record each list change with the requester, approver, date, reason and the commit that changed the schema file, so the schema history can be matched to the datasets it affected. After each change, review counts of datasets that still use retired values and the exceptions from bulk imports and harvests. Confirm which actions your installed CKAN version writes to its activity or log records before you rely on them as audit evidence. Export those records to your central logging system if your auditors need them.

What teams ask before outsourcing pick list design

What makes a controlled vocabulary project cost more or less?

The main drivers are the number of fields that become pick lists, the length of each list, and whether labels must exist in several languages. Each list entry needs a stable identifier, a label and often a mapping to a DCAT-AP term, so a long spatial coverage list takes more review than a short list of themes. Multilingual labels add a translation and a domain check for every language. Mapping depth matters too, because linking fields to a DCAT-AP profile takes more work than storing values alone. Cleanup of existing records is often the largest unknown, since older datasets may use spelling variants or free text that must be reconciled to the new lists. Ask any implementation partner to count fields, entries and languages in the written scope before you compare quotes.

How long does a pick list implementation take, and what sets the timeline?

The timeline depends on how quickly decisions are made, how much existing data must be cleaned, and how many review rounds the lists need. The written scope should state each phase and the inputs that gate it, because those dependencies drive the calendar more than the build does. Schema design and list agreement usually come first, since values cannot be settled until domain owners approve them. Build and staging tests follow, then a check of sample records against the approved lists. Cleanup of legacy data can run in parallel but often extends the schedule when source data is inconsistent. Delays are most common when owners are unavailable for sign-off or when staging access arrives late. DeployOpen engagements are typically fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

What does the client need to provide for a pick list project?

The client provides decisions, data and environments. Domain owners must approve each list, including label wording, the meaning of each entry and how retired values are handled. Teams should also supply sample datasets that reflect actual publishing practice, including messy legacy records, so the lists can be tested against them. Staging access is needed to test form behavior, search facets and DCAT output before anything reaches production. A named contact who answers questions quickly keeps review cycles short. Confirm who may approve changes after handover, because lists tend to grow once the portal is live. Write these responsibilities into the scope so each party knows which approvals and inputs gate each phase.

Can our internal team build controlled vocabularies in CKAN alone?

Yes, a team with CKAN and Python skills can build pick lists in house, but much of the work sits outside the code. The build involves schema fields, list definitions and validators, which an experienced developer can keep in a version-controlled repository. The harder parts are agreeing entries with domain owners, mapping values to DCAT-AP terms accurately, and checking the RDF that comes out of them. Teams with a single CKAN developer often find that review and cleanup take longer than the code itself. Consider also whether your staff can maintain the lists after launch, since new themes and regions will need changes. Many organizations split the work, with a partner covering the build and handover while internal staff keep ownership of the vocabulary. Compare both options against the same written scope.

What should a written quote include before we compare vendors?

A written quote should follow from a written scope that lists what is built and what is excluded. DeployOpen does not publish a price list, so the quote is produced from that scope. Ask for the following:

  • A field inventory listing each pick list field, its input type (select, radio, checkbox or multiple select) and its approximate entry count.
  • The languages to be supported and who reviews each one.
  • The DCAT-AP profile in use and which fields map to which terms.
  • The cleanup scope for existing records, including how samples are chosen and checked.
  • Deliverables such as schema files in version control, test records and documentation.
  • Phases, client inputs, staging access requirements and acceptance criteria.
  • Support, handover and any retainer terms after launch.
Which pick list decisions cause the most rework later?

Rework usually comes from unclear ownership of values, inconsistent identifiers and lists that change after data is published. Decide early who can add or retire entries, and record that rule next to the list. Choose stable identifiers before labels, so a label change does not break existing records. Multilingual labels added late force retranslation of every entry. Mapping to DCAT-AP after publication can change RDF output that harvesters already consume, so treat mapping changes as versioned releases. Test each list against sample datasets from every publishing organization, including edge cases such as empty values and retired codes. Keep the schema in version control so list changes go through the same review as code.

How do we check that pick list values map cleanly to DCAT output?

Check each pick list field against the DCAT output of test datasets, then validate the result against the profile you use. Create test datasets that cover every entry and every empty state. Export each one through the DCAT RDF endpoint provided by ckanext-dcat, and confirm that each value appears in the expected property with the expected URI or label. Repeat the check after every list change, because a renamed entry can silently alter output. Keep a short table that maps each CKAN value to its DCAT term so domain reviewers can read it without opening code. Records of these checks also support a compliance review, although independent auditors and certification bodies make the final assessment.

Limits to confirm in your environment before you build

These five checks sit between schema design and a working portal. Each one depends on a CKAN version, a DCAT-AP profile or a write path that can differ between environments, so confirm them on a test instance that matches production before you commit field choices to the schema.

Confirm CKAN version support

The ckanext-dcat repository documents support for CKAN 2.10 and 2.11 only, and CKAN 2.12.0 was released on August 26, 2026. Before you build, confirm whether your planned CKAN version and the ckanext-dcat release you need both support the pick lists and DCAT output you expect. Check that 2.12 works with every extension you plan to run, and verify it on a test instance. Patch releases avoid schema changes, but minor releases can include backwards-incompatible changes, so confirm what moving between minor versions means for your forms.

CKAN releases

Pin ckanext-scheming choice syntax

Choice fields are declared in the schema file, and the exact keys for select, radio, checkbox and multiple select presets depend on the ckanext-scheming release you install. Confirm the exact choice syntax that matches your CKAN version, then test each preset type against a sample dataset. Record the extension version in version control alongside the schema so a later upgrade does not silently change how choices render or store values. Ask your developers to check the choice and label keys against that version's documentation before the schema is applied to the whole portal.

Match frequency and spatial vocabularies

Your chosen DCAT-AP profile determines which controlled vocabulary the frequency and spatial coverage values must come from, and the pick list values you store have to match it. Confirm the code list each field expects, including the identifiers it uses and whether spatial coverage expects a code, a URI or a place name. Compare your choice values with that list before publishing, because a label that looks right but maps to a different identifier produces invalid RDF output. Verify the mapping with a sample export through ckanext-dcat.

ckanext-dcat repository

Check choice values on every write path

Bulk edit, the API and harvesting can each write dataset fields without passing through the same form, so a choice value can enter the portal in a shape the pick list did not anticipate. Test whether each path accepts only the allowed keys, how it handles an empty value, and what it does with an unknown term. Also check how a harvested record with an unfamiliar term is stored. Decide in advance whether invalid values are rejected, replaced with a default or flagged for review, and confirm that your validators run on every write path.

Test labels in multilingual fields

Choice labels can be translated, but the stored value is what the portal, exports and harvesters use to match records, so labels and keys must stay separate. Confirm how your multilingual setup stores labels for each language, whether a missing translation falls back to another language, and which label the API returns when a client asks for one language. Check that translated labels still map to the same identifier in DCAT output for every language you publish. Run this test for each language the portal serves before you sign off the schema.

How DeployOpen scopes and delivers CKAN metadata vocabularies

DeployOpen plans, implements and documents controlled vocabularies and pick lists for your CKAN portal inside your own infrastructure. We agree the list of themes, update frequencies and spatial coverage values with your data owners before any schema work starts. The result is a metadata form your publishers can use consistently, with values that map to DCAT-AP vocabularies.

How we scope

  • The written scope lists each vocabulary, its values, and the dataset and organization fields that use it.
  • Each pick list is assigned a field type: select, radio, checkbox or multiple select, chosen per field.
  • Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • Theme, update frequency and spatial coverage lists are built into version-controlled schema files.
  • Map each value to its DCAT-AP vocabulary URI so RDF output uses codes that DCAT-AP consumers expect.
  • Test each pick list with sample datasets covering edits, search and the API before sign-off.

How we hand over

  • Handover includes the schema files, a list of every vocabulary with its owner and change steps.
  • Documentation explains how to add or retire a value and what happens to existing datasets.
  • Your editors receive a walkthrough of the forms, showing the vocabularies your publishers will see.

How we support

  • Support covers adding values, updating mappings when DCAT-AP profiles change and checking extension compatibility.
  • Upgrades to CKAN and its extensions can be planned under a retainer, with pick lists retested after each change.
  • Tell us which CKAN and extension versions your portal runs, since support depends on them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.