From b8361d6a6310a941192d867a9cbfc7ac18318119 Mon Sep 17 00:00:00 2001 From: Hans-Chrstian Date: Thu, 26 Sep 2024 12:02:38 +0200 Subject: [PATCH] feat: add had_version to default schema --- ckanext/dcat/schemas/dcat_ap_full.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ckanext/dcat/schemas/dcat_ap_full.yaml b/ckanext/dcat/schemas/dcat_ap_full.yaml index 36508d9a..ceeb58c3 100644 --- a/ckanext/dcat/schemas/dcat_ap_full.yaml +++ b/ckanext/dcat/schemas/dcat_ap_full.yaml @@ -313,6 +313,13 @@ resource_fields: label: License help_text: License in which the resource is made available. If not provided will be inherited from the dataset. +- field_name: has_version + label: Has version + preset: multiple_text + validators: ignore_missing scheming_multiple_text + help_inline: true + help_text: This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset. + # Note: this falls back to the standard resource url field - field_name: access_url label: Access URL