Talk:JusCMS ValidationRules

From MPDLMediaWiki
Revision as of 09:45, 30 March 2011 by Gergana (talk | contribs)
Jump to navigation Jump to search

Fazit CitationStyles[edit]

This proposal of rules is a result of the minimum version of the citation style for each publication. This rules are NOT implemented.

Journal Article published online[edit]

  • Date.PublishedOnline has to be saved as full date - YYYY-MM-TT. (MUC: HIGH)
  • One of the following URIs is needed:
    • Identifier.type=DOI
    • Identifier.type=URN
    • Identifier.type=URI
    • Source.Identifier.type=URI
    • FileLocator.URL

Paper published online[edit]

  • Date.PublishedOnline has to be saved as full date - YYYY-MM-TT. (MUC: HIGH)

Monograph, Collected Edition, Commentary, Festschrift, Handbook[edit]

  • Publisher und Publisher Place are mandatory fields.
  • Total nr of pages is mandatory.

Thesis[edit]

  • Total nr of pages is mandatory.

Contribution to a Collected Edition[edit]

  • Only Start-Page is mandatory.

Case Note[edit]

  • If a date of type legalCase.issued is filled in, the form has to be full date YYYY-MM-TT. No other dates are possbile (e.g. only year or month-year).

PubMan Default Rules[edit]

PubMan Default Rules are listed below. The bold rules are mandatory. The other rules rule dependencies of fields.

  • publisher_name_required
    • If "Publisher place" or "Publisher edition" is filled, "Publisher name" has to be filled also.
  • organization_name_required
    • If the field "Address of an Organization" within a creator of type "Person" is filled, "Name of the Organization" has to be filled also.
  • event_title_required
    • If any fields at "Event" are filled, "Title" of the event has to be filled also.
  • source_title_required (this default rule should be modified for JusCMS)
    • If any fields at "Source" are filled "Title" OR "Abbreviated Title" has to be filled also.
  • publication_creator_role_required
    • If any fields at "Publication creator" are filled, "role" has to be filled also.
  • source_creator_role_required
    • If any fields at "Source creator" are filled, "role" has to be filled also.
  • genre_required
    • Genre is required. (Genre must not be manuscript.)
  • title_required
    • Title is required.
  • creator_required
    • At least one creator with an organizational unit provided is required.
  • date_required (submit)
    • If genre is not equal to "Series" or "Journal" or "Other" or "Manuscript" at least one date has to be provided.
  • correct_date_format
    • Entered dates have to be in the format YYYY, YYYY-MM or YYYY-MM-DD.
  • component_data_required
    • If a file is given, the filename, the content category, the mime type, and the visibility are mandatory.
  • component_content_required
    • File: If a filename, a content category, a mime-type or a description is given, there has to be a content.
  • source_genre_required
    • If source name is given, the source genre has to be given, too.
  • uri_as_locator
    • Locator has to be a valid URI.
  • component_mimeType
    • the mime type of a file has to be one of the list given in "mimeTypes" above.
  • ddc_keywords
    • The entered keyword does not conform to the DDC classification in CONE.
  • no_slashes_in_filename
    • The file name of a component must not contain slashes "/".