Mapping a CKAN scheming schema to DCAT-AP 3

A CKAN portal with a custom dataset schema needs each field to land in a DCAT-AP 3 property, or its RDF output and harvests break quietly. This page covers how to map scheming fields with ckanext-dcat, what to configure, and what to confirm first.

On this page

How to plan a CKAN DCAT-AP 3 mapping before your scheming schema grows

The mapping is the agreed link between each custom ckanext-scheming field on your dataset form and the DCAT-AP 3 property it represents, so the RDF output and the RDF harvester read and write the same meaning. It has to be planned before the schema grows because every field added without a mapping either disappears from published RDF or lands in a property that a receiving catalog reads differently than you intended. Renaming a field later is costly, since catalogs that already harvested your datasets keep the old values until someone re-harvests them. Review the schema file and the mapping as one change set in version control, so no field reaches production without a known DCAT destination.

Teams usually need the mapping in three situations: they publish to an EU-style catalog that expects DCAT-AP 3 RDF, they harvest datasets from another catalog into CKAN, or they expose their datasets as RDF so other catalogs can harvest them. A stock schema is usually enough when the portal serves only its own users, exchanges no RDF with other catalogs, and has no receiving catalog that validates against a DCAT profile. Ask each recipient which profile version and which mandatory properties it checks, because a portal can produce valid RDF for one catalog and still fail another's checks. Illustrative example: a portal adds a publisher identifier field but never maps it, so the RDF carries only the publisher name and the receiving catalog cannot match the publisher to its own registry.

Before the schema grows, inventory every planned field and assign each one a DCAT-AP 3 destination or mark it as internal only. Then check version fit: the default euro_dcat_ap_3 profile only helps if your ckanext-dcat release supports your CKAN version, and the extension's listed support covers CKAN 2.10 and 2.11. CKAN 2.12 was released on August 26, 2026, so confirm 2.12 support in the ckanext-dcat repository before any upgrade. Finally, run a round trip on a staging copy: export RDF for a sample of datasets that use the new fields, validate the output against each recipient's requirements, and harvest it into a second instance to see what survives. Record the result so the mapping is reviewed each time the schema changes.

Three checks keep a scheming field valid from schema to harvest

The flow starts with the scheming schema file, which defines each custom field and its preset. CKAN stores those values on the dataset record, and the euro_dcat_ap_3 profile in ckanext-dcat reads them when the DCAT RDF endpoint serializes the dataset. Fields the profile does not map by default go through a custom mapping step before output. Validate at three points: before publishing, after RDF generation, and after a test harvest into a staging catalog, where a harvester on a second catalog imports the output. A field can pass one check and still fail the next, so confirm each hand-off.

Validation points on a scheming field's path from schema to harvest.

Which DCAT profile and mapping approach fits your schema

This table compares four ways to map a scheming schema to DCAT-AP 3: the shipped euro_dcat_ap_3 profile, keeping DCAT-AP v2, a custom profile for national properties, and leaving a field out of RDF output. Read each row for when the option fits, what it asks you to maintain and what to retest after a CKAN or ckanext-dcat upgrade. Most portals should start from the shipped profile and add custom code only for requirements they can name and document.

OptionWhen it fitsMaintenance costRetest after a CKAN or ckanext-dcat upgrade
Default euro_dcat_ap_3 as shippedFields map cleanly to standard DCAT-AP 3 properties and no national extension is requiredLow. Keep the scheming mapping and profile settings in version control with the schemaRDF output for every dataset type, plus an RDF harvest round trip after any ckanext-dcat or CKAN minor upgrade
Keep DCAT-AP v2The catalog has not moved yet and consumers still require v2 outputMedium. Two profile paths need testing, and the v2 path must be retired on a set planConfirm v2 output still validates and the v2 profile is still selected after each upgrade
Custom profile class for national propertiesA national application profile extends euro_dcat_ap_3 with properties or vocabularies the standard lacksHigh. Your code must run against every new CKAN and ckanext-dcat releaseFull RDF regression, custom class loading and vocabulary values. See the national DCAT-AP profile topic
Leave a field out of RDF outputThe field is internal, sensitive or has no DCAT target, and the decision is documentedLow. Record each exclusion so reviewers can tell it was deliberateConfirm the field is still absent from RDF output after each scheming or ckanext-dcat change

How to set up the DCAT-AP 3 mapping step by step

This sequence takes a CKAN portal from a custom scheming schema to tested DCAT-AP 3 RDF output and a staging harvest that has been checked. Each step ends with a check the team can record, so the mapping reaches production only after each earlier step has passed. The final step keeps the schema and configuration in version control so other environments can be rebuilt from the same source.

  1. Confirm CKAN and ckanext-dcat versions match

    The platform lead checks the CKAN version the portal runs against the ckanext-dcat release planned for installation. The ckanext-dcat repository lists support for CKAN 2.10 and 2.11, so a portal on a different CKAN version needs written confirmation from the extension's documentation or release notes before work continues. Record the CKAN version, the extension tag and the Python version in one compatibility note. Done when that note names one tested combination and a test instance starts cleanly with both packages installed.

  2. Install and enable both extensions

    The platform engineer installs ckanext-dcat and ckanext-scheming into the same Python environment as CKAN, then adds their plugin names to the ckan.plugins line in the CKAN configuration file. The plugin names come from each extension's README, and the scheming plugin must be listed so the custom dataset forms load. Restart the web and worker processes, then read the CKAN log. Done when both plugins appear as loaded and the log shows no import errors for either extension.

  3. List each custom field and its DCAT-AP 3 property

    The metadata owner and the data steward build one table with a row for every custom field in the scheming schema. Each row gives the field name, its input type, the DCAT-AP 3 property it should populate and the controlled vocabulary it uses, if any. Fields with no matching property are marked as excluded with a recorded reason, so gaps are visible instead of silent. Fields that need a value conversion or a property the base profile does not cover are flagged for a custom profile. Done when every field has one target or a recorded exclusion and the data owner has reviewed the table.

  4. Select the euro_dcat_ap_3 profile in configuration

    The platform engineer sets the RDF profile in the CKAN configuration file to euro_dcat_ap_3, using the configuration key documented in the ckanext-dcat README, and restarts the processes. This selects the base DCAT-AP 3 profile the extension provides. Custom fields from the table only appear in RDF output when a profile maps them, so the change is reviewed against that table. Keep the setting in a single configuration fragment for easy review. Done when the RDF endpoint of a test dataset returns DCAT-AP 3 structures and the review confirms no other profile is selected.

  5. Check RDF output for each dataset type

    The QA lead creates or selects one dataset of every dataset type the portal uses, then opens each RDF endpoint with a browser or HTTP client. Compare each output with the table from the third step: every mapped property should be present, values should use the expected vocabulary identifiers, and required properties should not be empty. Run each output through a DCAT-AP validator the team agrees on, and save the results with the dataset identifier. Done when every dataset type has a saved output that passes the validator and the field-by-field comparison has no open differences.

  6. Run a test harvest into staging

    The integration engineer creates a harvest source in a staging CKAN catalog that points at a copy of the source portal or a sample export, then runs a harvest job. Review the job log for errors and confirm that imported datasets carry the custom fields as well as the base DCAT fields. Check that the harvester uses the same profile as the RDF endpoint, then compare one harvested dataset's RDF output with the source. Done when the job finishes without errors and the sample datasets match the table. Keep this work in staging so mistakes stay out of the public catalog.

  7. Store schema and configuration in version control

    The platform engineer commits the scheming schema file, the configuration fragment, the field mapping table and the approved sample RDF outputs to a repository the team controls. Secrets, API tokens and environment-specific hostnames stay out of the repository and are supplied at deploy time. Tag the commit that passed the output and harvest checks so the approved state is easy to find. Done when a fresh staging environment built from the tagged commit produces the same RDF output for the sample datasets as the approved fixtures.

Which custom fields usually need explicit mapping work

Many custom fields map to DCAT-AP without extra work, but six types usually need a decision before the first RDF export. Each one forces the same question: does the value the form stores match what the profile expects to read, and at which level of the record? Settle that question for each type, then check the RDF output and a harvest round trip against the same dataset.

Multilingual titles and descriptions

Each language version of a title or description has to reach the DCAT output with its language tag, or the profile may publish only one value. The question is which languages the portal publishes and whether every dataset must carry all of them. Confirm whether the profile emits language-tagged values for each language you collect, and whether a missing translation falls back to a default language or disappears. Test with a dataset that has only one language filled in, since that is the case most likely to expose a gap.

Controlled vocabularies for themes and frequency

Themes and update frequency are stored as pick-list values, but DCAT-AP expects entries from a published authority vocabulary. The question is which stored value corresponds to which vocabulary entry, and who maintains that table when the pick list changes. Store only values your mapping table can resolve and reject anything else at entry. Check the RDF output for every option, because an unresolved value may be dropped or fail validation. Compare your lists with the pre-built schemas in ckanext-dcat before writing your own.

Publisher and contact point identifiers

Publisher and contact details are often held at organization level in CKAN, but DCAT output needs them attached to each dataset. The question is whether each publishing body has a stable identifier and a named contact, and which CKAN field carries each one. Confirm where the profile reads publisher and contact values before you add them to a dataset form. An identifier should survive a later change to the organization's display name, so decide that rule before any records are published. The Custom organization and group fields in CKAN topic covers the schema side.

Spatial coverage representation

Spatial coverage can be a free-text place name, a controlled list of areas, or a geometry, and each gives the DCAT output different material to publish. The question is which form your users need for search and which form the profile can express. Choose one representation per dataset type and document it for data providers. If you store geometry, confirm that the spatial fields and the search index use the same format, because a mismatch can go unnoticed until a search fails. Test one dataset end to end before rolling the choice out.

Resource-level fields

Resource fields describe distributions, such as format, media type, access URL and license, and they map separately from dataset fields. The question is which resource fields the profile reads and which ones the portal requires before a resource can be published. Check that every required resource field reaches the distribution in the RDF output, not only the dataset record. Add resources through both the web form and the API, since the two paths may differ in what they validate and what they pass to the profile.

Fields that belong to a second dataset_type

When one CKAN portal runs more than one dataset_type, each type may need its own mapping, and fields defined for one type can appear in another type's output if the profile treats them alike. The question is whether the second type maps to the same DCAT class or needs its own handling. Decide the mapping for each dataset_type before the first export, then confirm that fields used only by one type do not appear in another type's RDF. The Running several dataset types in one CKAN portal topic covers the schema setup.

What drives the cost and effort of a DCAT-AP 3 mapping

Most of the cost of a DCAT-AP 3 mapping is one-time work, and it grows with the number of custom fields in the scheming schema and the number of dataset types that carry them. The first step is schema analysis: the team reads every field in each schema file and sorts it into one of three groups. Some fields already map to properties that the ckanext-dcat pre-built schemas and the default euro_dcat_ap_3 profile cover. Others map to a covered property only after a choice of controlled vocabulary or a type conversion. The remainder have no clear home in DCAT-AP 3 and need custom mapping. Each group takes different effort, so a quote should break the work down by group.

Mapping decisions are the slowest part of the one-time work because they need people outside the build team. The data owner must confirm what each custom field means and which DCAT-AP 3 property it represents. Legal or privacy staff should review contact and publisher fields, because anything in the RDF output can be copied by every harvester that reads the portal. Custom profile code follows from the fields that have no existing mapping, and its size depends on how many dataset types need their own profile path. Staging harvest tests come last: each harvest partner's sample catalog is loaded into a staging CKAN, and the RDF output and import results are checked against expectations agreed in writing.

Retesting is the recurring cost, and it starts once the portal is live. CKAN 2.12.0 was released on August 26, 2026, alongside maintenance releases 2.11.6 and 2.10.11. The ckanext-dcat repository lists support for CKAN 2.10 and 2.11, so confirm in writing whether the pinned ckanext-dcat version supports the CKAN version in use before any upgrade is scoped. Patch releases do not break backwards compatibility, but minor releases may, so each minor upgrade should trigger a repeat of the RDF output and harvest checks. Ask the implementation partner to state in a written quote the field count per group, the dataset types and harvest partners in scope, the staging environments included, who signs off the mapping decisions, the retest scope for each upgrade, and whether profile code is delivered with tests and documentation.

What security and operations teams should check in the mapping

These five checks cover where the mapping exposes data or accepts it from outside: the RDF output, the harvested input, the configuration that drives both, the upgrade path, and the logs. Each behavior depends on how your portal is configured, so confirm it in a test environment before you rely on it.

Private and draft datasets in RDF output

The DCAT RDF endpoints from ckanext-dcat should only serialize datasets the requester is allowed to see, so private and draft datasets must stay out of anonymous requests. Before go-live, request the catalog and dataset RDF URLs without logging in, then as a member of a different organization, and compare the results with what the CKAN dataset pages show. Confirm that drafts created from your schema appear in neither response. Also check any custom profile class, because it may serialize fields directly.

ckanext-dcat repository

Validate harvested records before trust

The RDF harvester imports datasets written by external catalogs, so their titles, URLs, license values and contact fields reach your portal without review by your team. Treat each harvest source as untrusted input. Check that mapped fields pass your scheming validators, that license and theme values fall within your pick lists, and that resource links point to hosts you expect. Decide whether harvested datasets publish automatically or wait in a review step, and confirm how your version handles records that fail validation.

Change control for schema and profile

The scheming schema file and the profile configuration decide which fields reach DCAT output, so a change to either changes published metadata. Keep both in version control, test each change in a test copy of the portal that runs the same CKAN and extension versions, and require review before promotion. Record which schema revision and profile setting each environment runs, so an RDF or harvest complaint can be traced to a specific change. Confirm that your deployment tooling moves the schema file and the configuration together.

Regression checks after upgrades

CKAN's release policy says patch releases do not break backwards compatibility, while minor releases may include backwards-incompatible changes. Extension updates can also alter RDF output. Before an upgrade, save RDF responses for representative datasets, including datasets with custom fields, and diff them against the upgraded test environment. Review changes in dataset counts, required properties and value formats, and treat any unexplained difference as a blocker until a developer explains it.

CKAN release policy

Access to logs and harvest records

Harvest job records and validation errors can include dataset titles, contact emails and custom field values taken from external catalogs or entered by publishers. Limit who can open harvest job pages and read application logs, and confirm which metadata fields appear in error messages at your configured log level. Set a retention period for job records that matches your data protection obligations, and check whether log shipping sends these records to a central system with wider access.

What buyers ask about a CKAN DCAT-AP 3 mapping

How much does a CKAN DCAT-AP 3 mapping project cost?

The cost depends on the written scope, and no fixed price applies across portals. The main drivers are the number of custom fields in your scheming schema, how many dataset types and organization or group schemas need RDF output, how many fields need custom properties beyond the standard euro_dcat_ap_3 profile, whether multilingual or controlled-vocabulary fields feed the mapping, and how many harvest sources must be tested in both directions. Discovery, the mapping build, test fixtures and handover documentation are one-time work. Recurring cost appears only if you add a retainer for upgrades and continuous testing. DeployOpen does not publish a price list, so ask every bidder for a quote that breaks down labor by phase, lists what is excluded (such as hosting, CKAN upgrades and schema changes after sign-off) and states how many retest rounds are included.

How long does a CKAN DCAT-AP 3 mapping take?

Timing depends on how much of your schema maps directly to DCAT-AP 3 terms and how much needs custom work. Fields that map to standard properties move quickly. Timing slows when fields need custom RDF properties, when several dataset types each need their own output, when multilingual values must come out as language-tagged literals, or when partner catalogs must be harvested and checked before sign-off. Approval latency often matters as much as build effort, because a metadata owner must confirm each mapping choice. No general duration applies, since it depends on your schema and your review cycle. Timelines are agreed in the written scope before work starts, so ask for the schedule by phase, the points where your team signs off, and the assumptions it depends on, such as access to a staging instance and representative sample data.

What does our team need to provide for the mapping work?

Your team supplies decisions, access and reviewers, and most delays trace back to one of these being missing at the start. The work moves faster when these are in place before the build begins:

  • A named metadata owner who decides what each field means and which DCAT-AP 3 property it should map to.
  • The scheming schema files in version control, the current ckanext-dcat configuration and a staging CKAN instance that matches production.
  • Sample datasets for each dataset type, existing RDF output and the catalogs that will harvest from or publish to your portal.
  • A technical contact who can deploy changes, read RDF output and review test results.
  • Reviewers who will check the mapping against the profile documentation and any national requirements you follow.
Can our own team map CKAN scheming fields to DCAT-AP 3 without a partner?

Yes, a team that already runs CKAN and writes Python can do this without a partner, because ckanext-dcat already provides the euro_dcat_ap_3 profile. Much of the work is configuration and a smaller amount of extension code, though the amount depends on your fields. The harder part is metadata judgment: deciding which field carries the publisher, how a custom field relates to a standard property, and what a harvester should expect on the other end. Check these before you decide: whether someone has built or modified a CKAN extension, whether anyone can read RDF output and spot a missing property, whether the team has time to test every dataset type, and who will own the mapping after go-live. Many teams split the work, with internal staff owning the metadata decisions while a partner builds, tests and documents the mapping.

Does a passing DCAT-AP validator run mean our portal is certified?

No. A passing validator run shows that your RDF output met the rules of that validator at the time of the run. It does not certify the portal, and it does not show that the metadata is accurate, complete or fit for publication. DeployOpen does not issue certifications, audit reports or attestations. Independent auditors and certification bodies make those determinations. DeployOpen can prepare the mapping, the test records, the configuration held in version control and a decision log that explains each field's mapping, which are the kinds of evidence an assessor may request. Before you build an evidence file, ask the body that will assess you which artifacts it accepts and how often it expects them to be refreshed.

How is a DCAT-AP 3 mapping maintained after CKAN upgrades?

Patch and minor upgrades need different levels of testing. CKAN patch releases do not break backwards compatibility and exclude schema changes and new features, so a patch upgrade usually needs a regression run of your mapping tests. Minor releases may include backwards-incompatible changes, so treat each one as a project: retest the RDF endpoints, the DCAT-AP 3 output, the RDF harvester and every custom field mapping or validator. Before any upgrade, confirm that your ckanext-dcat and ckanext-scheming versions support the target CKAN line, since the ckanext-dcat repository lists CKAN 2.10 and 2.11 as supported. Keep a standing test set with sample datasets, expected output and a validator run. A retainer can cover upgrades and continuous testing after go-live.

Which CKAN version should we run for a DCAT-AP 3 portal?

Run the latest patch of a CKAN minor line that is still supported, and confirm that your extensions support it before you choose. CKAN 2.12.0 was released on August 26, 2026, together with maintenance releases 2.11.6 and 2.10.11. Under the CKAN release policy, the team supports the latest patch of the current minor version and the previous minor version, and outdated patch releases lose support once a newer patch is out. That makes 2.12 and 2.11 the lines to evaluate now. The ckanext-dcat repository lists CKAN 2.10 and 2.11 as supported, so confirm 2.12 support for the ckanext-dcat and scheming versions you plan to use before you commit. If you are already on 2.10, plan the upgrade into a supported line as part of the mapping work.

What to confirm about versions and profiles before you commit

Each item below is a decision you can settle before the build starts, and several of them change the mapping itself. Check each one with the ckanext-dcat maintainers, the operators of the catalogs you publish to or harvest from, or your own test environment, and record the answers in the written scope before work begins.

ckanext-dcat on CKAN 2.12

ckanext-dcat is listed as supported on CKAN 2.10 and 2.11, and CKAN 2.12.0 was released on August 26, 2026. Do not assume 2.12 support until the extension's compatibility notes or release tags say so. Install the candidate CKAN 2.12 and ckanext-dcat versions in a test environment, load your scheming schema, then run an RDF export and a harvest round trip. If support is not confirmed, the choice is to stay on the current release line or to test a fork, and that choice belongs in the scope.

ckanext-dcat repository

DCAT-AP 3 profile version

The euro_dcat_ap_3 profile is the default in ckanext-dcat, but the catalogs you publish to or harvest into may expect a specific DCAT-AP 3 release and any national application profile built on top of it. Ask each catalog operator which profile version their validation enforces, along with the controlled vocabularies and mandatory properties they check. Record the answer in writing, since the mapping for fields such as publisher identifiers or spatial coverage depends on the profile you target. Test sample datasets against that exact profile before you freeze the schema.

Python and extension pins

Installing CKAN from source requires Python 3.10 or newer, and the extension versions you run must match the CKAN release underneath them. Pin every extension to a version tag or commit in your requirements file, and avoid tracking a moving branch. Ask each extension's maintainers which versions they test against your CKAN release, and confirm that the interpreter in your container or virtual environment matches what the install guide specifies. Re-check the pins whenever you change CKAN or the profile.

Install from source guide

What harvest partners accept

Your RDF output is only as useful as the harvester that reads it. Ask each partner which DCAT serialization formats it accepts, whether it expects a catalog-level wrapper, which identifiers it needs for datasets and publishers, and how it handles properties outside the profile. Then harvest from a test source into a staging CKAN and compare the imported records with the originals. A partner's import rules can be stricter than the profile, so settle them before the mapping is frozen.

Ownership of custom profile code

A custom profile class stacked on euro_dcat_ap_3 is code you will maintain through every CKAN and ckanext-dcat upgrade. Confirm who owns that code, who reviews changes to it, and which tests protect the RDF mapping of each custom field. Ask whether the delivery includes documentation and a test suite, and whether your support or retainer terms cover fixes when the base profile changes. Without a named owner, a custom mapping can break quietly at the next upgrade.

Validation tool requirements

National and sector guidance may name a validator for DCAT-AP output, and the tool version and rule set it uses decide whether your RDF passes. Find out which validator your guidance requires, which version it runs, and whether it checks the same profile you target. Run it against a sample export from your test environment, keep the report, and repeat the check after each upgrade. If the guidance names no tool, ask the body that issued it which validation it will accept before you sign off on the output.

How DeployOpen scopes and delivers a CKAN DCAT-AP 3 mapping

DeployOpen scopes the mapping from your ckanext-scheming schema to the DCAT-AP 3 profile in ckanext-dcat, then builds, tests and documents it on your CKAN instance. The written scope names each field, its target DCAT-AP property and the RDF output you need to validate, and engagements are fixed-scope with terms agreed in writing before work starts.

How we scope

  • Inventory each scheming field and classify it as mapped, custom-mapped or internal-only.
  • Confirm the CKAN version and ckanext-dcat release against its supported CKAN versions before the build starts.
  • The written scope lists the fixed deliverables, out-of-scope items and the retainer option for ongoing support.

How we build

  • Configure the euro_dcat_ap_3 profile and the ckanext-dcat pre-built schemas against your scheming file in version control.
  • Write custom mapping code only for fields the default profile cannot express, and keep it in an extension.
  • Test the RDF endpoint output and an RDF harvest round trip against the profile on a staging instance first.

How we hand over

  • Deliver the scheming and mapping configuration, a field-to-property table and the deployment steps for each environment.
  • Document how a schema change flows through validation, RDF output and harvesting so your team can review it.
  • Walk your team through the validation results and open items, with owners named in the handover record.

How we support

  • Keep the mapping current when ckanext-dcat, the profile or CKAN releases change, under a retainer or new scope.
  • Rerun validation and RDF checks after each CKAN minor upgrade, since minor releases may include incompatible changes.
  • Retest new fields and vocabulary changes before they reach production, so harvesters and RDF consumers see stable output.

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.