Skip to content

Dataset: validation rules

Nicolas Franck edited this page Mar 7, 2022 · 1 revision

Validation rules for individual fields

Title

  • internal name: title
  • type: string
  • required: when status is public
  • repeatable: false

DOI

  • internal name: doi
  • type: string
  • required: when status is public
  • repeatable: false
  • notes: field is not editable, but dataset is never manually created so field should/must be available anyway.

URL

  • internal name: url
  • type: string
  • required: false
  • repeatable: false

Publisher

  • internal name: publisher
  • type: string
  • required: when status is public
  • repeatable: false

Publication year

  • internal name: year
  • type: string. Format YYYY
  • required: when status is public
  • repeatable: false

Data format

  • internal name: format
  • type: string. Possible formats available for autocomplete (but not limited to)
  • required: when status is public, i.e. at least one should be given
  • repeatable: true

Keywords

  • internal name: keyword
  • type: string
  • required: false
  • repeatable: true

Access level

  • internal name: access_level

  • type: enumeration

  • enumeration:

    • label: "", value: ""
    • label: Open access, value: info:eu-repo/semantics/openAccess
    • label: Restricted access, value: info:eu-repo/semantics/restrictedAccess
    • label: Embargoed access, value: info:eu-repo/semantics/embargoedAccess
    • label: Closed access, value: info:eu-repo/semantics/closedAccess
  • required: when status is public

  • repeatable: false

Cross field validation rules

  • When status is public, license or other license should be given
  • When status is public, at least one "creator" should be available
  • When status is public, one or more "creators" should be an ugent author
  • When status is public, and you've choosen access level "embargoed access", then you should also set "Embargo period" and "Access level after embargo period"
Clone this wiki locally