v2.0.0
What's Changed
-
New profile for DCAT-AP v3,
euro_dcat_ap_3
, which is now the default. Existing sites willing to stick with DCAT-AP v2.x can specify the profile in the configuration if they are not doing so yet (ckan.dcat.rdf.profiles = euro_dcat_ap_2
). The neweuro_dcat_ap_3
profile relies on ckanext-scheming metadata schemas (see below). -
Support for standard CKAN ckanext-scheming schemas. The DCAT profiles now seamlessly integrate with fields defined via the YAML or JSON scheming files. Sites willing to migrate to a scheming based metadata schema can do
so by adding theeuro_dcat_ap_scheming
profile at the end of their profile chain (e.g.ckanext.dcat.rdf.profiles = euro_dcat_ap_2 euro_dcat_ap_scheming
), which will modify the existing profile outputs to the expected format by the scheming validators. Sample schemas are provided in theckanext/dcat/schemas
folder. See the documentation for all details. Some highlights of the new scheming based profiles (#281):- Actual list support in the API output for list properties like
dct:language
- Multiple objects now allowed for properties like
dcat:ContactPoint
,dct:spatial
ordct:temporal
- Custom validators for date values that allow
xsd:gYear
,xsd:gYearMonth
,xsd:date
andxsd:dateTime
- Actual list support in the API output for list properties like
-
SHACL validation for DCAT-AP 2.1.1 profile (scheming and legacy).
SHACL validation made surface the following issues in the existing profiles, which are now fixed (#288):- Cast
dcat:byteSize
anddcat:spatialResolutionInMeters
as Decimal, not float - Allow only one value of
dcat:spatialResolutionInMeters
anddcat:temporalResolution
- Only output the WKT version of geometries in
locn:geometry
,dcat:bbox
anddcat:centroid
. Sites that for some reason
require GeoJSON (or both) can use theckanext.dcat.output_spatial_format
config option
to choose which format to use - When using the
euro_dcat_ap_2
profile, don't output temporal extent namespaced
both withschema
anddcat
, just with the latter (dcat:startDate
anddcat:endDate
)
- Cast
-
CKAN 2.11 support and requirements updates (#270)
-
New
ckan dcat consume
andckan dcat produce
CLI commands (#279) -
Revamped documentation, now hosted at https://docs.ckan.org/projects/ckanext-dcat (#296)
-
Parse dcat:spatialResolutionInMeters as float (#285)
-
Split profile classes into their own separate files (#282)
-
Catch Not Authorized in View (#280)
New Contributors
- @JVickery-TBS made their first contribution in #280
Full Changelog: v1.7.0...v2.0.0