Difference between revisions of "Talk:JusCMS ValidationRules"

From MPDLMediaWiki
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Fazit CitationStyles=
=Fazit CitationStyles=
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==
==Journal Article published online==
* Date.PublishedOnline has to be saved as full date - YYYY-MM-TT.
* Date.PublishedOnline has to be saved as full date - YYYY-MM-TT. '''(MUC: HIGH)'''
* One of the following URIs is needed:
* One of the following URIs is needed:
** Identifier.type=DOI
** Identifier.type=DOI
Line 9: Line 11:
** FileLocator.URL
** FileLocator.URL


==Newspaper Article==
==Paper published online==
* The full date has to be given.
* Date.PublishedOnline has to be saved as full date - YYYY-MM-TT. '''(MUC: HIGH)'''
* Newspaper Article has only Newspaper as Source.  


==Monograph==
==Monograph, Collected Edition, Commentary, Festschrift, Handbook==
* This rules are also valid for Collected Edition, Commentary, Festschrift, Handbook.
* Publisher und Publisher Place are mandatory fields.
* Publisher und Publisher Place are mandatory fields.
* Total nr of pages is mandatory.
* Total nr of pages is mandatory.
Line 26: Line 26:
==Case Note==
==Case Note==
* 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).
* 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).
=JUS-specific Rules=
* at least one date is required (irrespectively of the source type)
* publisher_name_place_required (monograph) - Publisher place und Publisher has to be provided for monograph.
* publisher_name_source_required - If "Publisher place" or "Publisher edition" in source is filled, "Publisher name" has to be filled also.
:Exceptions:<br>
:* if genre-type=thesis, it should be possible to fill in just the publisher-place, but no publisher-name. This is needed for the work-around, if the university AND the publisher should to be filled (publisher-place=universtity, source1.publisher-place=Place of the publisher of the series, in which the thesis has been published)
:* if the only date given is "published-online" (and no date "published in print), it should be possible to fill just the "place of the publisher" (and no "publisher name") or no information about the publisher at all.
* total_number_of_pages_required (monograph, handbook, collected edition, commentary) - For genre monograph and date published in print a total nr. of pages is required.
* start_page_end_page_for_article_required - If genre is equal to "Article" Start and End Page has to be provided.
* degree_thesis_required - If genre is equal to "Thesis" degree type is required.
* volume_required_if_issue_is_filled (journal article) - If only an issue number is given, but no volume number, a warning should be displayed
=PubMan Default Rules=
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 <span style="color:red">(this default rule should be modified for JusCMS)</span>
** If any fields at "Source" are filled "Title" <span style="color:red">OR "Abbreviated Title"</span> 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.


=JUS possible rules=
* uri_as_locator
* No source for online Journal article
** Locator has to be a valid URI.
**if Genre = Journal Article and Date.date published online -> no Source.Title and Source.Genre required
* Language for Abstract
** if Abstract != '' and Langue of the Publ is given -> Abstract.Language = Language of the Publication. If not, the default language is english.
* Format of the pages
** XI + 33. -> If there are any roman caracters  a plus has to be putted.  
==cone_journal_volume_required==
If the name of the journal is in CONE, volume has to be filled in.
--[[User:Gergana|Gergana]] 12:23, 27 January 2010 (UTC) Es wird eine Abfrage an CONE gestartet und diese dauert lange (so mal 20 Sekunden..).
Mit dieser Abfrage können wir nur fragen, ob der Titel drin ist. Es ist nicht möglich einen Vermerk unter Idenfier z.B. bei einem Journal in  CONE zu machen, da man diesen auch in der Eingabemaske bei der Auswahl der Zeitschrift sehen würde. Meiner Meinung nach gibt es folgende Möglichkeiten:
* Volume ist Pflich für alle Zeitschriftenartikel.
* Volume für Pflicht für alle in CONE gehaltenen Zeitschriften.
* Volume ist nicht Pflicht


* component_mimeType
** the mime type of a file has to be one of the list given in "mimeTypes" above.


--[[User:Iarndt|Iarndt]] 08:25, 12 January 2010 (UTC): Hallo Juliane, wäre es möglich, obige Fallback-Variante über Pflichtfelder zu vermeiden? Kann eine Korrelation zwischen dem Zitierstil Zeitschrift und den Pflichtfeldern der Eingabemaske hergestellt werden (auch Frage an Gergana)? Wenn man also als ''Source'' eine "altehrwürdige" Zeitschrift auswählt, bei der die Bandangabe im Zitierstil üblich ist, dann sollte ''Source.Volume'' Pflichtfeld sein. <br>
* ddc_keywords
--[[User:Gergana|Gergana]] 15:05, 12 January 2010 (UTC): Was ist eine "altehrwürdige" Zeitschrift? Das Problem ist, dass die Validierungsregel nicht vom Titel der Zeitschrift abhängen.
** The entered keyword does not conform to the DDC classification in CONE.
Man kann z.B. definieren, dass wenn Source.Genre = JournalArticle und Source.AlternativeTitle ausgefüllt ist, dann soll auch Volume Pflichtfeld sein. Die Validierung hängt nicht vom Titel der Zeitschrift ab. Das machen wir dann für die Zitierstile. <br>
--[[User:Iarndt|Iarndt]] 17:44, 20 January 2010 (UTC): "Altehrwürdig" legen die Institute durch ihre Zeitschriftenlisten fest, die sie and die MPDL schicken. Es soll ja ein Zitierstil pro Zeitschrift festgelegt werden. Für alle Zeitschriften, für die also z.B. "Kurztitel_ZS Band (Jahr)" festgelegt wurde, sollte eine Fehlermeldung erscheinen, wenn der Band nicht belegt ist. <br>
--[[User:Juliane|Juliane]] 21:28, 20 January 2010 (UTC): Ich vermute, dass eine solche Validierungsregel nicht möglich ist. Um einen Eindruck zu bekommen wie die Validierungsregeln in PubMan gestaltet werden, könntest Du einen Blick auf [[PubMan_Validation_rules|PubMan Validation Rules]] werfen. Validierungsregeln befassen sich eher damit ob zum Beispiel ein bestimmtes Genre gewählt ist oder ob sich Angaben in einem bestimmten Metadatenfeld befinden und welche Konsequenzen dies zur Eingabe weiterer Metadatenfelder hat. Die Validierungsregeln für "Save Item" können übrigens nicht verändert werden. Für "Submit Item" und "Release Item" sind sie konfigurierbar. Eventuell kann Gergana mehr dazu sagen, ob es möglich ist Deine Anforderung umzusetzen. <br>


=Unpossible Rules=
* no_slashes_in_filename
Es ist nicht möglich einen Wert von einem Feld abzufragen und den mit einem anderen zu ersetzen.
**The file name of a component must not contain slashes "/".
Z.B. ist es nicht möglich den Titel einer Entscheidungsanmerkung, wenn der leer ist, mit einem Standartwert wie "Anmerkung zu: " zu ersetzen. Zumindest nicht bei den Validierungsregeln.
Man kann z.B. bei der Meldung schreiben, was im Titel stehen soll, wenn dieser nicht ausgefüllt ist: Bitte geben Sie im Titel "Anmerkung zu:".

Latest revision as of 09:47, 30 March 2011

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).

JUS-specific Rules[edit]

  • at least one date is required (irrespectively of the source type)
  • publisher_name_place_required (monograph) - Publisher place und Publisher has to be provided for monograph.
  • publisher_name_source_required - If "Publisher place" or "Publisher edition" in source is filled, "Publisher name" has to be filled also.
Exceptions:
  • if genre-type=thesis, it should be possible to fill in just the publisher-place, but no publisher-name. This is needed for the work-around, if the university AND the publisher should to be filled (publisher-place=universtity, source1.publisher-place=Place of the publisher of the series, in which the thesis has been published)
  • if the only date given is "published-online" (and no date "published in print), it should be possible to fill just the "place of the publisher" (and no "publisher name") or no information about the publisher at all.
  • total_number_of_pages_required (monograph, handbook, collected edition, commentary) - For genre monograph and date published in print a total nr. of pages is required.
  • start_page_end_page_for_article_required - If genre is equal to "Article" Start and End Page has to be provided.
  • degree_thesis_required - If genre is equal to "Thesis" degree type is required.
  • volume_required_if_issue_is_filled (journal article) - If only an issue number is given, but no volume number, a warning should be displayed

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 "/".