Etsin Data Model

Compulsory: y = yes, n = no, g = generated automatically, if not given

Type is not the type in the database, on the other hand it tells the end user what the data type should be.

Description
Parent Field
Field
Type
Links
Restrictions
Generation
Compulsory (y=yes, n=no, g=generated if not provided, ga=always generated
Etsin dataset internal id id   string     Automatically generated ga
URL of the dataset name   string   Only alphanumeric and - allowed Automatically generated from id ga
Version of the data, date version   iso8601 date   iso8601 date Must be given y
The title of the dataset title   JSON string   The title must be a valid JSON object, where the title language is given as the key in ISO 639-2 T format and title translation as value. I.e. {"fin": "Otsikko", "eng": "Title"}. Multiple titles with same language are not allowed.   y
License of the data license_id   string https://github.com/kata-csc/ckanext-kata/blob/master/ckanext/kata/theme/public/licenses.json   Must be given y
Copyright notice, additional information of license and use restrictions license_URL   string Compulsion dependent on the value of license_id     y if license is License not specified or any variant of license type Other
Description notes   JSON string   The description must be a valid JSON object, where the description's language is given as the key in ISO 639-2 T format and title translation as value. I.e. {"fin": "Kuvaus", "eng": "Description"}    
Owning organisation, from organisation page or a new organisation to be created owner_org   string   Organisation from the existing organisations or a new organisation to be created   y
Published or not private   boolean   Boolean True/False Defaults to False (published) n
Distributor's name contact name string     Must be given (at least one distributor) y
Distributor's email contact email string (email)   Valid email address required Must be given (at least one distributor) y
Distributor's phone contact phone string (phone)   Valid phone number required (numeric, +)   n
Distributor's contact URL contact URL string (url)       n
Use information, how data can be accessed availability   string   Select from list: access_application_rems, access_application_other, direct_download, access_request, contact_owner. Must be given y
Url for access application access_application_URL   string (url) Linked with availabilities access_application_rems and access_application_other. Must be URL address Valid URL If access_application_rems, generated automatically. If access_application_other, user provides y if availability access_application_other, g if availability access_application_rems, else n
External identifier external_id   string Linked with availability access_application_rems and access_application_URL If access_application_rems, will be included in automatically generated access_application_URL. If users does not provide, internal identifier will be used.    n
Url for direct download direct_download_URL   string (url) Linked to availability direct_download Valid URL   y if availability equals direct_download, else n
Url for access request site, e.g. to a site a user must log in to to get the data access_request_URL   string (url) Linked to availability access_request Valid URL   y if availability equals access_request, else n
Type of an agent, e.g. author, owner agent role string     Must be given. At least one agent with role author must be given. Other options are owner, funder, contributor. y (at least one author must be given)
Name of an agent agent name string       y
Id e.g. for author an orcid id agent id string Valid if role is author or contributor     n
Organization agent organisation string Valid if role is author, contributor or funder     y if role equals funder, else n
URL for e.g. project home page agent URL string (url) Valid for most roles but not to role owner Valid URL   y if role equals funder and i equals 0, else n
Funding id agent fundingid string Valid if role is funder     y if role equals funder
Tells whether data contains textual data (If it does, value False, otherwise True) langdis   boolean   Boolean True/False Must be given y, if language is empty
Comma separated list of languages covered or used in data language   639-2 T Must be given if langdis equals False 639-2 T Must be given if langdis equals False y if langdis equals False
Permanent identifier pids id string     One identifier is automatically generated, if user does not provide g
Type of the identifier pids type string   One from list: primary, relation   y if id is given
Provider of the identifier pids provider         n
Relation identifier's type pids relation one of id values in https://github.com/kata-csc/ckanext-kata/blob/master/ckanext/kata/theme/public/relations.json       y if type = relation, otherwise n
Branch of science discipline   string, csv   Most special characters not allowed   n
Subject (Keywords) tag_string   csv, preferably URL and from Finto's KOKO-ontology   URL-formed key words from KOKO ontology can be translated automatically in UI. Also free words may be given but these cannot be translated automatically.   y
Event description event descr text       n, y if any of the fields have a value
Event type, e.g. collection event type string       n, y if any of the fields have a value
Event's date event when iso8601 date   iso8601 date   n, y if any of the fields have a value
The person responsible for the event event who string       n, y if any of the fields have a value
Geographic coverage geographic_coverage   string, csv   Most special characters not allowed   n
Temporal coverage, start time temporal_coverage_begin   iso8601 date   iso8601 date   n
Temporal coverage, end time temporal_coverage_end   iso8601 date   iso8601 date   n
Mime type of the data, e.g. text/html mimetype   string   Most special characters not allowed   n
Hash of the data, e.g. a hexa decimal string generated with certain algorithm, say MD5 hash   string       n
Algorithm the aforementioned hash is calculated with, e.g. MD5, SHA-256 algorithm   string   Most special characters not allowed   n
Format of the file format   string       n
Agree on terms of use

accept-terms

  boolean       y
Optional structure to set title (the language part) langtitle lang 639-2 T   639-2 T   n
Optional structure to set title (the title part) langtitle value string       n
Optional structure to set description (the language part) langnotes lang 639-2 T   639-2 T   n
Optional structure to set description (the description part) langnotes value text       n
Citation citation   string       n