When one CKAN portal should run several dataset types
Dataset types let one CKAN instance give each kind of record its own form and pages through ckanext-scheming, and choosing them is a schema decision made before data entry starts. A portal that must hold datasets, maps, documents and models often needs different required fields for each, and a dataset type lets each one carry its own schema. For each type, the form, the field set, the validation rules, the URL path and the display templates can differ. Fields are hard to reshape once records exist, so settle the type list and its fields with the data owners before the first import.
A dataset type does not split the portal into separate catalogs. Datasets of every type still share one Solr search index, so the main search, facets and API responses cover all of them, and a facet built for one type's field may show no values for the others. Users, organizations, collaborators and API tokens are shared too, so the permission model you design applies to every type in the same way. Confirm how search facets, the dataset API and the type selector behave when a query spans several types, and whether listing pages can be filtered by type. Harvesting and DCAT output also need a per-type check, because a mapping written for one type does not automatically cover another.
Dataset types are a design choice with costs. Each type adds another form to test, another set of templates to theme, another validation path to keep working through upgrades, and another part of the schema to keep in version control. Shared fields reduce this work, so list which fields every type needs before you split them. Confirm the exact dataset_type behavior in the ckanext-scheming version you will run, including URLs, form selection and validation, and verify it against that version before any design is locked. Ask any implementation partner to write that check into the written scope.
Options for separating record kinds in CKAN
This table compares four ways to separate kinds of records, such as datasets, maps, documents and models, in one CKAN portal. Read each row as a decision: the first column names the option, and the other columns show where it fits, what your team must maintain, and how it affects search, harvesting and DCAT output. The main takeaway is that the choice shapes your schemas and output, so settle it before you build forms, harvest jobs and profile mappings.
| Option | Fits when | Maintenance cost | Search, harvesting and DCAT output |
|---|---|---|---|
| One generic dataset type with a category field | Record kinds differ only slightly in metadata and one form works for all publishers. | Lowest schema upkeep. Category values need a controlled list so they stay consistent. | All kinds share one search path and one output shape. Confirm how categories map to DCAT types in your profile. |
| Several dataset types through ckanext-scheming | Kinds need their own fields, forms and pages, such as maps, documents or models. | Each type needs its schema, templates and tests kept in version control and upgraded with CKAN. | Each type can carry its own fields. Confirm how mixed types appear in search results and facets, and map each type to your DCAT profile. |
| Separate organizations or groups for the same kinds | Kinds are told apart by publisher or theme, and the metadata fields stay the same. | Adds organization and group setup and permission rules to manage, but no new forms. | Search filters on existing datasets. Harvested and DCAT records keep one shape, so kind-specific fields are not carried through. |
| Separate CKAN instance per kind | Kinds have different owners, access rules, compliance scope or upgrade schedules. | Highest. Each instance needs its own hosting, search index, database, backups, extensions and upgrades. | Each instance has its own catalog and search index. Harvesting and DCAT endpoints are set per instance, so cross-catalog views need a separate step to confirm. |
How dataset types differ from organizations and groups
A dataset type decides what a record looks like: which fields its form shows, how its pages are presented, and which schema validates what gets saved. Organizations decide who publishes and administers a record, since membership, roles and private datasets all attach to the owning organization. Groups are a browsing layer. They collect datasets from any organization so visitors can find related records, but they do not control publishing or access. Keep the three apart when you plan the portal, because each answers a different question: what kind of record this is, who is responsible for it, and who should be able to find it.
The most common mistake is using organizations as stand-ins for record kinds. A team creates an organization called Maps so that map records get their own form. The organization then holds unrelated records, and its page, member list and permissions now cover audiences that have little in common. Organizations exist to answer for data, so they should follow accountability lines. The reverse mistake is creating a dataset type for every department. Each type brings its own schema, templates, validation and tests, so a portal with a type per team tends to accumulate near-identical forms that drift apart. Ask which differences change the fields a publisher fills in before you add a type.
Before you choose a type layout, write one row per record kind with three answers: the schema, owner and audience it needs. The schema is the fields and validation it requires, the owner is the organization that publishes and maintains it, and the audience is the group of people who will search for it. Kinds that share a schema and an audience can share a type even when different departments publish them. Kinds with different fields but the same owner can still be separate types, provided their audiences differ enough to need separate pages. Illustrative example: a health department publishes facility lists and survey results under one organization, with a group for public health datasets that collects both. Confirm how type-filtered search and facets behave on your CKAN version before you finalize the layout, since that decides how each audience finds each kind.
Each dataset type follows one path from form to DCAT output
The path starts when an editor picks a dataset type and creates or edits a record of that type. The ckanext-scheming schema for that type then supplies its fields and validators before the record is saved. From the database, the record is indexed for search and served through the Data API, the web pages and the ckanext-dcat RDF endpoints. Records that a harvester imports from another catalog enter at the database step and follow the same path, so they need the same checks. Verify the type-specific mapping before you publish RDF output, because each type's fields must map correctly to the DCAT profile you use.
One path from form to RDF output, with two checkpoints.
Setup sequence for CKAN dataset types
This sequence takes a CKAN portal from one default dataset form to several dataset types, each with its own schema, pages and DCAT output. Each step ends with a check you can run and record, so the portal team and its reviewers can see what was tested before production.
Confirm CKAN and extension version compatibility
The portal team checks the CKAN version it runs and the ckanext-scheming and ckanext-dcat versions that support that release before any schema is written. CKAN 2.12.0 was released on August 26, 2026, and ckanext-dcat is listed as supported on CKAN 2.10 and 2.11, so confirm in each extension's repository whether your target CKAN version is covered before you commit to it. Pin the confirmed versions in the deployment repository. Done when a compatibility note lists the CKAN, ckanext-scheming and ckanext-dcat versions, with the source you checked for each, and the staging instance starts on those pinned versions.
Write each dataset type schema in version control
The team writes one ckanext-scheming schema file per dataset type, such as datasets, maps, documents or models, and sets out the fields, presets and required fields each type needs. Keep the files in a Git repository next to the deployment code so staging and production load the same definitions. Review every change through a merge request, and record an owner for each type's field list. Done when every type has a reviewed schema file in the repository and the staging instance loads those files from a specific commit.
Enable the schemas in configuration
Point the portal configuration at the schema files and register each dataset type the portal should offer, using the configuration keys documented by ckanext-scheming. Confirm the key names in the extension documentation for your version before you use them, and keep the values in the same repository as the schema files. Restart the staging instance and check the logs for schema load errors. Done when the portal starts without errors and each dataset type can be selected on the create dataset page.
Test creation, editing, search and display per type
For each dataset type, a tester creates a record in the staging instance, edits it, searches for it and opens its dataset page, checking that each custom field saves, reloads and shows on the page. Run the same test steps for every type so the results can be compared. Check that searches filtered by dataset type behave as your search configuration intends, and that validation messages appear for the fields that require them. Done when a record of each type exists in staging, with a short test log listing the create, edit, search and display result for each.
Check DCAT output against the published profile
Export each sample record as RDF through the DCAT endpoints that ckanext-dcat provides, and validate the output against the profile the portal publishes. Confirm which DCAT profile your configuration selects and which validator your team will use, because the profile determines which properties must be present. Record each property a validator flags, then decide whether the schema, the mapping or the profile needs a change. Done when every type's export passes validation with no unexplained errors, and the results are saved with the commit that produced them.
Verify harvest behavior with sample records
Run a harvest from a sample source, or import an RDF file with the RDF harvester, and check which dataset type each imported record receives and whether its custom fields populate. Compare each result with the type you expected for that sample. Confirm in the ckanext-dcat documentation how harvested records are assigned a dataset type before you rely on that behavior in production. Done when a sample harvest produces one record per type with the expected fields filled in, and the team has written down any record that landed under the wrong type or lost fields.
How CKAN dataset types affect search, harvesting and DCAT output
All dataset types share one search index, so a search returns records of every type unless the query or template narrows it. Facets, filters and result cards were usually written around the default dataset, so a custom type can show missing, empty or misleading fields. Confirm how each type behaves in the CKAN version you run, because search templates and facet handling can change between releases.
- Shared index: Records of all types are indexed together, so a generic search can return maps, documents and models in one result list.
- Facets: A facet that works for the default dataset may not apply to a type's custom fields, so test each facet against each type.
- Filters: A filter that depends on a type-specific field needs sample records entered for that type before you trust its results.
- Result display: Each type's result card shows the fields a user needs to decide whether to open the record, so check that the important fields appear.
- Organization and group pages: These list datasets of all types, so confirm that a type-specific page does not hide or duplicate records.
Check: Create one record of each type in the same organization, search for a term that appears in all of them, and confirm each record appears with the expected facets, filters and fields in your target CKAN version.
Harvested records arrive without a native sense of which type they belong to, so the harvest setup must map each record to a dataset_type before it is created. The harvest source and the target type have to agree: a source that produces one kind of record should create that type, or the import may fail validation or land in a form that hides its fields. Decide this mapping during planning, not after the first import has run.
- Type mapping: Decide which upstream records map to which type, based on a field value, the source endpoint or the catalog the record came from.
- Source and target agreement: Each harvest source should point to one target type, and the fields it fills should match that type's schema.
- Mixed sources: A single source that returns several kinds of record needs explicit mapping rules or separate sources, so one type does not absorb everything.
- Updates: Re-harvesting an existing record can change its type or leave custom fields empty, so confirm what happens on update as well as on create.
- Upstream formats: Each upstream format maps fields differently, so test with a sample from every source before scheduling full runs.
Check: Run one harvest job against a small sample from each source, then confirm each created record has the intended dataset_type, that its custom fields are filled, and that a second run keeps both the type and the fields intact.
The ckanext-dcat extension provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester for importing from other catalogs. Its stated support covers CKAN 2.10 and 2.11, so confirm compatibility with your version before you plan an upgrade. The profile you choose applies across the whole portal, which means every dataset type is serialized under the same profile, and type-specific fields need explicit mapping to the properties you publish.
- Portal-wide profile: The DCAT-AP version applies to all types, so a map or model record is serialized under the same profile as a standard dataset.
- Version choice: Select v1, v2 or v3 based on the schema your publishing obligations and your receiving catalogs expect, and confirm that choice with them.
- Type-specific fields: Fields that exist only on one type need a mapping to a DCAT property, or they will be missing from the RDF output.
- Round trips: If the portal also harvests RDF from other catalogs, test that a record exported and re-imported keeps its meaning and its type.
- Extension source: The ckanext-dcat repository documents the schemas and endpoints, so read it against your exact CKAN version.
Check: Export the RDF for one record of each type from the RDF endpoint, validate it with the tool your receiving catalog uses for the chosen DCAT-AP version, and confirm every type-specific field appears with a mapped property.
Security and operations for multi-type portals
Each dataset type adds its own form, permissions, harvest path and search behavior to the same portal, so a control that works for one type can leave another exposed. The cards below cover the six places where multi-type portals most often drift. For each, confirm the setting in your own environment before opening the portal to users.
Access rules by type and organization
Permissions in CKAN depend on the organization, its member roles and whether a dataset is private, so a second type can become visible or editable to a group that was never meant to see it. Set the role each organization holds for every type it publishes, and decide who can see private records of each type. Test each type with a non-admin account from each organization before launch. If you sign in with SAML2, confirm which attributes map users to organizations and roles, because that mapping decides who can publish each type.
ckanext-saml2auth repositoryValidation gaps on type fields
A required-field rule defined for one type does not apply to another type, so each schema needs its own checks on the fields that matter for that type. Create one record per type through the web form and through the API, leaving required fields blank, and log which requests are rejected. Blank required fields that pass validation are the failure to look for. Bulk imports and harvesters often write through the API, so confirm that validation applies there as well as in the form.
Harvested records with the wrong type
A harvest source that feeds one type of record into the wrong type will place it in the wrong form, facets and DCAT output. Confirm how each harvest source assigns the dataset type to incoming records, and whether that assignment comes from the source configuration or the content it harvests. If you use the RDF harvester in ckanext-dcat, check the profile and mapping it applies. Review a sample of harvested records after the first run of each source, before the schedule is enabled.
ckanext-dcat repositoryExtension version drift across types
Every type shares the same scheming and extension versions, so an upgrade that repairs one type can break another. Pin every extension version in version control and keep a staging portal that loads all types before production changes go live. Check that each extension lists support for your CKAN minor version. CKAN 2.12.0 was released on August 26, 2026, and minor releases may include backwards-incompatible changes, while patch releases exclude schema changes.
- ckanext-dcat support
- 2.10 and 2.11
Backups and index rebuilds for all types
Backups must cover every type, which means more than the main PostgreSQL database. The DataStore keeps structured resource data in a separate PostgreSQL database, so a backup of only the main database misses those tables. After a restore, rebuild the Solr search index so every type appears in search and facets. Restore a full portal copy to a test environment and check one record per type, the DataStore tables and search results. Confirm the backup schedule and who owns each step.
DataStore docsAudit evidence for schema changes
A schema change alters which fields every user can enter, so each change needs a named author and a named reviewer. Keep schema files in version control with required reviews before merge, and list who holds server or database access that could bypass that path. Do not assume CKAN or ckanext-scheming records schema edits for you. Ask your platform team which logs exist for schema changes, including web server, reverse proxy and database logs. Treat version control history as the schema audit trail unless those logs show more.
Questions buyers ask about running several dataset types
What drives the cost of running several CKAN dataset types?
The main driver is how many dataset types you run and how much they share. Each type needs its own schema, form fields, presets, display templates and search facets, so eight types with overlapping fields take more design and testing than three simple ones. Controlled vocabularies, multilingual fields and required-field rules add effort per field, and DCAT mapping adds more per type. Who is paid matters too: a partner charges for design, build, testing and handover, while your staff time is an internal cost you should estimate separately. Most of the design and build is one-time work, and ongoing changes recur. Ask any quote to itemize each type, the shared fields, the DCAT mapping, the test cases and the training, and to state what is excluded.
How long do design and setup take for several dataset types?
Timing depends on the number of types, how many fields they share and how much DCAT mapping each type needs. A small portal with two types, named data owners and clear pick lists moves faster than one where each type needs its own review cycle and sign-off. Delays usually come from waiting on decisions. Unresolved field definitions, pick lists owned by several departments or an undecided DCAT profile can stall a build that is otherwise straightforward. Keep the one-time design and setup separate from later additions of types, since each addition repeats part of the cycle. Ask for a written scope that lists milestones, the decisions each milestone needs from your side, the environments covered (development, staging and production), the review rounds included, and what happens if a decision arrives late. A date without those items is hard to check.
What does a dataset type project need from our team?
Your side supplies decisions and data, and the partner turns them into schema files, tests and documentation. Each dataset type needs a named data owner who can say which fields are mandatory, which values are allowed and who may see the records. Provide representative sample records for every type, including messy real examples, because edge cases in those samples usually shape the schema. You also need to decide which DCAT profile the portal publishes against, which publisher identifiers and vocabularies you already use, and how custom fields map to them. Give the team a staging instance and access to version control for the schema files. In the written scope, ask the partner to list each input, the person who supplies it and the milestone that needs it.
Can an internal team build CKAN dataset types without a partner?
Yes, an internal team can do it alone if it already runs CKAN and can write, test and deploy ckanext-scheming schema files and a small extension when needed. The gaps usually sit in three places: DCAT mapping and RDF output, search index behavior when types share one index, and upgrade testing across minor releases. Many teams keep the data and design decisions in-house and buy a review or handover for the parts they have not run before. Check whether your staff have built a dataset type end to end, changed a form, and validated harvest output on a staging copy. Also confirm that more than one person can maintain the schema if the original builder leaves. In the scope, ask for the review and training as separate lines so you can compare them with the cost of internal time.
How do dataset types affect harvesting and DCAT output in CKAN?
Each dataset type can produce different DCAT output, so check the mapping for every type on its own. The ckanext-dcat extension provides DCAT schemas, RDF endpoints and an RDF harvester, and its repository lists support for CKAN 2.10 and 2.11, so confirm the status for your target version before you plan the work. For harvesting, check which dataset type the harvester assigns to imported records, whether the extra fields survive a round trip, and how records from other catalogs fit your types. Test each type's RDF output against the profile your catalog must follow, and keep sample outputs in version control so a schema change shows up as a diff. The mapping is one-time work for each type, and it recurs whenever a type or field is added.
Does a CKAN upgrade change a multi-type schema plan?
Upgrades change the plan when a newer release alters behavior that your types depend on. CKAN 2.12.0 was released on August 26, 2026, with maintenance releases 2.11.6 and 2.10.11 on the same day. Patch releases exclude schema changes and do not break backwards compatibility, but minor releases may include backwards-incompatible changes, so a minor step needs its own test cycle. Confirm that ckanext-scheming and ckanext-dcat support your target version before you schedule the move, and run each dataset type's forms, validators, templates and DCAT output as regression tests on a staging copy. CKAN's release policy supports the latest patch of the current minor version and the previous minor version, so an older portal can fall out of support. Ask the partner whether the scope covers one upgrade or an ongoing arrangement.
What work recurs after CKAN dataset types go live?
Most of the cost after launch is recurring work, and the initial build is only the first part. Each new dataset type, added field, pick list change or validation rule needs a schema change, a test pass against sample records, and a check of search, harvest and DCAT output. Extension updates and CKAN upgrades add more work each cycle. Ongoing support can be bought as a retainer covering ongoing support, upgrades and continuous testing, so the partner carries this work under a written agreement. Ask the quote to split one-time items (design, build, initial testing, handover) from recurring items (change requests, upgrade cycles, support coverage), and to state how changes are requested, scheduled and priced.
Limits to confirm before you commit to dataset types
Each dataset type adds a form, search behavior, harvest mapping and DCAT output that your portal must support together. The six limits below are the points where an unconfirmed version or setting is most likely to break a mixed-type portal after launch.
CKAN version and dcat support
Your CKAN minor version sets the limit for every extension. The ckanext-dcat extension is supported on CKAN 2.10 and 2.11, so 2.12 support must be confirmed with the extension's release notes before you upgrade or start a build. Ask the maintainers which ckanext-dcat release supports CKAN 2.12. In staging, install the candidate CKAN and extension versions together, create one dataset of each type, and load the DCAT RDF endpoint. Minor releases can include backwards-incompatible changes, so test the full combination.
CKAN release policyckanext-scheming version and dataset_type
The ckanext-scheming version decides how dataset_type works: which forms, URLs and templates each type gets. Pin a scheming version only after confirming its dataset_type behavior in the extension documentation and release notes. In staging, define a second type, then create one dataset of each type through the web form and the API. Check that each form, dataset page and edit page shows only its own fields, and that a type-specific field does not appear on the other type.
Search and facets per type
Search results, facets and filters are where mixed types become visible to users. Confirm that the search page, facets and API filters can be scoped to each type, and that type-specific facets appear only where users need them. In staging, load a representative sample of records for each type, search for a term that appears in two types, and check that every result shows the correct type. Then rebuild the Solr index and compare record counts against the database.
Harvester support for type mapping
Harvested records arrive from external catalogs and need a dataset type on import. Confirm whether your harvester can assign a type by source, by a field in the source record, or with a default, and whether that mapping survives a rerun. Verify this for the exact harvester version you plan to use, since the mapping depends on the harvester itself. In staging, point the harvester at a sample source with records for each intended type, run the harvest twice, and confirm each record lands in the right type without duplicates.
DCAT profile coverage for type fields
RDF output only carries type-specific fields that your target DCAT profile maps. The ckanext-dcat extension provides DCAT-AP v1, v2 and v3 schemas, but a field that exists only for one dataset type still needs its own mapping decision. Confirm which profile you publish and which of your type-specific fields it can represent. In staging, export the RDF for one dataset of each type, check that every type-specific field appears, and validate the output with the validator your publishing target uses.
ckanext-dcat repositorySolr, PostgreSQL and Redis choices
The install guidance sets the baseline for the database, search index and cache your portal depends on. Compare your planned Python, PostgreSQL, Solr and Redis versions with that guidance, including any managed services or container images you plan to use. Confirm that your hosting platform can run the recommended Solr version and that your sizing matches the record counts you expect. In staging, build the stack to the guidance, load one dataset of each type, and run a search and an index rebuild.
CKAN install guideHow DeployOpen scopes and delivers multi-type CKAN portals
DeployOpen plans and builds multi-type CKAN portals inside your own cloud accounts, data centers or air-gapped networks. Each engagement starts with a written scope that names every dataset type, its forms and pages, and how search, harvesting and DCAT output will treat it. Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts.
How we scope
- The written scope lists each dataset type, its schema fields, presets, and the pages it needs.
- It records how search, harvesting and DCAT output will treat each type before any build starts.
- Engagements are fixed-scope, and ongoing support is available as a retainer after handover.
How we build
- Each type gets its own ckanext-scheming schema, selected through dataset_type and kept in version control.
- Search facets, harvest mappings and DCAT output are configured and tested for each type.
- Test data covers every type, including records that fail validation, so errors surface before users see them.
How we hand over
- Handover includes schema files, configuration, documentation and an operator guide for adding a new type.
- Verification notes record what was checked for each dataset type before go-live.
- Your team keeps the schemas in version control so later environments use the same definitions.
How we support
- Retainers can cover upgrades, extension compatibility checks and continuous testing after go-live.
- Schema changes to a live dataset type are planned, tested on a copy, and then released.
- Ask for the support scope in writing, including who reviews new types and how changes are approved.

