Talk:JusCMS ValidationRules

From MPDLMediaWiki
Jump to navigation Jump to search

Validation Rules for testing purpose[edit]

This rules are implemented for the Test Context ResearchTest (user ipdemo).

  • Newspaper article: The full date in format YYYY-MM-DD has to be provided.
  • If genre is equal to "Journal Article" the source has to be "Journal".
  • If genre is equal to "Contribution to Collected Edition" the source has to be "Collected Edition".
  • If genre is equal to "Contribution to Commentary" the source has to be "Commentary".
  • If genre is equal to "Contribution to Encyclopedia" the source has to be "Encyclopedia".
  • If genre is equal to "Contribution to Festschrift" the source has to be "Festschrift".
  • If genre is equal to "Contribution to Handbook" the source has to be "Handbook".
  • If genre is equal to "Newspaper Article" the source has to be "Newspaper".

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